Repository navigation
Fix the app treating organization commits and bio tags as someone else's - #208
Open
shanesmithdev wants to merge 3 commits into
Open
shanesmithdev wants to merge 3 commits into
shanesmithdev wants to merge 3 commits into
Conversation
shanesmithdev
marked this pull request as ready for review
November 23, 2026 07:47
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.
Status: Ready for review. Not blocked by anything.
The /dev/null web application counts a commit as yours when you wrote it, or when an organization you're a member of posted it. The app only checked whether you wrote the commit, and treated organization commits as someone else's instead.
On your own organization's commits, the app offered the wrong actions:
Pin to profile stays only on commits you wrote, since devnull only lets the author pin their personal commits.
The app learns your organizations from
GET /me, which already lists them.Account::owns()is now the one place within the app code that decides whether a commit is yours.Separately, a person's bio and company field can tag users and organizations, like
@NativePHP. Those always opened on GitHub, but we have organization profiles in devnull now so we should open those pages instead.devnull's profile response says which of those handles are on devnull (
bio_profiles), so we can easily detect whether to open the organization profile or continue opening GitHub. This matches how the web app works.Review
An independent review found one bug, now fixed: the Quote button showed on a pending organization commit, but tapping it did nothing. It also noted:
/meonce after signing in, your organization's commits still look like someone else's. It's only what's shown, as devnull checks every action.bio_profilescan include developers who haven't joined devnull yet. Tapping one opens the "isn't on /dev/null yet" page, as on the web, rather than GitHub.Screenshots
Star on a commit from your organization (PHPxADL)
More on a commit from your organization
An organization tagged in a bio (@shanesmithdev's, tapping @PHPxADL)
An organization tagged in a company field (@simonhamp's, tapping @NativePHP)
Polls: no screenshots. The fix only shows on a poll that another member of your organization posted, which you haven't voted on. devnull shows a poll's results to whoever posted it, so on a poll you posted yourself, before and after both show the results with no Vote button. There wasn't such a poll to capture.
PollVoteTestcovers it.