Repository navigation
fix: catch stale mobile protocol exceptions on main pushes - #207258
roboclaw-bot wants to merge 2 commits into
Conversation
Co-authored-by: daniel-lxs <[email protected]>
Worked on by: - @daniel-lxs Co-authored-by: daniel-lxs <[email protected]> OpenClaw-Publication: 9966a2df-716f-4ca9-b122-26f61822a62a
|
🦞👀 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. |
|
Codex review: passed. What this changesThis PR runs mobile protocol coverage on ordinary main pushes and removes an obsolete iOS exception. Example: A non-docs push reaches main with full push CI disabled and preflight skipped.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR: it repairs a confirmed main-push CI blind spot that remains after the narrower allowlist fix merged, and review found no introduced correctness defect. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherGitHub Actions supplies event and preflight context to security-fast, whose checker compares Gateway events with native client handlers and documented exceptions. flowchart TD
A[Main push] --> B[security-fast]
C[Preflight selection] --> B
B --> D[Mobile coverage checker]
E[Gateway event catalog] --> D
F[Native handlers and exceptions] --> D
D --> G[Coverage result]
Technical reviewBest possible solution: Land the existing admission repair once the CI gate is resolved, retaining the shared checker and existing dispatch compatibility path. Do we have a high-confidence way to reproduce the issue? Current-main conditions establish the missing-output skip, and the reported GitHub job confirms it; no target code or tests were executed during this read-only review. Is this the best way to solve the issue? The one-condition change is the smallest complete repair: it uses the existing job, Node setup, checker, and regression suite while preserving PR selection and manual-dispatch prerequisites. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d8c456001c10. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +7, Docs +1, Config 0, Other -1. Total +7 across 4 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 28, 2026, 12:38 AM ET / 05:38 UTC. |
|
QA Smoke 3/6 is an inherited assertion failure, not a flake from this PR. The scenario passed on main before #207052 and failed on that change’s main commit. I replayed the assertion against the pre-PR main job and this head’s job. Both recorded exactly two finalization requests. Each kept 15 tool definitions for prompt-cache reuse, sent |
…he protocol event allowlist (#207288) ## Problem `security-fast` fails on every PR based on current `main` again: ``` Protocol event coverage check failed: - [ios] allowlist entry "controlUi.sessionPullRequests.changed" is now handled; remove it from scripts/protocol-event-coverage.allowlist.json. ``` #206640 (`18356ea02fce`, iOS PR pills) made iOS handle `controlUi.sessionPullRequests.changed`, but the allowlist still says iOS does not handle it. This is the same failure as #207259 with a different entry. #207258 runs this check on `main` pushes so that the next stale entry shows on `main`. ## Solution Remove the iOS `controlUi.sessionPullRequests.changed` allowlist entry. The Android entry stays: `apps/android` has no handler for the event. ## Evidence - `node scripts/check-protocol-event-coverage.mts` on `origin/main` `2595c38a`: the failure above. - The same check on this branch: `Protocol event coverage OK: 75 gateway events; ios handles 30, allowlists 45; android handles 26, allowlists 49.` Co-authored-by: Ayaan Zaidi <[email protected]>
…he protocol event allowlist (openclaw#207288) ## Problem `security-fast` fails on every PR based on current `main` again: ``` Protocol event coverage check failed: - [ios] allowlist entry "controlUi.sessionPullRequests.changed" is now handled; remove it from scripts/protocol-event-coverage.allowlist.json. ``` openclaw#206640 (`5d7cefb41ea2`, iOS PR pills) made iOS handle `controlUi.sessionPullRequests.changed`, but the allowlist still says iOS does not handle it. This is the same failure as openclaw#207259 with a different entry. openclaw#207258 runs this check on `main` pushes so that the next stale entry shows on `main`. ## Solution Remove the iOS `controlUi.sessionPullRequests.changed` allowlist entry. The Android entry stays: `apps/android` has no handler for the event. ## Evidence - `node scripts/check-protocol-event-coverage.mts` on `origin/main` `e6fe0a36`: the failure above. - The same check on this branch: `Protocol event coverage OK: 75 gateway events; ios handles 30, allowlists 45; android handles 26, allowlists 49.` Co-authored-by: Ayaan Zaidi <[email protected]>
Closes #207256
What Problem This Solves
The main push at
b0a577e8passedsecurity-fastwithout running its mobile protocol check. Ordinary main pushes skip preflight, so the check never received the output it required. The iOS exception forsession.toolhad already gone stale when #206602 added a handler.User Impact
A non-docs main push now reports a stale mobile exception even when full push CI is off. No app behavior, repository setting, or Android exception changes.
Why This Change Was Made
The existing push job already sets up Node. It can run the dependency-free check once without starting preflight or a mobile build. PRs and manual runs keep their existing selection and setup rules.
Evidence
main, the checker exited 1 with[ios] allowlist entry "session.tool" is now handled. With the iOS entry removed, the workflow’s push command exited 0: 75 events, iOS 29 handled / 46 allowlisted, Android 26 / 49.pnpm check:workflowspassed, including actionlint and zizmor. No post-fix GitHub push tomainwas exercised.Reported and reproduced with @daniel-lxs.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by
🦞 Made with OpenClaw