Skip to content

Fix runbook drift in docs - #6817

Closed
Bortlesboat wants to merge 1 commit into
BasedHardware:mainfrom
Bortlesboat:codex/omi-runbook-drift-6698
Closed

Bortlesboat wants to merge 1 commit into
BasedHardware:mainfrom
Bortlesboat:codex/omi-runbook-drift-6698

Conversation

@Bortlesboat

Copy link
Copy Markdown
Contributor

Summary

  • fix the simulator runbook so flavors are described in terms of .dev.env / .env rather than hard-coded hosts
  • update the logging runbook to match the current Kubernetes workloads and label selectors for backend-listen and agent-proxy
  • align the deploy runbook and docs index with the current desktop auto-release workflow and the actual .cursor/ files in the repo

Verification

  • Verified the simulator flavor docs against app/lib/env/dev_env.dart, app/lib/env/prod_env.dart, and app/.env.template
  • Verified the log commands against backend/charts/backend-listen/templates/_helpers.tpl, backend/charts/agent-proxy/templates/_helpers.tpl, and the GKE deploy workflows
  • Verified the desktop release description against .github/workflows/desktop_auto_release.yml
  • Reviewed the rendered markdown diff with git diff

Partial follow-up for #6698

@Bortlesboat
Bortlesboat marked this pull request as ready for review April 21, 2026 01:14
@greptile-apps

greptile-apps Bot commented Apr 21, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR fixes documentation drift in four runbook/index files, aligning them with the current state of the codebase: Kubernetes label selectors, Flutter simulator env-file loading, the desktop auto-release workflow steps, and the actual .cursor/ directory contents. All claims were spot-checked against the referenced source files (_helpers.tpl for Helm label selectors, desktop_auto_release.yml for the deploy workflow, and Glob for the .cursor/ directory). No inaccuracies were found.

Confidence Score: 5/5

Documentation-only changes verified against source files; safe to merge.

All four files are pure documentation. Every claim was cross-checked against the referenced source files (Helm _helpers.tpl, desktop_auto_release.yml, .cursor/ directory listing). No inaccuracies, missing steps, or broken references were found.

No files require special attention.

Important Files Changed

Filename Overview
docs/runbooks/logging.md Corrects backend-listen log command from a stale Cloud Run gcloud call to the GKE kubectl form, and fixes the agent-proxy label selector from the non-standard app=agent-proxy to the Helm-standard app.kubernetes.io/instance=prod-omi-agent-proxy; both verified against _helpers.tpl.
docs/runbooks/simulator.md Replaces hard-coded host comments with accurate env-file references (.dev.env / .env) and adds a note directing developers to app/.env.template.
docs/runbooks/deploy.md Expands the desktop Step 1 description to accurately reflect that desktop_auto_release.yml deploys to both dev and prod Cloud Run, computes the version, pushes the tag, and syncs the changelog — all verified against the workflow file.
docs/INDEX.md Replaces three stale .cursor/ARCHITECTURE.md / API_REFERENCE.md / DATA_FLOW.md references with the files that actually exist: .cursor/hooks.json, .cursor/mcp.json, and .cursor/rules/.

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant GHA as GitHub Actions (desktop_auto_release.yml)
    participant CR as Cloud Run (dev + prod)
    participant Git as Git / GitHub
    participant CM as Codemagic

    Dev->>Git: push to main (desktop/** changes)
    Git->>GHA: trigger workflow
    GHA->>CR: deploy desktop-backend to development
    GHA->>CR: deploy desktop-backend to production
    GHA->>Git: compute next version, push v*-macos tag
    GHA->>Git: create PR to sync desktop/CHANGELOG.json to main
    Git->>CM: v*-macos tag triggers build
    CM->>CM: build, sign, notarize
    CM->>Git: publish macOS release
Loading

Reviews (2): Last reviewed commit: "Fix runbook drift in docs" | Re-trigger Greptile

@beastoin

Copy link
Copy Markdown
Collaborator

The runbooks (docs/runbooks/) were already removed from main in #7046. This PR is based on a pre-removal branch and would re-introduce them if merged.

We've created a separate PR to clean up the stale "Related Files" section in docs/INDEX.md (the referenced .cursor/*.md files no longer exist).

Closing as superseded.


by AI for @beastoin

@beastoin beastoin closed this Apr 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hey @Bortlesboat 👋

Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request.

After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:

  • Project standards — Ensuring consistency across the codebase
  • User needs — Making sure changes align with what our users need
  • Code best practices — Maintaining code quality and maintainability
  • Project direction — Keeping aligned with our roadmap and vision

Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out.

Thank you for being part of the Omi community! 💜

@github-actions

Copy link
Copy Markdown
Contributor

Hey @Bortlesboat 👋

Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request.

After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:

  • Project standards — Ensuring consistency across the codebase
  • User needs — Making sure changes align with what our users need
  • Code best practices — Maintaining code quality and maintainability
  • Project direction — Keeping aligned with our roadmap and vision

Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out.

Thank you for being part of the Omi community! 💜

beastoin added a commit that referenced this pull request Apr 28, 2026
## Summary
- Remove `docs/runbooks/` (deploy.md, logging.md, simulator.md) —
already removed from main in #7046
- Remove stale "Related Files" section from `docs/INDEX.md` — referenced
`.cursor/ARCHITECTURE.md`, `.cursor/API_REFERENCE.md`,
`.cursor/DATA_FLOW.md` which no longer exist

Continues from #6817 (fork PR by @Bortlesboat). Runbook drift fix is no
longer needed since runbooks were removed, but the INDEX.md cleanup is
still valid.

## Test plan
- [x] Verified `docs/runbooks/` already removed on main (#7046)
- [x] Verified `.cursor/*.md` files don't exist

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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