Skip to content

docs: keep error detail and provider reference within their line caps - #8942

Merged
lidge-jun merged 2 commits into
devfrom
l1/devfix-error-detail-600
Nov 19, 2026
Merged

lidge-jun merged 2 commits into
devfrom
l1/devfix-error-detail-600

Conversation

@lidge-jun

@lidge-jun lidge-jun commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

dev at ae7748e6ce fails two checks after #8894:

  • structure:check: structure/data-planes/error-detail.md is 601 lines, over the 600-line budget. Fixed by joining one wrapped sentence ("The Zed adapter marks only its generated EOF event.") onto the previous line, giving exactly 600 lines.
  • File-size ratchet: docs-site/src/content/docs/reference/configuration/providers.md is 2,001 lines (NEW_OVERSIZED). Fixed by joining the paced-compact refusal sentence feat(openai): opt-in same-model retries for pre-output ChatGPT capacity refusals #8894 added onto the preceding pacing paragraph, giving 1,999 lines.

No wording changes, no cap changes, two files touched.

Verification

Checked on an exported tree of head 8ed742eb83, with node_modules symlinked from a local checkout:

  • bun scripts/file-size-ratchet.ts: passes. On dev it reports NEW_OVERSIZED …/reference/configuration/providers.md 2001.
  • bun test tests/ci-workflows/file-size-ratchet.test.ts: 9 pass, 0 fail.
  • bun scripts/structure-ssot.ts: the error-detail line-budget failure from dev is gone. The six remaining failures come from the export lacking gitignored node_modules paths (@openai/codex, .pnpm, bun/bin). They are identical with and without this change.
  • bun test tests/ci-workflows/docs-spanish-localization.test.ts: 48 pass, 0 fail.
  • Full suite is left to PR CI.

Checklist

  • Scope stays focused and avoids unrelated cleanup.
  • Docs or release notes were updated when needed.
  • Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.

Summary by CodeRabbit

  • Documentation
    • Reflowed the Zed adapter documentation without changing its wording or described behavior.
    • Consolidated request-pacing details about concurrency, queuing, retry budgets, response size, and stalled bodies.

Join one wrapped sentence so structure/data-planes/error-detail.md returns to
600 lines after #8894. No wording changes.
@lidge-jun
lidge-jun requested a review from Ingwannu as a code owner November 19, 2026 05:17
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T05:19:07.820091Z 617ab56 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Two documentation passages were updated. The Zed adapter sentence was reflowed without wording changes. The provider pacing description now groups existing concurrency, queue, and compact-retry outcomes in one paragraph.

Changes: Zed adapter documentation

Layer / File(s) Summary
Reflow the Zed adapter sentence
structure/data-planes/error-detail.md
The sentence was reflowed across lines. Its wording and described behavior are unchanged.

Provider pacing documentation

Layer / File(s) Summary
Consolidate the pacing description
docs-site/src/content/docs/reference/configuration/providers.md
The paragraph groups concurrency-slot and queue behavior with compact-retry refusal, the 32 MiB response-size limit and compact_response_too_large 502, and stalled-body upstream_stall_timeout 504 outcomes.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

Possibly related PRs

  • lidge-jun/opencodex#8894: It added the compact-retry refusal sentence that the provider pacing paragraph now joins with the preceding text.
Merge Risk: Minimal · up to 8ed74

This documentation-only reflow keeps the two files within their line limits without changing any described behavior. No merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the change accurately: it is a documentation-only edit that joins wrapped sentences so that structure/data-planes/error-detail.md and docs-site/src/content/docs/reference/configuration…
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.
Full details: Title check

Explanation

The title names the change accurately: it is a documentation-only edit that joins wrapped sentences so that structure/data-planes/error-detail.md and docs-site/src/content/docs/reference/configuration/providers.md stay within their line caps. The raw summary and PR objectives both describe this same purpose, and the title is short, specific, and free of vague terms. It does not list every detail, but it covers the primary change.

Finishing Touches

Generate unit tests (beta)

  • 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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 617ab56 and 8ed742e.

Files selected for processing: 1

  • docs-site/src/content/docs/reference/configuration/providers.md

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

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 19, 2026
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

✅ Deterministic PR hygiene checks passed.

Join the paced compact refusal sentence added by #8894 onto the preceding
pacing paragraph, so the page returns to 1,999 lines. No wording changes.
@lidge-jun lidge-jun changed the title docs(structure): keep error detail within the 600-line cap docs: keep error detail and provider reference within their line caps Nov 19, 2026
@lidge-jun

Copy link
Copy Markdown
Owner Author

Maintainer integration record (lidge-jun; dev-fix assigned by the coordinator as a merge-freeze exception).

  • Head 8ed742eb83c4b12f48bc2571736082b8e7a532ee, base dev ae7748e6ce: MERGEABLE, 0 behind at open.
  • What it fixes: two cap failures introduced on dev by feat(openai): opt-in same-model retries for pre-output ChatGPT capacity refusals #8894.
    • structure:check: structure/data-planes/error-detail.md goes from 601 to 600 lines.
    • File-size ratchet: docs-site/src/content/docs/reference/configuration/providers.md goes from 2,001 to 1,999 lines.
    • Both are line joins with no wording change.
  • CI on this head: all selected checks green (docs-only lane: structure gate, docs site build, privacy gate, hygiene, enforce, ci). The test shards were not selected. On an exported tree of this head, the ratchet script passed, file-size-ratchet.test.ts passed 9/0, and docs-spanish-localization.test.ts passed 48/0.
  • Review: the same gpt-6.2-sol reviewer (the feat(openai): opt-in same-model retries for pre-output ChatGPT capacity refusals #8894 thread) approved both commits. It confirmed only line joins and the 600 and 1,999 counts, and found no other cap affected.
  • scripts/ci/assert-mergeable-review.sh --maintainer-integration 8942: see the merge step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant