Skip to content

docs(self-hosting): collapse the self-hosting guide, generate the reference tables, and remove duplication - #10779

Merged
waleedlatif1 merged 2 commits into
stagingfrom
waleed/selfhost-docs-collapse
Dec 5, 2026
Merged

waleedlatif1 merged 2 commits into
stagingfrom
waleed/selfhost-docs-collapse

Conversation

@waleedlatif1

@waleedlatif1 waleedlatif1 commented Dec 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • One install flow each for Docker Compose and Helm: npx sim-setup --url, a manual Compose .env template, one pinned-chart Helm flow with the secret-strategy and database choice before install; no hard-coded release pins
  • Delete platforms.mdx (redirect to reference architectures; managed Postgres table moved there, Railway reduced to a short caveat), move Ollama/LM Studio/vLLM to a new local-models page, cosign verification to Security, generic-release conversion and upgrade commands to Upgrades
  • Say each warning once (encryption keys → Security, uploads → Object storage, Redis → Redis) and cut repeated tables, history and internals
  • Fill gaps: Chat key location and how to hide Chat, INTERNAL_JWT_SECRET, SOCKET_SERVER_URL, DATABASE_URL_<ROLE>, IVM_POOL_SIZE, LOG_LEVEL, Trigger.dev declared hosted-only, troubleshooting for "partially or incorrectly configured", Chat 401 and auth origin mismatch, helm test
  • Generated and checked (generate:/check:self-hosting-docs): the OAuth "Other providers" table from the OAuth client registry, and the cron job table from cronjobs.jobs (each job now has a description); the check also fails on undeclared env names and hard-coded current release pins in self-hosting docs
  • Helm README trimmed to what ships with the chart; "Upgrading to 1.21.0" restored as published and "Upgrading to 1.22.1" lists only the unreleased changes (chart 1.22.1)
  • Root README self-hosting section reduced to a pointer with current links
  • Intentional docs-contract changes recorded in content-baseline.json: the deleted platforms page (redirected), anchors of removed duplicate sections (linked ones kept or redirected), and new hashes for changed code examples

Type of Change

  • Documentation

Testing

  • check:self-hosting-docs, check:cron-parity, check:generators, check:docs-manifest, content:verify-compatibility (intentional baseline updates: the deleted page and section, recomputed fences for changed pages)
  • scripts/sync-self-hosting-docs.test.ts (9 tests; each guard red when removed), test:scripts 1047 pass
  • helm lint and helm-unittest (326)
  • Link and anchor check across apps/docs, apps/sim, helm and sim-setup references; ~40 load-bearing claims verified against code in review

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@waleedlatif1
waleedlatif1 requested a review from a team as a code owner December 5, 2026 02:09
@vercel

vercel Bot commented Dec 5, 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 Dec 5, 2026 8:42am UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 31 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread scripts/sync-self-hosting-docs.ts Resolved
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 31 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

@waleedlatif1
waleedlatif1 merged commit 4a74051 into staging Dec 5, 2026
107 checks passed

This branch was successfully deployed

1 active deployment
Preview — 0bc8d129 Deployed Dec 5, 2026 by vercel[bot]
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