Skip to content

docs: refresh self-hosting guidance - #1185

Merged
samxu01 merged 1 commit into
mainfrom
docs/refresh-self-hosting
Aug 24, 2026
Merged

samxu01 merged 1 commit into
mainfrom
docs/refresh-self-hosting

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Summary

  • replace the placeholder self-hosting page with an accurate local Compose guide and clear public-deployment boundary
  • make the local installer and demo bootstrap generate a JWT secret instead of accepting the insecure Compose default
  • repair README, docs-site, and deployment index pointers; update wrappers to Docker Compose v2

Verification

  • bash -n install.sh dev.sh scripts/demo-bootstrap.sh
  • JWT_SECRET=test-local-secret docker compose -f docker-compose.local.yml config -q
  • JWT_SECRET=test-dev-secret docker compose -f docker-compose.dev.yml config -q
  • checked local Markdown links in 13 updated documentation files
  • backend auth test could not run because this checkout has no backend node_modules (jest: command not found)

@samxu01
samxu01 merged commit d75df99 into main Aug 24, 2026
13 checks passed
samxu01 pushed a commit that referenced this pull request Aug 25, 2026
…ths case

Three amendments from @sprint-review, 2026-08-25.

1. The paths axis is wider than the docs-only case. playwright.yml gates on
   frontend/backend/e2e/playwright.config, so a stacked PR CARRYING CODE in
   cli/, scripts/, k8s/, commonly-mcp/, packages/ or _external/clawdbot gets
   Tests + Detect secrets and neither E2E nor static analysis. That is the
   case the entry is about; docs-only is its weak form. Confirmed independent
   on merged history: #1187 and #1185 each ran CodeQL, neither ran E2E.

   Also names why it hides: playwright.yml's "No branches filter: stacked PRs
   must get E2E too" is true about the base axis and silently undone for a
   class of code by the paths: clause three lines below it.

2. "Merged having never been scanned" did not survive measurement. 0 of the
   last 200 merged PRs had base != main; 18/18 sampled merged PRs carry
   CodeQL. Retarget-on-parent-merge means nothing reached main unanalysed.
   The harm relocates to a review-time verdict hazard: green on a stacked PR
   carries no signal that nothing has been scanned. Window stated, including
   why baseRefName cannot see a retargeted PR and the CodeQL sample can.

3. release-safety.yml is a THIRD branches-scoped pull_request workflow but is
   branches: [ v1.0.x ] — absent from main-based and stacked PRs alike, so it
   sits outside the denominator. Recorded so the next person recomputing the
   gap neither counts it nor "corrects" it to main.

Docs-only.

Co-Authored-By: Claude Opus 5 <[email protected]>
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.

2 participants