Repository navigation
fix: link to repo root instead of 404ing /stargazers page - #8756
Merged
Merged
Conversation
Contributor
📝 WalkthroughWalkthroughUpdated GitHub star web-fallback handling in the landing and general support components. Both flows now replace the 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
GitHub's stargazers page returns 404 for users without repo write access, so the web-fallback star flow in the landing screen and General settings sent most users to a broken link. Point both at the repo root instead. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Contributor
|
thanks alot for this one! Yeah they rm'd that page |
Contributor
|
Thanks so much for this, @katspaugh — link to repo root instead of 404ing /stargazers page. Reviewed, rebased on latest |
Contributor
Author
|
Thank you too! Love Orca! |
This was referenced Jul 27, 2026
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
) Co-authored-by: Claude Sonnet 5 <[email protected]>
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.
Summary
Fixes the "Star Orca on GitHub" web-fallback button, which sent users to a page that 404s for anyone without repo write access.
ELI5
The "star us on GitHub" button opened a page that showed an error for most people. Now it opens the normal Orca repo page, which works for everyone.
Root cause & fix
The web-fallback star handlers on the Landing screen and General settings linked to
https://github.com/stablyai/orca/stargazers, a URL that returns a 404 for users without write access to the repo. The fix swaps the hardcoded constantORCA_STARGAZERS_URLforORCA_GITHUB_URL(https://github.com/stablyai/orca) in bothLanding.tsxandGeneralSupportSection.tsx. Same button, label, and copy — only the destination URL changes, so the user still lands on a working page and can click Star themselves.Evidence
Validated & rebased onto latest main during a bug-bash triage on 2026-07-23. Rebase onto
origin/mainwas clean. This was validated by code inspection (no unit tests apply to a static string swap):grepconfirms no remainingstargazersURL references (only in explanatory comments).window.api.shell.openUrl— no logic or control-flow change, and platform-agnostic..../stargazersreturns 404 and the repo root returns 200.Lint clean:
Trade-offs
None — pure fix.
Regression risk
Effectively zero. The only change is the value of two destination-URL constants; no control flow, no other call sites, and non-affected paths are byte-identical. The open-URL mechanism is untouched, so no platform, SSH, or git-provider behavior is affected.
Credit to original author @katspaugh. Validated, rebased, and (where applicable) hardened via automated bug-bash review; original fix design preserved.