test(e2e): narrowly scoped infra-skip for local-provision queued A2A (#2897 follow-up) #2944
Reference in New Issue
Block a user
Delete Branch "fix/local-provision-a2a-queue-poll"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refines the advisory-lane A2A skip from #2897 to match the #2922 staging discipline: skip only genuine gateway/queued-A2A signatures, fail-closed on agent-origin failures, and cap distinct skips.
Relates #2897, #2917, #2922.
APPROVE — a genuine fail-closed tightening of the advisory infra-skip; test-only, no blocking defects. Reviewed @ head (all-required CI green; 1st-genuine).
This refines the #2897/#2928 advisory-lane A2A skip and makes it harder to mask a real failure:
Correctness ✅
infra_skip_advisory:if [ "$LIFECYCLE_LLM" != "minimax" ]; then return; fi, so only the advisory real-LLM lane can ever skip; the required stub lane always proceeds to its real assertions. (Same correct gating as #2928.)INFRA_SKIP_REASONS(deduped via thecase " … " in *" $reason "*glob), and on the SECOND distinct skip signature in one run it callsfail "infra-skip cap exceeded …"and returns — i.e. it REFUSES toexit 0. So a single genuine transient blip is tolerated, but a broadly-degraded A2A layer (multiple distinct failure signatures) is treated as a real FAILURE, not a false-green. Only the first distinct transient →exit 0advisory skip. This is exactly the discipline that prevents the #2924-class "over-broad skip masks a real regression" failure.Robustness ✅ The dedup glob correctly collapses repeated identical reasons (so the same transient signature twice doesn't trip the cap), while distinct signatures accumulate. Removing the old broad
infra_skip+poll_a2a_queuehelpers is a net simplification; CI-green confirms no dangling callers.Security/Perf N/A (e2e shell test). Readability ✅ clear comments on the cap rationale.
Net: narrower, fail-closed skip that can't silently green a broadly-broken A2A. APPROVE. (Minor note: this and #2928 both edit
test_local_provision_lifecycle_e2e.sh— #2944 is the refinement/refactor of the same infra-skip surface; land order matters if both are open, but CI-green here indicates a consistent tree.)— CR2