forked from openai/codex
## Why Executor compatibility checks need a build identity that distinguishes commits and compiler targets independently of the package release version. ## What changed - Add optional `providerId` to exec-server environment metadata, cached at startup and returned by initialization and `environment/info`. - Derive the ID as SHA-256 of `git:<lowercase commit>:<target>`. It identifies a standard build configuration, not exact executable bytes, and is omitted when the commit stamp or target is unavailable or invalid. - Embed the compiler target in `BuildInfo`, preserve compatibility with historical metadata without a target, and stamp Cargo release builds with `STABLE_GIT_COMMIT`. - Group Bazel build-script argument files under one `--arg-file` flag to reduce Windows command-line length while preserving file order. ## Testing Add deterministic build-ID vectors across targets, commit normalization and invalid input coverage, and historical metadata compatibility tests. Extend exec-server coverage for metadata caching and ensure runtime environment overrides cannot replace the executor's build identity. GitOrigin-RevId: 125a18c23de7ad006571940ba305836376c983f4 |
History
|
|
|---|---|---|
| .. | ||
| common | ||
| file_system | ||
| relay | ||
| support | ||
| unit | ||
| accepted_websocket.rs | ||
| capability_discovery.rs | ||
| chatgpt_cloudflare_affinity.rs | ||
| deferred_environment.rs | ||
| environment.rs | ||
| environment_config.rs | ||
| exec_process.rs | ||
| file_stream.rs | ||
| file_system_unix.rs | ||
| file_system_windows.rs | ||
| forward.rs | ||
| health.rs | ||
| http_client.rs | ||
| http_request.rs | ||
| http_request_logging.rs | ||
| initialize.rs | ||
| process.rs | ||
| relay.rs | ||
| selected_capability_roots.rs | ||
| websocket.rs | ||