Skip to content

Reduce redundant state writes and streamline tests and docs - #207

Merged
jiminu merged 1 commit into
mainfrom
perf/streamline-state-tests-docs
Sep 15, 2026
Merged

jiminu merged 1 commit into
mainfrom
perf/streamline-state-tests-docs

Conversation

@jiminu

@jiminu jiminu commented Sep 15, 2026

Copy link
Copy Markdown
Owner

Repeated configuration installs rewrote identical managed state, and the test runner waited for each full batch before scheduling more suites. Skip byte-identical state writes while preserving atomic updates, and refill available test workers while retaining ordered logs and failure reporting.

Also recognize tracked mise configurations by file identity so symlinked paths and repeated separators do not prevent safe pruning. Consolidate redundant tests and comments, and simplify README and maintenance documentation while preserving lifecycle safeguards.

Validation:

  • bash scripts/check.sh: passed locally on macOS, including all 21 test suites, syntax, ShellCheck, and formatting checks.
  • Regression coverage verifies unchanged state files, required pending-state writes, aliased mise paths, worker scheduling, and failure reporting. Code review completed; identified failure-count issue fixed and rechecked.
  • Isolated local measurements: repeated configuration install median 424 → 330 ms across 12 alternating samples per version; full suite 44.0 → 37.3 seconds in one comparison. Results are machine-specific; shell startup behavior is unchanged.
  • Markdown local links and code fences checked; git diff --check passed.

@jiminu
jiminu merged commit f0a9677 into main Sep 15, 2026
7 checks passed
@jiminu
jiminu deleted the perf/streamline-state-tests-docs branch September 15, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant