Skip to content

fix(ci): drop the duplicate Codex capacity replay baseline entry - #28295

Merged
OrcaWin merged 1 commit into
mainfrom
nwparker/fix-duplicate-capacity-replay-key
Oct 13, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
nwparker/fix-duplicate-capacity-replay-key

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 1 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2
Prod 0 0 0 0

ELI5

Two PRs that merged close together each added the same line to a test's table of known differences. JavaScript allows that, but TypeScript rejects it, so typecheck fails on main and blocks every PR.

What Changed

serialize-grid-transcript-replay.test.ts listed 'codex-model-capacity-fullscreen': 12 twice, once from #28192 and once from #28286, with the same value. This removes the second entry and its comment. The test's behavior is unchanged, since both entries held the same value and the last one won.

Why

pnpm tc fails on main with TS1117 (an object literal cannot have two properties with the same name), so every PR's static analysis fails until this lands.

Linked Issue

CI fix on main. Maintainer PR.

Visual Proof

N/A: test file only.

Testing

  • pnpm tc passes locally after the change and fails before it.

  • The replay test still passes: pnpm exec vitest run --config config/vitest.config.ts src/main/daemon/serialize-grid-transcript-replay.test.ts.

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

#28192 and #28286 both recorded 'codex-model-capacity-fullscreen' with the same count, and the
duplicate object key fails typecheck (TS1117) on main.
@coderabbitai

coderabbitai Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6d4a89e8-d931-4643-a7ef-3df8603c0d5a
📥 Commits

Reviewing files that changed from the base of the PR and between 4dcd0b9 and b817412.

📒 Files selected for processing (1)
  • src/main/daemon/serialize-grid-transcript-replay.test.ts
💤 Files with no reviewable changes (1)
  • src/main/daemon/serialize-grid-transcript-replay.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

📝 Walkthrough

The change removes the comment and codex-model-capacity-fullscreen entry from KNOWN_PREEXISTING_I2_FAILURES. The transcript name remains elsewhere in the record.

Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to b8174

This is a test-only cleanup that fixes a typecheck failure and has no runtime impact. It is safe to merge.

Pre-merge checks · Passed 5
Passed Passed checks (5 passed)
Check name Status Explanation
Title check Passed The title clearly identifies the CI fix and the removal of the duplicate Codex capacity replay baseline entry.
Description check Passed The description follows the required structure, explains the duplicate entry and TS1117 failure, documents the behavior impact, provides testing details, marks visual proof as not applicable, and comp…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@OrcaWin
OrcaWin merged commit d0b6596 into main Oct 13, 2026
28 checks passed
@OrcaWin
OrcaWin deleted the nwparker/fix-duplicate-capacity-replay-key branch October 13, 2026 11:35
OrcaWin added a commit that referenced this pull request Oct 13, 2026
#28295 and #28297 each removed one of the two duplicate entries, leaving none, so shard 5 fails
again (expected 0, got 12). Re-add exactly one.

Co-authored-by: m4air <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant