René's URL Explorer Experiment


Title: fix(api): validate API responses at the boundary by EhabY · Pull Request #1071 · coder/vscode-coder · GitHub

Open Graph Title: fix(api): validate API responses at the boundary by EhabY · Pull Request #1071 · coder/vscode-coder

X Title: fix(api): validate API responses at the boundary by EhabY · Pull Request #1071 · coder/vscode-coder

Description: Open any Coder workspace in VS Code with a single click. - fix(api): validate API responses at the boundary by EhabY · Pull Request #1071 · coder/vscode-coder

Open Graph Description: Summary Fixes #1050 The SDK casts 2xx bodies to the generated TypeScript types with no runtime check, so a proxy error page, a non-Coder service, or a partial body flowed in as valid and crashed fa...

X Description: Summary Fixes #1050 The SDK casts 2xx bodies to the generated TypeScript types with no runtime check, so a proxy error page, a non-Coder service, or a partial body flowed in as valid and crashed fa...

Opengraph URL: https://github.com/coder/vscode-coder/pull/1071

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b5ae3efe-af5b-7fec-acd1-65a8058100f8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD094:8226C:15867D:1C5852:6B01629A
html-safe-nonce0ed68432d35c0c9bbe3af1d203ee5fcd74a71f9b21b1d769631ecb35592a980b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDk0OjgyMjZDOjE1ODY3RDoxQzU4NTI6NkIwMTYyOUEiLCJ2aXNpdG9yX2lkIjoiMTA5NzE0MzA0MTAwNjg1NDgxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca5a7445d088ab77c9ca50499f7820dada17dadc14bf6c14992cb8b106466c5f7
hovercard-subject-tagpull_request:4238511316
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/vscode-coder/1071/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f31693f57484978bd2b791e0ee71f88d80f20f677ff3862a86d6688aa571fdd6/coder/vscode-coder/pull/1071
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f31693f57484978bd2b791e0ee71f88d80f20f677ff3862a86d6688aa571fdd6/coder/vscode-coder/pull/1071
og:image:altSummary Fixes #1050 The SDK casts 2xx bodies to the generated TypeScript types with no runtime check, so a proxy error page, a non-Coder service, or a partial body flowed in as valid and crashed fa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameEhabY
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/vscode-coder git https://github.com/coder/vscode-coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id582550891
octolytics-dimension-repository_nwocoder/vscode-coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id582550891
octolytics-dimension-repository_network_root_nwocoder/vscode-coder
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/vscode-coder/pull/1071#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fvscode-coder%2Fpull%2F1071
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fvscode-coder%2Fpull%2F1071
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=coder%2Fvscode-coder
Reloadhttps://github.com/coder/vscode-coder/pull/1071
Reloadhttps://github.com/coder/vscode-coder/pull/1071
Reloadhttps://github.com/coder/vscode-coder/pull/1071
coderhttps://github.com/coder
vscode-coderhttps://github.com/coder/vscode-coder
Codehttps://github.com/coder/vscode-coder
Issues23 (23)https://github.com/coder/vscode-coder/issues
Pull requests5 (5)https://github.com/coder/vscode-coder/pulls
Actionshttps://github.com/coder/vscode-coder/actions
Projectshttps://github.com/coder/vscode-coder/projects
Security and quality8 (8)https://github.com/coder/vscode-coder/security
Insightshttps://github.com/coder/vscode-coder/insights
https://github.com/coder/vscode-coder
EhabYhttps://github.com/EhabY
mainhttps://github.com/coder/vscode-coder/tree/main
fix/1050-validate-api-responseshttps://github.com/coder/vscode-coder/tree/fix/1050-validate-api-responses
Conversationhttps://github.com/coder/vscode-coder/pull/1071
Commits6 (6)https://github.com/coder/vscode-coder/pull/1071/commits
Checkshttps://github.com/coder/vscode-coder/pull/1071/checks
Files changedhttps://github.com/coder/vscode-coder/pull/1071/files
fix(api): validate API responses at the boundaryhttps://github.com/coder/vscode-coder/pull/1071#top
EhabYhttps://github.com/EhabY
mainhttps://github.com/coder/vscode-coder/tree/main
fix/1050-validate-api-responseshttps://github.com/coder/vscode-coder/tree/fix/1050-validate-api-responses
https://github.com/EhabY
EhabYhttps://github.com/EhabY
Aug 9, 2026https://github.com/coder/vscode-coder/pull/1071#issue-5102610289
Please reload this pagehttps://github.com/coder/vscode-coder/pull/1071
#1050https://github.com/coder/vscode-coder/issues/1050
Coder Agentshttps://coder.com/docs
@EhabYhttps://github.com/EhabY
Please reload this pagehttps://github.com/coder/vscode-coder/pull/1071
https://github.com/EhabY
EhabYhttps://github.com/EhabY
force-pushedhttps://github.com/coder/vscode-coder/compare/11605491c45acd2e6af74b22d923c8cba930db1e..5b1629246dc806bb9895686b44afae076c9bf213
1160549https://github.com/coder/vscode-coder/commit/11605491c45acd2e6af74b22d923c8cba930db1e
5b16292https://github.com/coder/vscode-coder/commit/5b1629246dc806bb9895686b44afae076c9bf213
Compare https://github.com/coder/vscode-coder/compare/11605491c45acd2e6af74b22d923c8cba930db1e..5b1629246dc806bb9895686b44afae076c9bf213
August 10, 2026 12:55https://github.com/coder/vscode-coder/pull/1071#event-29223028413
https://github.com/EhabY
EhabYhttps://github.com/EhabY
Aug 10, 2026https://github.com/coder/vscode-coder/pull/1071#event-29223116509
EhabYhttps://github.com/EhabY
August 11, 2026 13:40https://github.com/coder/vscode-coder/pull/1071#commits-pushed-12627ce
https://github.com/EhabY
fix(api): validate API responses at the boundary instead of trusting …https://github.com/coder/vscode-coder/pull/1071/commits/12627ce9ad221cc48beba73a047a070ce1e3267b
12627cehttps://github.com/coder/vscode-coder/pull/1071/commits/12627ce9ad221cc48beba73a047a070ce1e3267b
#1050https://github.com/coder/vscode-coder/issues/1050
https://github.com/EhabY
refactor(api): simplify response validation code and testshttps://github.com/coder/vscode-coder/pull/1071/commits/bd02369cdd8253a74ac3d8f31187af8f1f5ea6c9
bd02369https://github.com/coder/vscode-coder/pull/1071/commits/bd02369cdd8253a74ac3d8f31187af8f1f5ea6c9
https://github.com/EhabY
test(api): assert passthrough via toEqual instead of an as-casthttps://github.com/coder/vscode-coder/pull/1071/commits/bae1e2af6e099ed21e91d7227a296ae4bccf2531
bae1e2ahttps://github.com/coder/vscode-coder/pull/1071/commits/bae1e2af6e099ed21e91d7227a296ae4bccf2531
https://github.com/EhabY
fix(api): harden response validation at the boundaryhttps://github.com/coder/vscode-coder/pull/1071/commits/4f1103b7237f277b5f1bbdb59589765b6934048c
4f1103bhttps://github.com/coder/vscode-coder/pull/1071/commits/4f1103b7237f277b5f1bbdb59589765b6934048c
https://github.com/EhabY
EhabYhttps://github.com/EhabY
force-pushedhttps://github.com/coder/vscode-coder/compare/5b1629246dc806bb9895686b44afae076c9bf213..4f1103b7237f277b5f1bbdb59589765b6934048c
5b16292https://github.com/coder/vscode-coder/commit/5b1629246dc806bb9895686b44afae076c9bf213
4f1103bhttps://github.com/coder/vscode-coder/commit/4f1103b7237f277b5f1bbdb59589765b6934048c
Compare https://github.com/coder/vscode-coder/compare/5b1629246dc806bb9895686b44afae076c9bf213..4f1103b7237f277b5f1bbdb59589765b6934048c
August 11, 2026 10:40https://github.com/coder/vscode-coder/pull/1071#event-29274152292
https://github.com/EhabY
refactor(api): drive response validation from a schema maphttps://github.com/coder/vscode-coder/pull/1071/commits/8dfa12616e6286a04a822d3c9a77934c41189d3b
8dfa126https://github.com/coder/vscode-coder/pull/1071/commits/8dfa12616e6286a04a822d3c9a77934c41189d3b
https://github.com/EhabY
EhabYhttps://github.com/EhabY
jeremyruppelhttps://github.com/jeremyruppel
August 11, 2026 11:10https://github.com/coder/vscode-coder/pull/1071#event-29275435754
https://github.com/EhabY
EhabYhttps://github.com/EhabY
Aug 11, 2026https://github.com/coder/vscode-coder/pull/1071#event-29275485265
https://github.com/jeremyruppel
jeremyruppelhttps://github.com/jeremyruppel
Aug 11, 2026 https://github.com/coder/vscode-coder/pull/1071#pullrequestreview-4907069315
View reviewed changes https://github.com/coder/vscode-coder/pull/1071/files/8dfa12616e6286a04a822d3c9a77934c41189d3b
src/api/coderApi.tshttps://github.com/coder/vscode-coder/pull/1071/files/8dfa12616e6286a04a822d3c9a77934c41189d3b#diff-1c5228498d209ee4587222393e21bd690a7b66cfc21461f80d7ee3492e81f649
Please reload this pagehttps://github.com/coder/vscode-coder/pull/1071
https://github.com/jeremyruppel
jeremyruppelhttps://github.com/jeremyruppel
Aug 11, 2026 https://github.com/coder/vscode-coder/pull/1071#pullrequestreview-4907161872
View reviewed changes https://github.com/coder/vscode-coder/pull/1071/files/8dfa12616e6286a04a822d3c9a77934c41189d3b
jeremyruppelhttps://github.com/jeremyruppel
https://github.com/coder/vscode-coder/pull/1071#pullrequestreview-4907161872
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/vscode-coder/pull/1071
https://github.com/EhabY
refactor(api): type the validation wrapper instead of castinghttps://github.com/coder/vscode-coder/pull/1071/commits/f6cc4b04ec32804adf2d23afffe7915a3c6f19e3
f6cc4b0https://github.com/coder/vscode-coder/pull/1071/commits/f6cc4b04ec32804adf2d23afffe7915a3c6f19e3
https://github.com/EhabY
EhabYhttps://github.com/EhabY
908db8chttps://github.com/coder/vscode-coder/commit/908db8cab1502cbc77cb76d339fee2ca08461995
Aug 11, 2026https://github.com/coder/vscode-coder/pull/1071#event-29285326158
Please reload this pagehttps://github.com/coder/vscode-coder/pull/1071
https://github.com/EhabY
EhabYhttps://github.com/EhabY
August 11, 2026 14:23https://github.com/coder/vscode-coder/pull/1071#event-29285328033
https://github.com/EhabY
EhabYhttps://github.com/EhabY
Aug 24, 2026 https://github.com/coder/vscode-coder/pull/1071#ref-pullrequest-5235474609
chore: release v1.16.1 #1091 https://github.com/coder/vscode-coder/pull/1091
https://github.co/hiddenchars
https://github.com/coder/vscode-coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fvscode-coder%2Fpull%2F1071
https://github.com/jeremyruppel
jeremyruppel https://github.com/jeremyruppel
https://github.com/coder/vscode-coder/pull/1071/files/8dfa12616e6286a04a822d3c9a77934c41189d3b
Please reload this pagehttps://github.com/coder/vscode-coder/pull/1071
https://github.com/EhabY
EhabY https://github.com/EhabY
Validate API responses at the boundary instead of trusting the generated types https://github.com/coder/vscode-coder/issues/1050
Please reload this pagehttps://github.com/coder/vscode-coder/pull/1071
https://github.com/EhabY
https://github.com/jeremyruppel
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.