GeezerVison is showing github.com — Bound Go test parallelism in required instrumented runs · Issue #865 · devantler-tech/.github
Bound Go test parallelism in required instrumented runs #865Closed 1 / 21 of 2 issues completedClosed Performance 1 / 21 of 2 issues completed Description
🤖 Generated by the Agentic Engineer
Problem
Platform's required coverage job runs the complete race and atomic-coverage suite with Go's default test parallelism. Its largest package finishes near the default ten-minute deadline, leaving late cases too little time to complete. The consumer's separately validated eight-worker regression setting does not reach this shared job. This blocks protected delivery; changing the test deadline or dropping cases would not optimize the work.
Outcome
Let a reviewed consumer declaration select bounded Go test parallelism for the required Test and coverage jobs, while repositories without that declaration retain their current behavior. Keep every package, case, race check, coverage requirement and deadline intact.
Acceptance
- Capture comparable complete-suite runs with race and atomic coverage at two and eight workers, the same immutable source/toolchain and CPU allocation, and identical executed test inventories; distinguish local timing evidence from hosted acceptance.
- Read a narrowly defined, fail-closed integer declaration from the exact consumer revision. Reject malformed, extra, non-integral and out-of-range inputs; never accept arbitrary test arguments or commands.
- Preserve default behavior for undeclared consumers and all existing fixture, instrumentation, credential, cleanup and required-result boundaries. Regenerate the maintained read-only projection.
- Exercise both states and refusal controls through the actual shared implementation, publish through the protected path, then prove the Platform opt-in in native required CI before claiming recovery or a feedback-time improvement.
Part of #654. The existing runner-allocation work in #863/#864 addresses a separate cause; this delivery does not replace or duplicate it. Sub-issuesCollapse Sub-issuesSub-issues1 of 21 of 2 Issues completedLoading 2 sub-issues Activitydevantler commented on Nov 9, 2026 ContributorAuthor More actions
🤖 Generated by the Agentic Engineer
Checkpoint, 9 November 2026: Platform's opt-in works in required CI, but it has not sped anything up
What is now proven. Platform opted in through #5937, merged at 04:58 UTC. It sets enable-test-parallelism: true and test-parallelism: 8 and commits .go-test-execution.json with "parallelism": 8. I read every pull-request CI run on Platform since then. All four required 📊 Code Coverage runs logged GO_TEST_PARALLELISM: 8 and passed: 42564692286, 42585095816, 42590298827 and 42592585320. So the shared workflow honours the opt-in in native required runs.
What is not proven. The issue says not to claim recovery or faster feedback until that is shown. Neither is shown yet. The slowest package, refresh-flux-ghcr-auth, took 445–578s in those runs. That is the same range as before the change, and the worst run used 96% of its 600s budget. The measurements are on platform#5862, which owns the Platform-side fix.
Still open here:
devantler commented on Nov 9, 2026 ContributorAuthor More actions
🤖 Generated by the Agentic Engineer
Platform qualification is complete. The shared capability shipped in #868, and devantler-tech/platform#5937 opted in. A required coverage run used eight workers and passed the full race and atomic coverage step with the existing deadline.
The local comparison used one Platform commit, Go 1.26.10, four Go scheduler threads, the same package deadline and identical start records for 14,052 cases across 96 packages. Two workers took 704 seconds and failed as late GHCR refresh fixtures ran out of time. Eight workers passed in 428 seconds. This measures the local comparison. The hosted run confirms that the opt-in reaches required CI, where the slowest package still took 561 seconds.
The hosted speed target remains in devantler-tech/platform#5862. The default and release-flag decision remains in #867.
MetadataMetadataStatusShow more project fields
DevelopmentNo branches or pull requestsIssue actions
|