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
fix: three simple bugs — locale duration, dispatcher reset, impact test count (#529)
1. Fix Locale.duration for >=24h (#368): days and hours were swapped.
`Math.floor(input / 3600000)` gave total hours, not days.
Now correctly: days = input/86400000, hours = remainder/3600000.
2. Fix dispatcher.reset() not clearing lazy registration hook (#468):
reset() only cleared handlers but left _ensureRegistered alive.
Next call() would re-register all handlers via the stale hook,
causing flaky test failures when test files share module state.
3. Fix impact_analysis showing project-wide test_count (#371):
Was using manifest.test_count (all tests in project).
Now collects individual test nodes with their depends_on refs
and counts only tests that reference the target model or its
downstream dependents.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments