Skip to content

fix: annoying mypy error is annoying #106105

fix: annoying mypy error is annoying

fix: annoying mypy error is annoying #106105

Triggered via pull request December 2, 2024 20:12
Status Failure
Total duration 25m 16s
Artifacts 1

ci-backend.yml

on: pull_request
Determine need to run backend checks
8s
Determine need to run backend checks
Matrix: async-migrations
Matrix: django
Python code quality checks
2m 33s
Python code quality checks
Validate Django and CH migrations
3m 46s
Validate Django and CH migrations
Calculate running time
4s
Calculate running time
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 38 warnings
Python code quality checks: posthog/batch_exports/service.py#L614
INTERNAL ERROR -- Please try using mypy master on GitHub:
Python code quality checks: posthog/utils.py#L1190
Argument 1 to "asdict" has incompatible type "DataclassInstance | type[DataclassInstance]"; expected "DataclassInstance"
Python code quality checks: ee/models/license.py#L92
Incompatible return value type (got "Literal[''] | bool", expected "bool")
Python code quality checks: posthog/hogql/visitor.py#L731
Argument "expr" to "ThrowStatement" has incompatible type "Any | None"; expected "Expr"
Python code quality checks: posthog/hogql/parser.py#L250
Argument "expr" to "ThrowStatement" has incompatible type "Any | None"; expected "Expr"
Python code quality checks: posthog/hogql/parser.py#L276
Argument "body" to "WhileStatement" has incompatible type "Any | None"; expected "Statement"
Python code quality checks
Process completed with exit code 100.
Determine need to run backend checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Python code quality checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Validate Django and CH migrations
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Async migrations tests - clickhouse/clickhouse-server:24.8.7.41
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Django tests – Temporal (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (2/3)
No files were found with the provided path: .test_durations. No artifacts will be uploaded.
Django tests – Temporal (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (3/3)
No files were found with the provided path: .test_durations. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (2/10)
No files were found with the provided path: .test_durations. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (2/10)
No files were found with the provided path: posthog/tasks/test/__emails__. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (9/10)
No files were found with the provided path: .test_durations. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (9/10)
No files were found with the provided path: posthog/tasks/test/__emails__. No artifacts will be uploaded.
Django tests – Temporal (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (1/3)
No files were found with the provided path: .test_durations. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (10/10)
No files were found with the provided path: .test_durations. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (10/10)
No files were found with the provided path: posthog/tasks/test/__emails__. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (1/10)
No files were found with the provided path: .test_durations. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (1/10)
No files were found with the provided path: posthog/tasks/test/__emails__. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (8/10)
No files were found with the provided path: .test_durations. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (3/10)
No files were found with the provided path: .test_durations. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (3/10)
No files were found with the provided path: posthog/tasks/test/__emails__. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (7/10)
No files were found with the provided path: .test_durations. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (7/10)
No files were found with the provided path: posthog/tasks/test/__emails__. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (4/10)
No files were found with the provided path: .test_durations. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (4/10)
No files were found with the provided path: posthog/tasks/test/__emails__. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (6/10)
No files were found with the provided path: .test_durations. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (6/10)
No files were found with the provided path: posthog/tasks/test/__emails__. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (5/10)
No files were found with the provided path: .test_durations. No artifacts will be uploaded.
Django tests – Core (persons-on-events off), Py 3.11.9, clickhouse/clickhouse-server:24.8.7.41 (5/10)
No files were found with the provided path: posthog/tasks/test/__emails__. No artifacts will be uploaded.
Calculate running time
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "email_renders". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
email_renders
59.5 KB