Repository navigation
feat(projects): enforce Project membership and retire the connector - #8590
mzxchandra wants to merge 65 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ty-enforcement # Conflicts: # apps/sim/lib/projects/__integration__/foundation.integration.ts
…t-entity-enforcement
…t-entity-enforcement
…t-entity-enforcement # Conflicts: # apps/sim/lib/workspace-files/__integration__/copilot-file-versions.integration.ts
…t-entity-enforcement # Conflicts: # packages/db/scripts/push.integration.ts
|
@cubic-dev-ai review this PR |
@mzxchandra I have started the AI code review. It will take a few minutes to complete. |
…t-entity-enforcement
There was a problem hiding this comment.
All reported issues were addressed across 134 files
You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.
Turn on auto-fix | Re-trigger cubic
…t-entity-enforcement
|
@cubic-dev-ai review this PR |
@mzxchandra I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 149 files
You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.
Turn on auto-fix | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@mzxchandra I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 150 files
You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.
Turn on auto-fix | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@mzxchandra I have started the AI code review. It will take a few minutes to complete. |
Summary
workspace.project_id. feat(projects): move Project membership to the workspace column #8830 supplies compatible column-based readers/writers; this PR enforces membership and retiresproject_workspace.apps/sim/scripts/backfill-projects.ts: read-onlyplan, reviewed archiverepair, boundedapply,verify, andstatus. Persist private manifests/reports for resume; preserve existing assignments and stop on ambiguous or changed families.db:pushfrom contracting existing Project databases; retained data must complete the reviewed migration path. Fresh schema push installs the same permanent lifecycle enforcement as SQL migrations.0405trigger locks reject contention with retryable55P03before waiting with a row lock; application operations retain their existing mutex order.0405validates prepared data, enforces membership/lifecycle constraints, and atomically removes the temporary bridge and connector. Deployment preflight rejects incomplete preparation; the CLI and SQL migration exclude simultaneous execution.This is release 2 of 2. Fully deploy #8830 to production and verify that pre-#8830 application tasks and relevant background jobs have drained before merging this PR into staging. Run the reviewed preparation tool separately for each target database before its #8590 migration. Run
verifywith both the manifest and report to check pending external cleanup as well as database invariants. Keep the artifacts in durable private job storage. #8830 is the oldest supported application rollback release after enforcement and connector removal; retain the contracted schema during rollback.Type of Change
Testing
8c3c334e97. The redundant manual run was canceled after confirming this automatic run covers the same head and test jobs.Checklist
test-auditauthoring gate)