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 7050250
Browse filesBrowse the repository at this point in the historyBrowse files
fix(projects): restore workspace deletion and tighten Project lifecycle (#8631)
* fix(projects): restore workspace deletion and tighten Project lifecycle
- Archive a Project with its last active environment instead of refusing the
workspace delete; account deletion follows the same rule, and the implicit
archive is audited
- Gate Project APIs on a `projects` AppConfig flag (PROJECT_API_ENABLED fallback)
- Run Project reads in a read-only snapshot without locks; list Projects from the
caller's grants with batched authorization
- Batch workflow archival, Project transfer and owner reassignment; move Project
ownership on organization ownership transfer
- Reuse shared advisory-lock and text-array helpers; narrow admin-move conflict
mapping to ProjectConflictError
* improvement(projects): unify environment archive and align with shared patterns
- Archive a workspace's workflows atomically with it through one
archiveEnvironmentInTransaction shared by workspace delete and Project archive;
the workspace row is locked before the sweep so concurrent creates are covered
- Scope the Project lock timeout to lock acquisition and map lock timeouts and
deadlocks to a retryable conflict; backfill and multi-Project locks use the
shared advisory-lock helpers in code-unit order
- Shared orchestrationFailureResponse for raw routes; contracts use the ID
primitives and export only what is consumed; audit enums and mock in sync
- Project restrictions section matches its sibling settings rows
- Batch account-deletion Project loads/locks; skip inconsistent Projects in lists
- Harden the foundation integration suite (user-keyed cleanup, poll helper,
pid-scoped waits, precise assertions)
* fix(projects): trim the requested organization id before validating it
* fix(projects): address review on Project locking, archive notifications and list policy cost
* fix(projects): keep archive retries from re-stamping MCP servers and isolate post-commit notifications
0 commit comments