Skip to content

docs(es): mirror the OpenCode protocol-per-model section (fix dev Spanish localization gate) - #8913

Merged
lidge-jun merged 1 commit into
devfrom
goat/lane-3-opencode-es
Nov 18, 2026
Merged

lidge-jun merged 1 commit into
devfrom
goat/lane-3-opencode-es

Conversation

@lidge-jun

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

Copy link
Copy Markdown
Owner

Summary

dev fails tests/ci-workflows/docs-spanish-localization.test.ts ("keeps executable examples and frontmatter in the current English shape") since #8856 (d56f721). That PR added a "Protocol per model" section to guides/opencode.md, and the Spanish page did not get it, so the English page's identifiers (@opencode/ai/providers/openai-compatible-responses and others) are missing from the Spanish page. #8856's PR CI ran only the import-graph lane, which does not read docs as data, so the failure surfaced on dev.

This adds the translated section, with its protocol-per-model anchor, to es/guides/opencode.md and keeps the literal identifiers.

Verification

  • bun test tests/ci-workflows/docs-spanish-localization.test.ts on dev (d56f721 and later): 31 pass, 1 fail. On this branch: 32 pass, 0 fail.

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
    • Updated the Spanish guide to explain which API protocol is used by default and when models use Chat Completions instead. Clarified which models and routing configurations remain on Responses, and noted that protocol changes require updating the managed integration or re-exporting the manual snapshot.

@lidge-jun
lidge-jun requested a review from Ingwannu as a code owner November 18, 2026 15:01
@lidge-jun lidge-jun added the ci:full Run the four full Ubuntu test shards on this pull request label Nov 18, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 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-18T15:03:15.813063Z 2f30557 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 18, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Spanish OpenCode guide now documents protocol selection by model, including default behavior, Chat Completions overrides, and cases that retain Responses.

Changes

Cohort / File(s) Summary
Spanish protocol documentation
docs-site/src/content/docs/es/guides/opencode.md
Adds the per-model protocol section for V1 and V2. It describes when models use /v1/chat/completions and which models retain /v1/responses.

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

Change: Other

Possibly related PRs

Merge Risk: Minimal · up to 2f305

This adds a Spanish documentation section on protocol selection per model. It has no runtime impact and is ready to merge.

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. The PR adds a Spanish translation of the 'Protocol per model' section to docs-site/src/content/docs/es/guides/opencode.md, and the title says it mirrors the Open…
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. The PR adds a Spanish translation of the 'Protocol per model' section to docs-site/src/content/docs/es/guides/opencode.md, and the title says it mirrors the OpenCode protocol-per-model section. The parenthetical about the dev localization gate gives the reason for the change. The title is 92 characters, which is longer than ideal but still concise and specific.

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 79a85fc and 2f30557.

Files selected for processing: 1

  • docs-site/src/content/docs/es/guides/opencode.md

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

@github-actions

Copy link
Copy Markdown
Contributor

✅ Deterministic PR hygiene checks passed.

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

Copy link
Copy Markdown
Owner Author

Maintainer integration into dev by @lidge-jun as the coordinator-assigned dev repair during the merge freeze (batch run 44330138319 is red on this test on every platform). Exact head 2f30557:

  • Review: gpt-6.2-sol review APPROVE (translation accuracy, identical code spans, anchor placement, single insertion).
  • CI: ci (with ci:full), docs site build, privacy gate, hygiene, label and resolve-pr passed. enforce / enforce-target is still queued in the backed-up Actions queue. Its conditions hold: the base is dev and the description follows the template.
  • Union check: I merged current dev (4 commits ahead) locally and reran docs-spanish-localization (32/0 including the opencode page), the file-size ratchet, test-layout and structure-ssot (104/0 combined).
  • Review gate: scripts/ci/assert-mergeable-review.sh --maintainer-integration 8913 returned OK.

@lidge-jun
lidge-jun merged commit 819468c into dev Nov 18, 2026
31 of 34 checks passed
@lidge-jun
lidge-jun deleted the goat/lane-3-opencode-es branch November 18, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:full Run the four full Ubuntu test shards on this pull request documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant