Skip to content

fix(json_parser): tolerate dict/list input in validate_and_repair_json #16

fix(json_parser): tolerate dict/list input in validate_and_repair_json

fix(json_parser): tolerate dict/list input in validate_and_repair_json #16

Triggered via push May 6, 2026 18:48
Status Failure
Total duration 45s
Artifacts
basedpyright
35s
basedpyright
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
basedpyright: tests/sdk/test_session.py#L434
Expected type arguments for generic class "dict" (reportMissingTypeArgument)
basedpyright: tests/sdk/test_session.py#L405
Expected type arguments for generic class "dict" (reportMissingTypeArgument)
basedpyright: tests/sdk/test_session.py#L403
Expected type arguments for generic class "dict" (reportMissingTypeArgument)
basedpyright: tests/crud/test_representation_manager.py#L314
Argument of type "SimpleNamespace" cannot be assigned to parameter "message_level_configuration" of type "ResolvedConfiguration" in function "save_representation"   "SimpleNamespace" is not assignable to "ResolvedConfiguration" (reportArgumentType)
basedpyright: tests/crud/test_representation_manager.py#L261
Argument of type "SimpleNamespace" cannot be assigned to parameter "message_level_configuration" of type "ResolvedConfiguration" in function "save_representation"   "SimpleNamespace" is not assignable to "ResolvedConfiguration" (reportArgumentType)
basedpyright: tests/crud/test_representation_manager.py#L205
Argument of type "SimpleNamespace" cannot be assigned to parameter "message_level_configuration" of type "ResolvedConfiguration" in function "save_representation"   "SimpleNamespace" is not assignable to "ResolvedConfiguration" (reportArgumentType)
basedpyright: tests/crud/test_representation_manager.py#L30
"args" is not a known attribute of "None" (reportOptionalMemberAccess)
basedpyright: tests/crud/test_representation_manager.py#L29
"args" is not a known attribute of "None" (reportOptionalMemberAccess)
basedpyright: tests/crud/test_representation_manager.py#L28
"kwargs" is not a known attribute of "None" (reportOptionalMemberAccess)
basedpyright: tests/crud/test_representation_manager.py#L27
"kwargs" is not a known attribute of "None" (reportOptionalMemberAccess)
basedpyright
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5, astral-sh/setup-uv@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
basedpyright: tests/sdk/test_session.py#L407
Type of "append" is partially unknown   Type of "append" is "(object: dict[Unknown, Unknown], /) -> None" (reportUnknownMemberType)
basedpyright: tests/sdk/test_session.py#L405
Type annotation is missing for parameter "query" (reportMissingParameterType)
basedpyright: tests/sdk/test_session.py#L405
Type of parameter "query" is partially unknown   Parameter type is "Unknown | None" (reportUnknownParameterType)
basedpyright: tests/sdk/test_session.py#L405
Type of parameter "body" is partially unknown   Parameter type is "dict[Unknown, Unknown] | None" (reportUnknownParameterType)
basedpyright: tests/sdk/test_session.py#L405
Function declaration "fake_post" is obscured by a declaration of the same name (reportRedeclaration)
basedpyright: tests/sdk/test_session.py#L405
Return type, "list[dict[str, str | Unknown | int | dict[Unknown, Unknown]]]", is partially unknown (reportUnknownParameterType)
basedpyright: tests/sdk/test_session.py#L403
Declaration "calls" is obscured by a declaration of the same name (reportRedeclaration)
basedpyright: tests/sdk/test_session.py#L403
Type of "calls" is partially unknown   Type of "calls" is "list[dict[Unknown, Unknown]]" (reportUnknownVariableType)
basedpyright: src/deriver/queue_manager.py#L1204
Condition will always evaluate to True since the types "datetime" and "None" have no overlap (reportUnnecessaryComparison)
basedpyright: src/deriver/queue_manager.py#L1164
Condition will always evaluate to True since the types "datetime" and "None" have no overlap (reportUnnecessaryComparison)
basedpyright
Failed to restore: Cache service responded with 400