Skip to content

Latest commit

 

History

History
72 lines (54 loc) · 3.67 KB

File metadata and controls

72 lines (54 loc) · 3.67 KB

Release v0.1.2

Release date: 2026-03-03 Channel: latest

Highlights

  • Added rotating backup recovery across .bak, .bak.1, and .bak.2, with deterministic fallback ordering.
  • Hardened backup rotation write path to stage then commit snapshots, preventing partial historical-chain rewrites on failure.
  • Added retry/backoff handling for staged backup renames and transient filesystem lock conditions on Windows (EPERM, EBUSY, EAGAIN).
  • Added startup cleanup for orphaned staged rotation artifacts (*.bak(.N).rotate.*.tmp) to reduce token exposure risk after interrupted writes.
  • Expanded runtime home-directory resolution precedence on Windows (USERPROFILE -> HOME -> HOMEDRIVE + HOMEPATH -> homedir()), including no-leading-slash HOMEPATH normalization.
  • Expanded regression coverage for backup-depth recovery, staged rename retries, and parallel-save ordering guarantees.
  • Strengthened worktree identity handling for account storage with branch-change-safe realpath coverage.

Install

npm i -g @openai/codex
npm i -g codex-multi-auth

Core Operations

codex auth login
codex auth list
codex auth check
codex auth forecast --live
codex auth fix --dry-run
codex auth doctor --fix

Validation Snapshot

Release gate commands:

  • npm run lint
  • npm run typecheck
  • npm test
  • npm run build

Merged PRs

  • PR #29: Add rotating account backup fallback recovery

Commits

  • 4c75953 - Merge remote-tracking branch 'origin/fix/storage-backup-rotation'
  • a6e6a75 - fix(storage): clean stale staged backup temp artifacts
  • e250bf2 - fix(storage): retry staged backup rename commits
  • 35fef03 - fix(storage): stage backup rotation and close review gaps
  • 8a39fad - fix(storage): remove invalid backup retry error codes
  • 6f6682d - test(storage): finalize review fixes for retry and mock safety
  • 88ebe65 - fix: address PR review findings for backup and path handling
  • 025280a - fix(storage): harden user home auto-detection order
  • 69f1983 - Add rotating account backup fallback recovery
  • 33f75dd - test: cover realpath fallback branches in worktree identity
  • 05120d3 - Fix account storage identity across worktree branch changes

Notes

  • Canonical runtime paths remain under ~/.codex/multi-auth.
  • Legacy scoped prerelease migration guidance remains in docs/upgrade.md.
  • Per-project accounts continue to be shared across linked worktrees via repo identity root.
  • Settings writes continue to use queued retry with EBUSY/EPERM/EAGAIN backoff (max 4 retries, exponential).

Related