Files
Harold KimandPaperclip 0d3f2eebb7 fix(codex): isolate fake timers to Date only in refresh-token test
- Change vi.useFakeTimers() to vi.useFakeTimers({ toFake: ["Date"] }) for
  both the quota-failure and refresh-token-auth tests so process timers
  remain real and execute() does not deadlock waiting for fake setTimeout
- Isolate PAPERCLIP_HOME, PAPERCLIP_INSTANCE_ID, PAPERCLIP_IN_WORKTREE,
  CODEX_HOME env vars in the refresh-token test to prevent the agent
  runner's ambient Codex home from leaking into the fixture snapshot read
- Add refresh_token field to the outer auth.json fixture so the snapshot
  reader finds last_refresh and classifies the age bucket correctly

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-09 09:25:59 +00:00
..