René's URL Explorer Experiment


Title: feat: Abort compiler when rpc fails as unauthenticated by andrewmbenton · Pull Request #2887 · sqlc-dev/sqlc · GitHub

Open Graph Title: feat: Abort compiler when rpc fails as unauthenticated by andrewmbenton · Pull Request #2887 · sqlc-dev/sqlc

X Title: feat: Abort compiler when rpc fails as unauthenticated by andrewmbenton · Pull Request #2887 · sqlc-dev/sqlc

Description: I took the approach of adding an exported error from the rpc package to describe what happened, rather than adding an error like ErrAbort which describes an expected outcome.

Open Graph Description: I took the approach of adding an exported error from the rpc package to describe what happened, rather than adding an error like ErrAbort which describes an expected outcome.

X Description: I took the approach of adding an exported error from the rpc package to describe what happened, rather than adding an error like ErrAbort which describes an expected outcome.

Opengraph URL: https://github.com/sqlc-dev/sqlc/pull/2887

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:35aa8ed0-209c-716c-5c14-cf25703f8c59
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F38:9C6CC:2A72866:3C55836:6A510D31
html-safe-nonce32ab8add76ae319140ea87f9d4f6f4a335b4419ef6e4e134128ea1e1213a5e1f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjM4OjlDNkNDOjJBNzI4NjY6M0M1NTgzNjo2QTUxMEQzMSIsInZpc2l0b3JfaWQiOiI3Mzc0NTY2MTY3MzYzNTIxODQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6ac189450484576f06783994c6abaf27ad9b5fedd5513da034347b2d49daadb6
hovercard-subject-tagpull_request:1565239756
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/sqlc-dev/sqlc/pull/2887/files
twitter:imagehttps://avatars.githubusercontent.com/u/100479?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/100479?s=400&v=4
og:image:altI took the approach of adding an exported error from the rpc package to describe what happened, rather than adding an error like ErrAbort which describes an expected outcome.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb076e100febaa00374cd89239f915d00dd3187f7c68b12bc2b7688181305344d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git
octolytics-dimension-user_id136738596
octolytics-dimension-user_loginsqlc-dev
octolytics-dimension-repository_id193160679
octolytics-dimension-repository_nwosqlc-dev/sqlc
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id193160679
octolytics-dimension-repository_network_root_nwosqlc-dev/sqlc
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2d129404fc45ea64edb1b98567c53e55b395536f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sqlc-dev/sqlc/pull/2887/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F2887%2Ffiles
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%2Fsqlc-dev%2Fsqlc%2Fpull%2F2887%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=sqlc-dev%2Fsqlc
Reloadhttps://github.com/sqlc-dev/sqlc/pull/2887/files
Reloadhttps://github.com/sqlc-dev/sqlc/pull/2887/files
Reloadhttps://github.com/sqlc-dev/sqlc/pull/2887/files
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/2887/files
sqlc-dev https://github.com/sqlc-dev
sqlchttps://github.com/sqlc-dev/sqlc
Notifications https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc
Fork 1.1k https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc
Star 18k https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc
Code https://github.com/sqlc-dev/sqlc
Issues 597 https://github.com/sqlc-dev/sqlc/issues
Pull requests 106 https://github.com/sqlc-dev/sqlc/pulls
Discussions https://github.com/sqlc-dev/sqlc/discussions
Actions https://github.com/sqlc-dev/sqlc/actions
Projects https://github.com/sqlc-dev/sqlc/projects
Security and quality 0 https://github.com/sqlc-dev/sqlc/security
Insights https://github.com/sqlc-dev/sqlc/pulse
Code https://github.com/sqlc-dev/sqlc
Issues https://github.com/sqlc-dev/sqlc/issues
Pull requests https://github.com/sqlc-dev/sqlc/pulls
Discussions https://github.com/sqlc-dev/sqlc/discussions
Actions https://github.com/sqlc-dev/sqlc/actions
Projects https://github.com/sqlc-dev/sqlc/projects
Security and quality https://github.com/sqlc-dev/sqlc/security
Insights https://github.com/sqlc-dev/sqlc/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsqlc-dev%2Fsqlc%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc%2Fissues%2Fnew%2Fchoose
kyleconroyhttps://github.com/kyleconroy
mainhttps://github.com/sqlc-dev/sqlc/tree/main
andrew/analyzer-aborthttps://github.com/sqlc-dev/sqlc/tree/andrew/analyzer-abort
Conversation 0 https://github.com/sqlc-dev/sqlc/pull/2887
Commits 3 https://github.com/sqlc-dev/sqlc/pull/2887/commits
Checks 0 https://github.com/sqlc-dev/sqlc/pull/2887/checks
Files changed https://github.com/sqlc-dev/sqlc/pull/2887/files
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/2887/files
feat: Abort compiler when rpc fails as unauthenticated https://github.com/sqlc-dev/sqlc/pull/2887/files#top
Show all changes 3 commits https://github.com/sqlc-dev/sqlc/pull/2887/files
86dddf2 feat: Abort compiler when rpc fails as unauthenticated andrewmbenton Oct 19, 2023 https://github.com/sqlc-dev/sqlc/pull/2887/commits/86dddf2dd0b1e0a10909a96d167a93749aa52856
fe66c2c test: Bump timeout to 20 minutes kyleconroy Oct 19, 2023 https://github.com/sqlc-dev/sqlc/pull/2887/commits/fe66c2c34b81ac861c3467480297f648c6782297
2576183 return early andrewmbenton Oct 19, 2023 https://github.com/sqlc-dev/sqlc/pull/2887/commits/25761838a6fd8c79380e17b9d037ef94101f62c1
Clear filters https://github.com/sqlc-dev/sqlc/pull/2887/files
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/2887/files
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/2887/files
ci.yml https://github.com/sqlc-dev/sqlc/pull/2887/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
compile.go https://github.com/sqlc-dev/sqlc/pull/2887/files#diff-a0583a3fb01b54a088aaa3e029172119ed3da6d50dfb796a05516ed2fc03d8cf
errors.go https://github.com/sqlc-dev/sqlc/pull/2887/files#diff-cbab7f70a1ccdd8e72a4f1d518211bde0623405330f40327493bbd544fceb671
interceptor.go https://github.com/sqlc-dev/sqlc/pull/2887/files#diff-11d39b653e42c2f981374452bed4e39bc10aca4748731b34c295b7a29d10bdac
.github/workflows/ci.ymlhttps://github.com/sqlc-dev/sqlc/pull/2887/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
View file https://github.com/sqlc-dev/sqlc/blob/25761838a6fd8c79380e17b9d037ef94101f62c1/.github/workflows/ci.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/2887/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/2887/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/sqlc-dev/sqlc/pull/2887/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
internal/compiler/compile.gohttps://github.com/sqlc-dev/sqlc/pull/2887/files#diff-a0583a3fb01b54a088aaa3e029172119ed3da6d50dfb796a05516ed2fc03d8cf
View file https://github.com/sqlc-dev/sqlc/blob/25761838a6fd8c79380e17b9d037ef94101f62c1/internal/compiler/compile.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/2887/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/2887/files#diff-a0583a3fb01b54a088aaa3e029172119ed3da6d50dfb796a05516ed2fc03d8cf
https://github.com/sqlc-dev/sqlc/pull/2887/files#diff-a0583a3fb01b54a088aaa3e029172119ed3da6d50dfb796a05516ed2fc03d8cf
https://github.com/sqlc-dev/sqlc/pull/2887/files#diff-a0583a3fb01b54a088aaa3e029172119ed3da6d50dfb796a05516ed2fc03d8cf
https://github.com/sqlc-dev/sqlc/pull/2887/files#diff-a0583a3fb01b54a088aaa3e029172119ed3da6d50dfb796a05516ed2fc03d8cf
internal/rpc/errors.gohttps://github.com/sqlc-dev/sqlc/pull/2887/files#diff-cbab7f70a1ccdd8e72a4f1d518211bde0623405330f40327493bbd544fceb671
View file https://github.com/sqlc-dev/sqlc/blob/25761838a6fd8c79380e17b9d037ef94101f62c1/internal/rpc/errors.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/2887/{{ revealButtonHref }}
internal/rpc/interceptor.gohttps://github.com/sqlc-dev/sqlc/pull/2887/files#diff-11d39b653e42c2f981374452bed4e39bc10aca4748731b34c295b7a29d10bdac
View file https://github.com/sqlc-dev/sqlc/blob/25761838a6fd8c79380e17b9d037ef94101f62c1/internal/rpc/interceptor.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/2887/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/2887/files#diff-11d39b653e42c2f981374452bed4e39bc10aca4748731b34c295b7a29d10bdac
https://github.com/sqlc-dev/sqlc/pull/2887/files#diff-11d39b653e42c2f981374452bed4e39bc10aca4748731b34c295b7a29d10bdac
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.