Repository navigation
ci: give each macOS shard 30 minutes (owner decision) - #8717
Conversation
Dev run 43508374033 cancelled all four macOS shards at the 20-minute cap with no failing tests (about 1m of setup and 19m of tests each; batches 67-78 of 75-83 reached). Four suite shards and widget/bundle already take all five macOS runner slots, so another shard is not available, and the owner raised the cap to 30. Only platform-macos timeout-minutes changes; its rationale comment is shortened to this decision and ci-workflows.test.ts pins the new value. ci.yml is a release-evidence policy path, so a new ci entry repeats the last one with only the new ci.yml blob ID (git hash-object --no-filters); older entries are kept and policy-check matches the working tree.
|
✅ Deterministic PR hygiene checks passed. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Maintainer judgment: integrating into Exact head 0ca81ff:
|
scripts/ci/docker-smoke.ts is a release-evidence policy path, so a new ci entry repeats the last one with only the new docker-smoke blob ID (git hash-object --no-filters); older entries are kept. Same procedure as #8717.
…less (#8788) * feat(codex): give Luna Reserve its own setting, seeded once from authless Luna Reserve compatibility was gated on codexDesktopAuthless, a switch documented as controlling whether Codex Desktop asks for a sign-in. Add codexReserveEnabled and route catalog advertisement and request eligibility through one predicate, isCodexReserveEnabled. Existing installs keep their Reserve state: the first persisted write (or startup) copies the legacy authless value once and records codexReserveMigration. Every whole-config writer projects the seed from the persisted pre-write document via projectPersistedConfigMigrations, so a write that also flips authless cannot move Reserve; /api/settings seeds the live config before changing either switch. After the marker, an absent value means off, so deleting the field cannot restore inheritance. New configurations start disabled. Expose it as codexReserveEnabled in /api/settings and as 'ocx system settings --reserve <on|off>'. The refusal for an unopted gpt-reserve request now names the new setting. Enabling the capability grants no entitlement; upstream Reserve permission, role and listener admission still decide each request. Closes #4961 * fix(codex): keep Reserve state consistent across startup and failed saves Review round 1: - the startup migration adopts the seed onto the loaded object in place, so its file-backed provenance survives - /api/settings no longer rolls live Reserve back after the config was published; only a pre-publication failure restores the old fields - tests exercise the real writer, the live writer's handling of another process's Reserve change, and both sides of the publication boundary * fix(codex): adopt published Reserve fields after a post-publication failure Review round 2: a save can publish and then fail before the live writer adopts its projection. The settings route now rereads the published file on ConfigWritePublishedError and adopts its Reserve fields, so the running proxy matches disk. * chore(structure): move the Reserve capability note into its own doc structure/config.md is at its 600-line budget, so the Reserve capability contract lives in structure/codex-reserve-capability.md, registered in the manifest. The docker smoke startup oracle now expects the two Reserve fields a fresh install persists (codexReserveEnabled false, migration 1). * ci: pin the updated docker smoke script in the release-evidence policy scripts/ci/docker-smoke.ts is a release-evidence policy path, so a new ci entry repeats the last one with only the new docker-smoke blob ID (git hash-object --no-filters); older entries are kept. Same procedure as #8717. * Revert "ci: pin the updated docker smoke script in the release-evidence policy" This reverts commit d8af7b7. * fix(codex): record the Reserve seed only when authless or Reserve changes Writing the seed on every save added two fields to configs whose authless value never changed, which broke byte-identity, generation-bump and admission invariants for unchanged saves. The projection now records the seed only when a write changes authless (seeding from the persisted document), sets Reserve explicitly, or carries an already migrated file; otherwise an unmarked document is left alone, since its reading already equals authless. Startup records the seed only for a file that sets codexDesktopAuthless, so a fresh install gains no fields and the docker smoke oracle and release-evidence pin are unchanged (reverted). Also: keep carried Reserve keys in seed order so an unchanged carried state rewrites identical bytes; reserve ingress and Claude replay tests now flip codexReserveEnabled, the setting that decides Reserve. * docs(codex): describe when the Reserve seed is recorded Reserve follows authless until the one-time seed is recorded: at startup for a file that sets codexDesktopAuthless, otherwise at the first authless or Reserve change through ocx or the dashboard. Notes the remaining hand-edit gap in the structure doc. * Reapply "ci: pin the updated docker smoke script in the release-evidence policy" This reverts commit 769694f. * fix(codex): seed Reserve under the writer's lock and at every first start Review round 3: - the settings route no longer seeds the live object before the locked merge; an authless-only change is seeded by the writer from the file, so a stale live object cannot overwrite another process's Reserve decision. An explicit Reserve choice is recorded as the operator's. - a new document starts disabled even when created with authless on. - startup records the seed for every unmarked file once, so after the first start on this version a hand edit of authless cannot move Reserve. A fresh install therefore persists codexReserveEnabled false and the marker: the docker smoke oracle and its release-evidence pin return (re-applied). Tests drive the real settings writer for both concurrent directions and for creation; the ingress fixture sets Reserve explicitly. * docs(codex): the Reserve seed is recorded at first start * fix(config): keep src/types/config.ts under the 2000-line ratchet The Reserve field docs took the file to 2001 lines (NEW_OVERSIZED). Compress them, and register the new test in the config layout shard instead of layout.json, which sits at 1999 lines. * test(responses): enable Reserve through its own setting in the vision-helper refusal case The fixture creates a new config, which now starts with Reserve off even with authless on; set codexReserveEnabled, the setting that decides Reserve. * fix(config): keep another process's Reserve value across an unrelated live save CodeRabbit on #8788: when the file is migrated but codexReserveEnabled is absent (absent means off), the key is missing from both the live config and its baseline, so the live writer skipped it and wrote the file without a value another process had just set. A concurrent "Reserve on" could be silently undone by any live save. The live writer now always rebases the two Reserve fields against disk. Explicit live edits, and deletions of a key present in the baseline, still win the three-way merge. Tests cover the absent-value case (red before), the explicit-value case and a live deletion. Also moves this branch's layout registration into the middle of layout-config.json so it stops colliding with other queued registrations. * docs(config): name the main-account selector the Reserve row needs CodeRabbit on #8788: enabling codexReserveEnabled alone does not add the gpt-reserve row; a codexAccountNamespaces selector must target the main Codex account, and the picker can hide it. Same identifiers in en and es. * docs(providers): Reserve's stored-main selector follows codexReserveEnabled, not authless CodeRabbit on #8788 (outside-diff comment): the provider guide still named effective local authless Desktop mode as the Reserve prerequisite. The gate reads codexReserveEnabled on a loopback, non-client proxy. en and es.
Summary
Owner decision: the
platform-macosshards (macos ${{ matrix.shard }}/4) get a 30-minute cap instead of 20.Dev run 43508374033 cancelled all four macOS shards at exactly the 20-minute cap with no failing tests. Each spent about 1 minute on checkout and install and 19 minutes in tests, reaching batch 73/83, 78/79, 67/78 and 68/75. The previous two batches also lost one or two shards at the cap. The
ci.ymlcomment recommended adding a shard instead of raising the cap, but four suite shards plus widget/bundle already use all five macOS runner slots.Changes:
.github/workflows/ci.yml:platform-macostimeout-minutes: 20→30, with the rationale comment shortened to this decision. Nothing else in the workflow changes: no trigger,runs-on,if, permission or other job's cap.tests/ci-workflows/ci-workflows.test.ts: the pinned value becomes 30..github/scripts/release-evidence-policy.json:ci.ymlis a pinned release-evidence path. Following the procedure in.github/scripts/release-evidence.cjs, a newcientry repeats the last one with only the newci.ymlblob ID (git hash-object --no-filters). Older entries are kept, the file set andwindowsShardsare unchanged, and without the entry a dev run after this merge would not count as release evidence.Security-relevant surface: a GitHub Actions workflow and the release-evidence policy. The only behavioural effect is that a wedged macOS shard (#4956) is cut off ten minutes later.
Verification
node .github/scripts/release-evidence.cjs policy-check: fingerprints match the working tree. A jq comparison of the new and previouscientries shows equal key sets,windowsShards14 in both, and.github/workflows/ci.ymlas the only changed digest.node --testover the five release scripts the gates job runs: 69 pass / 0 fail.bun test tests/ci-workflows/ci-workflows.test.ts: 141 pass / 0 fail.bun run structure:checkandbun run privacy:scan: passed.tests/ci-workflows/ci-bun-install-frozen.test.tsfails 21 cases on this host on unchangedorigin/devas well (local shell tooling). This PR's Ubuntu CI is its evidence.Checklist
Summary by CodeRabbit