Synchronize deadline regression with source inspection

This commit is contained in:
2026-11-01 21:56:13 +00:00
parent 66f5884ab4
commit fcd2e57887
3 changed files with 41 additions and 11 deletions

View File

@@ -3,9 +3,9 @@
## Status and scope
The planned remediation was implemented against baseline `59bb074`. A
post-implementation review of `6796310` found two follow-up issues below;
remediation remains open until they are addressed. The implementation plan
records the original stage and validation evidence.
post-implementation review of `6796310` found two follow-up issues below.
Both are complete as recorded in their completion markers. The implementation
plan records the original stage and validation evidence.
This roadmap defines the desired behavior and scope for all three findings in
the [functional correctness audit](correctness.md) and all five findings in the
@@ -128,7 +128,7 @@ work and automated validation.
The review compared implementation commits `0632aa5` through `6796310` with the
agreed target and the plan at `730e638`. It examined production changes, new
regressions, current documentation, and the final package boundaries. The
following findings require follow-up; the other planned corrections are present.
following findings required follow-up; the other planned corrections were present.
### 1. Damaged checkout metadata can silently select standalone preparation
@@ -180,7 +180,15 @@ refinement; reproducing its algorithm alone is insufficient completion evidence.
### 2. The deadline regression starts its timeout before inspection readiness
**Priority:** low. **Status:** open.
**Priority:** low. **Status:** complete.
**Completion evidence:** the deadline variant now uses a test-controlled
expiration context triggered after the blocked Git inspection signals readiness.
The public initial/final cancellation cases, completed-artifact assertions, and
ordinary Git error-chain check remain in place; the result wait shares the
bounded watchdog. Focused source-inspection tests pass with the race detector.
The deadline case also passes normally and with `-race` under the same
four-second repository-discovery delay that reproduced the original failure.
**Code:** `TestBuildSourceInspectionCancellation/deadline` in
[build_source_cancellation_test.go](../../build_source_cancellation_test.go).
@@ -233,3 +241,9 @@ additional public types, configuration knobs, receipt changes, stronger page-onl
response requirements, or broader source/preflight guarantees introduced by the
implementation. The two findings concern incomplete realization of the agreed
behavior and regression reliability rather than an intentional scope expansion.
After the follow-up corrections, the complete offline `go test ./...` suite and
compiled `go run ./internal/apicheck` check pass. Focused discovery, dependency
preparation, and source-inspection regressions pass with the race detector.
Roadmap local links and whitespace checks pass. Both follow-up findings are
resolved within the existing public interfaces and package boundaries.