René's URL Explorer Experiment


Title: fix(workflow-persistence): make persistMigratedBlocks' updated_at guard millisecond-tolerant by icecrasher321 · Pull Request #5790 · simstudioai/sim · GitHub

Open Graph Title: fix(workflow-persistence): make persistMigratedBlocks' updated_at guard millisecond-tolerant by icecrasher321 · Pull Request #5790 · simstudioai/sim

X Title: fix(workflow-persistence): make persistMigratedBlocks' updated_at guard millisecond-tolerant by icecrasher321 · Pull Request #5790 · simstudioai/sim

Description: Summary Drizzle truncates Postgres microsecond timestamps on read, so the strict equality never matched, block migrations (e.g. canonicalModes backfill) silently never persisted, and workflows showed a permanently stuck "Update" deploy state Type of Change Bug fix Testing Tested manually Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Drizzle truncates Postgres microsecond timestamps on read, so the strict equality never matched, block migrations (e.g. canonicalModes backfill) silently never persisted, and workflows show...

X Description: Summary Drizzle truncates Postgres microsecond timestamps on read, so the strict equality never matched, block migrations (e.g. canonicalModes backfill) silently never persisted, and workflows show...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e17ccbbc-06ac-d6d4-3b78-2e0c67a6e568
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9B0A:11DF4D:6DD8C0:9D7DE3:6A637670
html-safe-nonce284d82db7e6235eb6786b5bd54296a7ccf60ee0f2534f8af7a83bcb93ced9a43
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjBBOjExREY0RDo2REQ4QzA6OUQ3REUzOjZBNjM3NjcwIiwidmlzaXRvcl9pZCI6IjYwMjY0MjAxNzk5MDM0MTE4MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacace52ea9fb77a55861156f03d2e111c3887afaea214ceba7fe4b78e7c0a9e948
hovercard-subject-tagpull_request:4095757278
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/5790/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:altSummary Drizzle truncates Postgres microsecond timestamps on read, so the strict equality never matched, block migrations (e.g. canonicalModes backfill) silently never persisted, and workflows show...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None15e78334bb345f3864e70c5a376ed0383374123629b9e3022398d9431f6cd8bf
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
release51da2d8d0a841a1393b806a6559fa9ad757e1666
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5790/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5790%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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2Fsimstudioai%2Fsim%2Fpull%2F5790%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=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/5790/files
Reloadhttps://github.com/simstudioai/sim/pull/5790/files
Reloadhttps://github.com/simstudioai/sim/pull/5790/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5790/files
simstudioai https://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Notifications https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Fork 3.7k https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Star 29.2k https://github.com/login?return_to=%2Fsimstudioai%2Fsim
Code https://github.com/simstudioai/sim
Issues 111 https://github.com/simstudioai/sim/issues
Pull requests 121 https://github.com/simstudioai/sim/pulls
Actions https://github.com/simstudioai/sim/actions
Projects https://github.com/simstudioai/sim/projects
Security and quality 0 https://github.com/simstudioai/sim/security
Insights https://github.com/simstudioai/sim/pulse
Code https://github.com/simstudioai/sim
Issues https://github.com/simstudioai/sim/issues
Pull requests https://github.com/simstudioai/sim/pulls
Actions https://github.com/simstudioai/sim/actions
Projects https://github.com/simstudioai/sim/projects
Security and quality https://github.com/simstudioai/sim/security
Insights https://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
icecrasher321https://github.com/icecrasher321
staginghttps://github.com/simstudioai/sim/tree/staging
fix/migrate-canonicalhttps://github.com/simstudioai/sim/tree/fix/migrate-canonical
Conversation 9 https://github.com/simstudioai/sim/pull/5790
Commits 3 https://github.com/simstudioai/sim/pull/5790/commits
Checks 18 https://github.com/simstudioai/sim/pull/5790/checks
Files changed https://github.com/simstudioai/sim/pull/5790/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5790/files
fix(workflow-persistence): make persistMigratedBlocks' updated_at guard millisecond-tolerant https://github.com/simstudioai/sim/pull/5790/files#top
Show all changes 3 commits https://github.com/simstudioai/sim/pull/5790/files
5162005 fix(workflow-persistence): make persistMigratedBlocks' updated_at gua… icecrasher321 Jul 21, 2026 https://github.com/simstudioai/sim/pull/5790/commits/51620058968acfbe9fa772bfbae7752477341c32
250e565 improvement(sockets): state improvements icecrasher321 Jul 21, 2026 https://github.com/simstudioai/sim/pull/5790/commits/250e565cc4218152b7843b691bfa403fdf260560
d4c96d1 address comments icecrasher321 Jul 21, 2026 https://github.com/simstudioai/sim/pull/5790/commits/d4c96d11779dd2e3611a13c012d441de3c316ea6
Clear filters https://github.com/simstudioai/sim/pull/5790/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5790/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5790/files
deploy-modal.tsx https://github.com/simstudioai/sim/pull/5790/files#diff-6ec22e53145a62e77f7f76480091eb499be97b4a3eeb7b4da85c79cb98bb9332
sync-local-draft.test.ts https://github.com/simstudioai/sim/pull/5790/files#diff-5f97623604ed9f73c6d3292c024e274cea2bf1ed664ab0dde312845324ba0472
sync-local-draft.ts https://github.com/simstudioai/sim/pull/5790/files#diff-3a6da6781e75a6f02b170c15195f37e5e27038a64f57ae9f7cfb98ff2bd96345
use-deployment.ts https://github.com/simstudioai/sim/pull/5790/files#diff-64d92063c9c179f93b5b025cfe26fc7db069cb416fe7a202d6756a7a69f17ff7
socket-provider.tsx https://github.com/simstudioai/sim/pull/5790/files#diff-645e13e3a4827b0a88e66b25a614a116dd7838dddb42745a86247d3a8ca8ab61
store.test.ts https://github.com/simstudioai/sim/pull/5790/files#diff-baca515097f15c7777418f747d100ebc65c07a9011e2b588c1c8935c96b4ab06
store.ts https://github.com/simstudioai/sim/pull/5790/files#diff-944136889a49daf4125796af7ba63105212b2b1cfd4dc35af290a57147acf187
use-collaborative-workflow.ts https://github.com/simstudioai/sim/pull/5790/files#diff-ccb80da85d47ecf517b42ec89718b19771184b32f2171a7705ddf236de89d46a
compare.test.ts https://github.com/simstudioai/sim/pull/5790/files#diff-5947dee9e55a7c1b758f6ee7bf0113ccb352ffb4fe27e29479772068178962e9
compare.ts https://github.com/simstudioai/sim/pull/5790/files#diff-2d2608412803fa0f5bb1e39795d91391e61dff5fe1b6ad4eb2f1a03a71600410
normalize.ts https://github.com/simstudioai/sim/pull/5790/files#diff-df12b3c45f4df54574b36d40fd640a6da322fb3d7462feeac1b5bff1682331bd
AGENTS.md https://github.com/simstudioai/sim/pull/5790/files#diff-1578f74eade050bf2f6c2e849e57ac9bd9ba09db6d3c288d100314dd446f964d
store.ts https://github.com/simstudioai/sim/pull/5790/files#diff-deabdc947da837b8e425aa8c41fa32621bf1be9860e7ddac2acafd6fc2968b39
types.ts https://github.com/simstudioai/sim/pull/5790/files#diff-2dcd5e8608a8e5755b832692c91227fa169c9157f3fc8198f313ebc9e46ed584
store.ts https://github.com/simstudioai/sim/pull/5790/files#diff-c6ed5472c01a900c722333256ddc13fdfb146604939b640a651214a3a593922d
types.ts https://github.com/simstudioai/sim/pull/5790/files#diff-a55de56582897f828f4f38a36b36c017969deaf782be07c990146ac1439a1077
sync-local-draft.test.ts https://github.com/simstudioai/sim/pull/5790/files#diff-a03d4f9ee3f778f28b8ad778592591cca363eff1fde10ffa7e1cd2bcae05bcaa
sync-local-draft.ts https://github.com/simstudioai/sim/pull/5790/files#diff-95217d02ebfb5ca72c6ee7daacd0c0e722be240d72265538ea8d1a9acff80068
utils.ts https://github.com/simstudioai/sim/pull/5790/files#diff-d1cd03664e0b4816b0dbace375aadec19b14d1efec9647648b0f4df3d19a17a8
bun.lock https://github.com/simstudioai/sim/pull/5790/files#diff-bfd0ef82a01108fa1e836c2500b98b7de8a92bb1ae352a8efcbd9d6ffcaabd60
database.mock.ts https://github.com/simstudioai/sim/pull/5790/files#diff-859f381ad1b6a93489bef08c44a1044a2c3cc6f9b98b8d973bb5b0ef893ba42b
package.json https://github.com/simstudioai/sim/pull/5790/files#diff-3a81612e42322c16f1f3e0efb5292696790cfcdbfdb1c1d3c254fd525af1036b
load.ts https://github.com/simstudioai/sim/pull/5790/files#diff-9a0b22191731c8780fe61e3691961713927c998585466a156448b11778704ddd
subblocks.test.ts https://github.com/simstudioai/sim/pull/5790/files#diff-9f2ee2d18f2933190dababbb3ee24bf380b8ec9d13b6f2ad5a9d1d2007707e98
subblocks.ts https://github.com/simstudioai/sim/pull/5790/files#diff-e7a3f9a76dd2a31848a66afd0e8cfcd4bafd8fd9e7965b4f1423465210733540
vitest.config.ts https://github.com/simstudioai/sim/pull/5790/files#diff-86197425783da41e219b4eb4347e8fe8ca745285fdcea776dbf9e02886ef2c10
.../[workflowId]/components/panel/components/deploy/components/deploy-modal/deploy-modal.tsxhttps://github.com/simstudioai/sim/pull/5790/files#diff-6ec22e53145a62e77f7f76480091eb499be97b4a3eeb7b4da85c79cb98bb9332
View file https://github.com/simstudioai/sim/blob/d4c96d11779dd2e3611a13c012d441de3c316ea6/apps/sim/app/workspace/%5BworkspaceId%5D/w/%5BworkflowId%5D/components/panel/components/deploy/components/deploy-modal/deploy-modal.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5790/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5790/files#diff-6ec22e53145a62e77f7f76480091eb499be97b4a3eeb7b4da85c79cb98bb9332
https://github.com/simstudioai/sim/pull/5790/files#diff-6ec22e53145a62e77f7f76480091eb499be97b4a3eeb7b4da85c79cb98bb9332
https://github.com/simstudioai/sim/pull/5790/files#diff-6ec22e53145a62e77f7f76480091eb499be97b4a3eeb7b4da85c79cb98bb9332
...spaceId]/w/[workflowId]/components/panel/components/deploy/hooks/sync-local-draft.test.tshttps://github.com/simstudioai/sim/pull/5790/files#diff-5f97623604ed9f73c6d3292c024e274cea2bf1ed664ab0dde312845324ba0472
View file https://github.com/simstudioai/sim/blob/27984670e4e85d29dc1448e2df04e25d0c0db91b/apps/sim/app/workspace/%5BworkspaceId%5D/w/%5BworkflowId%5D/components/panel/components/deploy/hooks/sync-local-draft.test.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/5790/files
...[workspaceId]/w/[workflowId]/components/panel/components/deploy/hooks/sync-local-draft.tshttps://github.com/simstudioai/sim/pull/5790/files#diff-3a6da6781e75a6f02b170c15195f37e5e27038a64f57ae9f7cfb98ff2bd96345
View file https://github.com/simstudioai/sim/blob/27984670e4e85d29dc1448e2df04e25d0c0db91b/apps/sim/app/workspace/%5BworkspaceId%5D/w/%5BworkflowId%5D/components/panel/components/deploy/hooks/sync-local-draft.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/5790/files
...e/[workspaceId]/w/[workflowId]/components/panel/components/deploy/hooks/use-deployment.tshttps://github.com/simstudioai/sim/pull/5790/files#diff-64d92063c9c179f93b5b025cfe26fc7db069cb416fe7a202d6756a7a69f17ff7
View file https://github.com/simstudioai/sim/blob/d4c96d11779dd2e3611a13c012d441de3c316ea6/apps/sim/app/workspace/%5BworkspaceId%5D/w/%5BworkflowId%5D/components/panel/components/deploy/hooks/use-deployment.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5790/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5790/files#diff-64d92063c9c179f93b5b025cfe26fc7db069cb416fe7a202d6756a7a69f17ff7
https://github.com/simstudioai/sim/pull/5790/files#diff-64d92063c9c179f93b5b025cfe26fc7db069cb416fe7a202d6756a7a69f17ff7
Please reload this pagehttps://github.com/simstudioai/sim/pull/5790/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5790/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.