Skip to content

feat(workflows): preserve execution principals #27718

feat(workflows): preserve execution principals

feat(workflows): preserve execution principals #27718

Triggered via pull request August 21, 2026 01:27
Status Failure
Total duration 4m 8s
Artifacts

ci.yml

on: pull_request
Detect Version
Detect Version
Migrate Dev DB  /  Apply Database Migrations
Migrate Dev DB / Apply Database Migrations
Detect Desktop Changes
Detect Desktop Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Test and Build  /  Lint and Test
3m 57s
Test and Build / Lint and Test
Test and Build  /  Build App
2m 34s
Test and Build / Build App
Check Docs Changes
0s
Check Docs Changes
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Deploy Trigger.dev (Dev)
Check Desktop Signing Secrets
0s
Check Desktop Signing Secrets
Migrate DB  /  Apply Database Migrations
Migrate DB / Apply Database Migrations
Create Desktop Prerelease
0s
Create Desktop Prerelease
Promote Images
Promote Images
Desktop Prerelease Build  /  Build, Sign, Notarize
Desktop Prerelease Build / Build, Sign, Notarize
Matrix: Create GHCR Manifests
Process Docs  /  Process Documentation Embeddings
Process Docs / Process Documentation Embeddings
Publish Desktop Prerelease
Publish Desktop Prerelease
Create GitHub Release
Create GitHub Release
Prune Desktop Prereleases
Prune Desktop Prereleases
Desktop Release  /  Build, Sign, Notarize
Desktop Release / Build, Sign, Notarize
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
Test and Build / Lint and Test
Process completed with exit code 1.
executor/execution/engine.test.ts > ExecutionEngine > Normal execution > records paused block completion before returning paused result: apps/sim/executor/execution/snapshot-serializer.ts#L262
Error: Cannot serialize pause snapshot: missing principal for workflow test-workflow ❯ serializePauseSnapshot executor/execution/snapshot-serializer.ts:262:11 ❯ ExecutionEngine.buildPausedResult executor/execution/engine.ts:614:26 ❯ ExecutionEngine.run executor/execution/engine.ts:204:21 ❯ executor/execution/engine.test.ts:472:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { executionResult: { success: false, output: {}, error: 'Cannot serialize pause snapshot: missing principal for workflow test-workflow', logs: [], executionState: undefined, metadata: { executionId: 'test-execution', startTime: '2026-08-21T01:29:10.819Z', pendingBlocks: [], status: 'paused', pausePoints: [ 'pause-1' ], endTime: '2026-08-21T01:29:10.819Z', duration: 0.09215299999959825 } } }
executor/execution/engine.test.ts > ExecutionEngine > Normal execution > persists the selected final block provenance instead of run-global matches: apps/sim/executor/execution/engine.test.ts#L237
AssertionError: expected undefined to deeply equal [ { name: 'TOKEN', …(1) } ] - Expected: [ { "encryptedValue": "ciphertext", "name": "TOKEN", }, ] + Received: undefined ❯ executor/execution/engine.test.ts:237:77
tools/index.test.ts > executeTool Function > uses server-authored executor identity for protected internal tools: apps/sim/tools/index.test.ts#L973
AssertionError: expected "vi.fn()" to be called with arguments: [ { …(3) } ] Number of calls: 0 ❯ tools/index.test.ts:973:49
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