Repository navigation
Conversation
Architecture-Review: unchanged; the existing HTTP requests retain their endpoints, credentials, and failure paths while using an attempt-wide deadline. Co-Authored-By: Codex <noreply@openai.com>
Architecture-Review: unchanged; restore main Mergify test setup and retain the separate deadline regression. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by codex on 04a8622008c199bd00c17c7f7c2fe06e9a265160, 87.7s: request_changes (0 critical, 2 important, 1 suggestion)
Same-family fallback: independent reviewers failed: claude: not authenticated. Cross-family review is preferred.
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model gpt-6.2-astra (effort medium); CLI-reported model gpt-6.2-astra (effort medium); configured model gpt-6.2-astra (effort medium)
Raw reviewer output
Native Codex transcript retained in the restricted local review receipt; public evidence is publisher-derived, not backend attestation. Exact raw SHA256: 7c95919f78d13ac4e35f68b9f80d0389a07e7e683abdd84cf9aa539dd48e8411
| pytest.raises(TimeoutError, match="Mergify HTTP request timed out"), | ||
| mergify._open(urllib.request.Request("https://example.invalid")), | ||
| ): | ||
| expire() |
There was a problem hiding this comment.
suggestion: Exercise the success-body read through api_get
The body case raises the signal directly inside _open without reading the response. It would still pass if api_get moved json.load outside the deadline. Have the fake response raise the signal from read() and call api_get with retry sleeps stubbed out. That also checks the transport error seen by the caller.
Architecture-Review: unchanged; retain the existing wait and failure interfaces while covering their boundary cases. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero delta review by codex on 7147cfa9e8fe37a52d6da53308090287482e2a89, 74.7s: approve (0 critical, 0 important, 1 suggestion)
Same-family fallback: independent reviewers failed: claude: not authenticated. Cross-family review is preferred.
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model gpt-6.2-astra (effort medium); CLI-reported model gpt-6.2-astra (effort medium); configured model gpt-6.2-astra (effort medium)
Raw reviewer output
Native Codex transcript retained in the restricted local review receipt; public evidence is publisher-derived, not backend attestation. Exact raw SHA256: e771d9d43c39d319b712033cd8ba08f4af37a8f17a3dfcf426a0da4598fd6418
|
|
||
|
|
||
|
|
||
| def test_request_deadline_stops_address_fallback(monkeypatch): |
There was a problem hiding this comment.
suggestion: Exercise both deadline regressions through the account helper
The address-fallback and interrupted-disarm tests both exercise mergify._open. The standalone account _http implements the same logic independently. Its existing error-body test would still pass if address fallback swallowed its timeout or an interruption during disarming left its handler installed. Reuse the two offline scenarios against _http, checking the attempted addresses and restored handler.
|
The 60-line reserve was released after #1731 merged. At main Local resolution The approved remote head remains After #1790 landed, a second test-placement conflict appeared in |
Bound standalone urllib response reads by wall clock
Context and goal
Closes #1666
Acceptance
Validation
(no
loopzero checkrun recorded)Review
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Superseded by #1837, merged as
9f42663a. #1666 is closed.