Repository navigation
fix(whatsapp,qa): compose audio actions correctly and stop premature drain failures; deslop old QA/browser code - #170889
Conversation
Consolidate image traversal, request observation ownership, bus waiters, Slack response classification, Node selection and WebSocket decoding. Retire the generic Windows executable export after its Node caller moved; keep trusted taskkill/PowerShell paths and all environment validation. Remove duplicate planner validation and unsupported private lifecycle guards. Keep external evidence validation, security authority, resource limits and ordinary write-capable shutdown settlement. Also preserve WhatsApp audio preflight when enabling message actions and avoid recording a POSIX pipe-drain failure during the normal TERM grace. Best-effort tradeoffs accepted: - Bus cloning trusts its private typed event union. 0ebeee8 added the unsupported-kind throw only for lint; fabricated internal kinds now fail naturally, and a new typed variant must update this owner at compile time. - Overlapping private QA driver transitions are unsupported; callers await them. #113855 introduced synthetic interleavings, not a human incident. - Canonical smoke selection is trusted instead of revalidated; #114055 was an ownership cutover. A future selector defect belongs at that owner. - Wire image inputs are parsed JSON trees. #71311 introduced no human cyclic-input incident; unsupported internal cyclic objects are best effort. - Fabricated cyclic/BigInt tool outputs now fail clearly instead of becoming empty evidence. 195e721 added stabilization, not a human incident. - Reinstalling the private AIMock mount is unsupported. bdc9c60 added speculative guards; the actual owner installs it once before start. - Obsolete repeated observer disposal after port reuse can remove the newer QA lookup. 6386dc4 was an affinity repair, not a disposal incident; normal unique-port ownership and stop ordering prevent that lifecycle. - Local non-federated Matrix joins fail immediately on setup errors; #64489 added initial coverage, not a reported transient-join incident. Rerun the QA command after an unusual setup fault. - Artifact publication is trusted after its awaited atomic writer. #92606 added suite execution, not a missing-write incident; deletion afterward is reported by normal readers. - Native browser JSON needs no branded rawJSON surrogate workaround. #140882 added that generality without a human incident; a future branded producer must own its serialization contract. - Insertion-only pending caches clear directly on settlement. #113926 and #128379 supplied no human successor-eviction incident; no replacement can precede these finalizers. Real close-time successor checks stay. - Re-registering the identical private borrowed-relay handle is unsupported. #128379/#133706 introduced no such incident; the owner creates fresh handles and current authority and distinct-successor comparisons remain. - Inconclusive Linux process snapshots conservatively stay alive until the next check. #132230/#131643 used controlled fault injection, not a human actual-use incident. Final unconfirmed settlement retains state for retry.
|
🦞👀 Pull request received. I will update this pull request when review starts. |
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. |
|
Inherited-failure landing evidence for exact head CI run 38375380285, attempt 1 completed all 79 jobs. The published table says unknown because scheduled main used different shard names; I did not treat that as inherited attribution. Instead, all four failing files were run on a clean, separately installed main checkout at Each failed job is independently attributed:
Main replay: 4 files/5 tests failed with those same signatures, 597.21s wrapper wall time. It used the native test wrapper, task-private HOME/OpenClaw/XDG state, and current-source private-QA runtime artifacts prepared by the native owner (155.1s), then the supported prebuilt consumer. Two earlier automatic preparation attempts were stopped before tests because automatic E2E setup forces full declarations; they are not test passes or retries. No fixture, assertion, timeout, skip, or retry changes. No hosted reruns or source re-pushes. The native evidence binds retained checkout/failure logs, hashes, tested merge and source objects. Security-fast independently passed; types, lint, and all other selected jobs passed. Historical PR-body-heading failures are superseded by successful corrected metadata checks. The parent-SIGTERM file passed all 9 tests in three sequential head runs and once at main; the earlier isolated transient remains recorded, not claimed fixed. Untouched local Knip findings remain recorded, not concealed or described as passing. Per the coordinator's standing authorization, proceeding through the native inherited-only admin exception. CI remains red; no green-CI claim. Net production reduction remains 255 lines, with security/public contracts and Phase E memory untouched. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…0889) Consolidate image traversal, request observation ownership, bus waiters, Slack response classification, Node selection and WebSocket decoding. Retire the generic Windows executable export after its Node caller moved; keep trusted taskkill/PowerShell paths and all environment validation. Remove duplicate planner validation and unsupported private lifecycle guards. Keep external evidence validation, security authority, resource limits and ordinary write-capable shutdown settlement. Also preserve WhatsApp audio preflight when enabling message actions and avoid recording a POSIX pipe-drain failure during the normal TERM grace. Best-effort tradeoffs accepted: - Bus cloning trusts its private typed event union. f993a27 added the unsupported-kind throw only for lint; fabricated internal kinds now fail naturally, and a new typed variant must update this owner at compile time. - Overlapping private QA driver transitions are unsupported; callers await them. openclaw#113855 introduced synthetic interleavings, not a human incident. - Canonical smoke selection is trusted instead of revalidated; openclaw#114055 was an ownership cutover. A future selector defect belongs at that owner. - Wire image inputs are parsed JSON trees. openclaw#71311 introduced no human cyclic-input incident; unsupported internal cyclic objects are best effort. - Fabricated cyclic/BigInt tool outputs now fail clearly instead of becoming empty evidence. 5929e9a added stabilization, not a human incident. - Reinstalling the private AIMock mount is unsupported. e98e098 added speculative guards; the actual owner installs it once before start. - Obsolete repeated observer disposal after port reuse can remove the newer QA lookup. ace0e05 was an affinity repair, not a disposal incident; normal unique-port ownership and stop ordering prevent that lifecycle. - Local non-federated Matrix joins fail immediately on setup errors; openclaw#64489 added initial coverage, not a reported transient-join incident. Rerun the QA command after an unusual setup fault. - Artifact publication is trusted after its awaited atomic writer. openclaw#92606 added suite execution, not a missing-write incident; deletion afterward is reported by normal readers. - Native browser JSON needs no branded rawJSON surrogate workaround. openclaw#140882 added that generality without a human incident; a future branded producer must own its serialization contract. - Insertion-only pending caches clear directly on settlement. openclaw#113926 and openclaw#128379 supplied no human successor-eviction incident; no replacement can precede these finalizers. Real close-time successor checks stay. - Re-registering the identical private borrowed-relay handle is unsupported. openclaw#128379/openclaw#133706 introduced no such incident; the owner creates fresh handles and current authority and distinct-successor comparisons remain. - Inconclusive Linux process snapshots conservatively stay alive until the next check. openclaw#132230/openclaw#131643 used controlled fault injection, not a human actual-use incident. Final unconfirmed settlement retains state for retry.
kill(-pgid, 0) still succeeds while an unreaped zombie remains in the group. When that zombie is reaped before the /proc scan, the snapshot is empty and the owner returned the stale successful probe as "alive". Hosted Extension Tests shard-2 hit this in 3 of the last 8 hourly main runs via gateway-child-bootstrap assertStopped. Restore the fresh kernel existence probe for inconclusive snapshots (added in #132230, removed in #170889) and its regression test. A group that still exists stays alive; only a fresh ESRCH releases it.
…171692) kill(-pgid, 0) still succeeds while an unreaped zombie remains in the group. When that zombie is reaped before the /proc scan, the snapshot is empty and the owner returned the stale successful probe as "alive". Hosted Extension Tests shard-2 hit this in 3 of the last 8 hourly main runs via gateway-child-bootstrap assertStopped. Restore the fresh kernel existence probe for inconclusive snapshots (added in openclaw#132230, removed in openclaw#170889) and its regression test. A group that still exists stays alive; only a fresh ESRCH releases it.
What Problem This Solves
Fixes lost audio setup when WhatsApp QA runs enable message actions, and false POSIX scenario failures while ordinary TERM cleanup is still in progress.
User Impact
WhatsApp QA operators combining audio preflight with message actions lost the audio tool setup: the action configuration rebuilt
toolsfrom the original base configuration. Extend the accumulated tools instead, so both requested capabilities remain enabled. An independent regression exercises the exported configuration builder; its negative control failed before the fix.POSIX QA scenario commands could report a pipe-drain failure after one second even while the normal two-second TERM grace was still running. Record failure only when abandoning undrained readers, preventing false failed runs while retaining process-group verification, bounded cleanup, and write-capable shutdown settlement. The isolated production entry reproduced the false failure before the fix and succeeded afterward; a fake-clock regression pins the boundary.
Old-code simplification
Consolidate image traversal, request-observation ownership, bus waiters, Slack response classification, Node selection, WebSocket decoding, and evidence defaults. Remove duplicate planner validation and unsupported private lifecycle machinery. Preserve public contracts, input validation, security authority, resource bounds, and ordinary shutdown settlement. QA Lab's runnable harness is counted and treated as production even though excluded from npm built files.
Net production LOC: −255 (160 added, 415 removed across 22 production files; tests, fixtures, test support, generated files and declarations excluded). Fresh origin/main seven-day eligibility check clears every changed production file. The coordinator waived the size floor for these two bug fixes. No config, schema, dependency, or public SDK expansion; Phase E memory code is untouched.
Evidence
Conversation binding ownership changed. Retry the request.on both CI and main.card=runningand times out waiting for managed-worktree state; WebChat observes all 24 artifacts butrawMediaVisible: true, on both.Best-effort tradeoffs accepted