Repository navigation
Conversation
`history` and `run` sent `--repo owner/name` as one encoded path segment (`owner%2Fname`). The server addresses pull-request runs by the repository's own name, so `history` reported no runs for a pull request that had them and `run` returned 404. This affected the documented form and the default taken from the git remote. The owner/name is now checked against the repositories with reviews, and only the name is sent. Another owner's repository of the same name is refused. A bare name is still sent as given. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XSEfqvPGJbbk5j8rGSup7H
Member
|
Codex Closing as superseded: the repository-routing fix is already on main. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
proofline history --repo owner/name --pr Nandproofline run --repo owner/name --pr N --run M, the forms the README documents, don't work against the live server:history --repo fsodretest/cli --pr 1items: [], so the PR appears to have no runsrun --repo fsodretest/cli --pr 1 --run 1review not foundThe CLI sent
owner/nameas one percent-encoded path segment (/reviews/pr/fsodretest%2Fcli/1). The server addresses pull-request runs by the repository's own name (/reviews/pr/cli/1), the same segment the console uses in its run URLs.historytherefore silently reported no runs for a pull request that had them. Omitting--repohit the same bug, because the name taken from the git remote is alsoowner/name.Fix
historyandruncheckowner/nameagainst the repositories with reviews, using the existingreviewed_repositorylookup thatfindings --prrelies on, and send onlyname.--repo nameis still sent as given, without a lookup, so anyone already using that workaround is unaffected.Tests
pull_request_runs_name_the_repository_without_its_owner(tests/http.rs) checks the exact request path forhistoryandrunwithowner/name, with a bare name, and with a name whose letter case differs from the server's. It also checks that a mismatched owner exits 1 without requesting any pull-request path. The test fails onmain(the request goes to/reviews/pr/acme%2Fweb/7) and passes with the fix.native_tools_keep_tenant_paths_and_reruns_make_one_attemptnow serves the review list thathistoryreads first.history --remote <remote> --pr 1, and the refusal for--repo other/cli.cargo fmt --check,cargo clippy --locked --all-targets -- -D warnings,cargo test --lockedandcargo deny checkall pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01XSEfqvPGJbbk5j8rGSup7H