Skip to content

Add error handling and validation for posted personal info length #245

Add error handling and validation for posted personal info length

Add error handling and validation for posted personal info length #245

Triggered via pull request December 9, 2024 09:59
Status Failure
Total duration 25m 47s
Artifacts 9

pr.yml

on: pull_request
Build docker image
2m 40s
Build docker image
Lint check (ruff)
7s
Lint check (ruff)
Matrix: Unit tests (PostgreSQL)
Migration tests (PostgreSQL)
1m 53s
Migration tests (PostgreSQL)
collect_coverage
3m 53s
collect_coverage
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 7 warnings
Ruff (F401): app/exceptions.py#L23
app/exceptions.py:23:33: F401 `pydantic.Field` imported but unused
Ruff (F401): app/model/schema/personal_info.py#L24
app/model/schema/personal_info.py:24:52: F401 `pydantic.model_validator` imported but unused
Ruff (F401): app/routers/issuer/bond.py#L22
app/routers/issuer/bond.py:22:25: F401 `dataclasses.asdict` imported but unused
Ruff (F401): app/routers/issuer/bond.py#L68
app/routers/issuer/bond.py:68:5: F401 `app.model.blockchain.ContractPersonalInfoType` imported but unused
Lint check (ruff)
Process completed with exit code 1.
Build docker image
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Migration tests (PostgreSQL)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests (PostgreSQL) (tests/batch/)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests (PostgreSQL) (tests/app/)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
collect_coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
collect_coverage
Your comment is too long (maximum is 65536 characters), coverage report will not be added.
collect_coverage
Try add: "--cov-report=term-missing:skip-covered", or add "hide-report: true", or add "report-only-changed-files: true", or switch to "multiple-files" mode

Artifacts

Produced during runtime
Name Size
.coverage-0
1.8 MB
.coverage-1
853 KB
BoostryJP~ibet-Prime~CCX85Y.dockerbuild
38.1 KB
BoostryJP~ibet-Prime~EM0WB3.dockerbuild
37.7 KB
BoostryJP~ibet-Prime~K3T69H.dockerbuild
74.4 KB
BoostryJP~ibet-Prime~RTYQTL.dockerbuild
66 KB
BoostryJP~ibet-Prime~T5JK35.dockerbuild
38.1 KB
pytest-0
14.7 KB
pytest-1
2.55 KB