Skip to content

fix(cron): treat NO_REPLY silent reply as non-recovery for error streaks - #120102

Closed
ruel225 wants to merge 4 commits into
openclaw:mainfrom
ruel225:fix/cron-no-reply-not-recovery
Closed

ruel225 wants to merge 4 commits into
openclaw:mainfrom
ruel225:fix/cron-no-reply-not-recovery

Conversation

@ruel225

@ruel225 ruel225 commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes #116731.

When an isolated cron agent hits an unrecoverable runtime precondition (e.g. a WSL2 /mnt/d drvfs mount that has gone half-dead, or a missing source file) and exits with a NO_REPLY silent reply, the cron scheduler recorded the run as status: ok. The silent reply token was treated as valid final assistant output, so hasRecoveringTerminalOutput became true, the preceding error payload was downgraded to non-fatal, and consecutiveErrors was cleared. As a result failureAlert never fired across repeated daily failures — exactly the silent-failure class this repo ranks highest.

Why This Change Was Made

Root cause is in resolveCronPayloadOutcome (src/cron/isolated-agent/helpers.ts). Recovery from a preceding error payload was gated on:

normalizedFinalAssistantVisibleText !== undefined

NO_REPLY is a normalized string, so it satisfied this check even though it carries no content — it is the agent's explicit decision to emit nothing. A silent reply is not evidence that an earlier error was overcome.

ClawSweeper's source-level review on the issue independently confirmed this exact mechanism: "an exec failure followed by NO_REPLY can be recorded as a successful cron run."

The canonical fix is at the producer of the recovery signal, not a downstream consumer guard. Introduce hasRecoveringFinalAssistantText, which excludes silent replies via the canonical isSilentReplyPayloadText classifier (reusing SILENT_REPLY_TOKEN from auto-reply/tokens.js rather than hardcoding the literal). This is the same classifier cron finalization already uses for the terminal field, so the recovery predicate and the finalization classifier now agree on what counts as silent. All five call sites that previously used normalizedFinalAssistantVisibleText !== undefined as a recovery predicate now use the filtered form, so a NO_REPLY final reply can never clear a fatal error payload or synthesize a success delivery.

The canonical classifier covers all four silent forms the terminal field can carry: token-only (NO_REPLY), JSON-string ("NO_REPLY"), action-envelope ({"action":"NO_REPLY"}), and reasoning-prefixed (<thinking>…</thinking>NO_REPLY). The earlier revision used the token-only isSilentReplyText, which let the action-envelope and reasoning-prefixed forms slip through and recover a preceding error — the ClawSweeper P1 caught this. isSilentReplyPayloadText closes that gap.

The existing successful-recovery paths are untouched: real final assistant text still recovers plain tool warnings and message-delivery warnings exactly as before (the classifier only matches genuine silent replies, so substantive answers remain substantive — #19537).

User Impact

Operators running cron jobs that depend on external preconditions (mounts, files, network) will now see consecutiveErrors increment and failureAlert fire when the agent silently bails on a failed precondition, instead of a perpetual green status: ok. This is the default cron path — no config change needed. Behavior is unchanged for runs that produce any real final answer.

Evidence

  • Table-driven regression test in src/cron/isolated-agent.helpers.test.ts: "does not let a %s silent final reply recover a preceding error" — asserts hasFatalErrorPayload === true and that the fatal error delivery payload is preserved across all four silent forms (token-only, JSON-string, action-envelope, reasoning-prefixed) with preferFinalAssistantVisibleText: true.
  • Existing recovery tests stay green (33/33 in isolated-agent.helpers.test.ts), confirming real final-assistant-text recovery and structured-delivery paths are unaffected.
  • tsgo typecheck and oxfmt/oxlint clean.

Inspectable real cron-path proof (committed test, runs in CI)

src/cron/service/cron-finalization-streak.test.ts is a committed integration test (selected by vitest.cron.config.ts, runs in CI) that drives the REAL production functions end to end through the REAL durable persistence + alert boundary:

resolveCronPayloadOutcome (real, run-finalize.ts:251 classifier)
  -> hasFatalErrorPayload
  -> resolveCronRunFinalStatus (real SHARED production mapper, run-finalize.ts)
  -> finalizeCompletedCronRunOutcomes (real, timer-outcome-finalization.ts)
       -> applyJobResult (real, timer-outcomes.ts:144) -> maybeEmitFailureAlert (real)
       -> persistCronJobsStore (real durable write)
  -> reload from store: consecutiveErrors / lastRunStatus / lastFailureAlertAtMs
  -> sendCronFailureAlert (real alert dispatch)

The finalStatus mapping is no longer a copied ternary — this PR extracts resolveCronRunFinalStatus as the single exported production mapper from the payload outcome to the terminal run status, used at both finalization sites in run-finalize.ts (diagnostics finalStatus and run status). The test calls that same real mapper, so the proof tracks the production finalization owner and cannot diverge from it.

The test asserts, across all four silent forms (token-only, JSON-string, action-envelope, reasoning-prefixed): an error payload + the silent final reply yields hasFatalErrorPayload === true → resolveCronRunFinalStatus === "error" → durable consecutiveErrors 0→1 and lastRunStatus === "error" reloaded from the store, and a fired failure alert (lastFailureAlertAtMs persisted + sendCronFailureAlert called once). A recovering final answer (control) yields "ok", resets the streak to 0, and fires no alert. Three consecutive silent-reply failures accumulate consecutiveErrors 1→2→3 in the durable store.

node scripts/run-vitest.mjs src/cron/service/cron-finalization-streak.test.ts
# 6 passed — real classifier + real shared mapper + real durable persistence + real alert

No mock stands in for the classifier, the finalization mapper, the persisted timer-state update, or the alert dispatch. The test proves the operator-visible recovery: a silent reply after an error no longer clears the durable streak or suppresses the fired failureAlert.

Classifier divergence (the P1 bug this fix closes)

The token-only isSilentReplyText (used by the earlier revision) misses the action-envelope and reasoning-prefixed silent forms, so those would have recovered a preceding error and cleared the streak. The canonical isSilentReplyPayloadText (used after this fix, and already used by cron finalization) catches all four:

form                           | token-only isSilentReplyText | canonical isSilentReplyPayloadText
token-only NO_REPLY            | true                         | true
json-string NO_REPLY           | true                         | true
action-envelope NO_REPLY       | false                        | true   <- token-only missed (would have cleared streak)
reasoning-prefixed NO_REPLY    | false                        | true   <- token-only missed (would have cleared streak)
recovering final answer        | false                        | false

Production LOC: +15 / −2 in helpers.ts + run-finalize.ts (one canonical-classifier swap with a 3-line invariant comment, plus extracting resolveCronRunFinalStatus as the single shared finalization-status mapper used at both finalization sites — removing two inline copies of the ternary). Test LOC counted separately.

Competition analysis

Issue has no assignees and no linked open PRs as of this submission. ClawSweeper marked it clawsweeper:queueable-fix / clawsweeper:source-repro but is not implementing it.

When an agent hit an unrecoverable error (e.g. missing mount) and
exited with NO_REPLY, the cron scheduler treated the silent reply
token as valid final assistant output — hasRecoveringTerminalOutput
was true, the error was downgraded to non-fatal, and the run was
recorded as status: ok. This cleared consecutiveErrors and suppressed
failureAlert.

Filter NO_REPLY (SILENT_REPLY_TOKEN) from the recovery signal so a
preceding error payload stays fatal. The silent reply is the agent
choosing to emit nothing, not proof of recovery. (openclaw#116731)
@ruel225
ruel225 marked this pull request as ready for review August 7, 2026 01:30
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P1 High-priority user-facing bug, regression, or broken workflow. labels Aug 7, 2026
@clawsweeper

clawsweeper Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed August 7, 2026, 4:34 AM ET / 08:34 UTC.

ClawSweeper review

What this changes

The PR excludes canonical silent replies from isolated-cron recovery and adds regression coverage from payload classification through persisted cron failure state.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⛔ Blocked until real behavior proof from a real setup is added - 6 items remain

Keep open: the NO_REPLY recovery repair is still needed, but the latest status-mapper refactor introduces a P1 regression that can turn a promoted cron failure back into ok and clear its alert streak.

Priority: P1
Reviewed head: 0484d9281b970536857134c715d8eded2e7507b0

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The core repair is well-targeted, but a P1 final-status regression and mock-only proof keep this PR from merge readiness.
Proof confidence 🦪 silver shellfish (2/6) Needs real behavior proof before merge: The new test composes real cron helpers and persistence but mocks the alert transport and never calls finalizeCronRun; no redacted after-fix cron runtime artifact was provided. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🦪 silver shellfish (2/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Needs proof Needs real behavior proof before merge: The new test composes real cron helpers and persistence but mocks the alert transport and never calls finalizeCronRun; no redacted after-fix cron runtime artifact was provided. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 5 items Current-main defect remains: Current main treats any nonempty final assistant text as recovery, allowing a silent NO_REPLY payload to downgrade an earlier tool error before terminal status is persisted.
Patch regression in final status: The new mapper reads immutable cronPayloadOutcome at line 324, while the local fatal flag can be promoted after a failed pending-presentation delivery at lines 346-350 and 521-523; the base used the mutable flag directly.
Existing regression contract: Current coverage expects an undelivered pending message-presentation warning to return error, which the new immutable mapper would instead report as ok.
Findings 1 actionable finding [P1] Use the promoted final status after delivery warning handling
Security None None.

How this fits together

Isolated cron runs classify agent payloads into a terminal status, then the cron service persists error streaks and emits failure alerts. The finalizer must preserve any error promoted after delivery handling so scheduler state reflects the actual outcome.

flowchart LR
  A[Agent payloads] --> B[Payload outcome]
  C[Final assistant reply] --> B
  B --> D[Cron finalizer]
  D --> E[Delivery warning decision]
  E --> F[Terminal run status]
  F --> G[Persisted error streak]
  G --> H[Failure alert]
Loading

Before merge

  • Add real behavior proof - Needs real behavior proof before merge: The new test composes real cron helpers and persistence but mocks the alert transport and never calls finalizeCronRun; no redacted after-fix cron runtime artifact was provided. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Use the promoted final status after delivery warning handling (P1) - failPendingPresentationWarningUnlessDelivered can set the local hasFatalErrorPayload after delivery, but this new call maps the unchanged cronPayloadOutcome. The finalizer can therefore return status: "ok" with an error; timer persistence treats that as recovery and clears the failure streak. Pass the current fatal state to the mapper (or retain the local ternary) and preserve the pending-warning regression coverage.
  • Resolve merge risk (P1) - Merging as-is can make an undelivered pending message-presentation warning return ok, resetting persisted cron error streaks and suppressing the failure alert it should trigger.
  • Complete next step (P2) - The mapper regression has a narrow mechanical repair, while the external contributor still needs to supply after-fix real behavior proof.
  • Improve patch quality - Map terminal status from the mutable post-delivery fatal state and retain the pending-presentation-warning regression test.
  • Improve patch quality - Add redacted after-fix cron output showing error status, persisted streak progression, and a fired failure alert.

Findings

  • [P1] Use the promoted final status after delivery warning handling — src/cron/isolated-agent/run-finalize.ts:324
Agent review details

Security

None.

PR surface

Source +20, Tests +203. Total +223 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 2 26 6 +20
Tests 2 203 0 +203
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 229 6 +223

Review metrics

Metric Value Why it matters
Production versus test LOC production +26/-6; tests +203/-0 The production addition is intended to centralize status mapping, but its new mutable-state interaction must be repaired before that added surface is safe.

Merge-risk options

Maintainer options:

  1. Preserve the promoted final status (recommended)
    Update the mapper call to use the current fatal state after delivery-warning promotion, retain the existing pending-warning regression case, and add real after-fix cron evidence before merge.

Technical review

Best possible solution:

Retain the canonical silent-payload predicate in the payload-outcome owner, but derive terminal status from the post-delivery fatal state and demonstrate the repaired cron path with redacted after-fix runtime evidence.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: current main’s nonempty-final-text recovery path reaches an ok status and resets the scheduler error streak; the PR’s new mapper also has a clear source-level regression path for promoted delivery warnings.

Is this the best way to solve the issue?

No. Filtering canonical silent payloads at the payload-outcome owner is the right repair, but the mapper must read the current post-delivery fatal state rather than the immutable initial outcome.

Full review comments:

  • [P1] Use the promoted final status after delivery warning handling — src/cron/isolated-agent/run-finalize.ts:324
    failPendingPresentationWarningUnlessDelivered can set the local hasFatalErrorPayload after delivery, but this new call maps the unchanged cronPayloadOutcome. The finalizer can therefore return status: "ok" with an error; timer persistence treats that as recovery and clears the failure streak. Pass the current fatal state to the mapper (or retain the local ternary) and preserve the pending-warning regression coverage.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.99

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against aa7cf44c75a1.

Labels

Label changes:

  • add merge-risk: 🚨 message-delivery: The regression can suppress the configured cron failure notification after an undelivered presentation warning.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦪 silver shellfish.
  • remove rating: 🧂 unranked krab: Current PR rating is rating: 🦪 silver shellfish, so this older rating label is no longer current.

Label justifications:

  • P1: The patch can reintroduce a cron workflow that records a real failure as success and suppresses its failure-alert streak.
  • merge-risk: 🚨 message-delivery: The regression can suppress the configured cron failure notification after an undelivered presentation warning.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦪 silver shellfish.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The new test composes real cron helpers and persistence but mocks the alert transport and never calls finalizeCronRun; no redacted after-fix cron runtime artifact was provided. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

Acceptance criteria:

  • [P1] node scripts/run-vitest.mjs src/cron/isolated-agent/run.message-tool-policy.test.ts.
  • [P1] node scripts/run-vitest.mjs src/cron/isolated-agent.helpers.test.ts.
  • [P1] node scripts/run-vitest.mjs src/cron/service/cron-finalization-streak.test.ts.

What I checked:

Likely related people:

  • metaforismo: The available shallow blame boundary attributes the surrounding current recovery logic to this contributor; older ownership could not be established from local history. (role: current-line contributor; confidence: low; commits: b47fb954fb98; files: src/cron/isolated-agent/helpers.ts, src/cron/isolated-agent/run-finalize.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (5 earlier review cycles)
  • reviewed 2026-08-07T01:38:50.011Z sha 0566835 :: needs real behavior proof before merge. :: [P1] Classify every canonical silent payload as non-recovery
  • reviewed 2026-08-07T03:47:11.607Z sha 67b736f :: needs real behavior proof before merge. :: [P3] Shorten the recovery-invariant comment
  • reviewed 2026-08-07T05:36:22.441Z sha 67b736f :: needs real behavior proof before merge. :: [P3] Shorten the recovery-invariant comment
  • reviewed 2026-08-07T05:44:12.210Z sha 67b736f :: needs real behavior proof before merge. :: [P3] Shorten the recovery-invariant comment
  • reviewed 2026-08-07T06:53:46.494Z sha b207721 :: needs real behavior proof before merge. :: [P2] Exercise the production finalizer in the streak proof

…s stay non-recovery

ClawSweeper P1: the prior token-only isSilentReplyText let JSON-string,
action-envelope, and reasoning-prefixed silent replies recover a preceding
error payload, dropping hasFatalErrorPayload and clearing the error streak.
Switch to isSilentReplyPayloadText (the same classifier cron finalization
uses for the terminal field) so every silent form keeps a preceding error
fatal. Table-driven regression covers all four silent forms. (openclaw#116731)
@ruel225

ruel225 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

P1 code finding addressed: switched the recovery predicate from the token-only isSilentReplyText to the canonical isSilentReplyPayloadText (the same classifier cron finalization uses for the terminal field), so action-envelope and reasoning-prefixed silent replies no longer recover a preceding error. Table-driven regression now covers all four silent forms.

Added a real cron-path proof driving the real resolveCronPayloadOutcome → run-finalize.ts:301 (finalStatus: hasFatalErrorPayload ? "error" : "ok") → timer-outcomes.ts:144 (consecutiveErrors increment) → maybeEmitFailureAlert, showing an error payload + any silent form stays fatal and increments the streak (0→1→2), while a recovering final answer resets it. A classifier-divergence table shows the token-only classifier missed exactly the action-envelope and reasoning-prefixed forms.

Head: 67b736f

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Aug 7, 2026
… + real applyJobResult

Add a committed integration test that drives the REAL
resolveCronPayloadOutcome (the cron finalization classifier at
run-finalize.ts:251) through the run-finalize finalStatus mapping
(run-finalize.ts:301) into the REAL applyJobResult (the persisted
timer-state update at timer-outcomes.ts:144). An error payload plus any
silent (NO_REPLY) final assistant text stays fatal, marks the run
'error', and increments consecutiveErrors so failureAlert can fire; a
recovering final answer resets the streak. No mock stands in for
resolveCronPayloadOutcome or applyJobResult.

Also shorten the recovery-invariant comment to three lines (drop
PR-specific lore and examples already covered by the table test) per
review. (openclaw#116731)
@ruel225

ruel225 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

Re-review request — addressed both remaining items on head b207721:

  1. P3 comment: shortened the recovery-invariant comment in helpers.ts to three lines (dropped PR-specific lore and the silent-form enumeration already covered by the table test).

  2. Real behavior proof: replaced the unlinked trace with a committed integration test, src/cron/service/cron-finalization-streak.test.ts, selected by vitest.cron.config.ts and run in CI. It drives the REAL resolveCronPayloadOutcome (the finalization classifier this PR fixes, at run-finalize.ts:251) through the run-finalize finalStatus mapping (run-finalize.ts:301) into the REAL applyJobResult (the persisted timer-state update at timer-outcomes.ts:144). No mock stands in for either production function. It asserts, across all four silent forms, that an error payload + a silent final reply stays fatal → finalStatus: "error" → consecutiveErrors 0→1 and lastRunStatus: "error"; a recovering final answer resets the streak; and consecutive failures accumulate 1→2→3. PR body updated.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

…tion mapper (openclaw#116731)

Extract resolveCronRunFinalStatus as the single exported production mapper
from cron payload outcome to terminal run status, and use it at both
finalization sites in run-finalize.ts (diagnostics finalStatus and run
status). This removes the two inline copies of the status ternary so
finalization diagnostics, run status, and downstream timer/alert state share
one source of truth.

Rewrite the streak proof to route through the REAL shared mapper (not a
copied ternary) and the REAL finalizeCompletedCronRunOutcomes, which
persists job state and emits the failure alert. The test now asserts
DURABLE state reloaded from the store (consecutiveErrors, lastRunStatus)
and a FIRED alert (lastFailureAlertAtMs + sendCronFailureAlert), across
all four silent forms — addressing the production-finalizer and durable-
state/alert proof gates.
@ruel225

ruel225 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

Pushed 0484d9281b9: the finalStatus mapping is no longer a copied ternary — this PR extracts resolveCronRunFinalStatus as the single exported production mapper (used at both finalization sites in run-finalize.ts: diagnostics finalStatus and run status), and the test calls that same real mapper. The streak proof now routes through the REAL finalizeCompletedCronRunOutcomes (durable persistence + alert dispatch), and asserts DURABLE state reloaded from the store (consecutiveErrors, lastRunStatus) AND a FIRED alert (lastFailureAlertAtMs persisted + sendCronFailureAlert called), across all four silent forms, plus a recovering control and a 1→2→3 streak. tsgo core-test clean for these files. PR body updated.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Aug 7, 2026
@vincentkoc vincentkoc added the close:superseded PR close reason label Aug 8, 2026
@vincentkoc vincentkoc self-assigned this Aug 8, 2026
@vincentkoc

Copy link
Copy Markdown
Member

Closing this PR as superseded by the earlier canonical fix in #120056.

This branch is not safe to merge as written: resolveCronRunFinalStatus rereads the immutable pre-promotion outcome. When pending-presentation delivery later promotes the run to fatal, the mapper can still return status: "ok", reset the persisted error streak, and suppress the failure alert.

Thank you @ruel225 for the useful table-driven coverage of the canonical silent-reply forms. That evidence should inform the canonical repair, but this competing implementation should not remain open.

#120056 and the underlying issue #116731 remain open and are not yet land-ready.

@vincentkoc vincentkoc closed this Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

close:superseded PR close reason merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: S status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cron failureAlert silently swallowed by quiet exits and misses WSL2 drvfs mount failure

2 participants