René's URL Explorer Experiment


Title: chore: Add XState machines to model flows by presleyp · Pull Request #16 · coder/coder · GitHub

Open Graph Title: chore: Add XState machines to model flows by presleyp · Pull Request #16 · coder/coder

X Title: chore: Add XState machines to model flows by presleyp · Pull Request #16 · coder/coder

Description: @kylecarbs and I worked out these XState machines to be able to visualize some of the concepts in Workspaces V2. There's a lot more than could be diagrammed and I'd love comments about how to make these better or for others to add on. The goal is to make it easier for us all to get on the same page about the plan. Accordingly, I optimized these more for comprehension than runnable implementation, but we could push the envelope there as we flesh out more details. I recommend opening the code in VSCode, installing the XState VSCode extension, and clicking Open Inspector just above each machine definition to see and interact with each one. Some questions I still have include: what does a model of projects look like? what determines when a provisioner parses vs when it provisions? (Does it do them in sequence automatically or does provisionerd send one kind of instruction or the other?) Sneak peek of one model:

Open Graph Description: @kylecarbs and I worked out these XState machines to be able to visualize some of the concepts in Workspaces V2. There's a lot more than could be diagrammed and I'd love comments about how ...

X Description: @kylecarbs and I worked out these XState machines to be able to visualize some of the concepts in Workspaces V2. There's a lot more than could be diagrammed and I'd love comments ab...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:50a59e8a-9707-fcd7-51a3-3ee9accf8185
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE452:31E99C:1971AA8:21EFE86:6B015079
html-safe-noncedfb1dd23a4af023a2dc7ef8e566e7f8fd2d063b5d3f686f8b4bed9e8bd41f05d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDUyOjMxRTk5QzoxOTcxQUE4OjIxRUZFODY6NkIwMTUwNzkiLCJ2aXNpdG9yX2lkIjoiNzc5NzAzNzQ3Mjk0MDExODEzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf5e6fba8ddaad5e338db7464a3c6456d1bf50026f194c0a7862c4622586d6e20
hovercard-subject-tagpull_request:819279500
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/coder/coder/pull/16/files
twitter:imagehttps://avatars.githubusercontent.com/u/1290996?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1290996?s=400&v=4
og:image:alt@kylecarbs and I worked out these XState machines to be able to visualize some of the concepts in Workspaces V2. There's a lot more than could be diagrammed and I'd love comments about how ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/coder/coder/pull/16/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F16%2Ffiles
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%2F16%2Ffiles
Sign uphttps://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=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/16/files
Reloadhttps://github.com/coder/coder/pull/16/files
Reloadhttps://github.com/coder/coder/pull/16/files
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests469 (469)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
Sign up for GitHub https://github.com/signup?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose
presleyphttps://github.com/presleyp
mainhttps://github.com/coder/coder/tree/main
presleyp/diagramshttps://github.com/coder/coder/tree/presleyp/diagrams
Conversation 7 https://github.com/coder/coder/pull/16
Commits 3 https://github.com/coder/coder/pull/16/commits
Checks 0 https://github.com/coder/coder/pull/16/checks
Files changed https://github.com/coder/coder/pull/16/files
Please reload this pagehttps://github.com/coder/coder/pull/16/files
chore: Add XState machines to model flows https://github.com/coder/coder/pull/16/files#top
Show all changes 3 commits https://github.com/coder/coder/pull/16/files
70a80d6 Install XState presleyp Jan 12, 2022 https://github.com/coder/coder/pull/16/commits/70a80d676f195f395489c2fa60857abda74e9151
7a90d62 Add models presleyp Jan 12, 2022 https://github.com/coder/coder/pull/16/commits/7a90d628790cf84205aaec0bb481a7050351bd43
a1ea349 Lint presleyp Jan 12, 2022 https://github.com/coder/coder/pull/16/commits/a1ea349de3861df3aa6de170673c391a88b15701
Clear filters https://github.com/coder/coder/pull/16/files
Please reload this pagehttps://github.com/coder/coder/pull/16/files
Please reload this pagehttps://github.com/coder/coder/pull/16/files
package.json https://github.com/coder/coder/pull/16/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
xstate_models.ts https://github.com/coder/coder/pull/16/files#diff-340057534bc29aded13046d3049b9ecd86a15a4305063506e429f1f8203b8bb8
yarn.lock https://github.com/coder/coder/pull/16/files#diff-51e4f558fae534656963876761c95b83b6ef5da5103c4adef6768219ed76c2de
package.jsonhttps://github.com/coder/coder/pull/16/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
View file https://github.com/coder/coder/blob/a1ea349de3861df3aa6de170673c391a88b15701/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/16/{{ revealButtonHref }}
https://github.com/coder/coder/pull/16/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/coder/coder/blob/main/CODEOWNERS#L5
provisionersdk/proto/xstate_models.tshttps://github.com/coder/coder/pull/16/files#diff-340057534bc29aded13046d3049b9ecd86a15a4305063506e429f1f8203b8bb8
View file https://github.com/coder/coder/blob/a1ea349de3861df3aa6de170673c391a88b15701/provisionersdk/proto/xstate_models.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/16/{{ revealButtonHref }}
BrunoQuaresmahttps://github.com/BrunoQuaresma
Jan 12, 2022https://github.com/coder/coder/pull/16/files#r783059926
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/16/files
presleyphttps://github.com/presleyp
Jan 12, 2022https://github.com/coder/coder/pull/16/files#r783332699
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/16/files
yarn.lockhttps://github.com/coder/coder/pull/16/files#diff-51e4f558fae534656963876761c95b83b6ef5da5103c4adef6768219ed76c2de
View file https://github.com/coder/coder/blob/a1ea349de3861df3aa6de170673c391a88b15701/yarn.lock
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/16/{{ revealButtonHref }}
https://github.com/coder/coder/pull/16/files#diff-51e4f558fae534656963876761c95b83b6ef5da5103c4adef6768219ed76c2de
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.