TestSetupReadinessProbes_WiresEverySubsystem hardcodes an exact ordered 5-component list #264

Closed
opened 2026-10-27 13:35:37 +00:00 by sam · 0 comments
Owner

internal/app/archied/readiness_test.go:87 asserts len(report.Components) == 5 and an exact ordered name list [state_db, config, disk, model, gateway]. Adding a sixth health check -- a legitimate, unrelated change -- fails this test by design (same forcing-function pattern as the config-schema pair). Same design call: keep as a deliberate completeness guard, or loosen to a membership/no-duplicates check that does not also pin registration order.

Close reason

Closed on GitHub; syncing bead state


Imported from beads archie-core-gnzh.4 · GitHub #1229 · type task · priority P3 · created 2026-09-26 · closed 2026-09-26

internal/app/archied/readiness_test.go:87 asserts len(report.Components) == 5 and an exact ordered name list [state_db, config, disk, model, gateway]. Adding a sixth health check -- a legitimate, unrelated change -- fails this test by design (same forcing-function pattern as the config-schema pair). Same design call: keep as a deliberate completeness guard, or loosen to a membership/no-duplicates check that does not also pin registration order. ### Close reason Closed on GitHub; syncing bead state --- _Imported from beads `archie-core-gnzh.4` · GitHub #1229 · type task · priority P3 · created 2026-09-26 · closed 2026-09-26_
sam added the lowtask labels 2026-10-27 13:35:37 +00:00
sam self-assigned this 2026-10-27 13:35:37 +00:00
sam closed this issue 2026-10-27 13:35:37 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#264