mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
22326e263c
## Why #21255 changed the Linux sandbox fallback so Codex can use a bundled `codex-resources/bwrap` executable when no suitable system `bwrap` is available. That lookup is relative to the native Codex executable returned by `std::env::current_exe()`, as implemented in [`bundled_bwrap.rs`](https://github.com/openai/codex/blob/9766d3d51cec885114b6d6c53a02e9efbaf87171/codex-rs/linux-sandbox/src/bundled_bwrap.rs#L83-L93). The release already publishes a separate `bwrap` DotSlash output, but the Linux `codex` DotSlash output still pointed at a single-binary `.zst` payload. Running the `codex` DotSlash manifest only materializes the native `codex` executable; it does not also create sibling files from the separate `bwrap` manifest. The fallback path therefore needs the Linux `codex` DotSlash artifact itself to include the real `bwrap` executable at `codex-resources/bwrap`. ## What changed - stage a Linux primary `codex-<target>-bundle.tar.zst` release artifact containing `codex` and `codex-resources/bwrap` - point the Linux `codex` DotSlash outputs at that bundle tarball - leave the standalone `bwrap` DotSlash output in place for consumers that want to fetch `bwrap` directly ## Verification - `jq . .github/dotslash-config.json` - Ruby YAML parse of `.github/workflows/rust-release.yml`
125 lines
3.9 KiB
JSON
125 lines
3.9 KiB
JSON
{
|
|
"outputs": {
|
|
"codex": {
|
|
"platforms": {
|
|
"macos-aarch64": {
|
|
"regex": "^codex-aarch64-apple-darwin\\.zst$",
|
|
"path": "codex"
|
|
},
|
|
"macos-x86_64": {
|
|
"regex": "^codex-x86_64-apple-darwin\\.zst$",
|
|
"path": "codex"
|
|
},
|
|
"linux-x86_64": {
|
|
"regex": "^codex-x86_64-unknown-linux-musl-bundle\\.tar\\.zst$",
|
|
"path": "codex"
|
|
},
|
|
"linux-aarch64": {
|
|
"regex": "^codex-aarch64-unknown-linux-musl-bundle\\.tar\\.zst$",
|
|
"path": "codex"
|
|
},
|
|
"windows-x86_64": {
|
|
"regex": "^codex-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex.exe"
|
|
}
|
|
}
|
|
},
|
|
"codex-app-server": {
|
|
"platforms": {
|
|
"macos-aarch64": {
|
|
"regex": "^codex-app-server-aarch64-apple-darwin\\.zst$",
|
|
"path": "codex-app-server"
|
|
},
|
|
"macos-x86_64": {
|
|
"regex": "^codex-app-server-x86_64-apple-darwin\\.zst$",
|
|
"path": "codex-app-server"
|
|
},
|
|
"linux-x86_64": {
|
|
"regex": "^codex-app-server-x86_64-unknown-linux-musl\\.zst$",
|
|
"path": "codex-app-server"
|
|
},
|
|
"linux-aarch64": {
|
|
"regex": "^codex-app-server-aarch64-unknown-linux-musl\\.zst$",
|
|
"path": "codex-app-server"
|
|
},
|
|
"windows-x86_64": {
|
|
"regex": "^codex-app-server-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-app-server.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-app-server-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-app-server.exe"
|
|
}
|
|
}
|
|
},
|
|
"codex-responses-api-proxy": {
|
|
"platforms": {
|
|
"macos-aarch64": {
|
|
"regex": "^codex-responses-api-proxy-aarch64-apple-darwin\\.zst$",
|
|
"path": "codex-responses-api-proxy"
|
|
},
|
|
"macos-x86_64": {
|
|
"regex": "^codex-responses-api-proxy-x86_64-apple-darwin\\.zst$",
|
|
"path": "codex-responses-api-proxy"
|
|
},
|
|
"linux-x86_64": {
|
|
"regex": "^codex-responses-api-proxy-x86_64-unknown-linux-musl\\.zst$",
|
|
"path": "codex-responses-api-proxy"
|
|
},
|
|
"linux-aarch64": {
|
|
"regex": "^codex-responses-api-proxy-aarch64-unknown-linux-musl\\.zst$",
|
|
"path": "codex-responses-api-proxy"
|
|
},
|
|
"windows-x86_64": {
|
|
"regex": "^codex-responses-api-proxy-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-responses-api-proxy.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-responses-api-proxy-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-responses-api-proxy.exe"
|
|
}
|
|
}
|
|
},
|
|
"bwrap": {
|
|
"platforms": {
|
|
"linux-x86_64": {
|
|
"regex": "^bwrap-x86_64-unknown-linux-musl\\.zst$",
|
|
"path": "bwrap"
|
|
},
|
|
"linux-aarch64": {
|
|
"regex": "^bwrap-aarch64-unknown-linux-musl\\.zst$",
|
|
"path": "bwrap"
|
|
}
|
|
}
|
|
},
|
|
"codex-command-runner": {
|
|
"platforms": {
|
|
"windows-x86_64": {
|
|
"regex": "^codex-command-runner-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-command-runner.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-command-runner-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-command-runner.exe"
|
|
}
|
|
}
|
|
},
|
|
"codex-windows-sandbox-setup": {
|
|
"platforms": {
|
|
"windows-x86_64": {
|
|
"regex": "^codex-windows-sandbox-setup-x86_64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-windows-sandbox-setup.exe"
|
|
},
|
|
"windows-aarch64": {
|
|
"regex": "^codex-windows-sandbox-setup-aarch64-pc-windows-msvc\\.exe\\.zst$",
|
|
"path": "codex-windows-sandbox-setup.exe"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|