René's URL Explorer Experiment


Title: improvement(workflow state): split workflow state into separate tables by icecrasher321 · Pull Request #511 · simstudioai/sim · GitHub

Open Graph Title: improvement(workflow state): split workflow state into separate tables by icecrasher321 · Pull Request #511 · simstudioai/sim

X Title: improvement(workflow state): split workflow state into separate tables by icecrasher321 · Pull Request #511 · simstudioai/sim

Description: Description We need to split workflow state json blob into separate tables for collaboration to be implemented effectively. Safe transition away. This has dual-write -- so writes to old workflow state and new tables. On read, it first reads from new tables and uses workflow state as fallback. Everything should work as expected. In next PR can write a script to migrate existing JSON configs to these new tables and deprecate the old state safely. Type of change Please delete options that are not relevant. Code refactoring (no functional changes) How Has This Been Tested? Test adding workflows, deleting workflows -- same for blocks, loops, parallels, edges. Checklist: My code follows the style guidelines of this project I have performed a self-review of my own code I have commented my code, particularly in hard-to-understand areas I have added tests that prove my fix is effective or that my feature works All tests pass locally and in CI (bun run test) My changes generate no new warnings Any dependent changes have been merged and published in downstream modules I have updated version numbers as needed (if needed) I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) Security Considerations: My changes do not introduce any new security vulnerabilities I have considered the security implications of my changes Additional Information: Any additional information, configuration or data that might be necessary to reproduce the issue or use the feature.

Open Graph Description: Description We need to split workflow state json blob into separate tables for collaboration to be implemented effectively. Safe transition away. This has dual-write -- so writes to old workflow st...

X Description: Description We need to split workflow state json blob into separate tables for collaboration to be implemented effectively. Safe transition away. This has dual-write -- so writes to old workflow st...

Opengraph URL: https://github.com/simstudioai/sim/pull/511

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:2f4408d6-e111-14b1-a7ac-2d5fbbbbd66c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB7AA:3EFFC5:B0000A:F89FB1:6AFB5971
html-safe-nonce17c2e2ac67f2d198c39edce2e954c82bbf41240c7a9d36ad95ed2e1931a28e6a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0FBOjNFRkZDNTpCMDAwMEE6Rjg5RkIxOjZBRkI1OTcxIiwidmlzaXRvcl9pZCI6IjgyNDAyNDM4NTg0MDc2NDM1MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacef01c1aeb3930c3ab805f98be3dcba3bb17a0f883371a5907db47b473094946b
hovercard-subject-tagpull_request:2600102000
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/simstudioai/sim/pull/511/files
twitter:imagehttps://avatars.githubusercontent.com/u/17950982?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/17950982?s=400&v=4
og:image:altDescription We need to split workflow state json blob into separate tables for collaboration to be implemented effectively. Safe transition away. This has dual-write -- so writes to old workflow st...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
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
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/511/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F511%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%2Fsimstudioai%2Fsim%2Fpull%2F511%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=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/511/files
Reloadhttps://github.com/simstudioai/sim/pull/511/files
Reloadhttps://github.com/simstudioai/sim/pull/511/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
mainhttps://github.com/simstudioai/sim/tree/main
improvement/state-refactor-1https://github.com/simstudioai/sim/tree/improvement/state-refactor-1
Conversation 15 https://github.com/simstudioai/sim/pull/511
Commits 12 https://github.com/simstudioai/sim/pull/511/commits
Checks 0 https://github.com/simstudioai/sim/pull/511/checks
Files changed https://github.com/simstudioai/sim/pull/511/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/511/files
improvement(workflow state): split workflow state into separate tables https://github.com/simstudioai/sim/pull/511/files#top
Show all changes 12 commits https://github.com/simstudioai/sim/pull/511/files
0695197 new tables to track workflow state Jun 17, 2025 https://github.com/simstudioai/sim/pull/511/commits/0695197b97ec5709ba589f151fbd7522b985b2e4
1faea91 fix lint Jun 17, 2025 https://github.com/simstudioai/sim/pull/511/commits/1faea917b0451554926916252b1ae5e04fed2997
5a424e5 refactor into separate tables Jun 17, 2025 https://github.com/simstudioai/sim/pull/511/commits/5a424e5e2df52abb9a118cc6f3ea42e535949039
4b49ac1 fix typing Jun 17, 2025 https://github.com/simstudioai/sim/pull/511/commits/4b49ac1f1554987735503b8629dbfb922e23b81f
5411a52 fix lint Jun 17, 2025 https://github.com/simstudioai/sim/pull/511/commits/5411a52aafcf19baa4d017b2cfd77903ab335bf9
10410f9 add tests Jun 17, 2025 https://github.com/simstudioai/sim/pull/511/commits/10410f923c9624b5d3d3bac32989f4d7fbeaa6e3
7b51755 fix lint Jun 17, 2025 https://github.com/simstudioai/sim/pull/511/commits/7b51755e85e08d97ecc4e9260b0b3a55459d99ac
cd6c4b0 add correct foreign key constraint Jun 17, 2025 https://github.com/simstudioai/sim/pull/511/commits/cd6c4b00ab6dec73de2dbdaf234c937930365fc5
931152a add self ref Jun 17, 2025 https://github.com/simstudioai/sim/pull/511/commits/931152a285a3798e10bfa419ee57f28a44cea62a
d45dc35 remove unused checks Jun 17, 2025 https://github.com/simstudioai/sim/pull/511/commits/d45dc354a7075b0b8b965c12d9573156e8b83709
ceddd3d fix types Jun 17, 2025 https://github.com/simstudioai/sim/pull/511/commits/ceddd3de6c69106f160e1eee93ecdf20acd6984f
df5207f fix type Jun 17, 2025 https://github.com/simstudioai/sim/pull/511/commits/df5207fe17b83fd2c2ecac81c4b4875247a16a6e
Clear filters https://github.com/simstudioai/sim/pull/511/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/511/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/511/files
route.ts https://github.com/simstudioai/sim/pull/511/files#diff-3faa6dcec0eede3c673a9fde378d9025d08026657402d3c58170446fa02ea9b9
route.ts https://github.com/simstudioai/sim/pull/511/files#diff-75d5b4c8e269f61cf9be680dc5975147c0947205d68b6a4e6764e3477e380327
0043_silent_the_anarchist.sql https://github.com/simstudioai/sim/pull/511/files#diff-18ae22aa47a027e06c0858bea2c66eefef67b1d769db05b40dc58c773e7d059d
0043_snapshot.json https://github.com/simstudioai/sim/pull/511/files#diff-a7d5c5f5122e1c870702575f709ff5b325d02add18665d78c2ac0caf9a0ca4a5
_journal.json https://github.com/simstudioai/sim/pull/511/files#diff-3db387af585d1ac1092f726b1198a35b2f7509e7918b6e98039f94f17c2122fb
schema.ts https://github.com/simstudioai/sim/pull/511/files#diff-a24f4945794057bad5b5a292c9217d0177dd4f7f653853e047475f89e27fd9d1
db-helpers.test.ts https://github.com/simstudioai/sim/pull/511/files#diff-d0db0aa8c4ea15e49a3d41b2cf730b3a306682814ea6bd75e6ce0ef373323365
db-helpers.ts https://github.com/simstudioai/sim/pull/511/files#diff-2218595c84ce3a159f74ffe881b701b69295ad7f5e48321b4690d45d28634e73
types.ts https://github.com/simstudioai/sim/pull/511/files#diff-7577fd8d527d675e8826d05e462a8695929ab5f6bbf1a2839db2ea2df56d330b
apps/sim/app/api/workflows/[id]/route.tshttps://github.com/simstudioai/sim/pull/511/files#diff-3faa6dcec0eede3c673a9fde378d9025d08026657402d3c58170446fa02ea9b9
View file https://github.com/simstudioai/sim/blob/df5207fe17b83fd2c2ecac81c4b4875247a16a6e/apps/sim/app/api/workflows/%5Bid%5D/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/511/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/511/files#diff-3faa6dcec0eede3c673a9fde378d9025d08026657402d3c58170446fa02ea9b9
https://github.com/simstudioai/sim/pull/511/files#diff-3faa6dcec0eede3c673a9fde378d9025d08026657402d3c58170446fa02ea9b9
https://github.com/simstudioai/sim/pull/511/files#diff-3faa6dcec0eede3c673a9fde378d9025d08026657402d3c58170446fa02ea9b9
https://github.com/simstudioai/sim/pull/511/files#diff-3faa6dcec0eede3c673a9fde378d9025d08026657402d3c58170446fa02ea9b9
Please reload this pagehttps://github.com/simstudioai/sim/pull/511/files
https://github.com/simstudioai/sim/pull/511/files#diff-3faa6dcec0eede3c673a9fde378d9025d08026657402d3c58170446fa02ea9b9
apps/sim/app/api/workflows/sync/route.tshttps://github.com/simstudioai/sim/pull/511/files#diff-75d5b4c8e269f61cf9be680dc5975147c0947205d68b6a4e6764e3477e380327
View file https://github.com/simstudioai/sim/blob/df5207fe17b83fd2c2ecac81c4b4875247a16a6e/apps/sim/app/api/workflows/sync/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/511/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/511/files#diff-75d5b4c8e269f61cf9be680dc5975147c0947205d68b6a4e6764e3477e380327
https://github.com/simstudioai/sim/pull/511/files#diff-75d5b4c8e269f61cf9be680dc5975147c0947205d68b6a4e6764e3477e380327
https://github.com/simstudioai/sim/pull/511/files#diff-75d5b4c8e269f61cf9be680dc5975147c0947205d68b6a4e6764e3477e380327
Please reload this pagehttps://github.com/simstudioai/sim/pull/511/files
https://github.com/simstudioai/sim/pull/511/files#diff-75d5b4c8e269f61cf9be680dc5975147c0947205d68b6a4e6764e3477e380327
https://github.com/simstudioai/sim/pull/511/files#diff-75d5b4c8e269f61cf9be680dc5975147c0947205d68b6a4e6764e3477e380327
https://github.com/simstudioai/sim/pull/511/files#diff-75d5b4c8e269f61cf9be680dc5975147c0947205d68b6a4e6764e3477e380327
https://github.com/simstudioai/sim/pull/511/files#diff-75d5b4c8e269f61cf9be680dc5975147c0947205d68b6a4e6764e3477e380327
apps/sim/db/migrations/0043_silent_the_anarchist.sqlhttps://github.com/simstudioai/sim/pull/511/files#diff-18ae22aa47a027e06c0858bea2c66eefef67b1d769db05b40dc58c773e7d059d
View file https://github.com/simstudioai/sim/blob/df5207fe17b83fd2c2ecac81c4b4875247a16a6e/apps/sim/db/migrations/0043_silent_the_anarchist.sql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/511/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/511/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/511/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/511/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/511/files
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.