codex/scripts
Sean Huang 6ae8b8aa7c Upgrade V8 to 152.2.0 and backport Array.sort safety guards (#54519)
## Why

Optimized `Array.prototype.sort` can write objects into incompatible array element storage when receiver element kinds differ and the comparator mutates the array.

## What changed

- Upgrade `v8` to `152.2.0`, the Bazel V8 source to `15.2.124.1`, and ICU data and initialization to version 78.
- Backport element-kind agreement checks for sort inlining in TurboFan and Maglev. Apply the patch to Bazel builds and Windows MSVC source builds, and include it in source-build cache keys and canary triggers.
- Refresh pinned sandbox archives and bindings, extend Bazel prebuilt coverage to musl Linux, and use matching sandbox bindings on Windows MSVC.
- Update Bazel integration patches and runtime dependencies for the new V8 release, and download the pinned Windows build tools in source-build workflows.

## Testing

Include the upstream sort regression test covering mixed element kinds, comparator mutation, and continued optimization for matching kinds. Add a test requiring canary and Windows source builds when the backport changes, and update artifact-fetch tests for the new version.

GitOrigin-RevId: 138b7821cddd25466c10aced1dd22be24837caf0
History 2026-10-16 06:06:54 +00:00
..
codex_package Upgrade V8 to 152.2.0 and backport Array.sort safety guards (#54519) 2026-10-16 06:06:54 +00:00
install Prune unused app-server daemon releases safely (#53827) 2026-10-14 01:49:56 +00:00
mcp_conformance Add CIMD support to MCP OAuth registration (#38089) 2026-08-12 00:01:01 +00:00
asciicheck.py Enforce ASCII in README.md (#513) 2025-04-22 10:07:40 -04:00
build_codex_package.py build: add Codex package builder (#23513) 2026-05-19 19:54:03 +00:00
build_winget_package.py Bundle native voice runtimes in Windows releases (#44922) 2026-09-11 21:59:24 +00:00
check-module-bazel-lock.sh Clarify Bazel lockfile verification failures (#46993) 2026-09-21 10:01:13 +00:00
check_blob_size.py Check root Python script formatting in CI (#25165) 2026-06-01 18:50:23 +00:00
debug-codex.sh Enable plan tool by default (#5384) 2025-10-21 16:25:05 +00:00
format.py Format Python scripts across the repository (#42109) 2026-09-01 17:47:29 +00:00
just-shell.py Check root Python script formatting in CI (#25165) 2026-06-01 18:50:23 +00:00
list-bazel-clippy-targets.sh [codex] Fix Windows BuildBuddy Bazel wrapper execution (#25915) 2026-06-02 16:22:32 -07:00
list-bazel-release-targets.sh [codex] Add hermetic Wine exec-server test (#27937) 2026-06-12 20:20:23 -07:00
mock_responses_websocket_server.py Standardize shell execution on unified exec (#39757) 2026-08-20 17:46:05 +00:00
pyproject.toml Check root Python script formatting in CI (#25165) 2026-06-01 18:50:23 +00:00
readme_toc.py Check root Python script formatting in CI (#25165) 2026-06-01 18:50:23 +00:00
run_tui_with_exec_server.sh Run exec-server fs operations through sandbox helper (#17294) 2026-04-12 18:36:03 -07:00
stage_npm_packages.py Move npm package staging into a separate release workflow job (#43281) 2026-09-06 20:57:56 +00:00
start-codex-exec.sh Auto install start-codex-exec.sh dependencies (#17990) 2026-04-15 13:27:17 -07:00
test-remote-env.sh ci: route build IO through Dev Drives (#31357) 2026-07-08 14:06:37 -07:00
uv.lock Check root Python script formatting in CI (#25165) 2026-06-01 18:50:23 +00:00
workspace-status.cmd Add Bazel preparation for native voice runtimes (#43114) 2026-09-05 22:27:22 +00:00
workspace-status.sh Add Bazel preparation for native voice runtimes (#43114) 2026-09-05 22:27:22 +00:00