René's URL Explorer Experiment


Title: [bug] Invited user still shows up in Pending requests · Issue #337 · sourcebot-dev/sourcebot · GitHub

Open Graph Title: [bug] Invited user still shows up in Pending requests · Issue #337 · sourcebot-dev/sourcebot

X Title: [bug] Invited user still shows up in Pending requests · Issue #337 · sourcebot-dev/sourcebot

Description: Describe the bug Using the default authentication mechanism. After having invited a user and this user having logged in successfully, as a owner I still see the user in "Pending requests". When clicking "Approve", I get an error in the U...

Open Graph Description: Describe the bug Using the default authentication mechanism. After having invited a user and this user having logged in successfully, as a owner I still see the user in "Pending requests". When cli...

X Description: Describe the bug Using the default authentication mechanism. After having invited a user and this user having logged in successfully, as a owner I still see the user in "Pending requests"...

Opengraph URL: https://github.com/sourcebot-dev/sourcebot/issues/337

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[bug] Invited user still shows up in Pending requests","articleBody":"### Describe the bug\n\nUsing the default authentication mechanism.\n\nAfter having invited a user and this user having logged in successfully, as a owner I still see the user in \"Pending requests\".\n\nWhen clicking \"Approve\", I get an error in the UI:\n\n![Image](https://github.com/user-attachments/assets/5badddc7-a7cc-4a5d-a378-0dc0b17889e0)\n\nErrors logs:\n```\n[web] | 2025-06-06T16:12:47.053Z error: [web-actions]\n[web] | Invalid `prisma.userToOrg.create()` invocation:\n[web] |\n[web] |\n[web] | Unique constraint failed on the fields: (`orgId`,`userId`)\n[web] | PrismaClientKnownRequestError:\n[web] | Invalid `prisma.userToOrg.create()` invocation:\n[web] |\n[web] |\n[web] | Unique constraint failed on the fields: (`orgId`,`userId`)\n[web] |     at Vn.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:121:7339)\n[web] |     at Vn.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/library.js:121:6663)\n[web] |     at Vn.request (/app/node_modules/@prisma/client/runtime/library.js:121:6370)\n[web] |     at async l (/app/node_modules/@prisma/client/runtime/library.js:130:9617)\n[web] |     at async /app/packages/web/.next/server/chunks/616.js:1:58882\n[web] |     at async Proxy._transactionWithCallback (/app/node_modules/@prisma/client/runtime/library.js:130:7984)\n[web] |     at async /app/packages/web/.next/server/chunks/616.js:1:58760\n[web] |     at async es (/app/packages/web/.next/server/chunks/616.js:1:38506)\n[web] |     at async /app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:418\n[web] |     at async rE (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:15:8148)\n```\n\nIt doesn't seem to cause any actual issue, just the request stays as pending.\n\n\n### Sourcebot deployment information\n\nSourcebot version (e.g. v3.0.1): v4.1.1\n","author":{"url":"https://github.com/gaeljw","@type":"Person","name":"gaeljw"},"datePublished":"2025-06-06T16:13:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/337/sourcebot/issues/337"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1afbfffc-17a2-633e-21f9-b63f5b69e528
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDCD8:3DC17:65422E:8D045A:6A538511
html-safe-nonce6f50f5310184fe6a4c63345643bef2414fcc412c334c17f5f72d1b61cc4dcd26
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0Q4OjNEQzE3OjY1NDIyRTo4RDA0NUE6NkE1Mzg1MTEiLCJ2aXNpdG9yX2lkIjoiNzM0OTQ1MzU2NTQ3MzI3MjQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace3d38bdfaa5a8ea2a8dcc9a4773d9c303a5011ebcc5eff3633a450fc048a7d94
hovercard-subject-tagissue:3125228596
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sourcebot-dev/sourcebot/337/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8aa9a6aeae803b3be327b96b72974cbff1a89a80b5cd15553c223eae329c6e1f/sourcebot-dev/sourcebot/issues/337
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8aa9a6aeae803b3be327b96b72974cbff1a89a80b5cd15553c223eae329c6e1f/sourcebot-dev/sourcebot/issues/337
og:image:altDescribe the bug Using the default authentication mechanism. After having invited a user and this user having logged in successfully, as a owner I still see the user in "Pending requests". When cli...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegaeljw
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
go-importgithub.com/sourcebot-dev/sourcebot git https://github.com/sourcebot-dev/sourcebot.git
octolytics-dimension-user_id135396723
octolytics-dimension-user_loginsourcebot-dev
octolytics-dimension-repository_id846729675
octolytics-dimension-repository_nwosourcebot-dev/sourcebot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id846729675
octolytics-dimension-repository_network_root_nwosourcebot-dev/sourcebot
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sourcebot-dev/sourcebot/issues/337#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fissues%2F337
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fissues%2F337
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=sourcebot-dev%2Fsourcebot
Reloadhttps://github.com/sourcebot-dev/sourcebot/issues/337
Reloadhttps://github.com/sourcebot-dev/sourcebot/issues/337
Reloadhttps://github.com/sourcebot-dev/sourcebot/issues/337
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/issues/337
sourcebot-dev https://github.com/sourcebot-dev
sourcebothttps://github.com/sourcebot-dev/sourcebot
Notifications https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Fork 319 https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Star 3.6k https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Code https://github.com/sourcebot-dev/sourcebot
Issues 92 https://github.com/sourcebot-dev/sourcebot/issues
Pull requests 39 https://github.com/sourcebot-dev/sourcebot/pulls
Discussions https://github.com/sourcebot-dev/sourcebot/discussions
Actions https://github.com/sourcebot-dev/sourcebot/actions
Security and quality 0 https://github.com/sourcebot-dev/sourcebot/security
Insights https://github.com/sourcebot-dev/sourcebot/pulse
Code https://github.com/sourcebot-dev/sourcebot
Issues https://github.com/sourcebot-dev/sourcebot/issues
Pull requests https://github.com/sourcebot-dev/sourcebot/pulls
Discussions https://github.com/sourcebot-dev/sourcebot/discussions
Actions https://github.com/sourcebot-dev/sourcebot/actions
Security and quality https://github.com/sourcebot-dev/sourcebot/security
Insights https://github.com/sourcebot-dev/sourcebot/pulse
#352https://github.com/sourcebot-dev/sourcebot/pull/352
[bug] Invited user still shows up in Pending requestshttps://github.com/sourcebot-dev/sourcebot/issues/337#top
#352https://github.com/sourcebot-dev/sourcebot/pull/352
https://github.com/msukkari
bugSomething isn't workinghttps://github.com/sourcebot-dev/sourcebot/issues?q=state%3Aopen%20label%3A%22bug%22
triage neededhttps://github.com/sourcebot-dev/sourcebot/issues?q=state%3Aopen%20label%3A%22triage%20needed%22
https://github.com/gaeljw
gaeljwhttps://github.com/gaeljw
on Jun 6, 2025https://github.com/sourcebot-dev/sourcebot/issues/337#issue-3125228596
https://private-user-images.githubusercontent.com/18280708/452382920-5badddc7-a7cc-4a5d-a378-0dc0b17889e0.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM4NTg3NDksIm5iZiI6MTc4Mzg1ODQ0OSwicGF0aCI6Ii8xODI4MDcwOC80NTIzODI5MjAtNWJhZGRkYzctYTdjYy00YTVkLWEzNzgtMGRjMGIxNzg4OWUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzEyVDEyMTQwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEyYmZhODg0ZDczMWIzZWEzYjI3ZTVjMTczOTA5MGY1YTM5ZjVjNGNiNmFiYTE0MDVmMzBmZTcxNDI0MTc0MzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.FO-nUIgd34PYHsGxRZF1Oht_-70H2_Q7QewWlVPGpuw
msukkarihttps://github.com/msukkari
bugSomething isn't workinghttps://github.com/sourcebot-dev/sourcebot/issues?q=state%3Aopen%20label%3A%22bug%22
triage neededhttps://github.com/sourcebot-dev/sourcebot/issues?q=state%3Aopen%20label%3A%22triage%20needed%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.