René's URL Explorer Experiment


Title: refactor(site/src/pages/AgentsPage): make UploadState a discriminated union by DanielleMaywood · Pull Request #29901 · coder/coder · GitHub

Open Graph Title: refactor(site/src/pages/AgentsPage): make UploadState a discriminated union by DanielleMaywood · Pull Request #29901 · coder/coder

X Title: refactor(site/src/pages/AgentsPage): make UploadState a discriminated union by DanielleMaywood · Pull Request #29901 · coder/coder

Description: Secure environments for developers and their agents - refactor(site/src/pages/AgentsPage): make UploadState a discriminated union by DanielleMaywood · Pull Request #29901 · coder/coder

Open Graph Description: Stacked on #29890. Part of the AgentsPage nullability cleanup; see #29888 for the methodology. UploadState (AttachmentPreview.tsx) was { status; fileId?; error?; draftWarning? }, so every consumer ...

X Description: Stacked on #29890. Part of the AgentsPage nullability cleanup; see #29888 for the methodology. UploadState (AttachmentPreview.tsx) was { status; fileId?; error?; draftWarning? }, so every consumer ...

Opengraph URL: https://github.com/coder/coder/pull/29901

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:1267bb9e-abf3-f4e4-e046-68da13755ea5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCF2A:21AC3F:205045C:28DDA55:6B015297
html-safe-nonce849857b5ad14b9b3a21a77c856ab945f5022f39be0122625d1f3ea5ad4095063
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjJBOjIxQUMzRjoyMDUwNDVDOjI4RERBNTU6NkIwMTUyOTciLCJ2aXNpdG9yX2lkIjoiMzUzMDExODc4Mjk4OTE5Mzg3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9fb31fef64739d3391b29411299f9f5a073128a5db7a0549c75dd7fb8858dac2
hovercard-subject-tagpull_request:4638380298
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/coder/29901/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4b197cbf4e247b1228198a7c16b38cd0ed163213f9ff95f5fbc09f8e2b624986/coder/coder/pull/29901
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4b197cbf4e247b1228198a7c16b38cd0ed163213f9ff95f5fbc09f8e2b624986/coder/coder/pull/29901
og:image:altStacked on #29890. Part of the AgentsPage nullability cleanup; see #29888 for the methodology. UploadState (AttachmentPreview.tsx) was { status; fileId?; error?; draftWarning? }, so every consumer ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDanielleMaywood
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/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/coder/pull/29901#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F29901
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%2Fcoder%2Fpull%2F29901
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%2Fcoder
Reloadhttps://github.com/coder/coder/pull/29901
Reloadhttps://github.com/coder/coder/pull/29901
Reloadhttps://github.com/coder/coder/pull/29901
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
DanielleMaywoodhttps://github.com/DanielleMaywood
mainhttps://github.com/coder/coder/tree/main
nullability/upload-state-unionhttps://github.com/coder/coder/tree/nullability/upload-state-union
Conversationhttps://github.com/coder/coder/pull/29901
Commits4 (4)https://github.com/coder/coder/pull/29901/commits
Checkshttps://github.com/coder/coder/pull/29901/checks
Files changedhttps://github.com/coder/coder/pull/29901/files
refactor(site/src/pages/AgentsPage): make UploadState a discriminated unionhttps://github.com/coder/coder/pull/29901#top
DanielleMaywoodhttps://github.com/DanielleMaywood
mainhttps://github.com/coder/coder/tree/main
nullability/upload-state-unionhttps://github.com/coder/coder/tree/nullability/upload-state-union
https://github.com/DanielleMaywood
DanielleMaywoodhttps://github.com/DanielleMaywood
Sep 25, 2026https://github.com/coder/coder/pull/29901#issue-5583301975
#29890https://github.com/coder/coder/pull/29890
#29888https://github.com/coder/coder/pull/29888
@DanielleMaywoodhttps://github.com/DanielleMaywood
Please reload this pagehttps://github.com/coder/coder/pull/29901
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
DanielleMaywoodhttps://github.com/DanielleMaywood
Sep 25, 2026https://github.com/coder/coder/pull/29901#event-31837561639
https://github.com/DanielleMaywood
DanielleMaywoodhttps://github.com/DanielleMaywood
force-pushedhttps://github.com/coder/coder/compare/b008dbadb326a733245e984a564cd41f8ac4113b..064e2a8c36873bdae707479b19f4de7557bde406
b008dbahttps://github.com/coder/coder/commit/b008dbadb326a733245e984a564cd41f8ac4113b
064e2a8https://github.com/coder/coder/commit/064e2a8c36873bdae707479b19f4de7557bde406
Compare https://github.com/coder/coder/compare/b008dbadb326a733245e984a564cd41f8ac4113b..064e2a8c36873bdae707479b19f4de7557bde406
September 29, 2026 14:29https://github.com/coder/coder/pull/29901#event-32087790679
https://github.com/DanielleMaywood
DanielleMaywoodhttps://github.com/DanielleMaywood
force-pushedhttps://github.com/coder/coder/compare/5d84124a00741ed185328320d43f87aeba93fac5..ebe1a6e93180fca1a0c4669e2d527f66d2b61817
5d84124https://github.com/coder/coder/commit/5d84124a00741ed185328320d43f87aeba93fac5
ebe1a6ehttps://github.com/coder/coder/commit/ebe1a6e93180fca1a0c4669e2d527f66d2b61817
Compare https://github.com/coder/coder/compare/5d84124a00741ed185328320d43f87aeba93fac5..ebe1a6e93180fca1a0c4669e2d527f66d2b61817
September 29, 2026 14:41https://github.com/coder/coder/pull/29901#event-32088699194
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Sep 30, 2026https://github.com/coder/coder/pull/29901#issuecomment-5914578410
CODAGT-1258https://linear.app/codercom/issue/CODAGT-1258
Please reload this pagehttps://github.com/coder/coder/pull/29901
https://github.com/DanielleMaywood
DanielleMaywoodhttps://github.com/DanielleMaywood
force-pushedhttps://github.com/coder/coder/compare/d8a8364ea401ffc67931f0002e0109db8f412529..e1401d691c68a08eacd18c118851d7e4e363382a
d8a8364https://github.com/coder/coder/commit/d8a8364ea401ffc67931f0002e0109db8f412529
e1401d6https://github.com/coder/coder/commit/e1401d691c68a08eacd18c118851d7e4e363382a
Compare https://github.com/coder/coder/compare/d8a8364ea401ffc67931f0002e0109db8f412529..e1401d691c68a08eacd18c118851d7e4e363382a
October 6, 2026 08:07https://github.com/coder/coder/pull/29901#event-32579408977
DanielleMaywoodhttps://github.com/DanielleMaywood
October 6, 2026 11:07https://github.com/coder/coder/pull/29901#commits-pushed-4916957
https://github.com/DanielleMaywood
refactor(site/src/pages/AgentsPage): require always-passed chat input…https://github.com/coder/coder/pull/29901/commits/491695711634c54f6f82db21f55ec6bc2d128148
4916957https://github.com/coder/coder/pull/29901/commits/491695711634c54f6f82db21f55ec6bc2d128148
https://github.com/DanielleMaywood
refactor(site/src/pages/AgentsPage): require non-null context usage i…https://github.com/coder/coder/pull/29901/commits/b87fff6f73786519209ef42517e8cc306391407c
b87fff6https://github.com/coder/coder/pull/29901/commits/b87fff6f73786519209ef42517e8cc306391407c
#29905https://github.com/coder/coder/pull/29905
https://github.com/DanielleMaywood
refactor(site/src/pages/AgentsPage): drop dead chat page null checks (https://github.com/coder/coder/pull/29901/commits/42a5dc8211e94bbac3f9ffc4cf2eae30a61ca035
#…https://github.com/coder/coder/pull/29907
42a5dc8https://github.com/coder/coder/pull/29901/commits/42a5dc8211e94bbac3f9ffc4cf2eae30a61ca035
…29907https://github.com/coder/coder/pull/29907
https://github.com/DanielleMaywood
DanielleMaywoodhttps://github.com/DanielleMaywood
force-pushedhttps://github.com/coder/coder/compare/e1401d691c68a08eacd18c118851d7e4e363382a..42a5dc8211e94bbac3f9ffc4cf2eae30a61ca035
e1401d6https://github.com/coder/coder/commit/e1401d691c68a08eacd18c118851d7e4e363382a
42a5dc8https://github.com/coder/coder/commit/42a5dc8211e94bbac3f9ffc4cf2eae30a61ca035
Compare https://github.com/coder/coder/compare/e1401d691c68a08eacd18c118851d7e4e363382a..42a5dc8211e94bbac3f9ffc4cf2eae30a61ca035
October 6, 2026 11:13https://github.com/coder/coder/pull/29901#event-32592383319
https://github.com/DanielleMaywood
refactor(site/src/pages/AgentsPage): make UploadState a discriminated…https://github.com/coder/coder/pull/29901/commits/01de81ec4dfa35cfd9132da329e2e91fb9212a2c
01de81ehttps://github.com/coder/coder/pull/29901/commits/01de81ec4dfa35cfd9132da329e2e91fb9212a2c
https://github.com/DanielleMaywood
DanielleMaywoodhttps://github.com/DanielleMaywood
force-pushedhttps://github.com/coder/coder/compare/ebe1a6e93180fca1a0c4669e2d527f66d2b61817..01de81ec4dfa35cfd9132da329e2e91fb9212a2c
ebe1a6ehttps://github.com/coder/coder/commit/ebe1a6e93180fca1a0c4669e2d527f66d2b61817
01de81ehttps://github.com/coder/coder/commit/01de81ec4dfa35cfd9132da329e2e91fb9212a2c
Compare https://github.com/coder/coder/compare/ebe1a6e93180fca1a0c4669e2d527f66d2b61817..01de81ec4dfa35cfd9132da329e2e91fb9212a2c
October 6, 2026 11:18https://github.com/coder/coder/pull/29901#event-32592723458
October 6, 2026 12:30https://github.com/coder/coder/pull/29901#event-32597685056
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Astale
Oct 31, 2026https://github.com/coder/coder/pull/29901#event-34742805424
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 3, 2026https://github.com/coder/coder/pull/29901#event-34968407158
https://github.co/hiddenchars
https://github.com/coder/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%2Fcoder%2Fpull%2F29901
Please reload this pagehttps://github.com/coder/coder/pull/29901
https://github.com/DanielleMaywood
DanielleMaywood https://github.com/DanielleMaywood
stale https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Astale
Please reload this pagehttps://github.com/coder/coder/pull/29901
https://github.com/DanielleMaywood
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.