perf(tests): consolidate 141 trivially small feature files into 34 domain groups #502

Merged
freemo merged 1 commit from perf/consolidate-small-features into master 2026-03-02 15:03:25 +00:00
Owner

Summary

Consolidate 141 BDD feature files that each complete in under 0.1 seconds into 25 domain-grouped feature files, reducing subprocess count from 339 to ~223.

  • Each consolidated file groups scenarios from the same domain/module that share step definitions and fixtures
  • All 7510 scenarios preserved with clear comment headers indicating original source files
  • Background sections inlined into scenarios to avoid conflicts
  • Debounce timing flake in skill_refresh.feature fixed (0.2s to 2.0s window)

Quality Gates

  • lint: PASS
  • typecheck: PASS
  • unit_tests: PASS (7510 scenarios)
  • integration_tests: PASS (pre-existing failures only)
  • coverage_report: PASS (98%)

Closes #485

## Summary Consolidate 141 BDD feature files that each complete in under 0.1 seconds into 25 domain-grouped feature files, reducing subprocess count from 339 to ~223. - Each consolidated file groups scenarios from the same domain/module that share step definitions and fixtures - All 7510 scenarios preserved with clear comment headers indicating original source files - Background sections inlined into scenarios to avoid conflicts - Debounce timing flake in skill_refresh.feature fixed (0.2s to 2.0s window) ### Quality Gates - lint: PASS - typecheck: PASS - unit_tests: PASS (7510 scenarios) - integration_tests: PASS (pre-existing failures only) - coverage_report: PASS (98%) Closes #485
perf(tests): consolidate 141 trivially small feature files into 34 domain groups
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 16s
CI / build (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 23s
CI / typecheck (pull_request) Successful in 35s
CI / security (pull_request) Successful in 37s
CI / unit_tests (pull_request) Successful in 3m2s
CI / integration_tests (pull_request) Successful in 4m37s
CI / docker (pull_request) Successful in 43s
CI / coverage (pull_request) Successful in 3m49s
CI / benchmark-regression (pull_request) Successful in 22m48s
6088730897
Consolidate 141 BDD feature files that each complete in under 0.1 seconds
into 25 domain-grouped feature files, reducing subprocess count from 339
to ~223. Each consolidated file groups scenarios from the same domain/module
that share step definitions and fixtures. All scenarios are preserved with
clear comment headers indicating their original source file.

This reduces subprocess overhead by ~116 invocations (141 original files
replaced by 25 consolidated files), targeting the 42% of subprocess count
that contributed only 0.2% of actual test runtime.

ISSUES CLOSED: #485
freemo added this to the v3.2.0 milestone 2026-03-02 07:59:21 +00:00
freemo force-pushed perf/consolidate-small-features from 6088730897
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 16s
CI / build (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 23s
CI / typecheck (pull_request) Successful in 35s
CI / security (pull_request) Successful in 37s
CI / unit_tests (pull_request) Successful in 3m2s
CI / integration_tests (pull_request) Successful in 4m37s
CI / docker (pull_request) Successful in 43s
CI / coverage (pull_request) Successful in 3m49s
CI / benchmark-regression (pull_request) Successful in 22m48s
to 6e5cbbbd5e
Some checks failed
CI / lint (pull_request) Successful in 15s
CI / quality (pull_request) Successful in 18s
CI / benchmark-publish (pull_request) Has been skipped
CI / security (pull_request) Successful in 33s
CI / typecheck (pull_request) Successful in 35s
CI / build (pull_request) Successful in 26s
CI / unit_tests (pull_request) Successful in 2m4s
CI / docker (pull_request) Successful in 43s
CI / integration_tests (pull_request) Successful in 3m30s
CI / coverage (pull_request) Successful in 4m10s
CI / benchmark-regression (pull_request) Has been cancelled
2026-03-02 14:36:59 +00:00
Compare
freemo scheduled this pull request to auto merge when all checks succeed 2026-03-02 14:37:19 +00:00
freemo force-pushed perf/consolidate-small-features from 6e5cbbbd5e
Some checks failed
CI / lint (pull_request) Successful in 15s
CI / quality (pull_request) Successful in 18s
CI / benchmark-publish (pull_request) Has been skipped
CI / security (pull_request) Successful in 33s
CI / typecheck (pull_request) Successful in 35s
CI / build (pull_request) Successful in 26s
CI / unit_tests (pull_request) Successful in 2m4s
CI / docker (pull_request) Successful in 43s
CI / integration_tests (pull_request) Successful in 3m30s
CI / coverage (pull_request) Successful in 4m10s
CI / benchmark-regression (pull_request) Has been cancelled
to 8754a0a24b
Some checks failed
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 13s
CI / quality (pull_request) Successful in 20s
CI / build (pull_request) Successful in 14s
CI / security (pull_request) Successful in 31s
CI / typecheck (pull_request) Successful in 35s
CI / benchmark-regression (pull_request) Has been cancelled
CI / coverage (pull_request) Has been cancelled
CI / unit_tests (pull_request) Has been cancelled
CI / integration_tests (pull_request) Has been cancelled
CI / docker (pull_request) Has been cancelled
2026-03-02 14:46:15 +00:00
Compare
freemo force-pushed perf/consolidate-small-features from 8754a0a24b
Some checks failed
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 13s
CI / quality (pull_request) Successful in 20s
CI / build (pull_request) Successful in 14s
CI / security (pull_request) Successful in 31s
CI / typecheck (pull_request) Successful in 35s
CI / benchmark-regression (pull_request) Has been cancelled
CI / coverage (pull_request) Has been cancelled
CI / unit_tests (pull_request) Has been cancelled
CI / integration_tests (pull_request) Has been cancelled
CI / docker (pull_request) Has been cancelled
to f384e2153e
Some checks failed
CI / lint (pull_request) Successful in 30s
CI / benchmark-publish (pull_request) Has been skipped
CI / quality (pull_request) Successful in 18s
CI / security (pull_request) Successful in 46s
CI / build (pull_request) Successful in 31s
CI / typecheck (pull_request) Successful in 1m2s
CI / unit_tests (pull_request) Successful in 2m14s
CI / integration_tests (pull_request) Successful in 3m31s
CI / docker (pull_request) Successful in 39s
CI / coverage (pull_request) Successful in 3m55s
CI / benchmark-regression (pull_request) Has been cancelled
2026-03-02 14:48:21 +00:00
Compare
freemo force-pushed perf/consolidate-small-features from f384e2153e
Some checks failed
CI / lint (pull_request) Successful in 30s
CI / benchmark-publish (pull_request) Has been skipped
CI / quality (pull_request) Successful in 18s
CI / security (pull_request) Successful in 46s
CI / build (pull_request) Successful in 31s
CI / typecheck (pull_request) Successful in 1m2s
CI / unit_tests (pull_request) Successful in 2m14s
CI / integration_tests (pull_request) Successful in 3m31s
CI / docker (pull_request) Successful in 39s
CI / coverage (pull_request) Successful in 3m55s
CI / benchmark-regression (pull_request) Has been cancelled
to b2e923173f
Some checks failed
CI / lint (pull_request) Successful in 18s
CI / typecheck (pull_request) Successful in 32s
CI / quality (pull_request) Successful in 19s
CI / security (pull_request) Successful in 33s
CI / benchmark-publish (pull_request) Has been skipped
CI / build (pull_request) Successful in 16s
CI / unit_tests (pull_request) Successful in 2m5s
CI / integration_tests (pull_request) Successful in 2m50s
CI / docker (pull_request) Successful in 15s
CI / coverage (pull_request) Successful in 4m19s
CI / lint (push) Successful in 12s
CI / quality (push) Successful in 18s
CI / security (push) Successful in 30s
CI / build (push) Successful in 22s
CI / typecheck (push) Successful in 58s
CI / benchmark-regression (push) Has been skipped
CI / unit_tests (push) Successful in 2m6s
CI / docker (push) Successful in 50s
CI / integration_tests (push) Successful in 3m21s
CI / coverage (push) Successful in 4m12s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (pull_request) Successful in 24m46s
2026-03-02 14:56:14 +00:00
Compare
freemo merged commit b2e923173f into master 2026-03-02 15:03:25 +00:00
freemo deleted branch perf/consolidate-small-features 2026-03-02 15:03:26 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
cleveragents/cleveragents-core!502
No description provided.