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
{{ message }}
Repository navigation
agentHost: Windows E2E intermittently loses archive/read flags after host restart #338063
The shared Agent Host E2E test archiving a never-restored session survives a host restart failed in two Windows / Electron attempts on the same commit of #337626, with different providers. The test changes archive/read flags without restoring the session, waits for the root summary notifications, restarts the host, and verifies that both flags persisted.
Claude passed on attempt 2. Conformance and Codex passed in both attempts. These failures did not involve a replay cache miss or model-response mismatch.
The exact Claude scenario passed six local runs on macOS. Fourteen related passive-metadata/shutdown unit tests also passed.
The SDK PR does not change the shared persistence implementation or this test. The cross-provider failure suggests a shared persistence, shutdown, or listing issue rather than a Claude-only regression, but the root cause is not established. No upstream-only reproduction has been obtained.
Local metadata persistence precedes the root notification; central catalog synchronization follows asynchronously. Existing unit coverage verifies that shutdown drains published passive metadata writes. Any fix should preserve the existing responsiveness and durability contracts.
The failed Windows job logs did not include an Agent Host failure log tail, and no Windows Electron log artifact was available. Better Windows diagnostics may be needed to distinguish lost writes from stale listing state or interrupted shutdown.
Keeping this investigation separate from the Claude SDK upgrade. No assertions have been weakened, timeouts raised, or tests skipped to unblock that PR.
Update: Windows / Electron attempt 3 passed on the same commit without code changes. This confirms the observed CI failure is intermittent; the underlying persistence issue remains unresolved and this issue remains open.
Activity
TylerLeonhardt commentedon Sep 25, 2026
Update: Windows / Electron attempt 3 passed on the same commit without code changes. This confirms the observed CI failure is intermittent; the underlying persistence issue remains unresolved and this issue remains open.
agentHost: harden passive session flag persistence across restart (#3…