Repository navigation
feat: add shared Project files - #8610
mzxchandra wants to merge 14 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
9dae237 to
3db7e57
Compare
|
@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 485 files
Note: This PR contains a large number of files. cubic selects up to 200 of the highest-priority eligible files for this review, so some files may not have been reviewed.
Re-trigger cubic
Reuse entity-owned file operations across Project UI, session APIs, v2/CLI, and delegated Mothership callers. Add Project discovery, sharing, history, copy, collaborative editing, and current-access invalidation while preserving workspace execution boundaries and independent creator/payer attribution. Keep activation gated behind the file-ownership compatibility foundation. Run real HTTP suites through disposable fixture orchestration in CI.
|
547eb7b to
a9fd086
Compare
|
@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 485 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Note: This PR contains a large number of files. cubic selects up to 200 of the highest-priority eligible files for this review, so some files may not have been reviewed.
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. |
Comments Outside DiffThese findings could not be posted inline.
|
|
Regarding the outside-diff finding “Project admins can be denied”: the premise of simultaneous memberships in multiple organizations is excluded by the current database invariant. packages/db/schema.ts declares member_user_id_unique on member.userId, installed by migration 0136_pretty_jack_flag.sql. A real PostgreSQL attempt to construct the proposed multi-organization fixture is rejected by that unique constraint before authorization runs. The membership lookup also compares the returned organization to the canonical Project organization. No authorization change is appropriate while this single-organization invariant remains in force. |
There was a problem hiding this comment.
All reported issues were addressed across 492 files
Note: This PR contains a large number of files. cubic selects up to 200 of the highest-priority eligible files for this review, so some files may not have been reviewed.
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 495 files
Note: This PR contains a large number of files. cubic selects up to 200 of the highest-priority eligible files for this review, so some files may not have been reviewed.
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.
No issues found across 498 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Note: This PR contains a large number of files. cubic selects up to 200 of the highest-priority eligible files for this review, so some files may not have been reviewed.
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
Summary
Stacked on #8609, above #8590; #8580 has merged. Retire incompatible consumers before enabling the default-off Project files flag. Companion Mothership #594 uses the same owner protocol and needs no change for these fixes. This PR adds no further migration.
Type of Change
Testing
Earlier revisions passed native browser collaboration and navigation checks. This revision adds Chromium file-state verification alongside HTTP, PostgreSQL and Socket.IO testing. Drag, sharing and cross-client copy cases passed with the fixes; supplemental negative runs for those three were blocked by dev-cache runtime crashes. Live-model testing and remote Python/XLSX generation remain unverified locally. CI is manually dispatched for the updated branches; workflow triggers and timeouts are unchanged.
Checklist
test-auditauthoring gate)