fix(resource-registry): remove type: ignore[override] suppressions from ResourceDagMixin #3238

Merged
freemo merged 1 commits from fix/resource-registry-dag-type-ignore-override into master 2026-04-05 21:14:48 +00:00

1 Commits

Author SHA1 Message Date
freemo 8d7f2103e7 fix(resource-registry): remove type: ignore[override] suppressions from ResourceDagMixin by restructuring mixin/protocol relationship
CI / lint (pull_request) Successful in 29s
CI / quality (pull_request) Successful in 34s
CI / typecheck (pull_request) Successful in 53s
CI / security (pull_request) Successful in 54s
CI / build (pull_request) Successful in 24s
CI / helm (pull_request) Successful in 24s
CI / unit_tests (pull_request) Successful in 7m5s
CI / e2e_tests (pull_request) Successful in 17m54s
CI / integration_tests (pull_request) Successful in 22m51s
CI / coverage (pull_request) Successful in 10m50s
CI / docker (pull_request) Successful in 1m23s
CI / status-check (pull_request) Successful in 1s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Successful in 58m18s
The two # type: ignore[override] inline suppression comments on the
link_child and unlink_child methods of ResourceDagMixin violated the
project's strict no-suppression policy in CONTRIBUTING.md.

Investigation revealed the suppressions were unnecessary: after removing
them, nox -e typecheck passes with 0 errors and 0 warnings. The
underlying Pyright type checker already accepts the mixin pattern with
self: RegistryHost annotations without any suppression.

Both comments are removed with no other changes required.

ISSUES CLOSED: #2830
2026-04-05 08:07:21 +00:00