Skip to content

feat: workspace_testmode_timing leg — TEST_MODE script timing (#65)#66

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/hygiene-ws-testmode-timing
Jul 11, 2026
Merged

feat: workspace_testmode_timing leg — TEST_MODE script timing (#65)#66
Jammy2211 merged 1 commit into
mainfrom
feature/hygiene-ws-testmode-timing

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

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 from script_timing (autobuild release-mode). Off-tick, subprocess-run (rule 4), advisory-not-gating, injected runner for stdlib-only tests. hygiene perf already 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

@Jammy2211 Jammy2211 added the pending-release Merged changes awaiting the next release cycle label Jul 11, 2026
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
@Jammy2211 Jammy2211 force-pushed the feature/hygiene-ws-testmode-timing branch from 5e17c0e to b6b4081 Compare July 11, 2026 18:34
@Jammy2211 Jammy2211 merged commit 9c573ed into main Jul 11, 2026
4 checks passed
@Jammy2211 Jammy2211 deleted the feature/hygiene-ws-testmode-timing branch July 11, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release Merged changes awaiting the next release cycle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: workspace_testmode_timing leg — TEST_MODE script timing (hygiene perf 4b)

1 participant