Skip to content

Report only changes while required checks settle - #1342

Closed
eowca wants to merge 3 commits into
mainfrom
lean178/1085-wait-output
Closed

eowca wants to merge 3 commits into
mainfrom
lean178/1085-wait-output

Conversation

@eowca

@eowca eowca commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Report only changes while required checks settle

Context and goal

  • Goal: Show initial blockers and subsequent changes during ready and merge waits.
  • Problem: With staggered completions, the CLI repeats all still-pending checks on each poll.
  • Context: Both commands already share a waiter. This patch leaves its polling and deadlines in place.

Closes #1085

Acceptance

  • The first observation lists blockers. Later observations report changed and cleared checks. Stable polls are quiet.
  • Preserve stale-verdict and missing-workflow guidance, the head-change diagnostic, timeout and head, the ready PR URL, and merge SHA.
  • Both commands emit fewer than 3,200 UTF-8 bytes for a fake PR with 24 staggered completions.

Transcript size

Combined stdout and stderr on baseline 234ac2e0 and this change.

Scenario Before After
Ready wait, 24 staggered completions 21,425 bytes 3,087 bytes
Merge wait, 24 staggered completions 21,420 bytes 3,082 bytes
Either wait, stable checks through timeout 1,929 bytes 1,929 bytes

Notes

Base

Base: aa563c2

Validation

Recorded for f80a804986b5 (not current head) (unverified, run loopzero check)

  • 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

  • primary, claude, 89a3131, approve

Co-Authored-By: Codex <noreply@openai.com>
@eowca
eowca force-pushed the lean178/1085-wait-output branch from ad96ac7 to 89a3131 Compare November 26, 2026 01:51

@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 claude on 89a3131f17606d35d312d0cda05523cc0f2b2e58, 30.9s: approve (0 critical, 0 important, 1 suggestion)

Settings per native call (launch configuration and CLI claims, not backend attestation):

  • Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)

Native Claude output is retained in the restricted local review receipt.

Comment thread src/loopzero/cli.py
previous, current = by_check(shown), by_check(pending)
if changed := [reason for key, reason in current.items() if previous.get(key) != reason]:
print("waiting: " + "; ".join(changed))
if cleared := [key.removeprefix("required check '") for key in previous if key not in current]:

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: Non-check reasons get unclear cleared: labels

by_check uses the whole reason as the key when the reason has no ' separator. MERGEABILITY_PENDING ("GitHub is computing mergeability") is one such reason, and so is any reason inherited from the marked ready; ... reasons. When one of these goes away, the output reads cleared: GitHub is computing mergeability, which sounds like the computation is still running rather than finished. It has a different shape from the cleared: <check name> lines, and no test covers it. Smallest fix: in cleared, map MERGEABILITY_PENDING to a short label such as mergeability, or build the key and label in one helper so check names and other reasons are handled explicitly.

@eowca
eowca marked this pull request as ready for review November 26, 2026 03: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

❌ Left the queue · checks fails with this pull request

1 min in the queue, less than a minute of it CI.

So far

  • ✅ Entered the queue Thu 26 Nov, 03:03 · rule main · triggered by @eowca with the @mergifyio queue command
  • ❌ Checks failed · draft #1449
  • 🚫 Left the queue 03:04 · f80a804

The failure is in this pull request. It failed tested alone on top of main.

Reason

The merge conditions cannot be satisfied due to failing checks

  • checks

Failing checks:

To get back in the queue

  • Push a fix: the pull request is queued again once its queue conditions match.
  • If the failure is a flake, comment @mergifyio queue to queue it again as it is.

Merge conditions not met when it left the queue

  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-neutral = checks
    • check-skipped = checks
    • check-success = checks
2 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 = Loop-zero Eligibility
    • check-neutral = Loop-zero Eligibility
    • check-skipped = Loop-zero Eligibility

Times in UTC · dashboard · how the merge queue works

Architecture-Review: unchanged; the existing delivery structure and command roles still apply.
Co-Authored-By: Codex <noreply@openai.com>
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #1747. Loop Zero cannot review the conflict-resolution merge in the remaining delta (#1240), so the replacement carries the same fix on current main for a primary review.

@eowca eowca closed this Nov 26, 2026
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.

Report only changes in pending checks during ready and merge waits

1 participant