Skip to content

fix: fetch_objects race condition (close #479) #1175

fix: fetch_objects race condition (close #479)

fix: fetch_objects race condition (close #479) #1175

Triggered via push November 16, 2025 00:42
Status Failure
Total duration 1m 8s
Artifacts –

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
main: packages/bolt/src/bolt/utils.py#L81
Type "TracebackType | None" is not assignable to return type "TracebackType"   Type "TracebackType | None" is not assignable to type "TracebackType"     "None" is not assignable to "TracebackType" (reportReturnType)
main: packages/bolt/src/bolt/utils.py#L66
Function with declared return type "TracebackType" must return value on all code paths   "None" is not assignable to "TracebackType" (reportReturnType)
main: packages/bolt/src/bolt/utils.py#L32
Cannot access attribute "__code__" for class "object*"   Attribute "__code__" is unknown (reportAttributeAccessIssue)
main: packages/bolt/src/bolt/parse.py#L2904
"value" is possibly unbound (reportPossiblyUnboundVariable)
main: packages/bolt/src/bolt/parse.py#L2657
"value" is possibly unbound (reportPossiblyUnboundVariable)
main: packages/bolt/src/bolt/module.py#L308
Method "get" overrides class "Mapping" in an incompatible manner   Positional parameter count mismatch; base method has 3, but override has 2   Parameter 3 mismatch: base parameter "default" is keyword parameter, override parameter is position-only   Return type mismatch: base method returns type "CompiledModule", override returns type "CompiledModule | None"     Type "CompiledModule | None" is not assignable to type "CompiledModule"       "None" is not assignable to "CompiledModule" (reportIncompatibleMethodOverride)
main: packages/bolt/src/bolt/loop_info.py#L83
Argument of type "Iterable[T@LoopInfo]" cannot be assigned to parameter "obj" of type "Sized" in function "len"   "Iterable[T@LoopInfo]" is incompatible with protocol "Sized"     "__len__" is not present (reportArgumentType)
main: packages/bolt/src/bolt/helpers.py#L214
"tb_next" is not a known attribute of "None" (reportOptionalMemberAccess)
main: packages/bolt/src/bolt/helpers.py#L214
"tb_next" is not a known attribute of "None" (reportOptionalMemberAccess)
main: packages/bolt/src/bolt/codegen.py#L1500
Type "list[Any]" is not assignable to return type "Generator[AstNode, List[str] | None, List[str] | None]"   "list[Any]" is incompatible with protocol "Generator[AstNode, List[str] | None, List[str] | None]"     "__next__" is not present     "send" is not present     "throw" is not present     "close" is not present       "__iter__" is an incompatible type         Type "() -> Iterator[Any]" is not assignable to type "() -> Generator[_YieldT_co@Generator, _SendT_contra@Generator, _ReturnT_co@Generator]"           Function return type "Iterator[Any]" is incompatible with type "Generator[_YieldT_co@Generator, _SendT_contra@Generator, _ReturnT_co@Generator]" (reportReturnType)