perf(test-infra): faster local test/lint loops for agents and devs - #449
Merged
Conversation
added 6 commits
August 25, 2026 22:44
…r, and fmt.Appendf
… caching, and parallel fuzz execution
… execution, and cache discover_modules binary
…ners, opt-in precommit lint/vuln - GO_TEST_FLAGS and all Windows/POSIX script routes default -parallel to the machine's logical core count (LIP_TEST_PARALLEL override); measured full suite 4.22min -> 1.84min on a 16-core box - scripts/fuzz-targets.tsv becomes the canonical 65-target list for both platforms; POSIX runs scripts/fuzz-smoke.sh, Windows pools targets through Invoke-PooledTaskRunner (8 concurrent x 2 workers); smoke wall time ~130s -> ~45s - parity-checks merges the three identically-flagged root contract batches into one invocation and pools independent nested modules (cap 4) - pre-commit gate: lint + govulncheck become opt-in via LIP_PRECOMMIT_FULL=1, matching the documented fast-by-default contract (~50s saved per commit) - fix check-staged-secrets.sh whole-index scan that flagged committed redaction-test fixtures on every commit; now scans staged added lines with file attribution, deletions deliberately ignored - internal/qa contracts re-pointed at the new structure without weakening intent: TSV structural validation (exact selectors, rooted packages, real module dirs, no dupes), wrapper enforcement in the smoke script, parallelism asserted as present rather than pinned
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cuts the dominant local iteration costs measured on a 16-core Windows dev box (where coding agents run these targets hundreds of times per day):
fuzztimeflag sometimes fails incorrectly with "context deadline exceeded" golang/go#75804-tolerant wrapper.Also includes
Constraints honored
Verification evidence