Repository navigation
Summarize unmet Mergify candidate conditions on timeout - #1486
Conversation
Architecture-Review: unchanged; the timeout diagnostic keeps the same queue state, candidate link and verdict. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by codex on 44fa248898d0606505eb099f036166764878930e, 22.8s: 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: 2efbc506acec4650ebeac13f805660c58b7cb857413c689b67a4786906e3370a
| assert (code, err) == (3, "") and f"https://github.com/{REPO}/pull/42" in out | ||
| assert (MERGIFY_QUEUE_FIXTURE["candidate_condition"] in out) == (result == "blocking") | ||
| assert "failed" not in out and "check-success = checks" not in out | ||
| assert len(out.encode()) < 2048 and ("27 more" in out) == (extra == 30) |
There was a problem hiding this comment.
suggestion: Assert that the oversized condition retains a readable preview
The size and omission-count assertions would still pass if every oversized label rendered as an empty string. In the extra == 1 case, also assert that the output contains a prefix of the multibyte label followed by the truncation marker. This directly covers the preview users see.
Co-Authored-By: Codex <noreply@openai.com>
bf8d615 to
b36d5a7
Compare
There was a problem hiding this comment.
loopzero delta review by codex on b36d5a7c71802ff4ab375bfaf23227a77ac0185d, 11.9s: 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: 366e6132433ae905b93ceca150727bd29a498f5eee744d520f1957eff2521181
| assert (code, err) == (3, "") and f"https://github.com/{REPO}/pull/42" in out | ||
| assert (MERGIFY_QUEUE_FIXTURE["candidate_condition"] in out) == (result in {"blocking", "long", "many"}) | ||
| assert "failed" not in out and "check-success = checks" not in out | ||
| assert len(out.encode()) < 2048 and ("27 more" in out) == (extra == 30) |
There was a problem hiding this comment.
suggestion: Check that the oversized condition has a visible preview
In the long case, the condition asserted here is the original short one. Silently dropping the oversized label would still satisfy the byte limit and pass this case. Assert that 界 appears in the output for long so the test covers both the preview and its size bound.
|
@Mergifyio queue |
✅ Merged into
|
|
No description provided. |
Summarize unmet Mergify candidate conditions on timeout
Acceptance
Base
29a3f88
Validation
Recorded for
5073306b940cuv run --group dev ruff check src tests: exit 0uv run --group dev tach check: exit 0uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0scripts/size_budget.sh: exit 0uv run --group dev pytest -q: exit 0Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Review