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 config reload detection when machine resumes from suspend
Previously, config reload detection compared the config file's modTime
against the hook's start time. This failed to detect changes made while
the machine was suspended because the file modification time predated
the hook execution.
Now, reload detection compares against when the config was last loaded
(configLoadTime), which correctly detects any changes since the last
load, including those made during machine suspension.
Changes:
- Add configLoadTime parameter to ShouldReloadConfig
- Update ExecuteServerHooksWithReload to accept configLoadTime
- Add configLoadTime field to idle.Manager and ServerLifecycle
- Pass configLoadTime through CGI handler and CreateHandler
- Update all tests for new signatures
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments