sync(test): merge main into test for app#2049 preview verification
Routine test sync, same shape as api#880.
app previews call test-recoup-api, not production, so app#2049 cannot be preview-verified until the project endpoints are on this branch. Before this merge test was 15 commits behind main and contained none of them ā every /api/projects/* request from an app preview would have 404'd.
Brings in the four merged PRs from app#2048:
| api#881 | collaborator access guard, GET /api/projects/{id}, GET .../tasks/{taskId} |
| api#882 | task create, update, delete |
| api#883 | task comments, read and post |
plus the regenerated types/database.types.ts for the four project tables |
Checked rather than assumed
The merge was clean, but a clean merge is not a working one ā api#883 merged main without a git conflict and still broke the build, because api#881 had changed a function signature and deleted a type underneath it. So:
tsc --noEmitā 0 errors inlib/projects,lib/supabase/project*andapp/api/projects. Total error count is 377, matching the pre-existing baseline in test files.- No conflicts, and the diff is additive: the merge creates the project routes, handlers and supabase libs, and changes nothing that was already on
test.
Merging this unblocks preview verification of app#2049.
š¤ Generated with Claude Code
https://claude.ai/code/session_01MpcHy63mJgvXYmwKcgsn9i
Summary by cubic
Syncs main into test so app previews can reach the project endpoints. Before this, test was 15 commits behind main and had none of them, so every /api/projects/* request from an app preview ā which calls test-recoup-api ā would 404, blocking preview verification of app#2049.
Verified rather than assumed
- A clean merge was not taken as a working one: api#883 merged
mainwithout a git conflict and still broke the build because an earlier PR changed a function signature underneath it. tsc --noEmitshows 0 errors in the project paths, matching the pre-existing baseline.- The diff is purely additive: the four merged PRs for app#2048 plus regenerated
types/database.types.ts, changing nothing already ontest.