Repository navigation
fix(qa): retain Slack presentation history - #127300
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed September 8, 2026, 12:18 AM ET / 04:18 UTC. ClawSweeper reviewWhat this changesSlack QA now captures chart and table message timestamps before awaiting completion, then verifies those exact stored messages instead of searching recent channel traffic. Merge readiness✅ Ready for maintainer review The prior capture-ordering finding is resolved, and no new blocking defect was found. The repair remains useful: current main and v2026.9.2 still rediscover native presentations through bounded channel history. This maintainer-authored PR should remain open for normal landing. Priority: P2 Review scores
Verification
How this fits togetherQA Lab drives an isolated OpenClaw agent through Slack and checks its responses for release validation. Successful outbound-write captures identify the native presentation, while Slack readback verifies its stored blocks and accessible text. flowchart TD
A[Slack QA prompt] --> B[Agent sends native presentation]
B --> C[Capture successful write timestamp]
C --> D[Await separate completion reply]
D --> E[Read exact Slack message]
E --> F{Native blocks and text match}
F --> G[QA pass or failure]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +73, Tests +86. Total +159 across 6 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep presentation identity anchored to successful write capture while retaining strict Slack-stored block and accessibility verification. Do we have a high-confidence way to reproduce the issue? Yes, from source: more than 50 newer channel messages can exclude a successfully posted presentation from the old verifier's history page. No live reproduction was executed in this review. Is this the best way to solve the issue? Yes. Reusing the captured Slack timestamp removes the unstable history-position dependency without broader pagination, weaker content checks, or changed delivery policy. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ef2a25992ea2. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (11 earlier review cycles; latest 8 shown)
|
|
Addressed every actionable ClawSweeper rank-up move in c5bbd85:
Additional proof: |
|
Exact-head credentialed Slack proof remains unavailable in this worktree: all four required Added deterministic owner-boundary proof in 41194da instead:
Proof: extension typecheck passed; focused Slack runtime suite passed 51/51; format/diff/deslop clean; autoreview clean (0.99). This does not substitute for the recommended live shared-channel trace, but it closes the deterministic request-budget and Retry-After behavior within the authority available here. |
|
Reassessed the owner boundary from scratch and replaced broad cursor pagination in d0e2f44. The previous 5x200 design was correct Slack pagination, but not the best fix for these scenarios: QA already captures the successful Alternatives considered:
Slack’s official Proof: the focused native chart/table tests assert exactly one timestamp-bounded history call and strict stored native blocks; fallback-only messages still time out. Focused Slack runtime/capture/scenario suites pass 57/57, extension typecheck passes, diff/deslop is clean, and autoreview is clean (0.99). No authenticated Slack credential is available in this worktree, so the exact-head live trace remains infeasible and documented. |
|
Repaired the exact red lanes and refreshed onto current Attribution:
Proof: focused Slack runtime suite 50/50 passed; targeted oxfmt, oxlint, and @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Exact-head Slack proof status for
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Latest ClawSweeper items on exact head
Per the durable review's two listed options, resolution now requires either (1) an administrator enabling that variable and rerunning the exact-head Slack lane, or (2) an explicit maintainer comment accepting the QA-only residual proof risk. There is no remaining code repair to make on this branch. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
d085a6d to
6e72372
Compare
|
Addressed the latest ClawSweeper P2 on exact head
Credentialed live Slack proof is still admin-blocked by @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
…1-prep * commit 'da37d47920d102044a4cb33f8cd688b4abc3c2a6': (460 commits) refactor(memory): simplify built-in runtime delegation (openclaw#141847) refactor(comfy): remove unused cloud fixture input (openclaw#141844) fix(agents): keep canonical target casing for session-bound replies (openclaw#140418) fix(ci): hydrate release source ancestry through branch (openclaw#141840) fix(telemetry): include mixed-case configured providers (openclaw#141134) fix(qa): retain Slack presentation history (openclaw#127300) test(cli): compact argv case matrices (openclaw#141832) test(agents): compact code mode case matrices (openclaw#141831) test(gateway): compact control ui routing cases (openclaw#141834) test(reasoning): compact reasoning tag cases (openclaw#141833) fix(cli): keep progress spinners within terminal width (openclaw#141401) fix(release): provision native live harness dependencies (openclaw#141829) fix(cron): preserve prepared runtime and error ownership (openclaw#140941) fix(npm): recognize companion-owned runtime imports (openclaw#141647) fix(browser): reject unsupported buttons in click commands (openclaw#140976) refactor(gateway): keep cached turn replay with dedupe (openclaw#141824) fix(release): preserve frozen gateway package resolution (openclaw#141827) refactor: keep live image probe matching private (openclaw#141823) fix(browser): recover stale panel after stream disconnects (openclaw#141576) feat(cron): explain slow automation list requests (openclaw#141805) ...
* fix(qa): retain Slack presentation history * qa: paginate Slack channel observations * qa: retain required Slack history timestamps * test(qa): prove Slack pagination request budget * qa: target Slack native presentation reads * test(qa): narrow Slack observation runs * fix(qa): capture Slack presentation writes before replies
What Problem This Solves
Slack native chart/table QA runs share one live channel. The native presentation is written before the scenario's final reply, but the old verifier rediscovered it through the newest 50 channel messages. Concurrent QA traffic could evict that earlier write and produce a false 15-second timeout after delivery had succeeded.
The table flow also used the native table summary itself as its reply match, so it could time out in the initial shared-history scan before the branch's exact-message verification ran.
Why This Change Was Made
The QA capture store already owns the successful Slack write response and its exact timestamp. Chart and table scenarios now resolve that timestamp from capture before waiting for the model's separate final marker, then read back exactly that stored Slack message with
latest,inclusive: true, andlimit: 1.This removes shared channel position from native-presentation identity. It keeps the existing observation deadline and avoids broad pagination or larger timeouts.
User Impact
Maturity and release QA no longer report native Slack chart/table failures merely because concurrent scenarios produced newer channel traffic. Product Slack delivery behavior is unchanged; only the QA observation owner changes.
Evidence
32501067103;slack-chart-presentation-nativeandslack-table-presentation-nativetimed out after their tool sends succeeded.6e72372a2d72f292d0898aa67ef4007c6c37052drebased onto currentmainwithout conflicts.node scripts/run-vitest.mjs extensions/qa-lab/src/live-transports/slack/scenario-runtime.test.ts extensions/qa-lab/src/live-transports/slack/slack-live.runtime.test.ts— 70/70 passed.node scripts/check-changed.mjs -- <five changed Slack files>— passed all selected extension/test, formatting, typecheck, lint, dependency, dead-code, boundary, and import-cycle lanes.origin/main— scoped clean; patch correct (0.89 confidence).OPENCLAW_RELEASE_QA_SLACK_LIVE_CI_ENABLED=false; no live-proof claim is made. The repair is deterministic QA-only ordering and exact-readback logic.