Skip to content

fix: the inbox opens a review at its diff, not at the empty working tree - #85

Merged
fiddur merged 2 commits into
developfrom
inbox-open-ref
Sep 3, 2026
Merged

fix: the inbox opens a review at its diff, not at the empty working tree#85
fiddur merged 2 commits into
developfrom
inbox-open-ref

Conversation

@fiddur

@fiddur fiddur commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

The inbox's /open/:id redirected to the session's bare root URL. The UI redirects / to /diff, and /diff without a ref shows the working-tree diff — empty for a clean worktree at the PR head. The page said "No changes found", and the imported findings sat in the base-sha session the page never looked at.

The open path now sends the browser to /diff?ref=<base sha>, the same URL shape the CLI itself opens. Bumps to 0.10.11.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Bwp5QefjsjMFeq6CK6cT6w

fiddur and others added 2 commits September 3, 2026 10:14
The open redirect pointed at the session's bare root. The UI sends that to /diff, and
/diff without a ref shows the working-tree diff, which is empty for a clean worktree at
the pull request's head — so the page said "No changes found" while the imported
findings sat in the base-sha session it never looked at. The redirect now carries
/diff?ref=<base sha>, the URL shape the CLI itself opens.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bwp5QefjsjMFeq6CK6cT6w
Nothing imports it; the tests reach it through openPreparedSession and the open route.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bwp5QefjsjMFeq6CK6cT6w
@fiddur
fiddur marked this pull request as ready for review September 3, 2026 08:20
@fiddur
fiddur merged commit 53b4a7e into develop Sep 3, 2026
2 checks passed
@fiddur
fiddur deleted the inbox-open-ref branch September 3, 2026 08:20
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