Skip to content

Summarize unmet Mergify candidate conditions on timeout - #1486

Merged
mergify[bot] merged 3 commits into
mainfrom
lean178/1458-bound-mergify-timeout
Nov 26, 2026
Merged

mergify[bot] merged 3 commits into
mainfrom
lean178/1458-bound-mergify-timeout

Conversation

@eowca

@eowca eowca commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Summarize unmet Mergify candidate conditions on timeout

  • Context: Closes Summarize unmet Mergify candidate conditions on timeout #1458. The output audit measured 8,495 bytes from one oversized candidate condition.
  • Problem: A timeout prints every label verbatim alongside the existing candidate link.
  • Goal: Keep the candidate link and timeout result. Show a byte-bounded condition preview and the number omitted.

Acceptance

  • Existing timeout fixture covers long and numerous conditions within 2 KiB.
  • The ordinary single-condition transcript remains useful and exit 3 is preserved.
  • Queue requests, membership and wait decisions are unaffected.

Base

29a3f88

Validation

Recorded for 5073306b940c

  • uv run --group dev ruff check src tests: exit 0
  • uv run --group dev tach check: exit 0
  • uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0
  • scripts/size_budget.sh: exit 0
  • uv run --group dev pytest -q: exit 0

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Review

Architecture-Review: unchanged; the timeout diagnostic keeps the same queue state, candidate link and verdict.

Co-Authored-By: Codex <noreply@openai.com>

@loopzero-feder-positronics loopzero-feder-positronics Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread tests/test_cli.py
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)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@eowca
eowca force-pushed the lean178/1458-bound-mergify-timeout branch from bf8d615 to b36d5a7 Compare November 26, 2026 03:38

@loopzero-feder-positronics loopzero-feder-positronics Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread tests/test_cli.py
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)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@eowca
eowca marked this pull request as ready for review November 26, 2026 07:01
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify

mergify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ Merged into main as 09fad5b at 07:10 UTC

7 min in the queue, 3 min of it CI.

So far

  • ✅ Entered the queue Thu 26 Nov, 07:03 · rule main · triggered by @eowca with the @mergifyio queue command
  • ✅ Passed · draft #1592
  • ✅ Merged 07:10 · 09fad5b · squash
3 merge conditions met
  • github-review-approved · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = checks
    • check-neutral = checks
    • check-skipped = checks
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = Loop-zero Eligibility
    • check-neutral = Loop-zero Eligibility
    • check-skipped = Loop-zero Eligibility

Times in UTC · dashboard · how the merge queue works

@mergify mergify Bot added the queued label Nov 26, 2026
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

No description provided.

@mergify
mergify Bot merged commit 09fad5b into main Nov 26, 2026
13 checks passed
@mergify mergify Bot removed the queued label Nov 26, 2026
@eowca
eowca deleted the lean178/1458-bound-mergify-timeout branch November 26, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Summarize unmet Mergify candidate conditions on timeout

1 participant