You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(test): extract hardlink helpers to internal/testfsutil, add time log
Code review follow-ups:
1. internal/testfsutil/hardlink.go — single source of truth for HardLinkDir
and CopyFile. Removes three near-identical local copies from repos/
testhelpers_test.go, mpr/factory_test.go, and executor's fixture helpers.
2. Pre-commit time guard redesign:
- .test-time-log: append-only history (ISO8601 timestamp, elapsed_s,
git SHA, branch) committed to git so the full run history is visible
- .test-time-baseline: last successful run time, committed so the guard
survives machine changes; updated on every passing run
- Fail if elapsed > baseline × 1.5; print last 10 log entries on failure
- Reset command printed on failure for intentional perf changes
3. Remove .test-time-baseline from .gitignore (both files are now committed).
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
0 commit comments