Skip to content

fix(qa): tolerate Telegram observation ordering - #143563

Merged
RomneyDa merged 1 commit into
mainfrom
fix/maturity-telegram-observation-order
Sep 10, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/maturity-telegram-observation-order

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

Summary

  • accept the matching Telegram receipt regardless of later observer events
  • require the two commentary previews while continuing to prove compaction and final ordering
  • guard both scenario contracts in the catalog tests

Testing

  • pnpm test extensions/qa-lab/src/scenario-catalog-channels.test.ts (29 passed)
  • pnpm check:changed
  • autoreview: clean at P0–P2

@clawsweeper

clawsweeper Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@RomneyDa
RomneyDa marked this pull request as ready for review September 10, 2026 00:32
@RomneyDa

Copy link
Copy Markdown
Member Author

Exact-head proof for 64741f6: Telegram catalog regression: 29/29 passed; pnpm check:changed passed; local autoreview clean P0-P2. @clawsweeper re-review

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 10, 2026
@clawsweeper

clawsweeper Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 10, 2026, 5:48 AM ET / 09:48 UTC (Revision 2).

ClawSweeper review

What this changes

Adjusts Telegram QA scenarios to accept a matching receipt anywhere among observed messages and require two preview events, with catalog tests guarding those choices.

Merge readiness

✅ Ready for maintainer review

The PR remains useful: current main retains both overly restrictive QA checks, and the patch preserves the substantive formatting and delivery assertions. No blocking defect was found. Member authorship and the protected maintainer label also preclude automatic closure.

Priority: P2
Reviewed head: 35491a063a4e6b13b094c6f5ece60d7de6a6d6d4

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, maintainable QA correction with retained behavioral assertions and no blocking finding.
Proof confidence 🌊 off-meta tidepool Not applicable: This member-authored QA-only change is exempt from the external-contributor proof gate; supplied catalog-test results do not establish an after-fix Telegram Test Server run.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member-authored QA-only change is exempt from the external-contributor proof gate; supplied catalog-test results do not establish an after-fix Telegram Test Server run.
Evidence reviewed 6 items Receipt validation preserves exact formatting checks: The changed assertion accepts receipt membership while retaining exact equality for observed chunk count, text, content types, and entities. The preceding wait already uses receipt membership.
Compaction guarantees remain explicit: After the two-preview wait threshold, the scenario still requires both commentary markers on one message, compaction start and completion notices, exactly one final marker, and no later delivery events. The transport helper counts qualifying pre-final events; it does not replace those assertions.
Current main still needs the adjustment: At the fetched main revision, semantic receipt validation still uses received.at(-1), and the compaction scenario still specifies minimumPreviewEvents: 3. No replacement fixing PR was established by the related-item search.
Findings None None.
Security None None.

How this fits together

QA Lab runs scripted scenarios through OpenClaw and observes Telegram Test Server messages. These scenarios turn send receipts, message contents, and progress events into validation results.

flowchart LR
  A[QA scenario fixtures] --> B[Gateway and Telegram delivery]
  B --> C[Telegram Test Server]
  C --> D[QA message observer]
  B --> E[Send receipt]
  D --> F[Content and ordering assertions]
  E --> F
  F --> G[QA result]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +20, Other 0. Total +20 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 20 0 +20
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 2 2 2 0
Total 3 22 2 +20

Review metrics

None.

Technical review

Best possible solution:

Keep receipt correlation independent of observer position while preserving exact content, compaction visibility, and final-delivery ordering checks.

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

No high-confidence live reproduction was established in this read-only review. Source shows how a matching receipt outside the final observed position fails the old assertion, but the reported observation timing was not exercised.

Is this the best way to solve the issue?

Yes. The changes stay within the existing scenario owner and retain the substantive assertions; the added catalog checks protect configuration shape rather than proving runtime recovery.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 3c3f03ecdeb9.

Labels

Label justifications:

  • P2: This is a bounded QA reliability correction that preserves checks for Telegram delivery correctness.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member-authored QA-only change is exempt from the external-contributor proof gate; supplied catalog-test results do not establish an after-fix Telegram Test Server run.

Evidence

What I checked:

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)

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 (1 earlier review cycle)
  • reviewed 2026-09-10T01:46:50.047Z sha 64741f6 :: needs maintainer review before merge. :: none

@RomneyDa
RomneyDa force-pushed the fix/maturity-telegram-observation-order branch from 64741f6 to 35491a0 Compare September 10, 2026 09:39
@RomneyDa
RomneyDa merged commit ed4ccd3 into main Sep 10, 2026
180 checks passed
@RomneyDa
RomneyDa deleted the fix/maturity-telegram-observation-order branch September 10, 2026 10:02
@RomneyDa

Copy link
Copy Markdown
Member Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: qa-lab maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant