fix(admin): harden dashboard billing operations #27699
ci.yml
on: pull_request
Detect Version
0s
Migrate Dev DB
/
Apply Database Migrations
Detect Desktop Changes
0s
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Test and Build
/
Lint and Test
4m 21s
Test and Build
/
Build App
2m 51s
Check Docs Changes
0s
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Prune Desktop Prereleases
Desktop Release
/
Build, Sign, Notarize
Annotations
5 errors and 6 warnings
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
app/api/workspaces/invitations/route.test.ts > POST /api/workspaces/invitations/batch > rolls back the unified invitation when email delivery fails:
apps/sim/app/api/workspaces/invitations/route.test.ts#L463
AssertionError: expected { Object (success, successful, ...) } to deeply equal ObjectContaining{…}
- Expected
+ Received
- ObjectContaining {
+ {
+ "added": [],
"failed": [
{
"email": "new@example.com",
- "error": "mailer unavailable",
+ "error": "The email failed after the invitation changed concurrently. Retry to reconcile and deliver the current invitation.",
},
],
+ "invitations": [],
"success": false,
+ "successful": [],
}
❯ app/api/workspaces/invitations/route.test.ts:463:33
|
|
app/api/workspaces/invitations/route.test.ts > POST /api/workspaces/invitations/batch > reports org-owned invites as failed when the organization has no available seats:
apps/sim/app/api/workspaces/invitations/route.test.ts#L246
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ app/api/workspaces/invitations/route.test.ts:246:26
|
|
Test and Build / Lint and Test
@sim/app#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
|
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|