Add extensions developer GitHub reverify endpoint - #168
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
api | af302ed | Commit Preview URL Branch Preview URL |
Jul 30 2026, 09:51 AM |
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 11 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
…ookup A transfer/claim landing between reverifyOwn's initial ownership lookup and its update could let the write land using the former owner's GitHub identity after the profile had already changed hands. Re-assert ownership in the update's WHERE clause (matching upsertOwn's existing pattern) and return 409 if it affects zero rows. Claude-Session: https://claude.ai/code/session_014dzTSwUW78Qipx7sYH2dgD
Contributor
There was a problem hiding this comment.
0 issues found across 3 files (changes from recent commits).
Requires human review: Includes a database migration (adds developers.github_verified_at column). Schema changes require human sign-off.
Re-trigger cubic
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 by cubic
Adds POST
/extensions/v2/developers/me/reverifyso a developer owner can re-check their GitHub match and updatesgithub_org_verified,github_verification_note, and the newgithub_verified_attimestamp. Also improves moderator views with owner/claimant context and propagates claim verification onto the developer on approval.New Features
/extensions/v2/developers/me/reverify: recomputes verification from the caller’s linked GitHub identity, returns the updatedDeveloperProfile, 404 if the caller has no profile, 409 if ownership changed mid-request.developers.github_verified_atfield: set on creation, reverify, and when approving a claim; claim verification is copied to the developer during approval.listAll/listUnapprovedincludeunclaimed,owner_name, andowner_github_login; pending claims includeclaimant_nameandclaimant_github_login; history entries includechanged_by_name. These fields are omitted from the public schema.Migration
0015_add_developer_github_verified_at.sqlto adddevelopers.github_verified_at.userstable/view includes anamecolumn, since moderator queries now select it.Written for commit af302ed. Summary will update on new commits.