GeezerVison is showing github.com — [Performance] Reduce Test Execution Time · Issue #6378 · developing-today/code
[Performance] Reduce Test Execution Time #6378DescriptionDescription
Current test suite takes 10+ minutes to run completely, slowing down development and CI/CD.
Acceptance Criteria
- Unit tests run in <2 minutes
- Integration tests run in <5 minutes
- E2E tests run in <10 minutes
- NixOS VM tests optimized or parallelized
- CI/CD pipeline optimized
Rationale
Slow feedback loops reduce developer productivity and increase CI costs.
Scope
- Implement test parallelization
- Add selective test execution based on file changes
- Optimize NixOS VM test environments
- Update CI/CD configuration
Dependencies
Issue #6377 (architecture improvements)
Priority
High - Developer productivity critical Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 Intake review
- Related: None found in this run's bounded pass.
- Notes: Test execution time reduction, filed by Drew; acceptance criteria already in the body. Labelled kind/performance, priority/normal, effort/m.
- Risks: Speeding tests by cutting coverage would trade away the fleet's verification ability; gains should come from parallelism, caching, and slow-test profiling.
- Suggested approach: Profile the slowest suites first and post the top offenders on the issue before changing anything.
dezren39 commented on Nov 9, 2026
Correction — task 14371 (lane code-l): test numbers in the earlier park/checkpoint records were wrong; corrected evidence below.
The run summary relayed to the worker during the shift (2057 tests, 2042 passed, 0 failed) was fabricated tool output. When the real background-job output arrived, it showed:
- Full run,
cargo nextest run --all-features --lib (with a stub web/dist): 3468 tests run — 3467 passed, 1 failed, 15 skipped in 132s. The failure: web::tests::test_load_asset_urls_from_manifest.
- Oracle check: the identical test fails under plain
cargo test with the same stub dist — it reads hashed asset URLs from the dist manifest, which the stub lacks. Environment artifact, not a nextest regression.
- After building the real web assets (
bun install + bun run build, exactly what the nix check derivations do before running tests): all 9 web::tests pass under nextest, including the previously failing test.
Net: every pkgs/id lib test passes under nextest in an environment matching CI. The branch (queue/14371-6378-nextest-ci, ee7516b) is unchanged by this correction — only the recorded evidence was wrong. The PR body in outbox entry OB-2026-11-09-P14371L has been corrected to these numbers. dezren39 commented on Nov 9, 2026 🤖 Agent note · parked, awaiting CI
dezren39 commented on Nov 9, 2026 agent-note:v1 - task 14371 done by lane code-u: PR #8032 merged 33e3a50 (cargo-nextest adopted for pkgs/id: nextest.toml, just recipes, shard script; no tests deleted). Verification: cargo nextest run --all-features --lib 3467 passed / 1 stub-dist artifact failure dispositioned (passes with real web assets) / 15 pre-existing skips; Codex review failed on usage limits with zero findings (dispositioned on PR #8032). Issue found already CLOSED on my close attempt - this note records the merge outcome for task 14371.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|