Skip to content

docs: keep the provider configuration reference under the file-size cap - #7856

Merged
lidge-jun merged 1 commit into
devfrom
l6/fix-providers-ref-cap
Oct 28, 2026
Merged

lidge-jun merged 1 commit into
devfrom
l6/fix-providers-ref-cap

Conversation

@lidge-jun

@lidge-jun lidge-jun commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

dev currently fails the file-size ratchet: docs-site/src/content/docs/reference/configuration/providers.md is 2001 lines, over the 2000-line default threshold, because #7817 added a four-line paragraph while another change landed in the same file. This joins that paragraph (the Claude Code /model picker label note) into a single line. No wording changes.

Verification

  • OCX_TEST_NO_QUEUE=1 bun test tests/ci-workflows/file-size-ratchet.test.ts: pass (file now 1999 lines; fails on current dev with NEW_OVERSIZED 2001).
  • OCX_TEST_NO_QUEUE=1 bun test tests/ci-workflows/docs-link-targets.test.ts: pass.

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
    • Clarified that routed rows in the Claude Code /model picker display as <label> (<provider>) when the configured label matches exactly. Updated the examples accordingly.

@lidge-jun
lidge-jun requested a review from Ingwannu as a code owner October 28, 2026 00:45
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T00:46:51.991334Z 7026387 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 Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 0fc96b0 and 7026387.

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.

Walkthrough

The Claude Code /model picker documentation now shows exact-label routed rows in the single-line format <label> (<provider>). Other row-selection and labeling rules remain unchanged.

Changes: Model picker documentation

Layer / File(s) Summary
Exact-label row example
docs-site/src/content/docs/reference/configuration/providers.md
The example for an exact-label routed row changes to the single-line format <label> (<provider>).

Priority: Low

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

Change: Other

Possibly related PRs

  • lidge-jun/opencodex#7817: Introduced the Claude Code /model picker paragraph that this documentation change condenses.

Suggested reviewers: ingwannu

Merge Risk: Minimal · up to 70263

No actionable merge-blocking risk was identified.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "docs: keep the provider configuration reference under the file-size cap" matches the main change. The PR joins a four-line paragraph about the Claude Code /model picker label into one line …
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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 "docs: keep the provider configuration reference under the file-size cap" matches the main change. The PR joins a four-line paragraph about the Claude Code /model picker label into one line in docs-site/src/content/docs/reference/configuration/providers.md, which lowers the file from 2,001 lines to 1,999 lines. The author reports that this clears the NEW_OVERSIZED failure in the file-size-ratchet test, which sets the 2,000-line default cap. The title is specific, uses a conventional docs: prefix, and names the file's purpose. It does not name the reflowed paragraph, but the PR is a single-line reflow, so the omission is acceptable.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

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

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

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Oct 28, 2026
@lidge-jun
lidge-jun merged commit ce608ab into dev Oct 28, 2026
25 of 26 checks passed
@lidge-jun
lidge-jun deleted the l6/fix-providers-ref-cap branch October 28, 2026 00:55
@lidge-jun

Copy link
Copy Markdown
Owner Author

Captain quick-merge: dev was red on the file-size ratchet (providers.md was 2001 lines after #7817), which fails the gates of every open PR. I verified locally that this diff only joins three wrapped lines into one, with identical text, leaving the file at 1999 lines. Merged without waiting for the queued PR CI, to unblock the other lanes.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Deterministic PR hygiene checks passed.

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