fix: adapt native fast preload for current Codex#1240
Conversation
|
I published a fork prerelease for manual validation while this PR is pending: https://github.com/yinsang0910-star/CodexPlusPlus/releases/tag/v1.2.21-fast.1 Local verification on Windows with Codex 26.623.5546.0:
Commands run locally:
|
|
Fork prerelease assets are now built and attached successfully: https://github.com/yinsang0910-star/CodexPlusPlus/releases/tag/v1.2.21-fast.1 Assets:
Release workflow run: https://github.com/yinsang0910-star/CodexPlusPlus/actions/runs/28313118466 |
|
Maintainer note: this PR is currently mergeable, and the fork prerelease assets built successfully. Could you review/merge this when convenient? It directly addresses #949, and the linked prerelease gives affected users a temporary installer while waiting for an upstream release. |
中文说明
这个 PR 把原生 Fast / service-tier preload 修复迁移到 Codex++ v1.2.21,并额外适配当前 Codex 26.623 系列。
修复内容:
Codex.exe的方式传入NODE_OPTIONS,避免 preload 丢失。protocol-handle-4。本地验证:
protocol-handle-4preload 成功加载。service_tier_preload_asset_patch_failed。Fork 预发布版本:
Summary
Rebase the native Fast / service-tier preload fix onto Codex++ v1.2.21 and adapt it for current Codex 26.623 builds.
Changes:
NODE_OPTIONSon Windows Store packaged Codex launches by using a direct packaged executable launch when the preload is enabled.protocol-handle-4.Verification
cargo +stable-x86_64-pc-windows-msvc test -p codex-plus-core service_tier_preload -- --nocapturecargo +stable-x86_64-pc-windows-msvc test -p codex-plus-core launcher_uses_gated_startup_preload_without_proxy_environment_override -- --nocapturecargo +stable-x86_64-pc-windows-msvc build --release -p codex-plus-launcherprotocol-handle-4service_tier_preload_asset_patchedfor both service-tier assets.