Skip to content

Simplify CI and remove dead i18n automation - #1190

Merged
teallarson merged 6 commits into
mainfrom
teallarson/simplify-ci-env-vars
Sep 15, 2026
Merged

teallarson merged 6 commits into
mainfrom
teallarson/simplify-ci-env-vars

Conversation

@teallarson

@teallarson teallarson commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove the never-run translate-docs workflow and all dead i18n scaffolding (scripts/i18n-sync/, es/pt-BR dictionaries, TranslationBanner).
  • Drop the Docs Bot GitHub App from PR workflows. generate-toolkit-docs, llmstxt, and update-design-system-dependency now use GITHUB_TOKEN.
  • Delete the .github/actions/app-token composite action.
  • Simplify generate-toolkit-docs: hardcode Anthropic model names; PUBLIC_CATALOG_URL is a workflow_dispatch input instead of a secret.
  • Remove Context7 (context7.json + refresh workflow). The refresh ping had been silently failing for months on a dead API endpoint.
  • Fix README to reference .env.local.example.

Algolia workflows are intentionally untouched for a separate PR.

Secrets you can delete after merge

  • DOCS_BOT_CLIENT_ID
  • DOCS_BOT_PRIVATE_KEY
  • ANTHROPIC_MODEL
  • ANTHROPIC_EDITOR_MODEL
  • PUBLIC_CATALOG_URL

Test plan


Note

Medium Risk
Removes the translation pipeline and Spanish/Portuguese UI strings while legacy /es and /pt-BR URLs still redirect via proxy; CI now depends on Docs Bot secrets and changed toolkit generator configuration.

Overview
Docs are treated as English-only in the app: locale dictionaries and the AI translation banner go away, getDictionary always loads English, and the 404 page no longer offers “view in English” for non-en paths. The translate-docs workflow, scripts/i18n-sync/, and the pnpm translate script are deleted, along with context7.json and its refresh workflow.

Automation workflows are adjusted so auto-PRs still run CI: generate-toolkit-docs, llmstxt, and update-design-system-dependency document and wire Docs Bot via .github/actions/app-token (new tests/docs-automation-tokens.test.ts and updated toolkit workflow tests assert PR writes use the app token, not secrets.GITHUB_TOKEN). generate-toolkit-docs hardcodes claude-sonnet-4-6, drops Anthropic model secrets, and exposes public_catalog_url as an optional workflow_dispatch input instead of a secret. llmstxt drops duplicate job permissions and makes automerge continue-on-error.

README now points at .env.local.example; Biome drops the pt-BR dictionary filename override.

Reviewed by Cursor Bugbot for commit 22e9c85. Bugbot is set up for automated code reviews on this repo. Configure here.

Docs Bot restored

The Bugbot finding is fixed on this branch: llmstxt, generate-toolkit-docs, and update-design-system-dependency use the Docs Bot GitHub App again. Do not delete DOCS_BOT_CLIENT_ID or DOCS_BOT_PRIVATE_KEY. GITHUB_TOKEN pushes and PRs do not start Test.

Remove the never-run translate-docs workflow, migrate PR workflows to GITHUB_TOKEN, and delete unused translation scaffolding so fewer secrets and custom actions are required.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Sep 14, 2026 11:56pm UTC

Request Review

The workflow is low cost and the /arcadeai/docs library sees real MCP usage, so keep it syncing after merges while leaving manual dispatch available.

Co-authored-by: Cursor <cursoragent@cursor.com>
The old /api/refresh-library endpoint returned 404 while curl exited 0, so refreshes had been failing silently since the endpoint moved.

Co-authored-by: Cursor <cursoragent@cursor.com>
The refresh endpoint had been returning 404 silently for months; drop the integration rather than maintain a broken ping.

Co-authored-by: Cursor <cursoragent@cursor.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 95011cc. Configure here.

Comment thread .github/workflows/llmstxt.yml Outdated
GITHUB_TOKEN events do not start other workflows. Restore the Docs Bot
GitHub App token so llms.txt commits and automation PRs still run Test.

Co-authored-by: Anirudh Kamath <kamath@users.noreply.github.com>
GITHUB_TOKEN pushes and PRs do not start other workflows. Keep Test
running on llms.txt commits and automation PRs by locking those
workflows to the Docs Bot GitHub App token.
@teallarson
teallarson merged commit cdad8a0 into main Sep 15, 2026
9 checks passed
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.

3 participants