add harness checks for first workdir write + open-folder action #8
ci.yml
on: push
detect integration-impacting changes
4s
check (fast)
5m 43s
check-full (live regressions)
14m 34s
Annotations
4 errors
|
check-full (live regressions)
Process completed with exit code 1.
|
|
src/lib/__tests__/integration/runtime-steady-state.integration.test.ts > runtime steady-state contracts > writes to the host working folder when queued immediately after first bind:
src/lib/__tests__/integration/harness.ts#L162
Error: Timed out waiting for state snapshot predicate
Context: state snapshot predicate
Child: pid=9652 exitCode=null killed=false
Last snapshot: {
"conversation": {
"hasError": false,
"isAgentRunning": false,
"messageCount": 0
},
"models": {
"count": 0,
"error": "RPC command timed out: pi_get_available_models",
"ids": [],
"loading": false,
"selectedModelId": ""
},
"panels": {
"workingFolderEmptyVisible": true,
"workingFolderFileRowCount": 0,
"workingFolderLoadingVisible": false
},
"preview": {
"artifactSource": null,
"error": null,
"isOpen": false,
"loading": false,
"relativePath": null,
"source": "preview",
"taskId": null
},
"runtime": {
"hasConnectedOnce": true,
"rpcConnected": true,
"rpcConnecting": false,
"rpcError": null,
"taskSwitching": false
},
"runtimeDebug": {
"activeTaskId": "7e220311-7e82-4247-a261-0dc746134ed6",
"currentCwd": "/mnt/taskstate/7e220311-7e82-4247-a261-0dc746134ed6/outputs",
"mismatchVisible": false,
"workingFolderRelative": null
},
"schemaVersion": 1,
"task": {
"activeTaskId": "7e220311-7e82-4247-a261-0dc746134ed6",
"currentSessionFile": "/sessions/7e220311-7e82-4247-a261-0dc746134ed6/session.json",
"currentTaskId": "7e220311-7e82-4247-a261-0dc746134ed6",
"currentWorkingFolder": "/Users/runner/work/Piwork/Piwork/tmp/integration/first-write",
"workspaceRoot": "/Users/runner/work/Piwork/Piwork/tmp/integration/first-write"
},
"timestamp": "2026-02-06T22:36:13.432Z",
"ui": {
"bootScreenVisible": false,
"loginPromptVisible": false,
"pendingUiRequest": false,
"quickStartVisible": true,
"reconfigureBannerVisible": false
}
}
--- piwork.integration.log (tail) ---
t"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapsho
|
|
src/lib/__tests__/integration/runtime-steady-state.integration.test.ts > runtime steady-state contracts > preserves conversation state when binding the first working folder:
src/lib/__tests__/integration/harness.ts#L162
Error: Timed out waiting for state snapshot predicate
Context: state snapshot predicate
Child: pid=9652 exitCode=null killed=false
Last snapshot: {
"conversation": {
"hasError": false,
"isAgentRunning": false,
"messageCount": 1
},
"models": {
"count": 0,
"error": "RPC command timed out: pi_get_available_models",
"ids": [],
"loading": false,
"selectedModelId": ""
},
"panels": {
"workingFolderEmptyVisible": false,
"workingFolderFileRowCount": 300,
"workingFolderLoadingVisible": false
},
"preview": {
"artifactSource": null,
"error": null,
"isOpen": false,
"loading": false,
"relativePath": null,
"source": "preview",
"taskId": null
},
"runtime": {
"hasConnectedOnce": true,
"rpcConnected": true,
"rpcConnecting": false,
"rpcError": null,
"taskSwitching": false
},
"runtimeDebug": {
"activeTaskId": "e36a8f67-5a9a-462f-a922-2134db5707b4",
"currentCwd": "/mnt/taskstate/e36a8f67-5a9a-462f-a922-2134db5707b4/outputs",
"mismatchVisible": false,
"workingFolderRelative": null
},
"schemaVersion": 1,
"task": {
"activeTaskId": "e36a8f67-5a9a-462f-a922-2134db5707b4",
"currentSessionFile": "/sessions/e36a8f67-5a9a-462f-a922-2134db5707b4/session.json",
"currentTaskId": "e36a8f67-5a9a-462f-a922-2134db5707b4",
"currentWorkingFolder": "/Users/runner/work/Piwork/Piwork",
"workspaceRoot": "/Users/runner/work/Piwork/Piwork"
},
"timestamp": "2026-02-06T22:33:27.801Z",
"ui": {
"bootScreenVisible": false,
"loginPromptVisible": false,
"pendingUiRequest": false,
"quickStartVisible": false,
"reconfigureBannerVisible": false
}
}
--- piwork.integration.log (tail) ---
t"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
|
|
src/lib/__tests__/integration/journey-sequential.integration.test.ts > sequential journey canary > covers messages, models, workdir bind, artifacts, and reopen:
src/lib/__tests__/integration/harness.ts#L162
Error: Timed out waiting for state snapshot predicate
Context: state snapshot predicate
Child: pid=23103 exitCode=null killed=false
Last snapshot: {
"conversation": {
"hasError": false,
"isAgentRunning": false,
"messageCount": 1
},
"models": {
"count": 0,
"error": "RPC command timed out: pi_get_available_models",
"ids": [],
"loading": false,
"selectedModelId": ""
},
"panels": {
"workingFolderEmptyVisible": false,
"workingFolderFileRowCount": 300,
"workingFolderLoadingVisible": false
},
"preview": {
"artifactSource": null,
"error": null,
"isOpen": false,
"loading": false,
"relativePath": null,
"source": "preview",
"taskId": null
},
"runtime": {
"hasConnectedOnce": true,
"rpcConnected": true,
"rpcConnecting": false,
"rpcError": null,
"taskSwitching": false
},
"runtimeDebug": {
"activeTaskId": "4e7a02db-1bc0-44f3-9025-581414cd53fc",
"currentCwd": "/mnt/taskstate/4e7a02db-1bc0-44f3-9025-581414cd53fc/outputs",
"mismatchVisible": false,
"workingFolderRelative": null
},
"schemaVersion": 1,
"task": {
"activeTaskId": "4e7a02db-1bc0-44f3-9025-581414cd53fc",
"currentSessionFile": "/sessions/4e7a02db-1bc0-44f3-9025-581414cd53fc/session.json",
"currentTaskId": "4e7a02db-1bc0-44f3-9025-581414cd53fc",
"currentWorkingFolder": "/Users/runner/work/Piwork/Piwork",
"workspaceRoot": "/Users/runner/work/Piwork/Piwork"
},
"timestamp": "2026-02-06T22:39:57.266Z",
"ui": {
"bootScreenVisible": false,
"loginPromptVisible": false,
"pendingUiRequest": false,
"quickStartVisible": false,
"reconfigureBannerVisible": false
}
}
--- piwork.integration.log (tail) ---
t"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"}
[test-server] received: {"cmd":"state_snapshot"
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
integration-diagnostics
|
3.37 KB |
sha256:733a38a43c6829a17b5e42fc3d8d33d5c60e20eaac9f99c03b7743828459748c
|
|