Repository navigation
3.x.x: gate the revision-work warnings on recent miners and end a lost settlement race's unknown wait (#758) - #800
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…r critical twin (#758) PrismAcceptedRevisionWorkPending and PrismAcceptedRevisionWorkTrackingUnknown fired on a frontend with no miners after every pool block: nothing can close its wait, and a frontend whose settlement COMMIT loses to a peer's marks that block's revision unknown until a restart or an orphan clears it, so the unknown warning never cleared on an idle backup. Both warnings now count their measured terms only where `qbit_prism_authorized_clients > 0`, the same gate term the critical rule uses. A gated-out term reads zero rather than vanishing, so the missing-series, missing-gauge and failed-scrape warnings and no-data handling are unchanged; an absent miner count closes the gate as it does for the critical. The rule texts and docs/prism-native-metrics.md now say this, including that the gate hides rather than clears the latched state: a backup that later takes miners warns once the dwell passes. New scenarios cover an idle backup after a pool block (quiet through its known wait and its latched unknown tracking), the same frontend serving (both warnings still fire), an idle backup beside a serving frontend, an absent miner count, an ungated missing gauge, and a backup that takes miners. The provisioning test asserts the rendered gate on all three revision-work rules; the qbit-tools patch is regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… and warn for 15 minutes after the last miner leaves (#758) A block whose settlement another COMMIT confirmed first (a peer's, or a local attempt whose reply was lost) was never a known wait, so nothing but an orphan or a restart closed it. It kept pending_count up, every payout revision was retained, and after about 4,096 tips tracking saturated: the pending age read -1 and the frontend's critical could no longer page. This frontend's own non-first COMMIT runs under the settlement lock at its required revision, so that revision covers the landing. The block now records it and stays unknown until an eligible write at or above it, then closes without a sample, because its true end is still unknown. While a local settlement observer is still out, a delayed first confirmation may yet bind the exact revision, so nothing closes then. Once every open wait is bound, covered, or waiting only on its orphan verdict, revisions below the newest observed one are released, because a later write of an older one is obsolete. Waits that stay open on a frontend that writes nothing, such as an idle backup, can no longer exhaust the history. The two warnings now count only where a miner was authorized within the last 15 minutes. A long-idle backup stays quiet, and a stall that drives every miner away keeps warning after the critical resolves. All three revision-work expressions come from generate_prism_alerts.py, and --check keeps them from drifting. The migration notes say what a deployment that gates PrismAcceptedRevisionWorkPending itself (qbit-tools' idle-backup gate and render guard) must turn off, and what that changes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… history no open wait needs (#758) Review of the covering-revision design found gaps: - A non-owner's non-first settlement and an already-confirmed block whose reply was lost never got a covering revision, so they stayed unknown. - The fatal early return's unbumped first confirmation relied on a call-site skip. - An unlanded or not-yet-settled wait still pinned all revision history. - A dropped observer did not resolve. Settlements now report the revision they required and the one they committed, and the tracker decides what that proves: - A first confirmation that bumped names the exact first revision. - One that did not bump covers only later revisions. It records a floor below which no proof may cover, so pre-landing work at its revision can never close the wait. - A settlement that found the block already confirmed covers its own revision, owner or not and Active or Confirmed observation. A first confirmation either bumps or halts the cluster, every settlement needs it writable, and clearing a halt bumps. The observer that takes `settling` from zero owns the outcome, which replaces the separate awaiting flag. A dropped observer resolves at once. History is now released below the lowest revision an open wait may still need: - A bound or covered wait needs only writes still to come. - A binding still to come runs under the settlement lock at no older revision than any observed. - An observer still out keeps the history from the newest revision it saw. A first revision that would need released writes is covered rather than measured. resolve() makes one pass over the blocks and releases only when something is below the floor. The generator now writes the three revision-work rules' basis and description from the MINER_WINDOW_MINUTES constant, and checks that the operator docs state the same window. The unknown warning's text now names every covering case. Co-Authored-By: Claude Opus 5.5 <[email protected]>
kiwidream
force-pushed
the
orca/758-revision-work-warning-gating
branch
from
October 28, 2026 17:55
e876242 to
ed6c0aa
Compare
This was referenced Oct 28, 2026
This was referenced Nov 11, 2026
3.x.x: alert when a frontend's payout-revision listener stays down (follow-up to #816 and #834)
#843
Open
kiwidream
added a commit
that referenced
this pull request
Nov 12, 2026
## Problem #834 (#816) added `qbit_prism_payout_revision_listener_up` and `qbit_prism_payout_revision_announcements_heard_total`, but no alert reads them. A frontend whose payout-revision listener (#752) is down republishes after most announced payout revision bumps (another frontend's block confirmation, for example) only at its next poll, a `PRISM_BLOCKPOLL_SECONDS` tick or a blockwait return, as before #752. Until then its miners' shares on work at the superseded revision are refused `stale-job`, after every such bump. The only signal today is a WARN line, logged at most about once a minute. ## Change One warning rule, `PrismPayoutRevisionListenerDown` (UID `qbit-prism-revision-listener-down`, severity `warning`, no page label). `scripts/generate_prism_alerts.py` generates its expression, `for` and text, and the deployed-rules patch is regenerated from them. The rule fires when: - `qbit_prism_payout_revision_listener_up` has read 0 for 10 minutes, - on a frontend that had an authorized miner in the last 15 minutes, - using the same `miner_gated` / `miners_recently()` helpers as the revision-work warnings (#758, #800). **Choices, and why:** - **`for: 10m`.** The listener waits at most 5 s between attempts, so it is back within seconds of the database answering. An ordinary reconnect reads 0 for a scrape or two. A database that keeps refusing the listener's connection holds it at 0 for good. Examples: `max_connections` not raised by one per frontend, or a role or database `CONNECTION LIMIT`. - Forty consecutive 15-second scrapes leave no reconnect behind. - A database outage already pages `PrismDatabaseUnavailable` after 2 minutes, so a short outage doesn't warn twice. - The cost of a down listener is bounded, as it was for every frontend before #752. It warns; it never pages. - **15-minute window.** This is the revision-work warnings' window, reused rather than redefined. - An idle standby's listener costs no miner anything, so the standby stays quiet. - When miners fail over to a frontend whose listener is down, the dwell starts as they arrive. - A miner count that is absent for the whole window closes the gate, as it does for those warnings. - **Missing gauge.** On a scraped frontend, a missing gauge counts as down, under the same gate and dwell. - Since #834 the gauge is a live overlay, present from startup, so a scraped target without it runs an older image. - Its listener's state is unknown, and unknown is not healthy. - Rollout consequence: re-vendor only once the frontends run an image with #834. Otherwise each serving frontend warns after 10 minutes. - **Failed scrapes.** The rule reads `last_over_time(…[2m])` and `max_over_time(up[2m])`, the #666 pattern, so a failed scrape neither restarts the dwell nor makes a healthy listener read as missing. A scrape that keeps failing belongs to `PrismMetricsEndpointDown`. - **No-data and evaluation errors are `OK`.** The expression keeps a present 0 for every scraped frontend, so no data means no target, which `PrismMetricsNoData` and `PrismMetricsEndpointDown` own. **Known limits, documented in the rule text and the runbook:** - **A listener that keeps reconnecting and dropping** can warn late or not at all. Each evaluation that finds the `LISTEN` holding restarts the dwell. Its WARN lines show it. - **A `LISTEN` that holds but hears nothing**, as through a transaction-mode pooler, reads 1. Compare `…_announcements_heard_total` across the node's frontends. - **After a restart** the gate still counts the previous process's miners for the window. **Docs:** - **Runbook.** A new section, "A payout-revision listener that stays down (#843)", sits at the end of "Snapshot and payout boundary" in `docs/prism-ledger-ops.md`, just before the block-candidate chapter and its #630 revision-race runbook. It covers: - the miner-visible effect; - a missing gauge; - a database outage; - `max_connections` headroom and reserved slots, with a query, and connection limits; - a transaction-mode pooler; - the listener's WARN, DEBUG and INFO lines; - a refresh loop that isn't running. - **Pointer.** The connection budget under "HA database and shutdown" now links to the runbook. - **Metrics guide.** The #816 section of `docs/prism-native-metrics.md` no longer says that no rule reads these families, and points to the runbook. Its WARN cadence and per-bump cost now match the code. - **Migration notes.** `docs/prism-alert-migration.md` gets an adoption note. Its generated evidence row comes from the generator. - **Drift check.** `generate_prism_alerts.py --check` now fails if these docs state a dwell other than `LISTENER_DOWN_MINUTES`. In the ops guide it reads only the runbook section. It also checks that section's recent-miner window. ## Tests run - `python3 scripts/generate_prism_alerts.py --check`: passes. Also passes after `--snapshot` regenerated the patch from the pinned qbit-tools a007a142 templates (sha256 matches `tests/fixtures/prism-deployed-alerts.json`). - `python3 scripts/generate_prism_metrics.py --check`: passes. - `python3 scripts/check_prism_alert_uids.py`: 46 rule UIDs, unique and within Grafana's limits. The new UID is 33 characters. - `python3 -m unittest tests.test_check_prism_alert_uids`: 10 tests OK. - `(cd scripts && python3 test_prism_alert_deployment.py --snapshot <a007a142 templates>)`: "Patch applies cleanly; 10 Jinja gate combinations passed; 78 original / 80 proposed rules". It now also checks the new rule's severity, missing page label, `for`, no-data and error states, expression and recent-miner gate. - `python3 scripts/test_prism_alert_promql.py --promtool <promtool 3.14.0>` (release tarball, sha256 checked as CI does): 46 expressions; 211 scenarios; 436 expression assertions; 331 alert assertions passed (run on 73a92d7; later commits change only rule text and docs, no expression or fixture). That is 200 scenarios before this change, plus 11 new `#843 …` scenarios: - fires after the dwell only with a recent miner, beside a healthy frontend, an idle standby and an absent miner count; - pending under the dwell; - recovery inside the dwell, and an evaluation that finds the listener holding restarts the dwell; - a listener that held for one evaluation fires 10 minutes after it dropped again, not before; - a failed scrape neither restarts the dwell nor reads as a missing gauge; - a missing gauge fires only with a recent miner, through a failed scrape; - keeps warning inside the miner window after the last miner leaves, and stops after it; - failover: the dwell starts when miners arrive; - a scrape that keeps failing is left to `PrismMetricsEndpointDown`. - **Mutation check:** a local script ran these scenarios against ten variants of the rule. Every variant fails at least one scenario: - no smoothing; - an absent gauge stays quiet; - no gate; - gated on miners now; - plain `up`; - `min_over_time` in place of `last_over_time`; - a 15-minute hold suppression; - a 9-minute dwell; - an 11-minute dwell. - **Inventory check (emulated):** a Python copy of the Rust check `native_rules_reference_only_inventory_families_for_their_role` passes for all 44 native rules. - `python3 scripts/check_prism_settings.py` and `python3 scripts/check_prism_pool_acquires.py`: pass (no settings or pool acquires changed). ## What CI must cover - **Not run locally:** `cargo test --locked -p qbit-prism-server --test observability`. Its inventory tests run `generate_prism_alerts.py --check` and require every family a rule reads to be in the inventory for the rule's role. No Rust code changed. - **Run by CI:** the promtool and UID steps in "Lint, compile, and Compose validation". ## Rollout - **Re-vendor.** The rule reaches the pair at qbit-tools' next re-vendor of the native rules (last at 442b7744 for v3.1.1). That is an operator step outside this repo. - **Delete list.** At that re-vendor, add `qbit-prism-revision-listener-down` to `qbit_monitoring_stack_prism_native_only_grafana_alert_rule_delete_uids`, so the rule is removed when native alerts are turned off. - **Ordering.** Re-vendor only once the frontends run an image that includes #834. Otherwise every frontend serving miners warns after 10 minutes, because it doesn't export the gauge. ## Left for a follow-up #834's WARN text (`revision_wake.rs`) and the gauge's HELP text say a down listener republishes "after another frontend's block" on its tick. Most announced bumps wait the same way, for the tick or a blockwait return. The runbook says so, but this PR doesn't change the code's text; `docs/prism-native-metrics.md`'s table row, generated from that HELP text, and `docs/prism-pool-acquire-metrics.md` keep the narrower wording until then. Refs #843 🤖 Generated with [Claude Code](https://claude.com/claude-code) Squashed commits: 69b0da2 Merge remote-tracking branch 'origin/orca/816-unsent-spare-submitblock' into orca/843-listener-down-alert 628356f 3.x.x: warn when a frontend's payout-revision listener stays down (#843) 6d462e8 3.x.x: listener-down warning: review fixes (#843) 04b373e 3.x.x: listener-down warning: second review fixes (#843) 73a92d7 3.x.x: listener-down warning: third review fixes (#843) f0ea95f Merge remote-tracking branch 'origin/3.x.x' into orca/843-listener-down-alert 5f02e7b 3.x.x: listener-down warning: fourth review fixes (#843) 48644ef 3.x.x: listener-down warning: fifth review fixes (#843) Co-Authored-By: Claude Opus 5.5 <[email protected]>
kiwidream
added a commit
that referenced
this pull request
Nov 13, 2026
## Problem #834 (#816) added `qbit_prism_payout_revision_listener_up` and `qbit_prism_payout_revision_announcements_heard_total`, but no alert reads them. A frontend whose payout-revision listener (#752) is down republishes after most announced payout revision bumps (another frontend's block confirmation, for example) only at its next poll, a `PRISM_BLOCKPOLL_SECONDS` tick or a blockwait return, as before #752. Until then its miners' shares on work at the superseded revision are refused `stale-job`, after every such bump. The only signal today is a WARN line, logged at most about once a minute. ## Change One warning rule, `PrismPayoutRevisionListenerDown` (UID `qbit-prism-revision-listener-down`, severity `warning`, no page label). `scripts/generate_prism_alerts.py` generates its expression, `for` and text, and the deployed-rules patch is regenerated from them. The rule fires when: - `qbit_prism_payout_revision_listener_up` has read 0 for 10 minutes, - on a frontend that had an authorized miner in the last 15 minutes, - using the same `miner_gated` / `miners_recently()` helpers as the revision-work warnings (#758, #800). **Choices, and why:** - **`for: 10m`.** The listener waits at most 5 s between attempts, so it is back within seconds of the database answering. An ordinary reconnect reads 0 for a scrape or two. A database that keeps refusing the listener's connection holds it at 0 for good. Examples: `max_connections` not raised by one per frontend, or a role or database `CONNECTION LIMIT`. - Forty consecutive 15-second scrapes leave no reconnect behind. - A database outage already pages `PrismDatabaseUnavailable` after 2 minutes, so a short outage doesn't warn twice. - The cost of a down listener is bounded, as it was for every frontend before #752. It warns; it never pages. - **15-minute window.** This is the revision-work warnings' window, reused rather than redefined. - An idle standby's listener costs no miner anything, so the standby stays quiet. - When miners fail over to a frontend whose listener is down, the dwell starts as they arrive. - A miner count that is absent for the whole window closes the gate, as it does for those warnings. - **Missing gauge.** On a scraped frontend, a missing gauge counts as down, under the same gate and dwell. - Since #834 the gauge is a live overlay, present from startup, so a scraped target without it runs an older image. - Its listener's state is unknown, and unknown is not healthy. - Rollout consequence: re-vendor only once the frontends run an image with #834. Otherwise each serving frontend warns after 10 minutes. - **Failed scrapes.** The rule reads `last_over_time(…[2m])` and `max_over_time(up[2m])`, the #666 pattern, so a failed scrape neither restarts the dwell nor makes a healthy listener read as missing. A scrape that keeps failing belongs to `PrismMetricsEndpointDown`. - **No-data and evaluation errors are `OK`.** The expression keeps a present 0 for every scraped frontend, so no data means no target, which `PrismMetricsNoData` and `PrismMetricsEndpointDown` own. **Known limits, documented in the rule text and the runbook:** - **A listener that keeps reconnecting and dropping** can warn late or not at all. Each evaluation that finds the `LISTEN` holding restarts the dwell. Its WARN lines show it. - **A `LISTEN` that holds but hears nothing**, as through a transaction-mode pooler, reads 1. Compare `…_announcements_heard_total` across the node's frontends. - **After a restart** the gate still counts the previous process's miners for the window. **Docs:** - **Runbook.** A new section, "A payout-revision listener that stays down (#843)", sits at the end of "Snapshot and payout boundary" in `docs/prism-ledger-ops.md`, just before the block-candidate chapter and its #630 revision-race runbook. It covers: - the miner-visible effect; - a missing gauge; - a database outage; - `max_connections` headroom and reserved slots, with a query, and connection limits; - a transaction-mode pooler; - the listener's WARN, DEBUG and INFO lines; - a refresh loop that isn't running. - **Pointer.** The connection budget under "HA database and shutdown" now links to the runbook. - **Metrics guide.** The #816 section of `docs/prism-native-metrics.md` no longer says that no rule reads these families, and points to the runbook. Its WARN cadence and per-bump cost now match the code. - **Migration notes.** `docs/prism-alert-migration.md` gets an adoption note. Its generated evidence row comes from the generator. - **Drift check.** `generate_prism_alerts.py --check` now fails if these docs state a dwell other than `LISTENER_DOWN_MINUTES`. In the ops guide it reads only the runbook section. It also checks that section's recent-miner window. ## Tests run - `python3 scripts/generate_prism_alerts.py --check`: passes. Also passes after `--snapshot` regenerated the patch from the pinned qbit-tools a007a142 templates (sha256 matches `tests/fixtures/prism-deployed-alerts.json`). - `python3 scripts/generate_prism_metrics.py --check`: passes. - `python3 scripts/check_prism_alert_uids.py`: 46 rule UIDs, unique and within Grafana's limits. The new UID is 33 characters. - `python3 -m unittest tests.test_check_prism_alert_uids`: 10 tests OK. - `(cd scripts && python3 test_prism_alert_deployment.py --snapshot <a007a142 templates>)`: "Patch applies cleanly; 10 Jinja gate combinations passed; 78 original / 81 proposed rules" (81 since the branch took in #844's append-slot rule from `3.x.x`; 80 before). It now also checks the new rule's severity, missing page label, `for`, no-data and error states, expression and recent-miner gate. - `python3 scripts/test_prism_alert_promql.py --promtool <promtool 3.14.0>` (release tarball, sha256 checked as CI does): 46 expressions; 211 scenarios; 436 expression assertions; 331 alert assertions passed (run on 73a92d7; later commits change only rule text and docs, no expression or fixture). That is 200 scenarios before this change, plus 11 new `#843 …` scenarios: - fires after the dwell only with a recent miner, beside a healthy frontend, an idle standby and an absent miner count; - pending under the dwell; - recovery inside the dwell, and an evaluation that finds the listener holding restarts the dwell; - a listener that held for one evaluation fires 10 minutes after it dropped again, not before; - a failed scrape neither restarts the dwell nor reads as a missing gauge; - a missing gauge fires only with a recent miner, through a failed scrape; - keeps warning inside the miner window after the last miner leaves, and stops after it; - failover: the dwell starts when miners arrive; - a scrape that keeps failing is left to `PrismMetricsEndpointDown`. - **Mutation check:** a local script ran these scenarios against ten variants of the rule. Every variant fails at least one scenario: - no smoothing; - an absent gauge stays quiet; - no gate; - gated on miners now; - plain `up`; - `min_over_time` in place of `last_over_time`; - a 15-minute hold suppression; - a 9-minute dwell; - an 11-minute dwell. - **Inventory check (emulated):** a Python copy of the Rust check `native_rules_reference_only_inventory_families_for_their_role` passes for all 44 native rules. - `python3 scripts/check_prism_settings.py` and `python3 scripts/check_prism_pool_acquires.py`: pass (no settings or pool acquires changed). ## What CI must cover - **Not run locally:** `cargo test --locked -p qbit-prism-server --test observability`. Its inventory tests run `generate_prism_alerts.py --check` and require every family a rule reads to be in the inventory for the rule's role. No Rust code changed. - **Run by CI:** the promtool and UID steps in "Lint, compile, and Compose validation". ## Rollout - **Re-vendor.** The rule reaches the pair at qbit-tools' next re-vendor of the native rules (last at 442b7744 for v3.1.1). That is an operator step outside this repo. - **Delete list.** At that re-vendor, add `qbit-prism-revision-listener-down` to `qbit_monitoring_stack_prism_native_only_grafana_alert_rule_delete_uids`, so the rule is removed when native alerts are turned off. - **Ordering.** Re-vendor only once the frontends run an image that includes #834. Otherwise every frontend serving miners warns after 10 minutes, because it doesn't export the gauge. ## Left for a follow-up #834's WARN text (`revision_wake.rs`) and the gauge's HELP text say a down listener republishes "after another frontend's block" on its tick. Most announced bumps wait the same way, for the tick or a blockwait return. The runbook says so, but this PR doesn't change the code's text; `docs/prism-native-metrics.md`'s table row, generated from that HELP text, and `docs/prism-pool-acquire-metrics.md` keep the narrower wording until then. Refs #843 🤖 Generated with [Claude Code](https://claude.com/claude-code) Squashed commits: 52294bf 3.x.x: warn when a frontend's payout-revision listener stays down (#843) cce2295 Merge 3.x.x (3d48a8f) into the #843 branch: the listener warning and #844's append-slot warning are generated together 797f660 Merge 3.x.x (234ff1c) into orca/843-listener-down-alert: take in the landed 3.1.2 PRs and the collate test fix (#874) Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #758. The revision-work warnings fired on idle backup frontends after every pool block. Unlike their critical twin, they were not gated on connected miners. Behind that sat a server-side latch: a lost settlement race left the block "unknown" until restart, and on an idle frontend that pinned the revision history until tracking saturated, after which the critical could no longer page.
Rebased onto 3.x.x after #793 (#757) merged as 7aaf10c.
What changes
PrismAcceptedRevisionWorkPending,...TrackingUnknown) now gate on miners seen within the last 15 minutes:max_over_time(qbit_prism_authorized_clients[15m]) > 0. Long-idle backups stay quiet, and a stall that drives miners away still warns. The critical keeps its current gate.generate_prism_alerts.pywrites all three revision-work expressions from shared helpers, so they can't drift. The qbit-tools patch is regenerated.metrics/landing.rs). A lost settlement race now records a covering revision, and the next write at or above it closes the wait without a fabricated sample. Settled history is released, so an idle frontend no longer saturates.docs/prism-alert-migration.md). An adopting deployment must turn off qbit-tools' own idle-backup gate and its render guard, and the note says what that changes.Tests
generate_prism_alerts --check.metrics::landing37/37, gatedlanding_metrics41/41,lost_race_pin8/8 and observability 17/17.Round 2 (ed6c0aa): an unknown wait closes only on proof
Settlement::committed(first, required, committed). Only a first confirmation withcommitted > requiredis exact. An unbumped first confirmation (the fatal early return) covers only fromrequired + 1, so pre-landing work at that revision can never close the wait.min(newest observed, settling_from of any observer still out, target of any bound but not yet matchable wait). Unlanded, unbound and lost-reply waits no longer pin history. A binding that would need released history is covered and stays unknown rather than measured.resolve()makes one pass, and release only splits when something is released. The owner is derived from the settling counter.MINER_WINDOW_MINUTES, and--checkfails if the docs state another window.metrics::landing43/43, including one new test per case, each mutation-verified.landing_metrics41/41,lost_race_pin8/8, observability 17/17, the full promtool suite (200 scenarios), the deployment test,generate_prism_alerts --checkand the UID check pass.🤖 Generated with Claude Code