Skip to content

Attempt to run trunk & check for FIXMEs on PR #18

Attempt to run trunk & check for FIXMEs on PR

Attempt to run trunk & check for FIXMEs on PR #18

Triggered via pull request March 11, 2024 11:39
Status Failure
Total duration 2m 22s
Artifacts

ci-cd.yml

on: pull_request
manual-semver  /  semver
manual-semver / semver
tag  /  determine-next
tag / determine-next
tag  /  ...  /  semver
tag / semver / semver
tag  /  git
tag / git
release  /  auto-release
release / auto-release
Fit to window
Zoom out
Zoom in

Annotations

56 errors and 4 warnings
pyright(reportMissingImports): app/api/api_v1/routers/analytics.py#L8
[new] Import "app.errors" could not be resolved
pyright(reportMissingImports): app/main.py#L29
[new] Import "app.service.health" could not be resolved
pyright(reportMissingImports): app/service/config.py#L7
[new] Import "app.errors" could not be resolved
pyright(reportMissingImports): unit_tests/service/test_token_service.py#L7
[new] Import "app.errors" could not be resolved
pyright(reportMissingImports): integration_tests/event/test_delete.py#L7
[new] Import "integration_tests.setup_db" could not be resolved
pyright(reportMissingImports): unit_tests/service/test_authorisation_service.py#L5
[new] Import "app.errors" could not be resolved
pyright(reportMissingImports): integration_tests/document/test_delete.py#L9
[new] Import "integration_tests.setup_db" could not be resolved
pyright(reportMissingImports): unit_tests/conftest.py#L14
[new] Import "app.service.app_user" could not be resolved
pyright(reportMissingImports): unit_tests/conftest.py#L22
[new] Import "app.main" could not be resolved
pyright(reportMissingImports): unit_tests/conftest.py#L21
[new] Import "app.clients.aws.client" could not be resolved
pyright(reportMissingImports): unit_tests/conftest.py#L20
[new] Import "app.service.token" could not be resolved
pyright(reportMissingImports): unit_tests/conftest.py#L39
[new] Import "unit_tests.mocks.repos.event_repo" could not be resolved
pyright(reportMissingImports): unit_tests/conftest.py#L47
[new] Import "unit_tests.mocks.services.document_service" could not be resolved
pyright(reportMissingImports): unit_tests/conftest.py#L49
[new] Import "unit_tests.mocks.services.family_service" could not be resolved
pyright(reportMissingImports): unit_tests/service/test_analytics_service.py#L5
[new] Import "app.service.analytics" could not be resolved
pyright(reportMissingImports): unit_tests/service/test_geography_service.py#L4
[new] Import "app.errors" could not be resolved
pyright(reportMissingImports): app/service/analytics.py#L17
[new] Import "app.errors" could not be resolved
pyright(reportMissingImports): integration_tests/conftest.py#L13
[new] Import "app.config" could not be resolved
pyright(reportMissingImports): integration_tests/conftest.py#L28
[new] Import "integration_tests.mocks.bad_family_repo" could not be resolved
pyright(reportMissingImports): integration_tests/conftest.py#L37
[new] Import "integration_tests.mocks.rollback_family_repo" could not be resolved
pyright(reportMissingImports): unit_tests/mocks/repos/app_user_repo.py#L7
[new] Import "app.repository.app_user" could not be resolved
yamllint(line-length): .trunk/trunk.yaml#L2
[new] line too long (93 > 80 characters)
yamllint(line-length): .trunk/trunk.yaml#L12
[new] line too long (99 > 80 characters)
yamllint(line-length): .trunk/trunk.yaml#L18
[new] line too long (96 > 80 characters)
isort: integration_tests/collection/test_update.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: integration_tests/document/test_create.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/main.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: unit_tests/routers/test_document.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/api/api_v1/routers/document.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/repository/document.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/service/authorisation.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
prettier: .markdownlint.json#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: unit_tests/routers/test_event.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: unit_tests/routers/test_family.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/service/family.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: unit_tests/service/test_analytics_service.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: integration_tests/analytics/test_get.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: integration_tests/conftest.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/repository/collection.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: integration_tests/setup_db.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: integration_tests/family/test_delete.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: unit_tests/conftest.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/api/api_v1/routers/auth.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: unit_tests/service/test_authorisation_service.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/api/api_v1/routers/event.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/repository/config.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/api/api_v1/routers/collection.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
black: app/repository/document.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/service/collection.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/repository/metadata.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: unit_tests/helpers/document.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: unit_tests/helpers/collection.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/api/api_v1/routers/family.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/repository/event.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: app/repository/family.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
code-quality
Process completed with exit code 1.
yamllint(comments): .github/workflows/ci-cd.yml#L19
[new] too few spaces before comment
yamllint(comments): .github/workflows/ci-cd.yml#L20
[new] too few spaces before comment
yamllint(document-start): .trunk/trunk.yaml#L3
[new] missing document start "---"
code-quality
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.