Skip to content

Restore the off-diff suggestion regression proof - #1909

Merged
mergify[bot] merged 1 commit into
mainfrom
lean178/575-restore-off-diff-suggestion-proof
Nov 26, 2026
Merged

mergify[bot] merged 1 commit into
mainfrom
lean178/575-restore-off-diff-suggestion-proof

Conversation

@eowca

@eowca eowca commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Restore the off-diff suggestion regression proof

Context and goal

Base

Base: 6f34309

Validation

Recorded for 255b885b6b5e

  • 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, 255b885, approve

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 claude on 255b885b6b5e65d5cf97e8c97a44d7601c29b2c4, 17.0s: 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 tests/test_github.py
comments = comments_posted(gh)
assert [(c["path"], c["line"]) for c in comments] == [(path, 2), (path, 1)]
assert "Reviewer location src/a.py:3 is not in the diff" in comments[1]["body"]
assert "Off-diff suggestion" in review_payloads(gh)[0]["body"]

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: The no-inline-comment check depends on the exact comment list

The test proves that the suggestion is not posted inline only because of the existing exact-list check on line 483 ([(path, 2), (path, 1)]). The test still catches the regression today: if a non-blocking off-diff finding were anchored, review_payloads in src/loopzero/github.py:943-954 would add a third entry. But that link is easy to miss, and a later edit that loosens line 483 would silently drop the proof the task asks for. Optionally make it explicit with an assertion such as assert all("Off-diff suggestion" not in c["body"] for c in comments). This is non-blocking.

@eowca
eowca marked this pull request as ready for review November 26, 2026 13:52
@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 · Loop-zero Eligibility failed

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

So far

  • ✅ Entered the queue Thu 26 Nov, 13:54 · rule main · triggered by @eowca with the @mergifyio queue command
  • ❌ Checks failed · draft #1916
  • 🚫 Left the queue 13:55 · 255b885

Not proven to be this pull request's failure. It failed on top of the pull requests ahead of it, and was not tested alone.

Reason

The merge conditions cannot be satisfied due to failing checks

  • Loop-zero Eligibility

Failing checks:

  • ❌ Loop-zero Eligibility

To get back in the queue

  • If the failure comes from the pull requests it was tested with, or is a flake, comment @mergifyio queue to queue it again as it is.
  • If it is this pull request's, push a fix: the pull request is queued again once its queue conditions match.

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

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.

@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 20fa3f2 at 14:03 UTC

5 min in the queue, 4 min of it CI.

So far

  • ✅ Entered the queue Thu 26 Nov, 13:58 · rule main · triggered by @eowca with the @mergifyio queue command
  • ✅ Passed · draft #1918
  • ✅ Merged 14:03 · 20fa3f2 · 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

@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

No description provided.

@mergify
mergify Bot merged commit 20fa3f2 into main Nov 26, 2026
26 checks passed
@mergify mergify Bot removed the queued label Nov 26, 2026
@eowca
eowca deleted the lean178/575-restore-off-diff-suggestion-proof branch November 26, 2026 14:05
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.

1 participant