codex/.github
jgershen-oai 7e049b3eaa Balance Windows Bazel test shards using duration estimates (#49103)
## Why

Hash-based sharding does not account for differences in test duration. Use estimated test time to balance the Windows Bazel workload across shards.

## What changed

- Add checked-in duration weights and a deterministic selector that assigns the longest targets first to the least-loaded shard.
- Assign every queried target exactly once, default missing weights to one second, and ignore stale weights.
- Run queries and selection in the foreground so failures stop the job before tests run with a partial target list.
- Emit LF-delimited target labels for Git Bash and report estimated shard loads on stderr.

## Testing

Add seven passing selector tests covering deterministic coverage and balancing, missing and stale weights, invalid inputs, duration-file overrides, and CLI output. Run them on the first Windows CI shard.

GitOrigin-RevId: d415ae093bfe57794ee53a2eb9d712022202dad8
History 2026-09-28 23:52:19 +00:00
..
actions Configure curl retries for DotSlash installation in CI (#47693) 2026-09-23 23:04:14 +00:00
codex Fix minor typos in comments and documentation (#10287) 2026-01-30 22:11:02 -08:00
ISSUE_TEMPLATE feat(cli): add codex doctor diagnostics (#22336) 2026-05-13 21:23:19 +00:00
scripts Balance Windows Bazel test shards using duration estimates (#49103) 2026-09-28 23:52:19 +00:00
workflows Balance Windows Bazel test shards using duration estimates (#49103) 2026-09-28 23:52:19 +00:00
blob-size-allowlist.txt Add GPT-6-Astra to the bundled model catalog (#42607) 2026-09-03 20:05:58 +00:00
CODEOWNERS Expand agent core ownership (#31675) 2026-07-08 18:04:44 -07:00
codex-cli-splash.png Replaced user documentation with links to developers docs site (#8662) 2026-01-02 13:01:53 -07:00
dependabot.yaml Remove the repository devcontainer configurations (#43915) 2026-09-08 21:19:02 +00:00
dotslash-argument-comment-lint-config.json Publish runnable DotSlash package for argument-comment lint (#15198) 2026-03-19 18:59:02 +00:00
dotslash-config.json Include the Windows sandbox service in release artifacts (#44694) 2026-09-11 01:09:50 +00:00
dotslash-provisioned-config.json Publish opt-in provisioned macOS packages with Rust releases (#45345) 2026-09-14 04:37:04 +00:00
dotslash-zsh-config.json release: publish standalone zsh artifacts (#30114) 2026-06-25 13:56:08 -07:00