Repository navigation
fix(service): show a state record the Service could not write - #4128
Conversation
Plan #4048 and add the tests of the gauge devops_cli_service_state_unkept and of the alert RoadmapServiceStateUnkept. The tests fail on the base.
Set the gauge devops_cli_service_state_unkept by record in keep_state_record, add the alert RoadmapServiceStateUnkept and document both.
|
Test record for #4048. fail-to-pass ( Full Rollout rule. This change adds one gauge ( Note. The gauge is in process memory. A restart clears it, and the next failed write sets it again. |
🤖 I have created a release *beep* *boop* --- ## [0.87.2](v0.87.1...v0.87.2) (2026-11-08) ### Bug Fixes * **k8s:** check example ConfigMap keys are settings ([7935fba](7935fba)) * **k8s:** check example ConfigMap keys are settings ([#4134](#4134)) ([7935fba](7935fba)) * **roadmap:** write the body with the marks in one request ([#4130](#4130)) ([9504170](9504170)) * **service:** show a state record the Service could not write ([#4128](#4128)) ([cd2ebda](cd2ebda)), closes [#4048](#4048) ### Code Refactoring * **roadmap:** type the stage planner request ([#4124](#4124)) ([d83491e](d83491e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
The roadmap Service keeps three records on its volume: the request budget, the halt and the failure ledger. When a write fails,
keep_state_recordwrites one error log line and the Service goes on with memory only (#2474). Nothing else shows the fault. A restart then loses what the record held: the budget window, a halt after a refused identity, or the suspended jobs (#4048). The log line stays. This change adds a gauge and an alert, so a person sees the fault without a log search.Closes #4048
Change:
openspec/changes/archive/2026-11-08-4048-state-unkept-gauge/Elapsed: 5.36s