Repository navigation
Conversation
Co-Authored-By: Codex <noreply@openai.com>
|
The race replay pauses a real |
There was a problem hiding this comment.
loopzero primary review by claude on 71a500821d2118b85d871c05a2ad3b9b983a9992, 33.7s: approve (0 critical, 0 important, 2 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.
| @contextmanager | ||
| def _lock_pr_body(repo: str, number: int) -> Iterator[None]: | ||
| key = hashlib.sha256(f"{repo.casefold()}#{number}".encode()).hexdigest() | ||
| path = Path.home() / ".cache" / "loopzero" / "pr-bodies" / key |
There was a problem hiding this comment.
suggestion: Lock directories accumulate forever and ignore XDG_CACHE_HOME
Each repository and PR pair creates a permanent empty directory under ~/.cache/loopzero/pr-bodies/<sha256>, and nothing ever removes them. Over many PRs these pile up, though slowly and harmlessly. The path is also hard-coded to ~/.cache instead of respecting XDG_CACHE_HOME. Suggested fix: use os.environ.get('XDG_CACHE_HOME') or Path.home()/'.cache' as the base. Optionally, lock a single regular file per key, or accept the growth and note it in the docs.
| if body != (pr.body or "").replace("\r\n", "\n"): | ||
| github.update_body(config.repo, pr.number, body) | ||
| upstream = config_mod.run_git(wt, "rev-parse", "--abbrev-ref", "--symbolic-full-name", "@{upstream}") | ||
| if upstream.exit_code != 0: |
There was a problem hiding this comment.
suggestion: Check refresh now always makes an extra live PR read
_refresh_pr_checks now calls pr_for_branch outside the lock and then pr_view inside it. That makes every check on a pushed branch do two GitHub lookups, even when the body is unchanged; the updated test expectations show this. The re-read is needed for correctness under the lock, so this does not block the change. A future cleanup could drop the outer pr_for_branch body use and keep it only to find the PR number.
Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero delta review by claude on b22c4f57cf248523fce4ea1b49df0a633610564c, 6.7s: approve (0 critical, 0 important, 0 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.
Architecture-Review: unchanged; keep the separately documented PR body lock and main’s GitHub timestamp handling. Co-Authored-By: Codex <noreply@openai.com>
|
Conflict-only refresh after #1841 at |
There was a problem hiding this comment.
loopzero delta review by claude on f5ba6c08fc78d72d57fd64873785a64a0980d8e9, 8.7s: approve (0 critical, 0 important, 0 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.
|
@Mergifyio queue |
❌ Left the queue ·
|
|
No description provided. |
|
Parked at approved head |
|
The test cap has room after #1885 and #1886. A merge-tree against |
Preserve PR body sections across checkouts
Context and goal
Closes #1371
Acceptance
Base
Base: 3c2697f
Validation
Recorded for
f5ba6c08fc78uv 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