Repository navigation
test(discord): stop pinning refused-followup notice wording - #202471
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 21, 2026
…#202471) ## Problem `channel-run-admission.discord-recovery.test.ts` (openclaw#202330) pinned the exact refused-followup notice. openclaw#202402 then added a next step to that notice in its owner (`agent-runner-error-handler.ts`), so the test fails on `main` whenever it is selected. ## Fix Stop pinning wording. The test still proves the behavior: one terminal error event with a notice, the same notice shown once in the transcript, the same text delivered for the unavailable case, and no model or channel effects for a revoked sender. ## Evidence `ocx test src/auto-reply/reply/channel-run-admission.discord-recovery.test.ts`: passed. oxfmt and test types clean. Co-authored-by: Ayaan Zaidi <[email protected]>
tideclaw-bot
pushed a commit
that referenced
this pull request
Nov 24, 2026
…rts (#202330) Problem: on Discord, a message queued behind a busy turn was admitted and run after its sender lost access (real Discord on main: config.patch returned 05:15:42.400Z, the queued message was admitted 05:15:43.874Z and replied). Preflight decided access once at receipt and shared run admission reused that decision; the only admission-time renewal was bound for public child-session publication (X). Fix: one Discord access decision (resolveDiscordMessageAccess) serves receipt (receipt policy) and queued-run admission (live policy); preflight's copy is deleted and receipt-time native facts are reused without refetch. childSessionPublication.audience becomes optional: the same memoized renewal runs for ordinary user_request and room_event ingress at the start of the queued turn, before memory-flush or compaction model work; child-session publication still requires audience "public" on a user request. A refused queued turn reaches #202252's existing denied handler (silent on the channel, one owner notice). Started turns are not rechecked. Proof: real queued path (followup-runner, followup-turn-execution, canonical execution, Gateway lifecycle persistence): red on the previous head (no owner notice); green with exactly one persisted owner notice, zero provider requests (including maintenance), zero deliveries, for user_request and room_event; allowed queued messages run once; unavailable verification still warns. 295 tests across 7 files; typecheck, oxlint, format, ratchets; clean exact-head local ClawSweeper review; real Discord run on the exact head (see the PR comment). Co-authored-by: Ayaan Zaidi <[email protected]> (cherry picked from commit 5148804) Gap-sweep intake (Dallin, 2026-11-24): ledger-high/P0-P1 fix not yet on 2026.11.10. Clean apply. Later main mentions of #202330: 656de08 test(discord): stop pinning refused-followup notice wording (#202471);. Co-authored-by: RomneyDa <[email protected]>
tideclaw-bot
pushed a commit
that referenced
this pull request
Nov 24, 2026
## Problem `channel-run-admission.discord-recovery.test.ts` (#202330) pinned the exact refused-followup notice. #202402 then added a next step to that notice in its owner (`agent-runner-error-handler.ts`), so the test fails on `main` whenever it is selected. ## Fix Stop pinning wording. The test still proves the behavior: one terminal error event with a notice, the same notice shown once in the transcript, the same text delivered for the unavailable case, and no model or channel effects for a revoked sender. ## Evidence `ocx test src/auto-reply/reply/channel-run-admission.discord-recovery.test.ts`: passed. oxfmt and test types clean. Co-authored-by: Ayaan Zaidi <[email protected]> (cherry picked from commit 656de08) Companion of #202330 (gap-sweep): its regression pinned notice wording that this branch already extended (4eb5484); main fixed the test the same way. Co-authored-by: RomneyDa <[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.
Problem
channel-run-admission.discord-recovery.test.ts(#202330) pinned the exact refused-followup notice. #202402 then added a next step to that notice in its owner (agent-runner-error-handler.ts), so the test fails onmainwhenever it is selected.Fix
Stop pinning wording. The test still proves the behavior: one terminal error event with a notice, the same notice shown once in the transcript, the same text delivered for the unavailable case, and no model or channel effects for a revoked sender.
Evidence
ocx test src/auto-reply/reply/channel-run-admission.discord-recovery.test.ts: passed. oxfmt and test types clean.