You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 777b3e9
Browse filesBrowse the repository at this point in the historyBrowse files
fix(projects): revoke banned users' keys first and create imported workflows atomically (#8657)
* fix(projects): revoke banned users' keys first and create imported workflows atomically
- disableUserResources deletes the user's API keys before archiving their
workspaces, so a failed archive can no longer leave keys behind
- Admin and superuser imports create the row, its state and variables in one
transaction through createWorkflowWithState (name deduplicated under the
workspace lock), so a concurrent archive can't archive the row before its state
lands, and same-name imports retry instead of failing
- Workspace DELETE records the Project archive audit before its not-found guard,
so a retried partial deletion still lands in the audit trail
* fix(projects): fail the import when state persistence reports failure, and cover its rollback
* test(projects): type the import fixtures and write a report artifact
0 commit comments