Stabilize warm-refresh timing test under host load #66

Closed
opened 2026-07-24 09:51:23 +00:00 by coilyco-ops · 1 comment
Member

Observation

TestWarmRefreshIsFastAndReuses failed during the full ward --audit-override-dirty exec test gate, then passed on an unchanged rerun.

Evidence

  • Failed run: warm refresh took 327.8094ms, budget 250ms.
  • Unchanged rerun: internal/launch passed in 2.163s and the full gate passed.
  • The failure appeared while all Go packages were running and several package test times were elevated.

Candidate causes

  • Fixed wall-clock threshold is sensitive to Windows host scheduling and concurrent package load.
  • Cold filesystem or process startup variance may be included in the measured warm path.
  • The assertion may need a deterministic reuse signal separate from a generous performance regression bound.

Done when

  • The test still verifies warm reuse without failing under ordinary loaded-host variance.
  • The test does not hide a real cache or refresh regression.
## Observation `TestWarmRefreshIsFastAndReuses` failed during the full `ward --audit-override-dirty exec test` gate, then passed on an unchanged rerun. ## Evidence * Failed run: warm refresh took `327.8094ms`, budget `250ms`. * Unchanged rerun: `internal/launch` passed in `2.163s` and the full gate passed. * The failure appeared while all Go packages were running and several package test times were elevated. ## Candidate causes * Fixed wall-clock threshold is sensitive to Windows host scheduling and concurrent package load. * Cold filesystem or process startup variance may be included in the measured warm path. * The assertion may need a deterministic reuse signal separate from a generous performance regression bound. ## Done when * The test still verifies warm reuse without failing under ordinary loaded-host variance. * The test does not hide a real cache or refresh regression.
Author
Member

Second unchanged occurrence while validating #67 on 2026-07-24: TestWarmRefreshIsFastAndReuses measured 268.1778ms against the 250ms budget. All affected person and roster packages passed. The deterministic pre-commit, palette, lint, build, and serial smoke checks also passed.

Second unchanged occurrence while validating #67 on 2026-07-24: `TestWarmRefreshIsFastAndReuses` measured `268.1778ms` against the `250ms` budget. All affected person and roster packages passed. The deterministic pre-commit, palette, lint, build, and serial smoke checks also passed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/agent-compose#66
No description provided.