Repository navigation
feat(projects): enforce Project membership and retire the connector #35277
ci.yml
on: pull_request
version
0s
checks
/
desktop-changes
12s
desktop-changes
0s
trigger-upload
0s
Matrix: checks / e2e
Matrix: checks / integration
Matrix: checks / test
Matrix: image-amd64
Matrix: image-arm64
Matrix: image-dev
docs-changes
migrate-dev
/
migrate
Matrix: ghcr
docs
/
embeddings
trigger-promote
prerelease-prune
0s
Matrix: attest
desktop-release
/
build
Annotations
20 errors, 51 warnings, and 1 notice
|
checks / lint
Process completed with exit code 1.
|
|
checks / test (1/2)
Process completed with exit code 1.
|
|
checks / test (1/2)
@sim/app#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test --shard=1/2 exited (1)
|
|
lib/billing/organizations/lock-order.test.ts > workspace payer-change transaction lock ordering > locks nonzero workspaces before join billing or aggregate payer changes:
apps/sim/lib/projects/membership.ts#L370
ProjectConflictError: Project is changing; retry the ownership change
❯ tryLockProjects lib/projects/membership.ts:370:11
❯ transferWorkspaceProjects lib/projects/membership.ts:294:3
❯ Module.attachOwnedWorkspacesToOrganizationTx lib/workspaces/organization-workspaces.ts:355:3
❯ lib/billing/organizations/lock-order.test.ts:260:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'conflict' }
|
|
ee/workspace-forking/lib/create-fork.test.ts > createFork storage headroom gate > refuses when the parent changed organizations after the policy was captured:
apps/sim/ee/workspace-forking/lib/create-fork.test.ts#L232
AssertionError: expected [Function] to throw error including 'changed organizations while this fork…' but got 'Project membership needs reconciliati…'
Expected: "changed organizations while this fork was being created"
Received: "Project membership needs reconciliation"
❯ ee/workspace-forking/lib/create-fork.test.ts:232:42
|
|
lib/workspaces/organization-workspaces.test.ts > organization workspace helpers > detaches only the locked workspaces that still belong to the organization:
apps/sim/lib/projects/membership.ts#L370
ProjectConflictError: Project is changing; retry the ownership change
❯ tryLockProjects lib/projects/membership.ts:370:11
❯ transferWorkspaceProjects lib/projects/membership.ts:294:3
❯ lib/workspaces/organization-workspaces.ts:497:5
❯ detachOrganizationWorkspacesTx lib/workspaces/organization-workspaces.ts:492:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'conflict' }
|
|
lib/workspaces/organization-workspaces.test.ts > organization workspace helpers > detaches with invitation locks before the organization fence and workspace rows in a enlisted transaction:
apps/sim/lib/projects/membership.ts#L370
ProjectConflictError: Project is changing; retry the ownership change
❯ tryLockProjects lib/projects/membership.ts:370:11
❯ transferWorkspaceProjects lib/projects/membership.ts:294:3
❯ lib/workspaces/organization-workspaces.ts:497:5
❯ Module.detachOrganizationWorkspacesTx lib/workspaces/organization-workspaces.ts:492:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'conflict' }
|
|
lib/workspaces/organization-workspaces.test.ts > organization workspace helpers > detaches with invitation locks before the organization fence and workspace rows in a standalone transaction:
apps/sim/lib/projects/membership.ts#L370
ProjectConflictError: Project is changing; retry the ownership change
❯ tryLockProjects lib/projects/membership.ts:370:11
❯ transferWorkspaceProjects lib/projects/membership.ts:294:3
❯ lib/workspaces/organization-workspaces.ts:497:5
❯ detachOrganizationWorkspacesTx lib/workspaces/organization-workspaces.ts:492:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'conflict' }
|
|
lib/workspaces/admin-move.test.ts > moveWorkspaceToOrganization retries > unpublishes source-organization custom blocks bound to the moving workspace:
apps/sim/lib/workspaces/admin-move.ts#L1504
WorkspaceMoveError: Project is changing; retry the ownership change
❯ Module.moveWorkspaceToOrganization lib/workspaces/admin-move.ts:1504:15
❯ lib/workspaces/admin-move.test.ts:698:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'project-conflict' }
|
|
lib/workspaces/admin-move.test.ts > moveWorkspaceToOrganization retries > re-fences the payer transfer after a SourceOrganizationChangedError retry:
apps/sim/lib/workspaces/admin-move.ts#L1504
WorkspaceMoveError: Project is changing; retry the ownership change
❯ Module.moveWorkspaceToOrganization lib/workspaces/admin-move.ts:1504:15
❯ lib/workspaces/admin-move.test.ts:676:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'project-conflict' }
|
|
lib/workspaces/admin-move.test.ts > moveWorkspaceToOrganization retries > fences the payer transfer on the source organization it read under the locks:
apps/sim/lib/workspaces/admin-move.ts#L1504
WorkspaceMoveError: Project is changing; retry the ownership change
❯ Module.moveWorkspaceToOrganization lib/workspaces/admin-move.ts:1504:15
❯ lib/workspaces/admin-move.test.ts:638:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'project-conflict' }
|
|
lib/workspaces/admin-move.test.ts > moveWorkspaceToOrganization retries > locks both organizations in ascending id order, after invitation locks and before the row lock:
apps/sim/lib/workspaces/admin-move.ts#L1504
WorkspaceMoveError: Project is changing; retry the ownership change
❯ Module.moveWorkspaceToOrganization lib/workspaces/admin-move.ts:1504:15
❯ lib/workspaces/admin-move.test.ts:617:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'project-conflict' }
|
|
lib/workspaces/admin-move.test.ts > moveWorkspaceToOrganization retries > persists a standalone operation marker atomically with a new move:
apps/sim/lib/workspaces/admin-move.ts#L1504
WorkspaceMoveError: Project is changing; retry the ownership change
❯ Module.moveWorkspaceToOrganization lib/workspaces/admin-move.ts:1504:15
❯ lib/workspaces/admin-move.test.ts:500:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'project-conflict' }
|
|
checks / test (2/2)
@sim/app#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test --shard=2/2 exited (1)
|
|
checks / integration (push, 3/4)
Process completed with exit code 1.
|
|
checks / integration (migrate, 3/4)
Process completed with exit code 1.
|
|
checks / integration (push, 1/4)
Process completed with exit code 1.
|
|
checks / integration (migrate, 1/4)
Process completed with exit code 1.
|
|
checks / ci
Process completed with exit code 1.
|
|
checks / ci
Checks did not pass:
|
|
checks / test (1/2)
[git-mirror] Skipping cache commit: Found 2 failed/cancelled steps
|
|
checks / test (1/2)
[git-mirror] - Step: unknown (failed)
|
|
checks / test (1/2)
Skipping sticky disk commit due to previous step failures
|
|
checks / test (1/2)
- Step: unknown (failed)
|
|
checks / test (1/2)
Found 2 failed/cancelled steps in previous workflow steps
|
|
checks / test (1/2)
Skipping sticky disk commit due to previous step failures
|
|
checks / test (1/2)
- Step: unknown (failed)
|
|
checks / test (1/2)
Found 2 failed/cancelled steps in previous workflow steps
|
|
checks / test (1/2)
Skipping sticky disk commit due to previous step failures
|
|
checks / test (1/2)
- Step: unknown (failed)
|
|
checks / test (1/2)
Found 2 failed/cancelled steps in previous workflow steps
|
|
checks / test (2/2)
[git-mirror] Skipping cache commit: Found 2 failed/cancelled steps
|
|
checks / test (2/2)
Skipping sticky disk commit due to previous step failures
|
|
checks / test (2/2)
Found 2 failed/cancelled steps in previous workflow steps
|
|
checks / test (2/2)
Skipping sticky disk commit due to previous step failures
|
|
checks / test (2/2)
Found 2 failed/cancelled steps in previous workflow steps
|
|
checks / test (2/2)
Skipping sticky disk commit due to previous step failures
|
|
checks / test (2/2)
Found 2 failed/cancelled steps in previous workflow steps
|
|
checks / integration (push, 3/4)
[git-mirror] Skipping cache commit: Found 2 failed/cancelled steps
|
|
checks / integration (push, 3/4)
[git-mirror] - Step: unknown (failed)
|
|
checks / integration (push, 3/4)
Skipping sticky disk commit due to previous step failures
|
|
checks / integration (push, 3/4)
- Step: unknown (failed)
|
|
checks / integration (push, 3/4)
Found 2 failed/cancelled steps in previous workflow steps
|
|
checks / integration (push, 3/4)
Skipping sticky disk commit due to previous step failures
|
|
checks / integration (push, 3/4)
- Step: unknown (failed)
|
|
checks / integration (push, 3/4)
Found 2 failed/cancelled steps in previous workflow steps
|
|
checks / integration (migrate, 3/4)
[git-mirror] Skipping cache commit: Found 2 failed/cancelled steps
|
|
checks / integration (migrate, 3/4)
[git-mirror] - Step: unknown (failed)
|
|
checks / integration (migrate, 3/4)
Skipping sticky disk commit due to previous step failures
|
|
checks / integration (migrate, 3/4)
- Step: unknown (failed)
|
|
checks / integration (migrate, 3/4)
Found 2 failed/cancelled steps in previous workflow steps
|
|
checks / integration (migrate, 3/4)
Skipping sticky disk commit due to previous step failures
|
|
checks / integration (migrate, 3/4)
- Step: unknown (failed)
|
|
checks / integration (migrate, 3/4)
Found 2 failed/cancelled steps in previous workflow steps
|
|
checks / integration (push, 1/4)
[git-mirror] Skipping cache commit: Found 2 failed/cancelled steps
|
|
checks / integration (push, 1/4)
[git-mirror] - Step: unknown (failed)
|
|
checks / integration (push, 1/4)
Skipping sticky disk commit due to previous step failures
|
|
checks / integration (push, 1/4)
- Step: unknown (failed)
|
|
checks / integration (push, 1/4)
Found 2 failed/cancelled steps in previous workflow steps
|
|
checks / integration (push, 1/4)
Skipping sticky disk commit due to previous step failures
|
|
checks / integration (push, 1/4)
- Step: unknown (failed)
|
|
checks / integration (push, 1/4)
Found 2 failed/cancelled steps in previous workflow steps
|
|
checks / integration (migrate, 1/4)
[git-mirror] Skipping cache commit: Found 2 failed/cancelled steps
|
|
checks / integration (migrate, 1/4)
[git-mirror] - Step: unknown (failed)
|
|
checks / integration (migrate, 1/4)
Skipping sticky disk commit due to previous step failures
|
|
checks / integration (migrate, 1/4)
- Step: unknown (failed)
|
|
checks / integration (migrate, 1/4)
Found 2 failed/cancelled steps in previous workflow steps
|
|
checks / integration (migrate, 1/4)
Skipping sticky disk commit due to previous step failures
|
|
checks / integration (migrate, 1/4)
- Step: unknown (failed)
|
|
checks / integration (migrate, 1/4)
Found 2 failed/cancelled steps in previous workflow steps
|
|
Slow Test:
apps/desktop/e2e/desktop-tools-live-sim.spec.ts#L0
apps/desktop/e2e/desktop-tools-live-sim.spec.ts took 6.6m
|
|
🎭 Playwright Run Summary
12 passed (7.6m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
integration-reports-migrate-1
|
20 KB |
sha256:db51c7c476a0f349e9f43ad2e5ce3dd0e4dd85d5e076762870de2d6f52d751db
|
|
|
integration-reports-migrate-2
|
25.9 KB |
sha256:4fa35a6fe6af5fe0ace6289973e0859ec9b95d662fca6cf4bd733e66847b6979
|
|
|
integration-reports-migrate-3
|
29.4 KB |
sha256:39adc691791e54dd6948444b08f8faa81df1d3efaae3a63a305e1b0b122e0deb
|
|
|
integration-reports-migrate-4
|
26.5 KB |
sha256:85fa0e08e725cb4e3e9bc1923aaeef1b5dcc08f4b298c0c9d54d300e4afbd218
|
|
|
integration-reports-push-1
|
19.9 KB |
sha256:db6ac547254ab33a88c159a520437a622e1321047a91a1c6e5b2cf7428785fcb
|
|
|
integration-reports-push-2
|
25.9 KB |
sha256:49464b90c917d2a24ba7d515818bd90e515fa8949b362f345ad8c9e4607c86ef
|
|
|
integration-reports-push-3
|
29.3 KB |
sha256:ff295e640e8f2dda7d355a9d29317351701e25583e2e4628049b925beaeecda1
|
|
|
integration-reports-push-4
|
26.5 KB |
sha256:a83609e7efef4a69cb861165681a9c16ab9e362ae4dcf575cb724b76fe433120
|
|