René's URL Explorer Experiment


Title: fix(projects): revoke banned users' keys first and create imported workflows atomically by waleedlatif1 · Pull Request #8657 · simstudioai/sim · GitHub

Open Graph Title: fix(projects): revoke banned users' keys first and create imported workflows atomically by waleedlatif1 · Pull Request #8657 · simstudioai/sim

X Title: fix(projects): revoke banned users' keys first and create imported workflows atomically by waleedlatif1 · Pull Request #8657 · simstudioai/sim

Description: Summary Addresses review threads on the v0.9.15 release PR (#8654) against the Projects work disableUserResources revokes the banned user's API keys before archiving their workspaces — the sequential archive loop let a failed archive skip revocation Admin and superuser workflow imports now create the workflow row, its state and its variables in one transaction via a new createWorkflowWithState (built on createWorkflowInTransaction, name deduplicated under the workspace lock). Previously the row committed first, so a concurrent workspace archive could archive it before the state saved, and a same-name race returned a 500 Workspace DELETE records project.archived before its not-found guard, so a retry that finishes a partial deletion still audits the Project archive Type of Change Bug fix Testing bun run lint, bun run type-check, bun run check:audits, docs-manifest:check, block registry check Unit: app/api/superuser, app/api/v1/admin, app/api/workspaces, lib/workflows, lib/workspaces (2,678 tests) Postgres integration and root suite run in CI Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing (new tests pass the test-audit authoring gate) 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 Addresses review threads on the v0.9.15 release PR (#8654) against the Projects work disableUserResources revokes the banned user's API keys before archiving their workspaces — the seq...

X Description: Summary Addresses review threads on the v0.9.15 release PR (#8654) against the Projects work disableUserResources revokes the banned user's API keys before archiving their workspaces — the...

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

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:bd91b49c-42ad-1e7d-b77a-842f294efb71
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBB82:5A71D:13865D0:1AAAC1A:6AFB6F15
html-safe-nonce4ce82f3a39c514fcf33cf8f1b1f4ccf658c9428fd36756028f001bfc05243f32
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjgyOjVBNzFEOjEzODY1RDA6MUFBQUMxQTo2QUZCNkYxNSIsInZpc2l0b3JfaWQiOiIxOTk2OTAxMTQyOTE0MzYzMTU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2569a68309e6e9d90e8febe10e733e16b0ea51aa55577b33259f83bd9705f8e9
hovercard-subject-tagpull_request:4753605113
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/8657/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Addresses review threads on the v0.9.15 release PR (#8654) against the Projects work disableUserResources revokes the banned user's API keys before archiving their workspaces — the seq...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
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
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/8657/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8657%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%2F8657%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/8657/files
Reloadhttps://github.com/simstudioai/sim/pull/8657/files
Reloadhttps://github.com/simstudioai/sim/pull/8657/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests198 (198)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
staginghttps://github.com/simstudioai/sim/tree/staging
review/pr-8654-projectshttps://github.com/simstudioai/sim/tree/review/pr-8654-projects
Conversation 16 https://github.com/simstudioai/sim/pull/8657
Commits 3 https://github.com/simstudioai/sim/pull/8657/commits
Checks 32 https://github.com/simstudioai/sim/pull/8657/checks
Files changed https://github.com/simstudioai/sim/pull/8657/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8657/files
fix(projects): revoke banned users' keys first and create imported workflows atomically https://github.com/simstudioai/sim/pull/8657/files#top
Show all changes 3 commits https://github.com/simstudioai/sim/pull/8657/files
71c115e fix(projects): revoke banned users' keys first and create imported wo… waleedlatif1 Oct 6, 2026 https://github.com/simstudioai/sim/pull/8657/commits/71c115ed532867d0b1331abd081348c8bf65b0fb
582f73f fix(projects): fail the import when state persistence reports failure… waleedlatif1 Oct 6, 2026 https://github.com/simstudioai/sim/pull/8657/commits/582f73f4865113d65481b4401f4e84ac8a46eb39
341d0de test(projects): type the import fixtures and write a report artifact waleedlatif1 Oct 6, 2026 https://github.com/simstudioai/sim/pull/8657/commits/341d0de903dd57b2251463845889059a6f6c36bc
Clear filters https://github.com/simstudioai/sim/pull/8657/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8657/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8657/files
route.ts https://github.com/simstudioai/sim/pull/8657/files#diff-17224a587e3c734694d017a97afa42e2c10f56ebf328c69aff7dc32bd8a12aa0
route.ts https://github.com/simstudioai/sim/pull/8657/files#diff-8c57d9b539b2e0da99ad6ddf7d4d61d861d837718c49c8d9f9a84dcd555a008a
route.ts https://github.com/simstudioai/sim/pull/8657/files#diff-452cc246b49304a6035fa514a151a362b480b91656df5661cc0b0b40dab19eb1
route.ts https://github.com/simstudioai/sim/pull/8657/files#diff-0cfcce231969b571fe8a6bc791136a4b7f938ebcc325b6b53a41902f7b70c0e0
lifecycle.ts https://github.com/simstudioai/sim/pull/8657/files#diff-4ac8584a20de376e1a1ee56d455dec9907427b807ace597059e316122c4f4f5b
create-workflow-with-state.integration.ts https://github.com/simstudioai/sim/pull/8657/files#diff-9b9fa6e89f0882888432e6bcd70345437f38070b1dfea583a2e4e396f88a4f1a
workflow-lifecycle.ts https://github.com/simstudioai/sim/pull/8657/files#diff-95e7538e4d87787269e3bed0a51a8a851beedcc654a68a8d4a6ec05281ad0876
apps/sim/app/api/superuser/import-workflow/route.tshttps://github.com/simstudioai/sim/pull/8657/files#diff-17224a587e3c734694d017a97afa42e2c10f56ebf328c69aff7dc32bd8a12aa0
View file https://github.com/simstudioai/sim/blob/341d0de903dd57b2251463845889059a6f6c36bc/apps/sim/app/api/superuser/import-workflow/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8657/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8657/files#diff-17224a587e3c734694d017a97afa42e2c10f56ebf328c69aff7dc32bd8a12aa0
https://github.com/simstudioai/sim/pull/8657/files#diff-17224a587e3c734694d017a97afa42e2c10f56ebf328c69aff7dc32bd8a12aa0
https://github.com/simstudioai/sim/pull/8657/files#diff-17224a587e3c734694d017a97afa42e2c10f56ebf328c69aff7dc32bd8a12aa0
https://github.com/simstudioai/sim/pull/8657/files#diff-17224a587e3c734694d017a97afa42e2c10f56ebf328c69aff7dc32bd8a12aa0
apps/sim/app/api/v1/admin/workflows/import/route.tshttps://github.com/simstudioai/sim/pull/8657/files#diff-8c57d9b539b2e0da99ad6ddf7d4d61d861d837718c49c8d9f9a84dcd555a008a
View file https://github.com/simstudioai/sim/blob/341d0de903dd57b2251463845889059a6f6c36bc/apps/sim/app/api/v1/admin/workflows/import/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8657/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8657/files#diff-8c57d9b539b2e0da99ad6ddf7d4d61d861d837718c49c8d9f9a84dcd555a008a
https://github.com/simstudioai/sim/pull/8657/files#diff-8c57d9b539b2e0da99ad6ddf7d4d61d861d837718c49c8d9f9a84dcd555a008a
https://github.com/simstudioai/sim/pull/8657/files#diff-8c57d9b539b2e0da99ad6ddf7d4d61d861d837718c49c8d9f9a84dcd555a008a
https://github.com/simstudioai/sim/pull/8657/files#diff-8c57d9b539b2e0da99ad6ddf7d4d61d861d837718c49c8d9f9a84dcd555a008a
https://github.com/simstudioai/sim/pull/8657/files#diff-8c57d9b539b2e0da99ad6ddf7d4d61d861d837718c49c8d9f9a84dcd555a008a
https://github.com/simstudioai/sim/pull/8657/files#diff-8c57d9b539b2e0da99ad6ddf7d4d61d861d837718c49c8d9f9a84dcd555a008a
https://github.com/simstudioai/sim/pull/8657/files#diff-8c57d9b539b2e0da99ad6ddf7d4d61d861d837718c49c8d9f9a84dcd555a008a
apps/sim/app/api/v1/admin/workspaces/[id]/import/route.tshttps://github.com/simstudioai/sim/pull/8657/files#diff-452cc246b49304a6035fa514a151a362b480b91656df5661cc0b0b40dab19eb1
View file https://github.com/simstudioai/sim/blob/341d0de903dd57b2251463845889059a6f6c36bc/apps/sim/app/api/v1/admin/workspaces/%5Bid%5D/import/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8657/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8657/files#diff-452cc246b49304a6035fa514a151a362b480b91656df5661cc0b0b40dab19eb1
https://github.com/simstudioai/sim/pull/8657/files#diff-452cc246b49304a6035fa514a151a362b480b91656df5661cc0b0b40dab19eb1
https://github.com/simstudioai/sim/pull/8657/files#diff-452cc246b49304a6035fa514a151a362b480b91656df5661cc0b0b40dab19eb1
https://github.com/simstudioai/sim/pull/8657/files#diff-452cc246b49304a6035fa514a151a362b480b91656df5661cc0b0b40dab19eb1
https://github.com/simstudioai/sim/pull/8657/files#diff-452cc246b49304a6035fa514a151a362b480b91656df5661cc0b0b40dab19eb1
Please reload this pagehttps://github.com/simstudioai/sim/pull/8657/files
https://github.com/simstudioai/sim/pull/8657/files#diff-452cc246b49304a6035fa514a151a362b480b91656df5661cc0b0b40dab19eb1
https://github.com/simstudioai/sim/pull/8657/files#diff-452cc246b49304a6035fa514a151a362b480b91656df5661cc0b0b40dab19eb1
apps/sim/app/api/workspaces/[id]/route.tshttps://github.com/simstudioai/sim/pull/8657/files#diff-0cfcce231969b571fe8a6bc791136a4b7f938ebcc325b6b53a41902f7b70c0e0
View file https://github.com/simstudioai/sim/blob/341d0de903dd57b2251463845889059a6f6c36bc/apps/sim/app/api/workspaces/%5Bid%5D/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8657/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8657/files#diff-0cfcce231969b571fe8a6bc791136a4b7f938ebcc325b6b53a41902f7b70c0e0
https://github.com/simstudioai/sim/pull/8657/files#diff-0cfcce231969b571fe8a6bc791136a4b7f938ebcc325b6b53a41902f7b70c0e0
https://github.com/simstudioai/sim/pull/8657/files#diff-0cfcce231969b571fe8a6bc791136a4b7f938ebcc325b6b53a41902f7b70c0e0
apps/sim/lib/workflows/lifecycle.tshttps://github.com/simstudioai/sim/pull/8657/files#diff-4ac8584a20de376e1a1ee56d455dec9907427b807ace597059e316122c4f4f5b
View file https://github.com/simstudioai/sim/blob/341d0de903dd57b2251463845889059a6f6c36bc/apps/sim/lib/workflows/lifecycle.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8657/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8657/files#diff-4ac8584a20de376e1a1ee56d455dec9907427b807ace597059e316122c4f4f5b
https://github.com/simstudioai/sim/pull/8657/files#diff-4ac8584a20de376e1a1ee56d455dec9907427b807ace597059e316122c4f4f5b
https://github.com/simstudioai/sim/pull/8657/files#diff-4ac8584a20de376e1a1ee56d455dec9907427b807ace597059e316122c4f4f5b
Please reload this pagehttps://github.com/simstudioai/sim/pull/8657/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8657/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.