Add ops cheat sheet and smoke/uptime monitoring scripts#96
Add ops cheat sheet and smoke/uptime monitoring scripts#96alastairong1 wants to merge 1 commit intoalastair/health-detailed-endpointfrom
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
9a6514a to
8ff4b51
Compare
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd the label add-to-gt-merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
8ff4b51 to
abee3da
Compare
- docs/ops.md: journalctl + curl recipes for the deployed service, cache_warmer status interpretation, smoke-test usage - scripts/smoke.sh: end-to-end correctness + latency probe against the API, asserts on response shape (not just status), reports per-check latency - scripts/uptimerobot-setup.sh: one-shot creation of the 3 baseline UptimeRobot monitors (liveness, /health/detailed status=ok, cache_warmer running=true) Notes: - The smoke + UptimeRobot scripts reference /health/detailed.cache_warmer which only lights up once the detailed-health (#95) and cache-warmer PRs land. They will return FAIL/keyword-miss against current main. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
abee3da to
26859c3
Compare
dc10129 to
6e0d829
Compare

Summary
docs/ops.md— journalctl + curl recipes for the deployed service, cache_warmer status interpretation, smoke-test usagescripts/smoke.sh— end-to-end correctness + latency probe; asserts on response shape (not just status), reports per-check latency, exits non-zero on FAILscripts/uptimerobot-setup.sh— one-shot creation of the 3 baseline UptimeRobot monitors (liveness, /health/detailed status=ok, cache_warmer running=true)Why
Ops knowledge for the preview environment was living outside the repo. This pulls it inline so:
Forward-looking note
/health/detailed.cache_warmer, which lights up only after Add detailed health endpoint with raindex sync status #95 (detailed health endpoint) and the cache-warmer PR (TBD, see [Tracking] Deployed preview state — split-source, do not merge #94) merge. Until then those checks return FAIL/keyword-miss againstmain— that's expected.Test plan
bash -n scripts/smoke.sh(syntax check)./scripts/smoke.shagainst preview once detailed-health lands; expect PASS on liveness + 401 checksdocs/ops.mdend-to-endPart of the deployed-state split tracked in #94.