|
| 1 | +# Release v2.1.5 |
| 2 | + |
| 3 | +Release line: `stable` |
| 4 | + |
| 5 | +This patch release ships the PR `#467` runtime shadow-home isolation fix, |
| 6 | +making wrapper-launched Codex startup much faster and safer on real Codex homes |
| 7 | +with large local runtime databases. It also keeps package updates manual-only |
| 8 | +and hardens thread-goal fallback behavior in the runtime proxy. |
| 9 | + |
| 10 | +## Scope |
| 11 | + |
| 12 | +- Package version prepared for publish: `2.1.5` |
| 13 | +- Previous stable release: `v2.1.4` |
| 14 | +- Semver rationale: patch release for runtime startup performance, |
| 15 | + shadow-home state isolation, manual update notices, and thread-goal runtime |
| 16 | + resilience. |
| 17 | + |
| 18 | +## Fixed |
| 19 | + |
| 20 | +- Runtime rotation shadow homes no longer mirror Codex-local runtime SQLite |
| 21 | + databases: |
| 22 | + - `logs_*.sqlite` |
| 23 | + - `logs_*.sqlite-wal` |
| 24 | + - `logs_*.sqlite-shm` |
| 25 | + - `state_*.sqlite` |
| 26 | + - `state_*.sqlite-wal` |
| 27 | + - `state_*.sqlite-shm` |
| 28 | +- Wrapper-launched Codex startup no longer pays the cost of copying or |
| 29 | + materializing large active Codex log/state databases into each temporary |
| 30 | + runtime home. |
| 31 | +- Shadow-home cleanup and sync-back are more defensive under Windows locks, |
| 32 | + concurrent wrapper launches, stale generated files, and platform filename |
| 33 | + casing differences. |
| 34 | +- Runtime shadow homes still preserve expected config/session behavior while |
| 35 | + isolating generated Codex goal, log, and state files from the real |
| 36 | + `CODEX_HOME`. |
| 37 | +- `thread/goal/get` runtime failures now fail open with `{ "goal": null }` |
| 38 | + when all accounts are exhausted or upstream goal lookup fails, avoiding noisy |
| 39 | + TUI errors during recoverable runtime conditions. |
| 40 | +- The update-notice package root mock is stable across local Node versions and |
| 41 | + repo path layouts. |
| 42 | + |
| 43 | +## Changed |
| 44 | + |
| 45 | +- Removed package-owned automatic update behavior. |
| 46 | +- Installed wrappers now use a best-effort manual update notice only. |
| 47 | +- Update notices never run `npm install`, mutate global packages, or block |
| 48 | + forwarded Codex startup. |
| 49 | +- Documentation now points users to the explicit manual update command: |
| 50 | + |
| 51 | +```bash |
| 52 | +npm install -g codex-multi-auth@latest |
| 53 | +``` |
| 54 | + |
| 55 | +## Performance |
| 56 | + |
| 57 | +- Runtime startup now omits active Codex runtime-local SQLite files instead of |
| 58 | + attempting to mirror large `logs_*.sqlite*` and `state_*.sqlite*` files. |
| 59 | +- This is especially noticeable on real Codex homes with multi-GB log databases |
| 60 | + or large WAL sidecars. |
| 61 | +- Real-home smoke testing confirmed runtime proxy startup without mirroring the |
| 62 | + large `logs_2.sqlite*`, `state_5.sqlite*`, or `multi-auth` directories into |
| 63 | + the temporary shadow home. |
| 64 | + |
| 65 | +## Testing |
| 66 | + |
| 67 | +- Added regression coverage for skipping root Codex log/state SQLite files and |
| 68 | + their WAL/SHM sidecars. |
| 69 | +- Added coverage to ensure plugin/cache SQLite files that are not Codex |
| 70 | + runtime-local state remain preserved. |
| 71 | +- Split and hardened session-index/runtime shadow fast-path tests. |
| 72 | +- Added update-notice tests for the actual repo-root package path. |
| 73 | + |
| 74 | +## Validation |
| 75 | + |
| 76 | +- `npm run lint` |
| 77 | +- `npm run typecheck` |
| 78 | +- `npm run typecheck:scripts` |
| 79 | +- `npm run clean:repo:check` |
| 80 | +- `npm run vendor:verify` |
| 81 | +- `npm run build` |
| 82 | +- `npm run pack:check` |
| 83 | +- `npm run audit:ci` |
| 84 | +- `npm publish --dry-run --access public` |
| 85 | +- full non-release-note test suite before release-note file generation |
| 86 | +- packed-install smoke from published `2.1.5` |
| 87 | +- upgrade smoke from published `2.1.4` to published `2.1.5` |
| 88 | +- real installed CLI sequential stress with `gpt-5.5` |
| 89 | +- real installed CLI concurrent stress with `gpt-5.5` |
| 90 | +- real-home shadow cleanup/no-mirroring smoke against the current account pool |
| 91 | + |
| 92 | +## Release Notes |
| 93 | + |
| 94 | +- Previous release notes: `docs/releases/v2.1.4.md` |
0 commit comments