feat: workspace_testmode_timing leg — TEST_MODE script timing (#65)#66
Merged
Conversation
Phase 4b of the hygiene perf mode. Times a curated set of workspace start_here scripts run in integration test mode (PYAUTO_TEST_MODE=2 + PYAUTO_WORKSPACE_SMALL_DATASETS=1) — the developer-loop mode named in the original hygiene prompt — and tracks slow-script regressions. Distinct from script_timing (autobuild release-mode run_all). - heart/checks/workspace_testmode_timing.py: runs the curated scripts in a SUBPROCESS with the test-mode env (rule 4; runner injected for stdlib-only tests). Rolling per-script baseline (~/.pyauto-heart/timings-ws-testmode/), ratio classify (1.5/3.0), writes ~/.pyauto-heart/workspace_testmode_timing.json. OFF-TICK (running scripts costs seconds-minutes → daily cron / on demand). - state.py + dashboard.py: advisory "Workspace test-mode timing" section (local-only family; anchored away from the import_time/unit_test_timing edits to avoid merge conflicts); NOT in the readiness gating set. - tests/test_workspace_testmode_timing.py: 6 stdlib-only tests (injected runner). hygiene perf already reads workspace_testmode_timing.json (PyAutoBrain#94), so this lights up in perf with no conductor change. Full suite 257 pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tw3EwV55k6VzxorYng3Kfn
5e17c0e to
b6b4081
Compare
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.
Closes #65. Phase 4b of the hygiene perf mode. Times curated workspace start_here scripts run in TEST_MODE (
PYAUTO_TEST_MODE=2+PYAUTO_WORKSPACE_SMALL_DATASETS=1) — the dev-loop mode from the original prompt — tracking slow-script regressions. Distinct fromscript_timing(autobuild release-mode). Off-tick, subprocess-run (rule 4), advisory-not-gating, injected runner for stdlib-only tests. hygieneperfalready reads its sidecar (#94). Full suite 257 pass, review CLEAN. Dashboard/state anchored away from the 4a edits to avoid merge conflicts.🤖 Generated with Claude Code
https://claude.ai/code/session_01Tw3EwV55k6VzxorYng3Kfn