feat(projects): backfill and enforce membership in SQL - #8590
mzxchandra wants to merge 32 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
|
@cubic-dev-ai review this PR |
@mzxchandra I have started the AI code review. It will take a few minutes to complete. |
|
@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.
No issues found across 105 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
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.
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 105 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.
Fix all with cubic | 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.
No issues found across 108 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
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.
Re-trigger cubic
Summary
Merge only after #8580 is deployed and pre-foundation servers and relevant workers have drained. The PR2 migration then performs backfill and enforcement before PR2's app version is served. Verify the workflow role's AWS read permissions before rollout; live AWS verification has not been performed.
Review scope: 97 of the 105 changed files are integration/E2E tests or fixture helpers. They now seed workspace/Project membership together and clean up empty fixture Projects under the enforced schema. No production knowledge-base behavior changes are included. The other eight files contain SQL/Drizzle metadata, the schema annotation, and deployment preflight wiring.
Type of Change
Testing
ef5498a25f: build, lint/tests, PostgreSQL integration through both migration and schema-push provisioning, and real HTTP E2E. The three newly merged fixtures now create and clean up Project membership. Locally, both affected PostgreSQL suites passed all 7 checks and the HTTP/CLI stop-after suite passed all 11 checks, including cleanup; full repository tests, type-checks, lint and all 58 audits also passed. Greptile reports 5/5 and both reviewers have zero unresolved threads.Checklist