Repository navigation
fix: retain deliberate ClickClack omissions on delivery retries - #169509
Conversation
|
🦞👀 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: needs maintainer review before merge. What this changesThis PR preserves ClickClack’s explicit no-send result through both adapters so durable conversation operations remain suppressed on retries. Example: Send “
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Current main still misclassifies deliberate ClickClack omissions as uncertain deliveries, and this focused repair introduces no actionable defect. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherClickClack’s private text sender sanitizes outgoing text and passes delivery evidence through channel adapters to the shared queue and conversation-completion owners. flowchart TD
A[Gateway conversation send] --> B[Durable delivery queue]
B --> C[ClickClack adapter]
C --> D[Private text sender]
D --> E[ClickClack transport]
D --> F[Explicit no-send result]
F --> G[Suppressed conversation completion]
Technical reviewBest possible solution: Preserve explicit no-send evidence at the ClickClack sender and reuse the existing shared suppression and durable-completion contracts. Do we have a high-confidence way to reproduce the issue? Source inspection establishes the missing no-send marker and its uncertainty classification; the body reports failing-before and passing-after Gateway-path regressions, which were not rerun during this read-only review. Is this the best way to solve the issue? The repair fixes evidence at its producer, updates both consuming adapters, and preserves uncertainty for accepted provider responses lacking a message ID. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f9d2ebefe12f. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -3, Tests +76. Total +73 across 4 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes: No label 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 HistoryReview history (1 earlier review cycle)
Reviewed October 11, 2026, 9:44 PM ET / October 12, 2026, 01:44 UTC (Revision 2). |
|
Merged via squash.
|
What Problem This Solves
Fixes false delivery uncertainty when ClickClack intentionally omits text containing only internal scaffolding: the initial send reported suppression, but its durable conversation operation was recorded as unknown.
User Impact
Intentional omissions remain suppressed on later retries of the same conversation operation instead of being reported as unconfirmed sends.
Why This Change Was Made
The sender now distinguishes its deliberate no-send decision from an accepted provider response without a message ID. Both the message and legacy outbound adapters preserve that decision through durable completion. Malformed accepted responses remain ambiguous. Production code shrinks by three lines.
Evidence
unknowninstead ofsuppressed. The tests use the real ClickClack sender and SQLite queue/completion owners, and reject any HTTP request.--maxWorkers=1: 373.06 seconds wall time on a host running parallel checks; the conversation file took 171.41 seconds, and the two new boundary cases took 5.582 and 4.544 seconds. The filtered baseline took 83.63 seconds and failed both intended assertions.git diff --checkpassed.The no-effect sanitizer boundary needs no external API request or live credentials. No live ClickClack transport behavior is claimed by this proof.