Repository navigation
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: blocked before merge. Reviewed September 12, 2026, 5:26 PM ET / 21:26 UTC. ClawSweeper reviewWhat this changesPass the TLS certificate renewal monitor directly to the Gateway shutdown owner so its watchers and pending work are stopped correctly. Merge readiness⛔ Blocked before merge - 2 items remain The patch is correct, but the identical fix already reached main through #146412. The protected maintainer PR requires human disposition rather than automated closure. Priority: P2 Review scores
Verification
How this fits togetherThe Gateway monitors its configured TLS certificate files and refreshes running HTTPS listeners. Its lifetime owner stops background services during shutdown, including the certificate renewal monitor. flowchart TD
A[Configured certificate files] --> B[TLS renewal monitor]
B --> C[HTTPS listeners]
B --> D[Register shutdown handle]
E[Gateway shutdown] --> F[Lifetime owner]
D --> F
F --> G[Stop watchers and join pending work]
Decision needed
Why: The technical work is complete on main, but the maintainer protection requires explicit human disposition. Before merge
Agent review detailsSecurityNone. PR surfaceSource 0. Total 0 across 1 file. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Retain the merged shutdown-owner correction and consolidate this redundant branch with its canonical merged PR. Do we have a high-confidence way to reproduce the issue? No current-main failure was reproduced: source confirms the original argument mismatch, but fetched main already contains the correction. Is this the best way to solve the issue? Yes. Passing the existing handle directly restores the owner's established contract without adding another cleanup path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9b59fe4ef7da; fix evidence: commit b405e7f64410, main fix timestamp 2026-09-12T14:12:52-07:00. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
The identical one-line fix is already on main through #146412 ( |
Related: #130741
What Problem This Solves
TLS-enabled Gateway startup registers an array as a shutdown sidecar, so cleanup cannot call the renewal monitor's
stopmethod.User Impact
The TLS renewal monitor participates in normal Gateway shutdown without an invalid-sidecar error.
Why This Change Was Made
Pass the renewal handle directly to the existing variadic sidecar owner. Renewal scheduling and shutdown ownership remain unchanged.
Evidence
The original call produces TS2741 on the unchanged main source. The corrected call passes the core typecheck and all 140 focused TLS, sidecar-retention, startup, and shutdown tests. The full canonical changed gate and an isolated P1 review also pass.