Repository navigation
fix: consume stale google chat approval clicks - #98433
haruaiclone-droid wants to merge 1 commit into
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 1, 2026, 1:43 AM ET / 05:43 UTC. Summary PR surface: Source +6, Tests +48. Total +54 across 2 files. Reproducibility: yes. source inspection gives a high-confidence reproduction path: current main releases the claimed token for every resolver error, and release only clears the in-flight marker, leaving the same stale binding retryable. I did not run a live Google Chat repro in this read-only review. Review metrics: none identified. Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land this narrow Google Chat handler fix after the contributor adds redacted real behavior proof and current-head review/checks pass; keep broader restart-persistence decisions in #64664. Do we have a high-confidence way to reproduce the issue? Yes, source inspection gives a high-confidence reproduction path: current main releases the claimed token for every resolver error, and release only clears the in-flight marker, leaving the same stale binding retryable. I did not run a live Google Chat repro in this read-only review. Is this the best way to solve the issue? Yes. Handling terminal approval-not-found at the Google Chat card-token owner boundary is the narrowest maintainable fix, while leaving generic gateway failures retryable and avoiding a broader resolver behavior change for other submitters. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against c230ab3c924e. Label changesLabel justifications:
Evidence reviewedPR surface: Source +6, Tests +48. Total +54 across 2 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
|
|
This pull request has been automatically marked as stale due to inactivity. |
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: fix: consume stale google chat approval clicks This is item 1/1 in the current shard. Shard 2/22. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
Closing due to inactivity. |
Summary
APPROVAL_NOT_FOUNDCloses #98432.
Validation
node scripts/run-with-env.mjs OPENCLAW_VITEST_MAX_WORKERS=1 OPENCLAW_VITEST_NO_OUTPUT_TIMEOUT_MS=300000 -- node scripts/run-vitest.mjs run --config test/vitest/vitest.extension-messaging.config.ts googlechat/src/approval-card-click.test.ts -t "consumes stale approval card tokens when gateway reports approval not found" --reporter=verbose --testTimeout=30000node scripts/run-with-env.mjs OPENCLAW_VITEST_MAX_WORKERS=1 OPENCLAW_VITEST_NO_OUTPUT_TIMEOUT_MS=300000 -- node scripts/run-vitest.mjs run --config test/vitest/vitest.extension-messaging.config.ts googlechat/src/approval-card-click.test.ts -t "keeps the token retryable when gateway resolution fails" --reporter=verbose --testTimeout=30000node scripts/run-with-env.mjs OPENCLAW_VITEST_MAX_WORKERS=1 OPENCLAW_VITEST_NO_OUTPUT_TIMEOUT_MS=300000 -- node scripts/run-vitest.mjs run --config test/vitest/vitest.extension-messaging.config.ts googlechat/src/approval-card-click.test.ts --reporter=verbose --testTimeout=30000git diff --check