mirror of
https://github.com/openai/codex.git
synced 2026-05-02 02:17:22 +00:00
## Summary This changes our V8 Bazel wiring so `simdutf` no longer comes from a live `git_repository` fetch against Chromium's Googlesource host. Instead, we pull `simdutf` from a pinned GitHub release archive and keep the V8 `simdutf` target wired through the external repo. The archive-backed target is set up to match the way V8 consumes `simdutf` today, including the amalgamated `src/simdutf.cpp` entrypoint and the internal files it includes. ## Why CI was intermittently failing while Bazel tried to fetch: `https://chromium.googlesource.com/chromium/src/third_party/simdutf/` That fetch was returning HTTP 429s, which then fan out into failures in the Bazel jobs, the SDK job, and the argument-comment lint jobs since they all go through the same dependency resolution path. ## What changed - replaced the `simdutf` `git_repository` in the patched V8 module deps with a pinned `http_archive` - pointed that archive at `simdutf` `v7.7.0` on GitHub - added the archive hash so the fetch is deterministic - kept the V8 BUILD patch pointing `:simdutf` at the external `@simdutf//:simdutf` target - configured the Bazel `cc_library` for the archive to use the amalgamated `src/simdutf.cpp` source plus the internal headers / textual includes it depends on ## Validation - ran `bazel build @v8//:simdutf` - confirmed the target builds successfully with the new archive-backed wiring
9.3 KiB
9.3 KiB