Skip to content

Docs: correct the v0.6.0 upgrade notes and recommend alerts - #87

Merged
flavorjones merged 6 commits into
masterfrom
card-575-publish-v0-6-0
Sep 30, 2026
Merged

flavorjones merged 6 commits into
masterfrom
card-575-publish-v0-6-0

Conversation

@flavorjones

Copy link
Copy Markdown
Member

Motivation

The next / unreleased Upgrading section of CHANGELOG.md says yabeda-hotcell "does not write a log line for each call". That was written before #78 added HotCell::LogSubscriber, which does write one. An application whose own Yabeda integration also logs each call would log every call twice after following that note.

The README's Observability section titles the cell's stdout "Logs", while the application's log line sits under "Per-call telemetry". It also describes each signal without saying what to alert on, which #64 asks for.

Details

  • README: rename "Logs" to "Cell logs", and move the HotCell::LogSubscriber docs into an "Application logs" section beside it, with the non-Rails setup that was only in the CHANGELOG. "Per-call telemetry" now leads with the perform.hot_cell event and names both subscribers that ship.
  • CHANGELOG Upgrading: write each item as an imperative action and one sentence of rationale or a README pointer, as CONTRIBUTING.md asks. Tell applications to remove their own log line wherever it is written, and add an item for replacing hand-built health endpoints with HotCell::HealthController and HotCell::DiagnosticsController.
  • CHANGELOG entries added since v0.5.0: lead with what the reader gains, per #83, and point at the README instead of repeating it.
  • README: add "Recommended alerts" for cell availability, failed calls, queue headroom, scratch space and cell errors, drawn from Document recommended observability and alerting #64. The alert advice that was scattered across the other sections moves there, and the section links docs/LOGS.md and docs/TUNING.md. docs/TUNING.md said to watch queue_high_water near queue_size, but that value resets only at boot. It now names queued and a rise in queue_high_water.

Fixes #64

The Upgrading note that `yabeda-hotcell` writes no log line misled
readers once `HotCell::LogSubscriber` shipped. The README's "Logs"
section covered only the cell's logs. Rename it "Cell logs", move
`HotCell::LogSubscriber` into an "Application logs" section beside it,
rewrite the Upgrading notes as action-and-rationale pairs and add one
for the health controllers, and shorten entries that repeated the
README.
The README's observability section described each signal but not what
to alert on, and its advice was spread across three sections. Add a
"Recommended alerts" section from the guidance in #64, and point at
`docs/LOGS.md` and `docs/TUNING.md` for the rest. `docs/TUNING.md` said
to watch `queue_high_water` near `queue_size`, but that value resets
only at boot, so name `queued` and a rise in `queue_high_water` instead.

[Fix #64]
Copilot AI balanced review requested due to automatic review settings September 30, 2026 20:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Give each sentence a subject that can do what its verb says, and cut
words that carried nothing.
The README and CHANGELOG said "Your application adds the routes", which
described the reader rather than the gem. Say that `hotcell-client`
defines the controllers and does not define routes for them.
The README and CHANGELOG said what `hotcell-client` does not do. Say
what the application should do: add a route for each controller, and put
the diagnostics route behind authentication.
The README and CHANGELOG text added since v0.5.0 used marketing verbs,
described the reader instead of the software, and put several
statements in one sentence. Rewrite it in ASD-STE100: one statement per
sentence, active voice, and instructions in the imperative.
@flavorjones
flavorjones merged commit 879be9a into master Sep 30, 2026
16 checks passed
@flavorjones
flavorjones deleted the card-575-publish-v0-6-0 branch September 30, 2026 20:45
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.

Document recommended observability and alerting

2 participants