Skip to content

docs(cerebro): add deployment runbook#757

Merged
yacosta738 merged 2 commits into
mainfrom
docs/cerebro-deployment-runbook-698
May 2, 2026
Merged

docs(cerebro): add deployment runbook#757
yacosta738 merged 2 commits into
mainfrom
docs/cerebro-deployment-runbook-698

Conversation

@yacosta738
Copy link
Copy Markdown
Contributor

Related Issues

Fixes #698


Summary

Adds a dedicated Cerebro operational deployment runbook for production operators, covering required secrets, production configuration, deployment topology, probes, rollout checks, token rotation, readiness troubleshooting, storage recovery, incident response, and alerting guidance.

Also links the runbook from the primary Cerebro README and adds it to the docs sidebar with an ES locale counterpart so docs metadata validation passes.


Tested Information

  • pnpm --filter @corvus/docs run validate:content
  • Commit hook lychee offline check passed for staged docs/config links.

Documentation Impact

  • Docs updated in:
    • clients/web/apps/docs/src/content/docs/cerebro/deployment-runbook.md
    • clients/web/apps/docs/src/content/docs/es/cerebro/deployment-runbook.md
    • clients/cerebro/README.md
    • clients/web/apps/docs/astro.config.mjs
  • I verified the documentation matches the current behavior described by the existing Cerebro configuration and operations docs.

Breaking Changes

None.


Checklist

  • I have checked that there isn’t already a PR solving the same problem.
  • I have read the Contributing Guidelines.
  • I ensured my code follows the project's style guidelines.
  • I have added or updated tests that prove my fix is effective or that my feature works.
  • I have updated the documentation, or I explained above why no documentation update is needed.
  • I verified the documentation matches the current behavior.
  • I have documented any breaking changes in the Breaking Changes section.
  • I have linked the related issue (if any).

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 2, 2026

Deploying corvus with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8c86f2c
Status: ✅  Deploy successful!
Preview URL: https://7de383c2.corvus-42x.pages.dev
Branch Preview URL: https://docs-cerebro-deployment-runb.corvus-42x.pages.dev

View logs

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 2, 2026

Warning

Rate limit exceeded

@yacosta738 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 47 minutes and 11 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: f1ead94c-b696-4862-b244-dadf24f134c4

📥 Commits

Reviewing files that changed from the base of the PR and between 3412bcc and 8c86f2c.

📒 Files selected for processing (1)
  • clients/web/apps/docs/src/content/docs/es/cerebro/deployment-runbook.md
📝 Walkthrough

Walkthrough

Adds a comprehensive Cerebro Deployment Runbook documenting production posture (single-node, local-first), required secrets, configuration, probe setup, deployment checklist, token rotation, readiness troubleshooting, storage recovery, and incident response. Includes English and Spanish versions with sidebar navigation integration and README link.

Changes

Cerebro Operational Documentation

Layer / File(s) Summary
Navigation Configuration
clients/web/apps/docs/astro.config.mjs
Starlight sidebar gains "Deployment Runbook" entry under Cerebro → Operations with Spanish translation ("Runbook de despliegue").
Documentation Content
clients/web/apps/docs/src/content/docs/cerebro/deployment-runbook.md
clients/web/apps/docs/src/content/docs/es/cerebro/deployment-runbook.md
English and Spanish runbooks detail production posture (single-node, local-first), required secrets/configuration, deployment topology, probe matrix with Kubernetes example, deployment checklist, planned/emergency token rotation procedures, readiness troubleshooting workflow, storage recovery playbook, incident response quick reference, and alert thresholds.
Entry Point Link
clients/cerebro/README.md
Production section gains link to Deployment Runbook for operator checklist, topology, token rotation, troubleshooting, and recovery guidance.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~15 minutes

Possibly related PRs

Suggested labels

area:docs, area:web

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed PR title follows Conventional Commits style with 'docs' prefix, clear imperative description, and 37 characters total.
Description check ✅ Passed PR description covers all major template sections: linked issues, summary, testing, documentation impact, breaking changes, and checklist completion.
Linked Issues check ✅ Passed All requirements from #698 are addressed: deployment runbook with secrets, config, probes, topology, token rotation, troubleshooting, storage recovery, and runbook linking.
Out of Scope Changes check ✅ Passed All changes directly support the linked issue #698 objectives without introducing unrelated modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/cerebro-deployment-runbook-698

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
Review rate limit: 0/1 reviews remaining, refill in 47 minutes and 11 seconds.

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

@github-actions github-actions Bot added the size/l Denotes a large change size label May 2, 2026
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@clients/web/apps/docs/src/content/docs/es/cerebro/deployment-runbook.md`:
- Around line 135-153: The Spanish runbook is missing three EN→ES parity
sections: insert a translated "Rollback triggers" subsection immediately after
the "During the rollout" numbered steps (mirroring the EN list of five abort
conditions), add the translated "Expected post-rotation symptoms" subsection
into the token rotation section where the EN symptoms appear, and add the
missing incident-response table row "Storage errors spike by operation" into the
ES incident response table so it matches the EN six-row table; locate these by
the heading names "Rollback triggers", "Expected post-rotation symptoms", and
the incident-response table and copy the exact EN content translated into
Spanish, preserving order and formatting consistent with surrounding sections.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3c811dbe-82f8-4941-8727-3ba85210d189

📥 Commits

Reviewing files that changed from the base of the PR and between eebbc24 and 3412bcc.

📒 Files selected for processing (4)
  • clients/cerebro/README.md
  • clients/web/apps/docs/astro.config.mjs
  • clients/web/apps/docs/src/content/docs/cerebro/deployment-runbook.md
  • clients/web/apps/docs/src/content/docs/es/cerebro/deployment-runbook.md
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: submit-gradle
  • GitHub Check: pr-checks
  • GitHub Check: sonar
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: Cloudflare Pages
🧰 Additional context used
📓 Path-based instructions (2)
**/*

⚙️ CodeRabbit configuration file

**/*: Security first, performance second.
Validate input boundaries, auth/authz implications, and secret management.
Look for behavioral regressions, missing tests, and contract breaks across modules.

Files:

  • clients/web/apps/docs/astro.config.mjs
  • clients/cerebro/README.md
  • clients/web/apps/docs/src/content/docs/es/cerebro/deployment-runbook.md
  • clients/web/apps/docs/src/content/docs/cerebro/deployment-runbook.md
**/*.{md,mdx}

⚙️ CodeRabbit configuration file

**/*.{md,mdx}: Verify technical accuracy and that docs stay aligned with code changes.
For user-facing docs, check EN/ES parity or explicitly note pending translation gaps.

Files:

  • clients/cerebro/README.md
  • clients/web/apps/docs/src/content/docs/es/cerebro/deployment-runbook.md
  • clients/web/apps/docs/src/content/docs/cerebro/deployment-runbook.md
🪛 LanguageTool
clients/web/apps/docs/src/content/docs/es/cerebro/deployment-runbook.md

[style] ~32-~32: Considere alternativas para este anglicismo (recomendable sobre todo en contextos más formales).
Context: ...uestador y la red de monitoreo; - expón POST /mcp solo detrás de ingress, gateway, ...

(POST)


[style] ~102-~102: Considere alternativas para este anglicismo (recomendable sobre todo en contextos más formales).
Context: ...o** escucha en la red privada y protege POST /mcp con bearer auth, límites de tamañ...

(POST)


[style] ~116-~116: Considere alternativas para este anglicismo (recomendable sobre todo en contextos más formales).
Context: ...públicamente. | | Smoke de aplicación | POST /mcp autenticado con mem_stats o `me...

(POST)

🔇 Additional comments (2)
clients/cerebro/README.md (1)

42-43: LGTM. Relative path is correct and consistent with existing links in this file.

clients/web/apps/docs/astro.config.mjs (1)

304-310: LGTM. Sidebar entry slug, EN label, and ES translation are all consistent with the new doc files and the existing sidebar pattern.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 2, 2026

@yacosta738 yacosta738 merged commit a58a219 into main May 2, 2026
18 checks passed
@yacosta738 yacosta738 deleted the docs/cerebro-deployment-runbook-698 branch May 2, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs area:web size/l Denotes a large change size

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cerebro: publish an operational deployment runbook

1 participant