Skip to content

feat(cloud-agents): add no-repo mode, fix session init race, enable follow-ups after cloud run #3104

feat(cloud-agents): add no-repo mode, fix session init race, enable follow-ups after cloud run

feat(cloud-agents): add no-repo mode, fix session init race, enable follow-ups after cloud run #3104

Triggered via pull request March 18, 2026 17:45
Status Failure
Total duration 6m 7s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 2 warnings, and 1 notice
unit-test
Process completed with exit code 1.
src/server/question-relay.test.ts > Question relay > sendInitialTaskMessage prompt source > falls back to task description when override is missing: packages/agent/src/server/agent-server.ts#L859
TypeError: Cannot read properties of undefined (reading 'flushAll') ❯ AgentServer.sendInitialTaskMessage src/server/agent-server.ts:859:38 ❯ src/server/question-relay.test.ts:355:7
src/server/question-relay.test.ts > Question relay > sendInitialTaskMessage prompt source > uses run state initial_prompt_override when present: packages/agent/src/server/agent-server.ts#L859
TypeError: Cannot read properties of undefined (reading 'flushAll') ❯ AgentServer.sendInitialTaskMessage src/server/agent-server.ts:859:38 ❯ src/server/question-relay.test.ts:328:7
src/server/question-relay.test.ts > Question relay > relayAgentResponse duplicate suppression > does not relay when no agent message is available: packages/agent/src/server/agent-server.ts#L1281
TypeError: this.session.logWriter.getFullAgentResponse is not a function ❯ AgentServer.relayAgentResponse src/server/agent-server.ts:1281:44 ❯ src/server/question-relay.test.ts:302:7
src/server/question-relay.test.ts > Question relay > relayAgentResponse duplicate suppression > relays normally when questionRelayedToSlack is not set: packages/agent/src/server/agent-server.ts#L1281
TypeError: this.session.logWriter.getFullAgentResponse is not a function ❯ AgentServer.relayAgentResponse src/server/agent-server.ts:1281:44 ❯ src/server/question-relay.test.ts:278:7
unit-test
@posthog/agent#test: command (/home/runner/work/code/code/packages/agent) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
unit-test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020, pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
integration-test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020, pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
🎭 Playwright Run Summary
12 passed (49.9s)