Skip to content

Commit b63cfd6

Browse files
Record Open Codex 0.130.1 release completion
Update the persistent merge spec with the release-fast, npm publish, fresh-install smoke, and temp-space cleanup evidence so future releases keep staging off the root filesystem. Co-authored-by: Open Codex <hff582580@gmail.com>
1 parent 4cf2052 commit b63cfd6

1 file changed

Lines changed: 31 additions & 5 deletions

File tree

docs/superpowers/plans/2026-05-12-upstream-latest-0.130.1-merge.md

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,13 @@ Expected: push succeeds to `LEON-gittech/Open-Codex-CLI`.
284284
- npm vendor payload under `codex-cli/`
285285
- generated npm tarballs
286286

287-
- [ ] **Step 1: Build release-fast binary**
287+
**Temp-space invariant:** Do not use `/tmp` for npm staging, `npm pack`, publish, or
288+
fresh-install smoke tests. Use `/home/admin/zzw/tmp/` and export `TMPDIR` plus
289+
`npm_config_cache` under that tree so release packaging never fills the root filesystem.
290+
If a previous attempt created Open-Codex release/test artifacts in `/tmp`, remove those
291+
Codex-owned temp files before retrying.
292+
293+
- [x] **Step 1: Build release-fast binary**
288294

289295
Run:
290296

@@ -300,17 +306,27 @@ Expected:
300306
codex-cli 0.130.1
301307
```
302308

303-
- [ ] **Step 2: Package npm payload**
309+
Result: `release-fast` build completed in 11m01s; `./target/release-fast/codex --version`
310+
reported `codex-cli 0.130.1`.
311+
312+
- [x] **Step 2: Package npm payload**
304313

305314
Use the repo's existing npm packaging scripts. Before publishing, verify tarball metadata and embedded binary:
306315

307316
```bash
308-
npm pack --json --registry=https://registry.npmjs.org
317+
export TMPDIR=/home/admin/zzw/tmp/open-codex-release-tmp
318+
export npm_config_cache=/home/admin/zzw/tmp/open-codex-npm-cache
319+
mkdir -p "$TMPDIR" "$npm_config_cache"
320+
python codex-cli/scripts/build_npm_package.py ... --staging-dir /home/admin/zzw/tmp/... --pack-output dist/npm/...
309321
```
310322

311323
Expected: meta package and linux payload package versions are `0.130.1` / `0.130.1-linux-x64` as applicable, and the platform package contains the release-fast binary.
312324

313-
- [ ] **Step 3: Publish npm packages**
325+
Result: generated `dist/npm/codex-npm-linux-x64-0.130.1.tgz` and
326+
`dist/npm/codex-npm-0.130.1.tgz`; the platform tarball contains `codex`, `rg`, and
327+
`bwrap`, and the meta package depends on the linux-x64 alias.
328+
329+
- [x] **Step 3: Publish npm packages**
314330

315331
Publish platform payload first, then meta package:
316332

@@ -321,11 +337,17 @@ npm publish <meta-tarball> --tag latest --registry=https://registry.npmjs.org
321337

322338
Expected: both publish commands succeed.
323339

324-
- [ ] **Step 4: Fresh install smoke test**
340+
Result: published `@leonw24/open-codex@0.130.1-linux-x64` with tag `linux-x64`,
341+
then `@leonw24/open-codex@0.130.1` with tag `latest`.
342+
343+
- [x] **Step 4: Fresh install smoke test**
325344

326345
Run in a temp directory:
327346

328347
```bash
348+
export TMPDIR=/home/admin/zzw/tmp/open-codex-release-tmp
349+
export npm_config_cache=/home/admin/zzw/tmp/open-codex-npm-cache
350+
mkdir -p "$TMPDIR" "$npm_config_cache"
329351
npm install @leonw24/open-codex@0.130.1 --registry=https://registry.npmjs.org
330352
./node_modules/.bin/open-codex --version
331353
```
@@ -336,6 +358,10 @@ Expected:
336358
codex-cli 0.130.1
337359
```
338360

361+
Result: `npm install --prefix /home/admin/zzw/tmp/open-codex-npm-smoke-0.130.1/fresh-prefix
362+
@leonw24/open-codex@0.130.1 --registry=https://registry.npmjs.org` installed two
363+
packages, and the installed `open-codex --version` reported `codex-cli 0.130.1`.
364+
339365
## Acceptance Criteria
340366

341367
- `git diff --name-only --diff-filter=U` is empty.

0 commit comments

Comments
 (0)