Skip to content

Worker middleware feature #2471

Worker middleware feature

Worker middleware feature #2471

Triggered via pull request February 18, 2025 00:32
@medihackmedihack
synchronize #1317
middleware
Status Failure
Total duration 2m 33s
Artifacts 5

ci.yml

on: pull_request
Matrix: tests
Run Pyright
17s
Run Pyright
Matrix: acceptance-tests
Publish package to PyPI
0s
Publish package to PyPI
success
0s
success
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 1 warning, and 9 notices
Run Pyright: procrastinate/periodic.py#L221
Argument of type "object" cannot be assigned to parameter "lock" of type "str | None" in function "configure"   Type "object" is not assignable to type "str | None"     "object" is not assignable to "str"     "object" is not assignable to "None" (reportArgumentType)
Run Pyright: procrastinate/periodic.py#L221
Argument of type "object" cannot be assigned to parameter "queueing_lock" of type "str | None" in function "configure"   Type "object" is not assignable to type "str | None"     "object" is not assignable to "str"     "object" is not assignable to "None" (reportArgumentType)
Run Pyright: procrastinate/periodic.py#L221
Argument of type "object" cannot be assigned to parameter "task_kwargs" of type "JSONDict | None" in function "configure"   Type "object" is not assignable to type "JSONDict | None"     "object" is not assignable to "dict[str, JSONValue]"     "object" is not assignable to "None" (reportArgumentType)
Run Pyright: procrastinate/periodic.py#L221
Argument of type "object" cannot be assigned to parameter "schedule_at" of type "datetime | None" in function "configure"   Type "object" is not assignable to type "datetime | None"     "object" is not assignable to "datetime"     "object" is not assignable to "None" (reportArgumentType)
Run Pyright: procrastinate/periodic.py#L221
Argument of type "object" cannot be assigned to parameter "schedule_in" of type "TimeDeltaParams | None" in function "configure"   Type "object" is not assignable to type "TimeDeltaParams | None"     "object" is not assignable to "TimeDeltaParams"     "object" is not assignable to "None" (reportArgumentType)
Run Pyright: procrastinate/periodic.py#L221
Argument of type "object" cannot be assigned to parameter "queue" of type "str | None" in function "configure"   Type "object" is not assignable to type "str | None"     "object" is not assignable to "str"     "object" is not assignable to "None" (reportArgumentType)
Run Pyright: procrastinate/periodic.py#L221
Argument of type "object" cannot be assigned to parameter "priority" of type "int | None" in function "configure"   Type "object" is not assignable to type "int | None"     "object" is not assignable to "int"     "object" is not assignable to "None" (reportArgumentType)
Run Pyright: procrastinate/periodic.py#L221
Argument of type "object" cannot be assigned to parameter "middleware" of type "TaskMiddleware[Unknown] | None" in function "configure"   Type "object" is not assignable to type "TaskMiddleware[Unknown] | None"     Type "object" is not assignable to type "TaskMiddleware[Unknown]"     "object" is not assignable to "None" (reportArgumentType)
Run Pyright
8 errors
Coverage
No files were found with the provided path: python-coverage-comment-action.txt. No artifacts will be uploaded.
Coverage
Starting action
Coverage
HTTP Request: GET https://api.github.com/repos/procrastinate-org/procrastinate "HTTP/1.1 200 OK"
Coverage
Generating comment for PR
Coverage
HTTP Request: GET https://api.github.com/repos/procrastinate-org/procrastinate/contents/data.json?ref=python-coverage-comment-action-data "HTTP/1.1 200 OK"
Coverage
HTTP Request: GET https://api.github.com/user "HTTP/1.1 403 Forbidden"
Coverage
HTTP Request: GET https://api.github.com/repos/procrastinate-org/procrastinate/issues/1317/comments "HTTP/1.1 200 OK"
Coverage
Update previous comment
Coverage
HTTP Request: PATCH https://api.github.com/repos/procrastinate-org/procrastinate/issues/comments/2629657834 "HTTP/1.1 200 OK"
Coverage
Ending action

Artifacts

Produced during runtime
Name Size
coverage-3.10
83.5 KB
coverage-3.11
85.8 KB
coverage-3.12
93.9 KB
coverage-3.13
95.2 KB
coverage-3.9
82.4 KB