feat(web): derive pull request navigation paths - #28
Conversation
|
@coderabbitai full review |
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe pull request adds dependency navigation logic for pull requests. It models explicit navigation states, resolves confirmed and candidate relationships, builds bounded paths, detects cycles and ambiguity, exposes native dependency data, and adds comprehensive tests. ChangesPull request dependency navigation
Estimated code review effort: 3 (Moderate) | ~25 minutes Merge Risk: ⚪ Minimal · up to This adds bounded pull-request dependency navigation with explicit states for incomplete or unavailable data. Current coverage includes the new graph and edge cases, with no concrete merge-blocking risk identified. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
f904f5d to
76bdd7a
Compare
|
@coderabbitai full review |
✅ Action performedFull review finished. |
76bdd7a to
c244d83
Compare
|
@coderabbitai review Please review the latest head after the verified findings were fixed and the stack was rebased. The focused fixes passed 296 tests and targeted lint; web typechecking passed. Server typechecking matches the eight errors on the pristine Gitea parent, with no new errors. |
Rate Limit Exceeded
|
|
@coderabbitai review |
|
c244d83 to
e491092
Compare
|
@coderabbitai review |
|
e491092 to
031e03f
Compare
|
@coderabbitai review |
|
031e03f to
294dec3
Compare
|
@coderabbitai review |
|
294dec3 to
7202e0f
Compare
|
@coderabbitai review |
|
7202e0f to
a7ab29a
Compare
|
@coderabbitai review |
|
a7ab29a to
0ac4ea1
Compare
|
@coderabbitai review |
|
|
@coderabbitai approve |
✅ Action performedComments resolved. Approval is disabled; enable |
0ac4ea1 to
58c3938
Compare
|
@coderabbitai review |
|
@coderabbitai approve |
|
✅ Action performedComments resolved and changes approved. |
What Changed
Derive the navigator view model from dependency context: a bounded chain around the focus, explicit sibling and candidate choices, cycle stops, partial states, and separate native membership. Tests cover long chains, ambiguous ancestors, unavailable reads, and older servers.
Why
The renderer needs one consistent, conservative navigation model so uncertain relationships never become a guessed previous or next PR.
Stack step 5/7. Builds on #27.
Validation: focused tests and scoped lint passed for the implementation and review fixes, including 56 Gitea API, 15 topology, 113 service, and 11 navigation tests after the latest changes. Contracts, client-runtime, and web typechecks passed. Server typechecking reports eight Gitea errors, all reproduced on pristine parent
85dd52877, with no new errors.Checklist
Models and harnesses: GPT-5.6 Terra (medium) in Codex; UI design and source review by Claude Fable 5.1 via Claude Code.
Summary by CodeRabbit
New Features
Tests