Skip to content

[2660 by GPT-6 Astra] Repo-owned workflow file with lifecycle hooks (.propr/workflow.yml) - #2663

Merged
integry merged 36 commits into
mainfrom
2660/gpt-6-astra-repo-owned-workflow-file--20260930-2351-vrd
Oct 5, 2026
Merged

integry merged 36 commits into
mainfrom
2660/gpt-6-astra-repo-owned-workflow-file--20260930-2351-vrd

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #2660

Branch: 2660/gpt-6-astra-repo-owned-workflow-file--20260930-2351-vrd
Commits: ✅ Changes committed (56867aa)


AI Processing Completed

Execution Details:

Summary:
Implemented .propr/workflow.yml for issue implementations and PR follow-ups, including:

  • Base-branch policy loading and revision visibility.
  • Container lifecycle hooks with enforced timeouts.
  • Instructions, validation reports, preview refinements, and capped concurrency.
  • Backward-compatible setup behavior, CLI scaffolding, JSON schema, and documentation.

Focused tests, Redis integration, browser checks, type checks, and builds passed. Captured preview evidence of the task-history change.

Detailed Logs:

  • Conversation: 121 messages
  • Session: 01a0f4bc-6bf7-7f51-a07d-966119ce8e26

Log files stored at:

  • conversation: /tmp/claude-logs/issue-2660-2026-10-01T00-11-41-459Z-conversation.json
  • output: /tmp/claude-logs/issue-2660-2026-10-01T00-11-41-459Z-output.txt
Latest Conversation Messages

This PR was created automatically by ProPR after processing issue #2660.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!


Visual preview

Repository workflow revision

Repository workflow revision

Task history shows the workflow path, base branch, and pinned commit revision.

Original unavailable: managed storage is unavailable or the upload has expired.

…e hooks (.pr

Implemented by ProPR AI using gpt-6-astra model.

Implementation completed successfully.
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

Full Test Suite Results

Validation failed during: Test shard (shard 1), Test shard (shard 2), Test shard (shard 3).

  • Dependency install: success
  • Workspace build: success
  • Docs validation: success
  • Shard coverage verification: success
  • Hosted native Electron units: success
  • Shard 1/4: failed during Test shard in 389.6s on gitfix-rootless-4
    • test/processMergeConflictJob.test.ts: exit 1
    • test/prPublicationJob.test.ts: exit 1
  • Shard 2/4: failed during Test shard in 421.7s on gitfix-rootless-6
    • test/cliInitCommand.test.ts: exit 1
    • test/prPublicationRecoveryJob.test.ts: exit 1
  • Shard 3/4: failed during Test shard in 432.6s on gitfix-rootless-3
    • packages/api/test/mcpPublishPlan.test.ts: exit 1
  • Shard 4/4: passed in 483.1s on gitfix-rootless-5
View shard 1/4 output
...(truncated)

eaning up socket connection
[SocketContext] Received task update: { eventType: �[32m'task:update'�[39m }

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdrops application events delivered by an old desktop scope
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdelivers live events without logging their potentially large payload
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mreference-counts the activity room and rejoins it after a reconnect
�[22m�[39m[SocketContext] Connected to WebSocket server
[SocketContext] Disconnected from WebSocket server: transport close
[SocketContext] Connected to WebSocket server
[SocketContext] Unsubscribed from activity

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mreference-counts the activity room and rejoins it after a reconnect
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mnegotiates direct snapshots without recreating the connection
�[22m�[39m[SocketContext] Connected to WebSocket server
[SocketContext] Disconnected from WebSocket server: transport close

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mnegotiates direct snapshots without recreating the connection
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mrefreshes browser authorization before reconnecting after a permission change
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdelivers activity, goal, notification and usage events without logging their payloads
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdrops activity events delivered by an old desktop scope
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdrops activity events delivered by an old desktop scope
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mfully detaches listeners and disconnects on unmount
�[22m�[39m[SocketContext] Cleaning up socket connection

 �[32m✓�[39m src/contexts/SocketProvider.test.tsx �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[32m 216�[2mms�[22m�[39m
�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mrefetches on task completion with initial HTTP pending=false
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mrefetches on task completion with initial HTTP pending=true
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mtask page replays a large increment once during HTTP/completion
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mtask page orders growing messages: HTTP past socket
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mtask page orders growing messages: socket past HTTP
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mbuffered updates of an execution a newer read replaced�[2m > �[22m�[2mtask page discards a buffered old increment and its late deliveries after a new-execution read
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mbuffered updates of an execution a newer read replaced�[2m > �[22m�[2mtask page discards a buffered old full state and its late deliveries after a new-execution read
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mbuffered updates of an execution a newer read replaced�[2m > �[22m�[2mtask page keeps the newer HTTP execution over an intermediate execution received during the read
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

 �[32m✓�[39m src/components/TaskDetails/useTaskData.followup.test.ts �[2m(�[22m�[2m45 tests�[22m�[2m)�[22m�[33m 1482�[2mms�[22m�[39m
   �[32m✓�[39m full history follow-up regressions �[2m(45)�[22m
     �[33m�[2m✓�[22m�[39m merges large full histories, including unshared prefixes and suffixes, without positional arguments�[33m 1078�[2mms�[22m�[39m
 �[32m✓�[39m src/serviceWorker.test.ts �[2m(�[22m�[2m24 tests�[22m�[2m)�[22m�[32m 92�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useBrowserPush.test.tsx �[2m(�[22m�[2m20 tests�[22m�[2m)�[22m�[33m 612�[2mms�[22m�[39m
�[90mstderr�[2m | src/desktop/DesktopExperience.transport.test.tsx�[2m > �[22m�[2mDesktopExperience transport and fencing�[2m > �[22m�[2mignores a delayed access-invalid event from A after B has connected
�[22m�[39mAn update to DesktopExperience inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/desktop/DesktopExperience.transport.test.tsx �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[33m 1041�[2mms�[22m�[39m
   �[32m✓�[39m DesktopExperience transport and fencing �[2m(11)�[22m
     �[33m�[2m✓�[22m�[39m unmounts account UI on scoped logout and waits for explicit sign-in�[33m 349�[2mms�[22m�[39m
 �[32m✓�[39m src/api/demoMode.test.ts �[2m(�[22m�[2m21 tests�[22m�[2m)�[22m�[32m 73�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositorySelector.test.tsx �[2m(�[22m�[2m24 tests�[22m�[2m)�[22m�[33m 1938�[2mms�[22m�[39m
�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Connected to WebSocket server

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Received task update: { id: �[32m'101'�[39m, username: �[32m'alice'�[39m, avatarUrl: �[1mnull�[22m }

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Connected to WebSocket server

�[90mstderr�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39mAn update to SocketProvider inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Received task update: { id: �[32m'202'�[39m, username: �[32m'bob'�[39m, avatarUrl: �[1mnull�[22m }

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Cleaning up socket connection

 �[32m✓�[39m src/desktop/account-switching.integration.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[33m 1378�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m pairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload�[33m 1375�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useGenerationPolling.test.tsx �[2m(�[22m�[2m10 tests�[22m�[2m)�[22m�[32m 81�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/NewTaskPage.test.tsx �[2m(�[22m�[2m10 tests�[22m�[2m)�[22m�[33m 2770�[2mms�[22m�[39m
   �[32m✓�[39m New Task issue launcher �[2m(10)�[22m
     �[33m�[2m✓�[22m�[39m opens a modal with collapsed settings and no promotional cards�[33m 323�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m transfers files to Plan first before navigation and preserves failed transfers for retry�[33m 337�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m allows a prepared submission to be abandoned and a new identity submitted�[33m 334�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m reopens unresolved work after starting another request and reloading, preserving its key and files�[33m 629�[2mms�[22m�[39m
 �[32m✓�[39m src/components/PreviewLightbox.test.tsx �[2m(�[22m�[2m13 tests�[22m�[2m)�[22m�[33m 791�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.deep-link-presentation.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 1172�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m preserves the warm Open account after tunnel presentation with cold delivery after profile loading�[33m 580�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.recovery.test.tsx �[2m(�[22m�[2m16 tests�[22m�[2m)�[22m�[33m 1059�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.discovery.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 976�[2mms�[22m�[39m
   �[32m✓�[39m DesktopExperience production Connect discovery pipeline �[2m(4)�[22m
     �[33m�[2m✓�[22m�[39m prefills through main discovery, IPC, preload, and the MacIntel Electron adapter before explicit confirmation�[33m 553�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useContextRefresh.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[32m 87�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.authentication.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 905�[2mms�[22m�[39m
   �[32m✓�[39m DesktopExperience authentication �[2m(8)�[22m
     �[33m�[2m✓�[22m�[39m publishes the connected renderer only after its authenticated transport is ready�[33m 381�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/SettingsNavigation.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[33m 822�[2mms�[22m�[39m
   �[32m✓�[39m SettingsNavigation �[2m(7)�[22m
     �[33m�[2m✓�[22m�[39m organizes settings into category tabs�[33m 479�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AIModelSelectionSection.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 654�[2mms�[22m�[39m
   �[32m✓�[39m AIModelSelectionSection �[2m(6)�[22m
     �[33m�[2m✓�[22m�[39m shows the GitHub override label for every reasoning level�[33m 308�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Mcp/McpConnectedAppRow.test.tsx �[2m(�[22m�[2m13 tests�[22m�[2m)�[22m�[33m 700�[2mms�[22m�[39m
 �[32m✓�[39m src/api/voiceApi.test.ts �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[32m 129�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/reviewPromptOverview.test.ts �[2m(�[22m�[2m18 tests�[22m�[2m)�[22m�[32m 27�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/LoginPage.oauthUrl.test.tsx �[2m(�[22m�[2m16 tests�[22m�[2m)�[22m�[32m 16�[2mms�[22m�[39m
 �[32m✓�[39m src/components/GlobalHeaderComponents.status.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[33m 390�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/UsageTipsSection.test.tsx �[2m(�[22m�[2m10 tests�[22m�[2m)�[22m�[33m 1486�[2mms�[22m�[39m
   �[32m✓�[39m usage tips �[2m(10)�[22m
     �[33m�[2m✓�[22m�[39m removes immediately, reuses event ID on bounded retries, and fetches replacements�[33m 321�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m restores a failed dismissal with a retry control using the original event�[33m 807�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useHeaderStats.scope.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 341�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/windowChromeStyles.test.ts �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 6�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/LoginPage.hostedOAuthLifecycle.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 394�[2mms�[22m�[39m
 �[32m✓�[39m src/serviceWorkerRegistration.test.ts �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[32m 11�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/SetupWizardHeaders.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 382�[2mms�[22m�[39m
 �[32m✓�[39m src/api/notificationApi.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 54�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/SettingsLayout.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 236�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/LoginPage.desktopAuthentication.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[33m 319�[2mms�[22m�[39m
   �[32m✓�[39m LoginPage desktop authentication �[2m(1)�[22m
     �[33m�[2m✓�[22m�[39m refreshes shared authentication state and resumes the return path after completion�[33m 316�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/ManagedPreviewStorageSection.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 301�[2mms�[22m�[39m
 �[32m✓�[39m src/api/goals.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 19�[2mms�[22m�[39m
 �[32m✓�[39m src/components/AIActivityMonitor.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 603�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/GlobalSearch.loading.test.tsx�[2m > �[22m�[2mGlobalSearch loading states�[2m > �[22m�[2mrenders a search failure as an error rather than an empty result
�[22m�[39mSearch failed: Error: Search unavailable
    at �[90m/var/lib/propr-ci/worker4/work/propr/propr/propr-ui/�[39msrc/components/GlobalSearch.loading.test.tsx:49:44
    at file:///var/lib/propr-ci/worker4/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:1628:35
    at file:///var/lib/propr-ci/worker4/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2783:26
    at file:///var/lib/propr-ci/worker4/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3319:20
    at new Promise (<anonymous>)
    at runWithCancel (file:///var/lib/propr-ci/worker4/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3314:10)
    at file:///var/lib/propr-ci/worker4/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3299:20
    at new Promise (<anonymous>)
    at runWithTimeout (file:///var/lib/propr-ci/worker4/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3257:10)
    at file:///var/lib/propr-ci/worker4/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3876:64

 �[32m✓�[39m src/components/GlobalSearch.loading.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 952�[2mms�[22m�[39m
   �[32m✓�[39m GlobalSearch loading states �[2m(2)�[22m
     �[33m�[2m✓�[22m�[39m waits for successful task and plan reads before showing no results�[33m 603�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m renders a search failure as an error rather than an empty result�[33m 346�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/sectionState.visibility.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 39�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/preloadWindowFrame.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 12�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/electronAdapters.localSetup.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 9�[2mms�[22m�[39m
 �[32m✓�[39m src/App.invalidConfiguration.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 1743�[2mms�[22m�[39m
   �[32m✓�[39m invalid eager API configuration �[2m(4)�[22m
     �[33m�[2m✓�[22m�[39m renders a bounded safe connection screen without leaking configured input�[33m 1558�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/apiDataGuards.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/api/taskPathEncoding.test.ts �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 16�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/headerStatsRequestCoordinator.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 9�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/ReferenceChips.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 40�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useDesktopLayout.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 18�[2mms�[22m�[39m
 �[32m✓�[39m src/api/previewStorageApi.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/AgentModelSelectorParts.responsive.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 96�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ui/SystemAlert.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 275�[2mms�[22m�[39m
 �[32m✓�[39m src/components/creationActions.test.ts �[2m(�[22m�[2m20 tests�[22m�[2m)�[22m�[32m 9�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m49 passed�[39m�[22m�[90m (49)�[39m
�[2m      Tests �[22m �[1m�[32m417 passed�[39m�[22m�[90m (417)�[39m
�[2m   Start at �[22m 00:19:40
�[2m   Duration �[22m 54.71s�[2m (environment 53%, tests 25%, setup 8%, import 8%, transform 6%)�[22m

�[2mEnvironment �[22m �[33mjsdom was created 49 times�[39m�[2m · 53.14s total, 53% of tracked time�[22m
�[2m            �[22m �[2mcreate it once per worker with �[22m�[33mpool: 'vmThreads'�[39m�[2m (keeps per-file isolation) or �[22m�[33misolate: false�[39m�[2m (shares it across files)�[22m
�[2m            �[22m �[2mlearn more: https://vitest.dev/guide/improving-performance#test-environments�[22m


> [email protected] posttest
> npm run test:docker-context


> [email protected] test:docker-context
> node --test scripts/docker-context-inputs.test.mjs

TAP version 13
# Subtest: focused UI selectors are forwarded only to Vitest
ok 1 - focused UI selectors are forwarded only to Vitest
  ---
  duration_ms: 1.19324
  type: 'test'
  ...
# Subtest: the UI Docker context contains its complete non-type external source import closure
ok 2 - the UI Docker context contains its complete non-type external source import closure
  ---
  duration_ms: 96.656897
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 162.508351
[157/157] passed propr-ui#2/4 (workspace test script) in 55.7s

### Shard 1/4: 155/157 passed in 389.6s

Assigned 157 of 627 discovered units.

| Duration | Status | Unit |
| ---: | --- | --- |
| 55.7s | passed | `propr-ui#2/4` (workspace) |
| 22.8s | passed | `packages/api/test/planRevisions.test.ts` |
| 14.7s | passed | `apps/desktop/scripts/packaged-connect-journey.test.mjs` |
| 13.0s | passed | `packages/api/test/mcpRecentActivity.test.ts` |
| 8.9s | passed | `packages/api/test/mcpAccessLogDispatch.test.ts` |
| 8.2s | passed | `packages/api/test/dashboardReadService.test.ts` |
| 8.0s | passed | `packages/cli/src/commands/initCommands.test.ts` |
| 7.1s | passed | `test/summaryMinerBatchFallback.test.ts` |
| 6.8s | passed | `apps/desktop/scripts/published-preview-electron.test.mjs` |
| 6.6s | passed | `test/generateContext.test.ts` |
| 6.5s | passed | `test/notificationPublicEntrypoint.test.ts` |
| 5.5s | passed | `packages/api/test/activityDelivery.test.ts` |
| 5.5s | passed | `packages/api/test/mcpWorkOverview.test.ts` |
| 4.9s | passed | `packages/api/test/configRoutesIndexingSummarization.test.ts` |
| 4.8s | passed | `packages/api/test/mcpOperatorSurface.test.ts` |


2/157 test runs failed in shard 1/4 after 389.6s:
- test/processMergeConflictJob.test.ts: exit 1
- test/prPublicationJob.test.ts: exit 1

View shard 2/4 output
...(truncated)

est was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/desktop/LocalSetupWizard.integration.test.tsx�[2m > �[22m�[2mproduction local setup journey�[2m > �[22m�[2mshows and confirms corrected WebSocket intake for stale ProPR Connect recovery
�[22m�[39mAn update to LocalSetupWizard inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to LocalSetupWizard inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.test.ts�[2m > �[22m�[2mtask detail history refreshes�[2m > �[22m�[2mturns the fixture baseline of three burst invalidations into one additional history request
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task-1'�[39m, state: �[32m'processing'�[39m }
[useTaskData] Received task update via WebSocket: { taskId: �[32m'task-1'�[39m, state: �[32m'processing'�[39m }
[useTaskData] Received task update via WebSocket: { taskId: �[32m'task-1'�[39m, state: �[32m'processing'�[39m }

 �[32m✓�[39m src/components/TaskDetails/useTaskData.test.ts �[2m(�[22m�[2m23 tests�[22m�[2m)�[22m�[32m 78�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/LocalSetupWizard.integration.test.tsx �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[33m 2176�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/electronAdapters.test.ts �[2m(�[22m�[2m18 tests�[22m�[2m)�[22m�[32m 243�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/setupWizardHooks.persistence.test.tsx �[2m(�[22m�[2m10 tests�[22m�[2m)�[22m�[32m 67�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ConnectPlusBanner.test.tsx �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[33m 1962�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/McpLogsPage.test.tsx �[2m(�[22m�[2m15 tests�[22m�[2m)�[22m�[33m 1163�[2mms�[22m�[39m
   �[32m✓�[39m McpLogsPage �[2m(15)�[22m
     �[33m�[2m✓�[22m�[39m renders the newest-first table and the window summary�[33m 365�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/DashboardSummary.test.tsx �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[33m 797�[2mms�[22m�[39m
   �[32m✓�[39m dashboard narrative �[2m(14)�[22m
     �[33m�[2m✓�[22m�[39m ticks freshness without requests and retains its age after failures or while paused�[33m 428�[2mms�[22m�[39m
�[90mstdout�[2m | src/hooks/useDraft.test.tsx�[2m > �[22m�[2museDraft�[2m > �[22m�[2mapplies generation socket snapshots without refetching the draft
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  eventType: �[32m'draft:update'�[39m,
  draftId: �[32m'draft-1'�[39m,
  step: �[32m'context'�[39m,
  status: �[32m'in_progress'�[39m,
  timestamp: �[32m'2026-05-05T00:00:05Z'�[39m,
  draftStatus: �[32m'generating'�[39m,
  generationTrace: { steps: [ �[36m[Object]�[39m, �[36m[Object]�[39m ] }
}

�[90mstdout�[2m | src/hooks/useDraft.test.tsx�[2m > �[22m�[2museDraft�[2m > �[22m�[2mresyncs once when a socket event reports a terminal draft status
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  eventType: �[32m'draft:update'�[39m,
  draftId: �[32m'draft-1'�[39m,
  step: �[32m'llm'�[39m,
  status: �[32m'completed'�[39m,
  timestamp: �[32m'2026-05-05T00:00:10Z'�[39m,
  draftStatus: �[32m'review'�[39m,
  generationTrace: { steps: [ �[36m[Object]�[39m, �[36m[Object]�[39m, �[36m[Object]�[39m ] }
}

�[90mstdout�[2m | src/hooks/useDraft.test.tsx�[2m > �[22m�[2museDraft�[2m > �[22m�[2minstalls the next run ID before accepting its first socket snapshot
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  eventType: �[32m'draft:update'�[39m,
  draftId: �[32m'draft-1'�[39m,
  runId: �[32m'generation-run-2'�[39m,
  step: �[32m'context'�[39m,
  status: �[32m'in_progress'�[39m,
  timestamp: �[32m'2026-05-05T00:00:10Z'�[39m,
  draftStatus: �[32m'generating'�[39m,
  generationTrace: { runId: �[32m'generation-run-2'�[39m, steps: [ �[36m[Object]�[39m ] }
}

�[90mstdout�[2m | src/hooks/useDraft.test.tsx�[2m > �[22m�[2museDraft�[2m > �[22m�[2mapplies terminal draft status from the socket before the follow-up fetch resolves
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  eventType: �[32m'draft:update'�[39m,
  draftId: �[32m'draft-1'�[39m,
  step: �[32m'complete'�[39m,
  status: �[32m'completed'�[39m,
  timestamp: �[32m'2026-05-05T00:00:10Z'�[39m,
  draftStatus: �[32m'review'�[39m,
  generationTrace: { steps: [ �[36m[Object]�[39m, �[36m[Object]�[39m, �[36m[Object]�[39m ] }
}

 �[32m✓�[39m src/hooks/useDraft.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 328�[2mms�[22m�[39m
 �[32m✓�[39m src/components/AgentTankSidebar.test.tsx �[2m(�[22m�[2m15 tests�[22m�[2m)�[22m�[33m 1170�[2mms�[22m�[39m
   �[32m✓�[39m AgentTankSidebar Claude metrics �[2m(2)�[22m
     �[33m�[2m✓�[22m�[39m renders the Fable weekly quota alongside Session, Weekly and Sonnet�[33m 331�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/DesktopNotificationSettingsSection.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 827�[2mms�[22m�[39m
   �[32m✓�[39m Desktop notification settings �[2m(8)�[22m
     �[33m�[2m✓�[22m�[39m shows an independent section with quiet defaults and explicit enrollment�[33m 389�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/HappeningNowSection.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 767�[2mms�[22m�[39m
   �[32m✓�[39m Happening now sub-phase line �[2m(5)�[22m
     �[33m�[2m✓�[22m�[39m gives every running row a sub-phase line, and none of them a spinner�[33m 328�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2momits tab and requests for disabled/legacy repositories (false)
�[22m�[39mAn update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2momits tab and requests for disabled/legacy repositories (undefined)
�[22m�[39mAn update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2mclears media on repository change and disabling, ignoring stale requests
�[22m�[39mAn update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/App.hostedFlow.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 1862�[2mms�[22m�[39m
   �[32m✓�[39m HostedFlowRouteSync �[2m(5)�[22m
     �[33m�[2m✓�[22m�[39m preserves the validated active flow across actual React Router navigation without duplicating query parameters�[33m 1505�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Repositories/RepoMediaPanel.test.tsx �[2m(�[22m�[2m12 tests�[22m�[2m)�[22m�[33m 1502�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/ReviewContextSettings.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 432�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useHeaderStats.status.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 293�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useLiveRefreshScheduler.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 38�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/AddRepositoryModal.test.tsx�[2m > �[22m�[2mAddRepositoryModal�[2m > �[22m�[2mkeeps branch selection in the scroll-owned form and submits through one form path
�[22m�[39mIn HTML, <button> cannot be a descendant of <button>.
This will cause a hydration error.

  <AddRepositoryModal isOpen={true} newRepo="integry/propr" newAlias="Production" newBaseBranch="release/20..." ...>
    <div className="fixed inse..." onClick={function handleBackdropClick}>
      <div ref={{...}} role="dialog" aria-modal="true" aria-labelledby="_r_9_" tabIndex={-1} className="bg-white r...">
        <div>
        <form onSubmit={function handleSubmit} className="flex min-h...">
          <div data-testid="add-reposi..." className="min-h-0 fl...">
            <div>
            <div>
            <div>
              <label>
              <BaseBranchSelector repoName="integry/propr" value="release/20..." onChange={function Mock} ...>
                <div className="relative" ref={{...}}>
>                 <button
>                   id="_r_d_"
>                   type="button"
>                   onClick={function handleOpen}
>                   disabled={false}
>                   aria-labelledby="_r_e_ _r_h_"
>                   aria-describedby="_r_f_"
>                   aria-haspopup="listbox"
>                   aria-expanded={false}
>                   className="w-full px-3 py-2 text-left bg-white border border-gray-300 rounded-md font-mono text-sm..."
>                 >
                    <span>
                    <div className="flex items...">
>                     <button
>                       type="button"
>                       onClick={function handleClear}
>                       className="p-0.5 hover:bg-gray-200 rounded text-gray-400 hover:text-gray-600"
>                       title="Clear selection"
>                     >
                      ...
              ...
            ...
          ...

<button> cannot contain a nested <button>.
See this log for the ancestor stack trace.

 �[32m✓�[39m src/components/AddRepositoryModal.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 647�[2mms�[22m�[39m
   �[32m✓�[39m AddRepositoryModal �[2m(5)�[22m
     �[33m�[2m✓�[22m�[39m exposes one labelled dialog with reachable header and form actions�[33m 365�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/VisualPreviewAuthSection.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 483�[2mms�[22m�[39m
 �[32m✓�[39m src/components/SystemHealthPush.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 439�[2mms�[22m�[39m
 �[32m✓�[39m src/components/SummaryBrowser/index.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 209�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/AccessManagementPage.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 360�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentsListSection.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 1050�[2mms�[22m�[39m
   �[32m✓�[39m AgentsListSection web login �[2m(5)�[22m
     �[33m�[2m✓�[22m�[39m folds legacy models within each provider until requested�[33m 541�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Goals/goalTimeline.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 8�[2mms�[22m�[39m
 �[32m✓�[39m src/api/apiClient.accounts.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 74�[2mms�[22m�[39m
 �[32m✓�[39m src/components/AgentChat/ModelSelector.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 708�[2mms�[22m�[39m
   �[32m✓�[39m ModelSelector keyboard navigation �[2m(4)�[22m
     �[33m�[2m✓�[22m�[39m scrolls to and selects an active option beyond the initial viewport�[33m 494�[2mms�[22m�[39m
 �[32m✓�[39m src/api/compatibility.test.ts �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 209�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.shortcut-readiness.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 355�[2mms�[22m�[39m
   �[32m✓�[39m DesktopExperience shortcut readiness �[2m(2)�[22m
     �[33m�[2m✓�[22m�[39m handles the management shortcut in the commit that makes a delayed connection ready�[33m 318�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanEditor.responsive.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 58�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/ExecutionEventLog.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 315�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/browserAdapters.test.ts �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 56�[2mms�[22m�[39m
 �[32m✓�[39m src/App.hostedCompletion.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 215�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SummaryBrowserPage.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 88�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopPresentationBoundary.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[33m 315�[2mms�[22m�[39m
   �[32m✓�[39m DesktopPresentationBoundary deep-link subscription �[2m(1)�[22m
     �[33m�[2m✓�[22m�[39m subscribes once, tears down, and does not replay a consumed candidate after remount�[33m 313�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/workTitle.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentTankSection.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 357�[2mms�[22m�[39m
 �[32m✓�[39m src/api/usageTipsApi.test.ts �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
�[90mstderr�[2m | src/pages/DesktopPairingPage.test.tsx�[2m > �[22m�[2mDesktopPairingPage�[2m > �[22m�[2mshows the server-provided client name and requires an explicit approval click
�[22m�[39mIn HTML, <div> cannot be a descendant of <p>.
This will cause a hydration error.

  <MemoryRouter initialEntries={[...]}>
    <Router basename={undefined} location={{pathname:"...", ...}} navigationType="POP" navigator={{index:0, ...}} ...>
      <AuthProvider user={{id:"101", ...}}>
        <DesktopPairingPage>
          <main className="flex min-h...">
            <section className="w-full max...">
              <img>
              <h1>
              <p>
>             <p className="mt-3 text-sm">
                <GitHubAccountIdentity account={{id:"101", ...}}>
                  <span className="inline-fle...">
                    <UserAvatar user={{id:"101", ...}} className="flex h-6 w..." fallbackClassName="bg-slate-1..." ...>
                      <AvatarFallback accessibleName="alice avatar" className="flex h-6 w..." ...>
>                       <div
>                         className="flex h-6 w-6 flex-none items-center justify-center rounded-full border border-sla..."
>                         aria-hidden={true}
>                       >
                    ...
              ...

<p> cannot contain a nested <div>.
See this log for the ancestor stack trace.

 �[32m✓�[39m src/pages/DesktopPairingPage.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 266�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/PackagedAcceptanceLocalSetup.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 412�[2mms�[22m�[39m
   �[32m✓�[39m packaged acceptance local-setup surfaces �[2m(3)�[22m
     �[33m�[2m✓�[22m�[39m drives the fixed prerequisites into the stable progress surface�[33m 387�[2mms�[22m�[39m
 �[32m✓�[39m src/contexts/SystemStatusContext.push.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 25�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useSystemReadiness.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 76�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositoryListItem.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 281�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useAgentTankSuggestion.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 75�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/UsageTipsSettingsSection.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 74�[2mms�[22m�[39m
 �[32m✓�[39m src/components/workflowSelectionInput.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopWindowControls.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 232�[2mms�[22m�[39m
 �[32m✓�[39m src/utils/notificationIntents.test.ts �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 5�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m49 passed�[39m�[22m�[90m (49)�[39m
�[2m      Tests �[22m �[1m�[32m374 passed�[39m�[22m�[90m (374)�[39m
�[2m   Start at �[22m 00:20:12
�[2m   Duration �[22m 54.00s�[2m (environment 50%, tests 26%, import 10%, setup 8%, transform 5%)�[22m

�[2mEnvironment �[22m �[33mjsdom was created 49 times�[39m�[2m · 50.33s total, 50% of tracked time�[22m
�[2m            �[22m �[2mcreate it once per worker with �[22m�[33mpool: 'vmThreads'�[39m�[2m (keeps per-file isolation) or �[22m�[33misolate: false�[39m�[2m (shares it across files)�[22m
�[2m            �[22m �[2mlearn more: https://vitest.dev/guide/improving-performance#test-environments�[22m


> [email protected] posttest
> npm run test:docker-context


> [email protected] test:docker-context
> node --test scripts/docker-context-inputs.test.mjs

TAP version 13
# Subtest: focused UI selectors are forwarded only to Vitest
ok 1 - focused UI selectors are forwarded only to Vitest
  ---
  duration_ms: 1.220831
  type: 'test'
  ...
# Subtest: the UI Docker context contains its complete non-type external source import closure
ok 2 - the UI Docker context contains its complete non-type external source import closure
  ---
  duration_ms: 73.517071
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 139.966209
[157/157] passed propr-ui#3/4 (workspace test script) in 55.1s

### Shard 2/4: 155/157 passed in 421.7s

Assigned 157 of 627 discovered units.

| Duration | Status | Unit |
| ---: | --- | --- |
| 55.1s | passed | `propr-ui#3/4` (workspace) |
| 32.5s | passed | `packages/core/test/notificationService.test.ts` |
| 28.5s | passed | `apps/desktop/src/profile-store.crash-recovery.test.ts` |
| 17.4s | passed | `apps/desktop/src/saved-accounts.test.ts` |
| 9.7s | passed | `packages/api/test/mcpActivity.test.ts` |
| 9.0s | passed | `packages/api/test/liveOutputStream.test.ts` |
| 8.7s | passed | `test/reviewContextBudget.test.ts` |
| 8.7s | passed | `apps/desktop/scripts/desktop-native-menu.test.mjs` |
| 8.5s | passed | `test/prContinuation.test.ts` |
| 7.6s | passed | `apps/desktop/scripts/macos-window-chrome.test.mjs` |
| 6.9s | passed | `apps/desktop/src/credential-service.test.ts` |
| 5.9s | passed | `packages/api/test/notificationProjectionService.test.ts` |
| 5.3s | passed | `test/summarizationRuntimeState.test.ts` |
| 5.1s | passed | `test/reviewPromptBuilder.test.ts` |
| 4.8s | passed | `test/nodeTestProof.test.mjs` |


2/157 test runs failed in shard 2/4 after 421.7s:
- test/cliInitCommand.test.ts: exit 1
- test/prPublicationRecoveryJob.test.ts: exit 1

View shard 3/4 output
...(truncated)

218.805612
          type: 'test'
          ...
        # Subtest: cleanupExpiredWorktrees handles non-existent base path gracefully
        ok 4 - cleanupExpiredWorktrees handles non-existent base path gracefully
          ---
          duration_ms: 189.371961
          type: 'test'
          ...
        # Subtest: cleanupExpiredWorktrees handles corrupted retention info gracefully
        ok 5 - cleanupExpiredWorktrees handles corrupted retention info gracefully
          ---
          duration_ms: 206.07218
          type: 'test'
          ...
        1..5
    ok 6 - Expired Worktree Cleanup
      ---
      duration_ms: 1028.796974
      type: 'suite'
      ...
    # Subtest: Safe Worktree Pruning
        # Subtest: detects and prunes stale metadata when worktree directory is missing
        ok 1 - detects and prunes stale metadata when worktree directory is missing
          ---
          duration_ms: 208.798604
          type: 'test'
          ...
        # Subtest: skips young stale entries that are below minimum age threshold
        ok 2 - skips young stale entries that are below minimum age threshold
          ---
          duration_ms: 212.336755
          type: 'test'
          ...
        # Subtest: handles non-existent .git/worktrees directory gracefully
        ok 3 - handles non-existent .git/worktrees directory gracefully
          ---
          duration_ms: 312.294093
          type: 'test'
          ...
        # Subtest: prunes entries without gitdir file when old enough
        ok 4 - prunes entries without gitdir file when old enough
          ---
          duration_ms: 221.87365
          type: 'test'
          ...
        # Subtest: skips entries without gitdir file when too young
        ok 5 - skips entries without gitdir file when too young
          ---
          duration_ms: 203.776419
          type: 'test'
          ...
        # Subtest: preserves valid worktree metadata for existing directories
        ok 6 - preserves valid worktree metadata for existing directories
          ---
          duration_ms: 199.029377
          type: 'test'
          ...
        # Subtest: handles mixed scenarios with valid, stale-old, and stale-young entries
        ok 7 - handles mixed scenarios with valid, stale-old, and stale-young entries
          ---
          duration_ms: 252.872435
          type: 'test'
          ...
        # Subtest: respects configurable minimum age threshold
        ok 8 - respects configurable minimum age threshold
          ---
          duration_ms: 195.818338
          type: 'test'
          ...
        1..8
    ok 7 - Safe Worktree Pruning
      ---
      duration_ms: 1807.507146
      type: 'suite'
      ...
    1..7
ok 1 - Worktree Lifecycle Integration Tests
  ---
  duration_ms: 7653.1691
  type: 'suite'
  ...
1..1
# tests 34
# suites 8
# pass 34
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 8091.486673
[156/157] passed test/worktreeLifecycle.integration.test.ts in 8.3s

[157/157] propr-ui#4/4 (workspace test script)

> [email protected] test
> vitest run --shard=4/4


�[1m�[30m�[46m RUN �[49m�[39m�[22m �[36mv5.0.0 �[39m�[90m/var/lib/propr-ci/worker3/work/propr/propr/propr-ui�[39m

 �[32m✓�[39m src/hooks/useVoiceBriefing.test.tsx �[2m(�[22m�[2m29 tests�[22m�[2m)�[22m�[32m 193�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.management.test.tsx �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[33m 1922�[2mms�[22m�[39m
   �[32m✓�[39m DesktopExperience profile management �[2m(19)�[22m
     �[33m�[2m✓�[22m�[39m switches instances and opens management from the compact connected selector�[33m 508�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard.designRules.test.tsx �[2m(�[22m�[2m18 tests�[22m�[2m)�[22m�[33m 1297�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useLiveResource.test.tsx �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[32m 100�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/GoalsPage.test.tsx �[2m(�[22m�[2m55 tests�[22m�[2m)�[22m�[33m 8780�[2mms�[22m�[39m
   �[32m✓�[39m GoalsPage �[2m(55)�[22m
     �[33m�[2m✓�[22m�[39m renders up to three inline previews in the responsive goal row without per-row requests�[33m 431�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m reconciles the queue exactly once when the socket comes back�[33m 460�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m creates exactly one native goal from repository, agent, model and objective�[33m 514�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m counts Unicode characters and applies only the selected provider objective limit�[33m 415�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m counts Claude objectives in UTF-16 units like Claude Code /goal does�[33m 369�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m remembers reusable settings from the previously created goal�[33m 345�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m narrows the queue by every search keyword and mirrors the query in the URL�[33m 488�[2mms�[22m�[39m
�[90mstderr�[2m | src/pages/SettingsPage/useAgentTankSettings.test.tsx�[2m > �[22m�[2ma blank draft survives an earlier write completing (rejected: false)
�[22m�[39mFailed to save Agent Tank settings: Error: Replacement failed
    at �[90m/var/lib/propr-ci/worker3/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.test.tsx:79:58
    at file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2783:20

�[90mstderr�[2m | src/pages/SettingsPage/useAgentTankSettings.test.tsx�[2m > �[22m�[2ma blank draft survives an earlier write completing (rejected: true)
�[22m�[39mFailed to save Agent Tank settings: Error: Earlier write failed
    at �[90m/var/lib/propr-ci/worker3/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.test.tsx:59:25

�[90mstderr�[2m | src/pages/SettingsPage/useAgentTankSettings.test.tsx�[2m > �[22m�[2ma blank draft survives an earlier write completing (rejected: true)
�[22m�[39mFailed to save Agent Tank settings: Error: Replacement failed
    at �[90m/var/lib/propr-ci/worker3/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.test.tsx:79:58
    at file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2783:20

�[90mstderr�[2m | src/pages/SettingsPage/useAgentTankSettings.test.tsx�[2m > �[22m�[2ma rejected mode change is reported and the shown mode goes back to what is persisted
�[22m�[39mFailed to save Agent Tank settings: Error: Backend too old
    at �[90m/var/lib/propr-ci/worker3/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.test.tsx:116:54
    at file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:1628:35
    at file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2783:26
    at file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3319:20
    at new Promise (<anonymous>)
    at runWithCancel (file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3314:10)
    at file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3299:20
    at new Promise (<anonymous>)
    at runWithTimeout (file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3257:10)
    at file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3876:64

�[90mstderr�[2m | src/pages/SettingsPage/useAgentTankSettings.test.tsx�[2m > �[22m�[2man older failed write does not replace a newer successful selection
�[22m�[39mFailed to save Agent Tank settings: Error: Backend too old
    at �[90m/var/lib/propr-ci/worker3/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.test.tsx:169:56

 �[32m✓�[39m src/pages/LoginPage.test.tsx �[2m(�[22m�[2m18 tests�[22m�[2m)�[22m�[33m 389�[2mms�[22m�[39m
�[90mstderr�[2m | src/pages/SettingsPage/useAgentTankSettings.test.tsx�[2m > �[22m�[2ma refused selection reports no availability for the mode that was never stored
�[22m�[39mFailed to save Agent Tank settings: Error: Backend too old
    at �[90m/var/lib/propr-ci/worker3/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.test.tsx:253:54
    at file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:1628:35
    at file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2783:26
    at file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3319:20
    at new Promise (<anonymous>)
    at runWithCancel (file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3314:10)
    at file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3299:20
    at new Promise (<anonymous>)
    at runWithTimeout (file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3257:10)
    at file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3876:64

�[90mstderr�[2m | src/pages/SettingsPage/useAgentTankSettings.test.tsx�[2m > �[22m�[2ma refused selection restores the availability of the mode that is persisted
�[22m�[39mFailed to save Agent Tank settings: Error: Backend too old
    at �[90m/var/lib/propr-ci/worker3/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.test.tsx:272:35
    at Mock (file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/spy.DPLvp2J7.js:320:40)
    at �[90m/var/lib/propr-ci/worker3/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.ts:110:15

 �[32m✓�[39m src/pages/SettingsPage/useAgentTankSettings.test.tsx �[2m(�[22m�[2m17 tests�[22m�[2m)�[22m�[33m 3374�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m availability is fetched only after the selected mode has been saved�[33m 1157�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m a selection waiting behind an earlier write is probed only once it is persisted�[33m 1128�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m a refused selection reports no availability for the mode that was never stored�[33m 685�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard.pushRefresh.test.tsx �[2m(�[22m�[2m10 tests�[22m�[2m)�[22m�[33m 1523�[2mms�[22m�[39m
   �[32m✓�[39m Dashboard push-driven refreshes �[2m(10)�[22m
     �[33m�[2m✓�[22m�[39m removes a resumed task from attention on its progressed push�[33m 302�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m shows a plan issue that moved to review without waiting for a timer�[32m 300�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m regenerates the activity summary when a task stops for a human�[33m 332�[2mms�[22m�[39m
�[90mstderr�[2m | src/contexts/NotificationCenterContext.test.tsx�[2m > �[22m�[2mNotificationCenterProvider�[2m > �[22m�[2mignores a previous account preference after identity changes
�[22m�[39mAn update to NotificationCenterProvider inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/contexts/NotificationCenterContext.test.tsx �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 283�[2mms�[22m�[39m
 �[32m✓�[39m src/api/proprApi.logout.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 474�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/PlansPage.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 1006�[2mms�[22m�[39m
   �[32m✓�[39m PlansPage �[2m(6)�[22m
     �[33m�[2m✓�[22m�[39m renders repository filter counts and respects the repository query param�[33m 589�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanHistoryDialog.test.tsx �[2m(�[22m�[2m13 tests�[22m�[2m)�[22m�[33m 1553�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard.consistency.test.tsx �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 817�[2mms�[22m�[39m
   �[32m✓�[39m Dashboard consistency rules �[2m(9)�[22m
     �[33m�[2m✓�[22m�[39m gives an attention row the same schema as a feed row, re-flowed for the rail�[33m 380�[2mms�[22m�[39m
 �[32m✓�[39m src/components/PreviewMedia.test.tsx �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[33m 800�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/TaskList.test.tsx�[2m > �[22m�[2mTaskList�[2m > �[22m�[2mshows loading until an initial empty read succeeds and never treats a failure as empty
�[22m�[39mError fetching tasks: Error: Tasks unavailable
    at �[90m/var/lib/propr-ci/worker3/work/propr/propr/propr-ui/�[39msrc/components/TaskList.test.tsx:196:50
    at /var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4m@testing-library/react�[24m/dist/act-compat.js:47:24
    at process.env.NODE_ENV.exports.act (/var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mreact�[24m/cjs/react.development.js:814:22)
    at Proxy.<anonymous> (/var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4m@testing-library/react�[24m/dist/act-compat.js:46:25)
    at �[90m/var/lib/propr-ci/worker3/work/propr/propr/propr-ui/�[39msrc/components/TaskList.test.tsx:196:11
    at file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2783:20

 �[32m✓�[39m src/components/TaskList.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 570�[2mms�[22m�[39m
 �[32m✓�[39m src/api/proprApi.sharedReads.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 224�[2mms�[22m�[39m
 �[32m✓�[39m src/voice/voiceCommands.test.ts �[2m(�[22m�[2m46 tests�[22m�[2m)�[22m�[32m 19�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.connect-prefill.test.tsx �[2m(�[22m�[2m26 tests�[22m�[2m)�[22m�[33m 2728�[2mms�[22m�[39m
   �[32m✓�[39m macos Add Instance Connect prefill �[2m(13)�[22m
     �[33m�[2m✓�[22m�[39m preserves the typed name and requires confirmation before probe, pairing, or persistence�[33m 431�[2mms�[22m�[39m
 �[32m✓�[39m src/api/proprApi.status.test.ts �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 22�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/shellLiveReads.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 156�[2mms�[22m�[39m
 �[32m✓�[39m src/voice/browserSpeech.test.ts �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[32m 14�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentLoginModal.test.tsx �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 871�[2mms�[22m�[39m
   �[32m✓�[39m AgentLoginModal �[2m(9)�[22m
     �[33m�[2m✓�[22m�[39m shows OAuth links and sends confirmation input to the active session�[33m 373�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/usePlanRefinement.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 113�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useHeaderStats.running.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 238�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Inbox/NotificationActions.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 309�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Layout.logsGroup.test.tsx �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 1403�[2mms�[22m�[39m
   �[32m✓�[39m Layout Logs navigation group �[2m(9)�[22m
     �[33m�[2m✓�[22m�[39m renders both log destinations inside one collapsible group�[33m 348�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m collapses again and hides its children�[33m 305�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositoryVisualPreviewControl.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 427�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/AuthenticatedAttachmentImage.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 254�[2mms�[22m�[39m
 �[32m✓�[39m src/api/revertApi.test.ts �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 16�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/TaskRows.desktop.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 811�[2mms�[22m�[39m
   �[32m✓�[39m desktop task rows �[2m(5)�[22m
     �[33m�[2m✓�[22m�[39m retains named navigation and independent expansion on macos�[33m 434�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/mcpLogsUtils.test.ts �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[32m 25�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/AttachmentUploader.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 93�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopInstanceSelector.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 346�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositoryIcon.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 52�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/ActionBar.responsive.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 466�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Layout.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[33m 464�[2mms�[22m�[39m
   �[32m✓�[39m Layout sidebar counts �[2m(1)�[22m
     �[33m�[2m✓�[22m�[39m shows running goals separately from active tasks�[33m 462�[2mms�[22m�[39m
 �[32m✓�[39m src/utils/summaryBrowser.test.ts �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 5�[2mms�[22m�[39m
 �[32m✓�[39m src/api/agentLoginApi.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 11�[2mms�[22m�[39m
 �[32m✓�[39m src/contexts/SocketBootstrap.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 40�[2mms�[22m�[39m
 �[32m✓�[39m src/api/summaryApi.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
 �[32m✓�[39m src/components/VisualPreviewGallery.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 378�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ui/RepositoryChip.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 39�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/modelSelectionHelpers.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 5�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/lifecycleStatus.test.tsx �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[33m 415�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.window-controls.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[33m 530�[2mms�[22m�[39m
   �[32m✓�[39m DesktopExperience Linux window controls �[2m(1)�[22m
     �[33m�[2m✓�[22m�[39m keeps native window actions outside the inert app and actionable while instance management is open�[33m 527�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
 �[32m✓�[39m src/components/GitHubAccountIdentity.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 78�[2mms�[22m�[39m
 �[32m✓�[39m src/components/taskStatusBreakdown.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 19�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Repositories/ModelContextSelector.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 173�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m49 passed�[39m�[22m�[90m (49)�[39m
�[2m      Tests �[22m �[1m�[32m476 passed�[39m�[22m�[90m (476)�[39m
�[2m   Start at �[22m 00:20:20
�[2m   Duration �[22m 57.86s�[2m (environment 46%, tests 31%, import 9%, setup 7%, transform 5%)�[22m

�[2mEnvironment �[22m �[33mjsdom was created 49 times�[39m�[2m · 49.74s total, 46% of tracked time�[22m
�[2m            �[22m �[2mcreate it once per worker with �[22m�[33mpool: 'vmThreads'�[39m�[2m (keeps per-file isolation) or �[22m�[33misolate: false�[39m�[2m (shares it across files)�[22m
�[2m            �[22m �[2mlearn more: https://vitest.dev/guide/improving-performance#test-environments�[22m


> [email protected] posttest
> npm run test:docker-context


> [email protected] test:docker-context
> node --test scripts/docker-context-inputs.test.mjs

TAP version 13
# Subtest: focused UI selectors are forwarded only to Vitest
ok 1 - focused UI selectors are forwarded only to Vitest
  ---
  duration_ms: 0.818917
  type: 'test'
  ...
# Subtest: the UI Docker context contains its complete non-type external source import closure
ok 2 - the UI Docker context contains its complete non-type external source import closure
  ---
  duration_ms: 54.767385
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 110.76781
[157/157] passed propr-ui#4/4 (workspace test script) in 58.8s

### Shard 3/4: 156/157 passed in 432.6s

Assigned 157 of 627 discovered units.

| Duration | Status | Unit |
| ---: | --- | --- |
| 58.8s | passed | `propr-ui#4/4` (workspace) |
| 46.8s | failed | `packages/api/test/mcpPublishPlan.test.ts` |
| 13.6s | passed | `test/notificationSchema.test.ts` |
| 11.3s | passed | `apps/desktop/scripts/packaged-acceptance-account.test.mjs` |
| 10.8s | passed | `apps/desktop/scripts/release-artifacts.test.mjs` |
| 9.1s | passed | `test/buildImages.test.mjs` |
| 8.3s | passed | `test/publicInstanceIdentity.test.ts` |
| 8.3s | passed | `test/worktreeLifecycle.integration.test.ts` |
| 8.2s | passed | `apps/desktop/src/authentication-handoff.test.ts` |
| 6.8s | passed | `packages/api/test/mcpGoalTaskDepth.test.ts` |
| 6.2s | passed | `packages/api/test/notificationBackgroundService.test.ts` |
| 6.1s | passed | `packages/api/test/connectAuthCallback.test.ts` |
| 5.7s | passed | `packages/api/test/agentTankUsageObservation.test.ts` |
| 5.6s | passed | `packages/api/test/mcpVisualPreviews.test.ts` |
| 5.1s | passed | `packages/api/test/mcpReviewerConcurrency.test.ts` |


1/157 test runs failed in shard 3/4 after 432.6s:
- packages/api/test/mcpPublishPlan.test.ts: exit 1

Details truncated; see the uploaded artifacts for complete failure rows and logs.

View Workflow
View uploaded artifacts

@propr-dev

propr-dev Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Validate Changes

Please investigate and fix this CI failure.

Failure evidence

.github:8
Process completed with exit code 1.

.github:360
Process completed with exit code 1.

.github:278 — 🎭 Playwright Run Summary
152 passed (7.2m)

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

Checks Failed

Validation failed during setup, tests, CLI packaging, linting, or build checks.

View Logs
Build check diagnostics for run 36794932333, attempt 1
Checkout outcome: success

--- GitHub Actions workflow lint ---
docker.io/rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667: Pulling from rhysd/actionlint
589002ba0eae: Pulling fs layer
c09af8888d6a: Pulling fs layer
4ccd7d76ca98: Pulling fs layer
b6b4b7b0e257: Pulling fs layer
b6b4b7b0e257: Waiting
c09af8888d6a: Verifying Checksum
c09af8888d6a: Download complete
4ccd7d76ca98: Verifying Checksum
4ccd7d76ca98: Download complete
589002ba0eae: Verifying Checksum
589002ba0eae: Download complete
589002ba0eae: Pull complete
c09af8888d6a: Pull complete
4ccd7d76ca98: Pull complete
b6b4b7b0e257: Verifying Checksum
b6b4b7b0e257: Download complete
b6b4b7b0e257: Pull complete
Digest: sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667
Status: Downloaded newer image for rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667
docker.io/rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667

--- Release shell script lint ---

--- Toolchain ---
v22.23.3
10.9.9

--- Dependency installation ---
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

added 1120 packages, and audited 1129 packages in 23s

322 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

--- CLI release package ---
Verifying propr-cli release package...

> [email protected] cli:pack
> node packages/cli/scripts/build-publish.mjs


> @propr/[email protected] build
> tsc


> @propr/[email protected] build
> tsc


> @propr/[email protected] build
> tsc && node scripts/copy-assets.mjs

copy-assets: copied 9 file(s) into the CLI package.

Staged [email protected] at /home/runner/work/propr/propr/dist-publish/propr-cli
npm notice
npm notice 📦  [email protected]
npm notice Tarball Contents
npm notice 26.3kB README.md
npm notice 36.3kB dist/agentSkill.js
npm notice 754B dist/api/agentRuntime.js
npm notice 7.1kB dist/api/agents.js
npm notice 2.6kB dist/api/agentTank.js
npm notice 10.9kB dist/api/client.js
npm notice 4.7kB dist/api/errors.js
npm notice 5.4kB dist/api/implement.js
npm notice 2.0kB dist/api/index.js
npm notice 1.9kB dist/api/logs.js
npm notice 5.7kB dist/api/plans.js
npm notice 4.2kB dist/api/relay.js
npm notice 10.4kB dist/api/repos.js
npm notice 11.1kB dist/api/settings.js
npm notice 1.6kB dist/api/syntheticPools.js
npm notice 1.8kB dist/api/system.js
npm notice 5.8kB dist/api/tasks.js
npm notice 2.9kB dist/api/todos.js
npm notice 86B dist/api/types.js
npm notice 313B dist/api/visualPreviewAuth.js
npm notice 26.1kB dist/assets/env.example.txt
npm notice 5.7kB dist/auth/githubLogin.js
npm notice 19.5kB dist/commands/agentCommands.js
npm notice 4.2kB dist/commands/agentPoolCommands.js
npm notice 4.3kB dist/commands/agentSkillCommands.js
npm notice 28.7kB dist/commands/agentValidation.js
npm notice 65.2kB dist/commands/checkCommands.js
npm notice 8.9kB dist/commands/configCommands.js
npm notice 14.6kB dist/commands/connectCommand.js
npm notice 2.4kB dist/commands/imageCommands.js
npm notice 7.2kB dist/commands/implementCommands.js
npm notice 1.6kB dist/commands/index.js
npm notice 6.9kB dist/commands/initCommands.js
npm notice 14.1kB dist/commands/initStack.js
npm notice 6.1kB dist/commands/logCommands.js
npm notice 24.9kB dist/commands/planCommands.js
npm notice 8.4kB dist/commands/relayCommands.js
npm notice 30.1kB dist/commands/repoCommands.js
npm notice 7.5kB dist/commands/runtimeCommands.js
npm notice 16.1kB dist/commands/settingCommands.js
npm notice 4.1kB dist/commands/setup/agentHostActions.js
npm notice 123B dist/commands/setup/agents.js
npm notice 4.5kB dist/commands/setup/engine.js
npm notice 51B dist/commands/setup/github.js
npm notice 15.3kB dist/commands/setup/hostActions.js
npm notice 25.3kB dist/commands/setup/sequential.js
npm notice 51B dist/commands/setup/state.js
npm notice 51B dist/commands/setup/types.js
npm notice 10.7kB dist/commands/setupCommand.js
npm notice 4.4kB dist/commands/stackCommands.js
npm notice 1.4kB dist/commands/startCommand.js
npm notice 13.5kB dist/commands/systemCommands.js
npm notice 3.5kB dist/commands/tankCommands.js
npm notice 43.2kB dist/commands/taskCommands.js
npm notice 29.6kB dist/commands/todoCommands.js
npm notice 31.0kB dist/commands/tunnelCommand.js
npm notice 2.7kB dist/commands/uiDocsCommands.js
npm notice 8.3kB dist/completion.js
npm notice 20.0kB dist/config/ConfigManager.js
npm notice 276B dist/config/index.js
npm notice 989B dist/config/rootKey.js
npm notice 345B dist/config/types.js
npm notice 42.9kB dist/connectIdentity.js
npm notice 25.0kB dist/connectRootAuthority.js
npm notice 32.5kB dist/connectWindowsAuthority.js
npm notice 2.2kB dist/desktopDiscovery.js
npm notice 12.4kB dist/desktopLocalSetup.js
npm notice 16.3kB dist/index.js
npm notice 4.5kB dist/native/darwin-authority-broker.c
npm notice 8.9kB dist/native/directory-operations.c
npm notice 50.1kB dist/native/prebuilds/darwin-arm64/connect-authority-broker
npm notice 54.2kB dist/native/prebuilds/darwin-arm64/directory-operations.node
npm notice 17.1kB dist/native/prebuilds/darwin-x64/connect-authority-broker
npm notice 24.3kB dist/native/prebuilds/darwin-x64/directory-operations.node
npm notice 28.9kB dist/native/prebuilds/linux-arm64/directory-operations.node
npm notice 17.4kB dist/native/prebuilds/linux-x64/directory-operations.node
npm notice 1.2kB dist/native/README.md
npm notice 3.1kB dist/orchestrator/format.js
npm notice 13.4kB dist/orchestrator/index.js
npm notice 302B dist/orchestrator/manifest.json
npm notice 117.7kB dist/orchestrator/orchestrator.mjs
npm notice 408B dist/orchestrator/types.js
npm notice 237B dist/skill/propr/agents/openai.yaml
npm notice 7.0kB dist/skill/propr/SKILL.md
npm notice 4.5kB dist/tui/AgentTableApp.js
npm notice 4.5kB dist/tui/app.js
npm notice 11.6kB dist/tui/CheckApp.js
npm notice 5.1kB dist/tui/render.js
npm notice 29.9kB dist/tui/SetupApp.js
npm notice 12.6kB dist/tui/SetupApp.test.js
npm notice 8.2kB dist/tui/StartApp.js
npm notice 3.6kB dist/utils/apiErrorPresentation.js
npm notice 12.0kB dist/utils/directoryDescriptor.js
npm notice 739B dist/utils/dockerPort.js
npm notice 5.0kB dist/utils/envFile.js
npm notice 520B dist/utils/index.js
npm notice 5.7kB dist/utils/io.js
npm notice 1.5kB dist/utils/nativeArtifact.js
npm notice 544B dist/utils/parseState.js
npm notice 417B dist/utils/positiveInteger.js
npm notice 4.5kB dist/utils/privateFilesystem.js
npm notice 4.2kB dist/utils/resolveProject.js
npm notice 7.2kB dist/vendor/local-setup/agents.js
npm notice 62.7kB dist/vendor/local-setup/engine.js
npm notice 5.0kB dist/vendor/local-setup/envFile.js
npm notice 9.1kB dist/vendor/local-setup/github.js
npm notice 188B dist/vendor/local-setup/index.js
npm notice 25.1kB dist/vendor/local-setup/publicInstanceIdentity.js
npm notice 14.6kB dist/vendor/local-setup/state.js
npm notice 2.8kB dist/vendor/local-setup/types.js
npm notice 1.0kB dist/vendor/shared/accountStatusTimestamp.js
npm notice 7.6kB dist/vendor/shared/activityEvents.js
npm notice 3.4kB dist/vendor/shared/agentLogin.js
npm notice 3.1kB dist/vendor/shared/agentTank.js
npm notice 5.1kB dist/vendor/shared/apiOrigin.js
npm notice 8.5kB dist/vendor/shared/connectDiscovery.js
npm notice 254B dist/vendor/shared/demoMode.js
npm notice 4.3kB dist/vendor/shared/desktopPairing.js
npm notice 481B dist/vendor/shared/desktopTokenRevocation.js
npm notice 8.9kB dist/vendor/shared/events.js
npm notice 1.6kB dist/vendor/shared/githubAuthMode.js
npm notice 2.0kB dist/vendor/shared/githubEventIntakeMode.js
npm notice 11.0kB dist/vendor/shared/index.js
npm notice 214B dist/vendor/shared/instanceAuthorization.js
npm notice 54B dist/vendor/shared/instanceCatalog.js
npm notice 4.0kB dist/vendor/shared/intakeModePrerequisites.js
npm notice 2.9kB dist/vendor/shared/labelUtils.js
npm notice 19.0kB dist/vendor/shared/modelDefinitions.js
npm notice 3.5kB dist/vendor/shared/notificationLinks.js
npm notice 51.3kB dist/vendor/shared/notifications.js
npm notice 866B dist/vendor/shared/projectSlug.js
npm notice 3.8kB dist/vendor/shared/proprCompatibility.js
npm notice 13.0kB dist/vendor/shared/proprServiceUrls.js
npm notice 2.2kB dist/vendor/shared/publishedVisualPreviews.js
npm notice 2.3kB dist/vendor/shared/reasoningLevels.js
npm notice 1.2kB dist/vendor/shared/repositoryIcon.js
npm notice 1.4kB dist/vendor/shared/repositoryIconUrl.js
npm notice 3.7kB dist/vendor/shared/repositoryPresentation.js
npm notice 9.4kB dist/vendor/shared/reviewContextBudget.js
npm notice 5.3kB dist/vendor/shared/reviewFeedbackIds.js
npm notice 1.7kB dist/vendor/shared/reviewPrompt.js
npm notice 861B dist/vendor/shared/sessionSecret.js
npm notice 603B dist/vendor/shared/statusKeys.js
npm notice 7.5kB dist/vendor/shared/syntheticAgents.js
npm notice 2.2kB dist/vendor/shared/taskIdentifiers.js
npm notice 647B dist/vendor/shared/taskLifecycle.js
npm notice 5.6kB dist/vendor/shared/usageTips.js
npm notice 503B dist/vendor/shared/usageTypes.js
npm notice 1.1kB dist/vendor/shared/userWhitelist.js
npm notice 758B dist/vendor/shared/validateRelayUrl.js
npm notice 2.2kB dist/vendor/shared/validateRoutingUrl.js
npm notice 7.1kB dist/vendor/shared/visualPreviewCapacity.js
npm notice 9.3kB dist/vendor/shared/voice.js
npm notice 222B dist/vendor/shared/workEvidence.js
npm notice 622B package.json
npm notice Tarball Details
npm notice name: propr-cli
npm notice version: 0.9.0
npm notice filename: propr-cli-0.9.0.tgz
npm notice package size: 380.4 kB
npm notice unpacked size: 1.6 MB
npm notice shasum: d93cdd218dcc10a2235b922aea92f0bd9feaf51e
npm notice integrity: sha512-AzkFyYvcsZBB4[...]ph8ax/di9qHYA==
npm notice total files: 155
npm notice
propr-cli-0.9.0.tgz

Dry run only. Re-run with --publish to publish to npm.
✅ propr-cli release package verified
Starting changed-area validation process...
Reusing this job's @propr/shared build from CLI packaging.
Reusing this job's @propr/local-setup build from CLI packaging.

--- Core Service: Lint & Build ---
❌ Core Lint FAILED

> [email protected] lint
> eslint src/ --max-warnings 0


/home/runner/work/propr/propr/src/jobs/processPullRequestCommentJob.ts
  464:1  warning  File has too many lines (405). Maximum allowed is 400  max-lines

✖ 1 problem (0 errors, 1 warning)

ESLint found too many warnings (maximum: 0).

--- UI: Typecheck, Lint & Build ---
✅ Client Package validation passed
✅ UI Typecheck passed
❌ UI Lint FAILED

> [email protected] lint
> eslint . --max-warnings 0


/home/runner/work/propr/propr/propr-ui/src/components/TaskDetails/TaskStatusTable.tsx
  127:84  warning  Arrow function has a complexity of 21. Maximum allowed is 20  complexity

✖ 1 problem (0 errors, 1 warning)

ESLint found too many warnings (maximum: 0).
npm error Lifecycle script `lint` failed with error:
npm error code 1
npm error path /home/runner/work/propr/propr/propr-ui
npm error workspace [email protected]
npm error location /home/runner/work/propr/propr/propr-ui
npm error command failed
npm error command sh -c eslint . --max-warnings 0

--- Docs: Typecheck & Build ---
✅ Docs Typecheck passed
✅ Docs Build passed

--- Core Package: Build & Lint ---
✅ Core Package Build passed
✅ Core Package Lint passed

--- CLI: Lint ---
✅ CLI Lint passed

--- API: Build & Lint ---
✅ API Build passed
✅ API Lint passed

--- Stage outcomes ---
Workflow lint: success
Release shell lint: success
Pre-setup gate: skipped
Node setup: success
Toolchain: success
Dependency install: success
Release metadata: success
CLI packaging: success
Change detection: success
Changed-area checks: failure

View Workflow

@propr-dev

propr-dev Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 7a93689

Summary of Changes

Fixed all five failing test files by updating workflow mocks, PR fixtures, scaffold expectations, and lease-test clock handling.

Validation: all 97 tests across the five files pass. git diff --check passes. The full suite was not rerun.

No previews were needed; changes affect tests only.


🤖 Implementation Details

  • Model: GPT-6 Astra (high)
  • Requested By: @github-actions[bot]
  • Time: 3m 37s
  • Tokens: 1,121,814 (1,118,772 in / 3,042 out)
  • Cost: $2.05
  • Subscription usage: Weekly +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5922157034✓

…s, PR fixtures, scaffold expectations, and lease-test clock handling.

Fixed all five failing test files by updating workflow mocks, PR fixtures, scaffold expectations, and lease-test clock handling.

Validation: all 97 tests across the five files pass. `git diff --check` passes. The full suite was not rerun.

No previews were needed; changes affect tests only.

PR: #2663
Comment by: @github-actions[bot] (ID: 5922157034)
Model: gpt-6-astra
@propr-dev

propr-dev Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 7d00cc0

Processed 2 comments:

  • Comment 1 by @propr-dev[bot] (ID: 5922158447✓)
  • Comment 2 by @github-actions[bot] (ID: 5922158880✓)

Summary of Changes

Fixed both lint failures:

  • Consolidated imports to meet the job file’s 400-line limit.
  • Removed an identical-branch conditional to meet the UI complexity limit.

Core and UI lint pass with zero warnings. Both typechecks and git diff --check pass.

Behavior and appearance are unchanged; no visual previews were needed.


🤖 Implementation Details

  • Model: GPT-6 Astra (high)
  • Requested By: @propr-dev[bot], @github-actions[bot]
  • Time: 2m 31s
  • Tokens: 279,272 (277,503 in / 1,769 out)
  • Cost: $0.65

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment IDs: 5922158447✓, 5922158880✓

Fixed both lint failures:

- Consolidated imports to meet the job file’s 400-line limit.
- Removed an identical-branch conditional to meet the UI complexity limit.

Core and UI lint pass with zero warnings. Both typechecks and `git diff --check` pass.

Behavior and appearance are unchanged; no visual previews were needed.

PR: #2663
Comment by: @propr-dev[bot] (ID: 5922158447)
Comment by: @github-actions[bot] (ID: 5922158880)
Model: gpt-6-astra
@integry

integry commented Oct 1, 2026

Copy link
Copy Markdown
Owner

/review opus astra

@propr-dev

propr-dev Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 2 reviews:

View Task Details

@propr-dev

propr-dev Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — opus

Overall Evaluation

This PR adds an optional .propr/workflow.yml that the worker reads from the task's base branch. It supports:

  • container lifecycle hooks with a per-command timeout;
  • an instructions file appended to the prompt;
  • validation commands, whose observed results are written into completion comments;
  • preview refinement;
  • a repository-wide concurrency cap, coordinated through a Redis Lua admission script.

Repositories without the file get the legacy wrapper. The CLI scaffold, JSON schema, docs and UI timeline were updated to match. All current-head checks pass. The failures in the comment history are from earlier runs.

The design is sound and well tested. However, one PR-changed path does not deliver the feature: PR follow-ups silently drop the validation report. This needs a small fix before merge.

✅ Revision pinning — loadRepositoryWorkflow resolves the branch to one commit SHA and reads both the workflow and the instructions file at that SHA. A test asserts the exact read sequence (release/v2-sha:...). The UI exposes both the commit and blob revisions.

✅ Strict, consistent validation — parseRepositoryWorkflow rejects:

  • unknown keys, duplicate keys and aliases (maxAliasCount: 0);
  • traversal in instructions;
  • non-integer limits.

A test cross-checks runtime acceptance against the published JSON schema with Ajv, so editor validation and runtime agree.

✅ Hooks are tested by actually running them — the wrapper tests execute the generated Bash. They verify:

  • hook order;
  • the agent still receives its prompt on stdin;
  • fatal versus ignored failures;
  • timeout exit codes;
  • implicit setup.sh fallback and replacement.

They also check that the AsyncLocalStorage context stays isolated between concurrent policies.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F1: 🔴 PR follow-up completion comments drop the validation report

  • Required behavior: Issue Repo-owned workflow file with lifecycle hooks (.propr/workflow.yml) #2660 and the PR's own docs (docs/docs/features/repository-workflow.md, "Instructions and validation") say validation results are appended to the completion summary for "issue implementations and PR follow-ups". The PR also adds buildRepositoryValidationSection(claudeResult.repositoryValidation) to the PR completion comment specifically for this.

  • Evidence: src/jobs/prCommentAgentUtils.ts resolveAndExecuteAgent (the return { claudeResult: agentResultToClaudeResponse(agentResult), ... } after the new runRepositoryWorkflow(...) call); src/jobs/prCompletionComment.ts buildCompletionComment (new buildRepositoryValidationSection calls); src/jobs/issueJob/agent.ts agentResultToClaudeResponse (only this copy was updated).

    Static trace:

    1. A PR follow-up runs on a repository whose base-branch workflow.yml declares validation: [npm test].
    2. runRepositoryWorkflow → executeWithRepositoryWorkflow sets agentResult.repositoryValidation = "### Repository validation\n\n- npm test: ...".
    3. resolveAndExecuteAgent converts the result with agentResultToClaudeResponse. Per src/jobs/prCommentJobUtils.ts:436-443, that is the version re-exported from src/jobs/prFileUtils.ts:129-154. That converter builds the response field by field and has no repositoryValidation entry.
    4. state.claudeResult.repositoryValidation is therefore undefined. buildCompletionComment then emits nothing in both the committed and no-changes branches.

    Observable result: validation commands still run after the agent (spending time inside the container) and their results reach the logs. But the PR comment never shows them, contrary to the documented behaviour.

    The PR updated only the issue-job converter. The new test test/prCompletionCommentVisualPreview.test.ts passes because it builds a ClaudeCodeResponse with repositoryValidation already set, so it never goes through the follow-up converter.

    Proposed regression: call resolveAndExecuteAgent with a stubbed agent whose result carries repositoryValidation, and assert that the returned claudeResult.repositoryValidation is preserved.

  • Minimum fix: Add repositoryValidation: result.repositoryValidation to agentResultToClaudeResponse in src/jobs/prFileUtils.ts. Better still, have one of the two converters reuse the other so they cannot drift again. Add a follow-up-path test.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Agent no longer receives SIGTERM directly

The workflow wrapper runs "$entrypoint" "$@" as a child of PID‑1 Bash, so it can run cleanup hooks afterwards. The legacy wrapper used exec. Now docker stop delivers TERM to Bash, which postpones its trap 'exit 143' TERM until the foreground agent exits. The agent never sees TERM and is SIGKILLed after Docker's grace period. Docs already call hooks best-effort on cancellation. Still, consider forwarding signals (background the agent, wait, and kill -TERM the child in the trap), so graceful agent shutdown matches no-workflow runs.

S2: 🟢 Validation markers can be forged from inside the container

The marker UUID is embedded in the wrapper argv, which the agent process can read from /proc/1/cmdline. A prompt-injected agent could print PROPR_WORKFLOW_…:validation:0:0 and make a failed or skipped command appear "Passed". Only the last match is used, but the wrapper's own echo comes after the agent exits, so forgery mainly affects "Not run" cases. Consider writing results to a file the agent cannot predict, or passing the marker via a file descriptor only the wrapper holds. This is hardening, not a demonstrated blocker.

S3: 🟢 Post-agent validation can change the committed worktree

Validation commands run in the read-write workspace after the agent exits and before worker post-processing commits. Commands with side effects (lint --fix, generated build outputs, snapshot updates) could add unreviewed changes to the commit. The docs say "should be safe to repeat"; consider also saying they must not modify tracked files, or snapshotting and restoring the git state around validation.

S4: 🟢 Result detection depends on stderr being in logs

executeWithRepositoryWorkflow finds hook failures and validation results in result.logs/rawOutput. If an agent implementation does not capture container stderr there, every command would show "Not run", and the hook-failure override would be skipped. The tests use synthesized logs only. A per-agent integration check (or an explicit stderr-capture contract) would make this reliable.

S5: 🟢 Every run now depends on extra GitHub and Redis calls

Runs without a workflow file also make GitHub calls (default branch, commit SHA, contents lookup) and Redis eval admission calls. A transient GitHub error at prepareRepositoryWorkflow now fails runs that previously did not touch these APIs. Consider retry wrappers such as withRetry, or caching the SHA-to-policy lookup.

S6: 🟢 Admission polling is unfair

Waiters poll every second, and whichever reaches Redis first wins. Under sustained contention with a low cap, a given task can starve. A FIFO ticket (for example, a sorted set scored by enqueue time) would make admission order predictable. This is optional, given the documented semantics.

Score

The feature is well designed and thoroughly tested, and current-head checks are green. One verified, localized blocker remains: validation results never reach PR follow-up completion comments.

Score: 6/10


🤖 Review Details

  • Model: Claude Opus 5.5
  • Time: 1m 20s
  • Tokens: 81,339 (73,703 in / 7,636 out)
  • Cost: $0.52

View Task


💡 Next step: Comment /fix to address every F# merge blocker, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them, and they never relax a merge blocker.

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — astra

Overall Evaluation

The PR adds repository-owned workflow policy with pinned configuration, container hooks, validation reporting, concurrency limits, scaffolding, and documentation. It needs a localized correction before merge: PR follow-ups lose their observed validation report.

✅ Pinned policy reads — Workflow configuration and instruction text are loaded from the same immutable base commit.

✅ Bounded configuration — Parsing rejects unsupported fields, and repository settings cannot raise the configured concurrency or hook-timeout ceilings.

✅ Lifecycle coverage — Added tests cover hook ordering, timeout behavior, cleanup failures, and preservation of agent stdin.

Current-head checks show 41 passed, no failures, and nine neutral/skipped checks. This review uses static analysis of the supplied code; no commands were run.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F2: 🔴 Preserve validation reports in PR follow-ups

  • Required behavior: Observed repository validation results must reach completion comments for both issue implementations and PR follow-ups.

  • Evidence: src/jobs/prCommentAgentUtils.ts, resolveAndExecuteAgent; src/jobs/prCompletionComment.ts, buildRepositoryValidationSection.

    1. A PR follow-up loads a workflow containing validation commands and executes through the newly added runRepositoryWorkflow call.
    2. executeWithRepositoryWorkflow attaches the observed results to agentResult.repositoryValidation.
    3. resolveAndExecuteAgent converts that result using agentResultToClaudeResponse, imported through prCommentJobUtils from src/jobs/prFileUtils.ts.
    4. That converter copies fields individually and omits repositoryValidation. Consequently, the new completion-comment section receives undefined, and the follow-up comment omits all observed validation results.

    static trace: The supplied converter and re-export establish this complete data path. The PR updates the separate converter in src/jobs/issueJob/agent.ts, so issue implementations preserve the field, but follow-ups do not. The new completion-comment test supplies an already-populated ClaudeCodeResponse directly, bypassing the conversion that loses the report.

  • Minimum fix: Copy repositoryValidation in the prFileUtils.ts converter and add a regression covering conversion of an agent result through to a follow-up completion comment.

Suggestions

These are optional follow-ups and are not sent to /fix.

S7: 🟢 Reconcile validation documentation

The opening paragraphs of docs/docs/concepts/repository-best-practices.md still state that ProPR never runs tests or linters and has no validation phase. Update those statements to distinguish repositories with configured workflow validation while retaining the advice about CI. This is documentation cleanup rather than an execution blocker.

S8: 🟢 Exercise capacity lease loss

workflowConcurrency.ts logs renewal errors, and its heartbeat silently does nothing when the lease member is absent. Add an integration scenario covering renewal failures beyond the 120-second lease followed by another worker’s admission, and verify whether surrounding worker recovery stops the original execution. The supplied context does not establish that recovery behavior, so this is a follow-up investigation rather than a verified merge blocker.

Score

The implementation has substantial focused coverage and passing current-head checks, but the missing follow-up conversion breaks a core reporting requirement. The required correction is localized.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 45s
  • Tokens: 59,010 (57,788 in / 1,222 out)
  • Cost: $0.54

View Task


💡 Next step: Comment /fix to address every F# merge blocker, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them, and they never relax a merge blocker.

🤖 Review by ProPR

@integry

integry commented Oct 1, 2026

Copy link
Copy Markdown
Owner

/fix

@propr-dev

propr-dev Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 59aa3b7

Addressed 2 AI review comments (IDs: 5928562234, 5928573621)

Addressed findings F1, F2

Summary of Changes

Addressed F1 and F2: PR follow-ups now preserve validation reports through conversion into completion comments.

Added regressions for committed and no-change comments, including absent validation reports. All 35 focused tests, type checking, and targeted lint passed. Captured previews of both completion paths.

No additional occurrences of the defect were found.

Visual preview

PR follow-up validation (committed)

PR follow-up validation (committed)

Completion comment generated through the corrected converter and rendered with the project MarkdownRenderer. Shows passed, failed, timed-out and not-run validation results.

Original unavailable: managed storage is unavailable or the upload has expired.

PR follow-up validation (no-changes)

PR follow-up validation (no-changes)

Completion comment generated through the corrected converter and rendered with the project MarkdownRenderer. Shows passed, failed, timed-out and not-run validation results.

Original unavailable: managed storage is unavailable or the upload has expired.


🤖 Implementation Details

  • Model: GPT-6 Astra (high)
  • Requested By: @integry
  • Time: 4m 52s
  • Tokens: 719,208 (714,294 in / 4,914 out)
  • Cost: $1.40

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5928684305✓

…reports through conversion into completion comments.

Addressed F1 and F2: PR follow-ups now preserve validation reports through conversion into completion comments.

Added regressions for committed and no-change comments, including absent validation reports. All 35 focused tests, type checking, and targeted lint passed. Captured previews of both completion paths.

No additional occurrences of the defect were found.

PR: #2663
Comment by: @integry (ID: 5928684305)
Model: gpt-6-astra
@integry

integry commented Oct 1, 2026

Copy link
Copy Markdown
Owner

/review opus astra

@propr-dev

propr-dev Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 2 reviews:

View Task Details

@propr-dev

propr-dev Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — opus

⚠️ Review output was invalid and could not be displayed safely.


🤖 Review Details

  • Model: Claude Opus 5.5
  • Time: 2m 28s
  • Tokens: 85,528 (70,873 in / 14,655 out)
  • Cost: $0.65

View Task


💡 Next step: Comment /fix to address every F# merge blocker, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them, and they never relax a merge blocker.

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — astra

Overall Evaluation

The PR implements versioned repository policy with strict parsing, container lifecycle hooks, validation reporting, and task-history visibility. It needs changes before merge because the concurrency limiter can lose track of an execution that is still running.

✅ Pinned policy reads — Workflow and instruction files are loaded from the same resolved base commit.

✅ Preserved instance restrictions — Repository concurrency and timeout values are clamped, and preview types cannot expand instance settings.

✅ Observed validation reporting — Container results are carried separately from agent prose into issue and PR completion comments.

The supplied current-head status reports 36 passed checks and no blocking failures. Historical failures do not affect this evaluation.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F3: 🔴 Stop execution when capacity ownership expires

  • Required behavior: The repository-wide concurrency cap must continue to account for running executions across lease expiry and recovery.

  • Evidence: packages/core/src/workflow/workflowConcurrency.ts:39–48 and src/jobs/repositoryWorkflow.ts:62 — heartbeat failures only produce a log; losing the slot does not stop execution.

    1. Task A acquires the repository’s only slot with max_parallel_tasks: 1 and starts a long-running agent execution.
    2. A’s Redis connection becomes unavailable while its container continues running. Heartbeat requests fail; onLeaseError only logs the error. After 120 seconds without renewal, A’s slot expires.
    3. Another worker, which can reach Redis, attempts admission for task B. ACQUIRE_WORKFLOW_SLOT removes A’s expired entry and admits B. Both executions now run despite the cap of one.
    4. When A’s connection recovers, its heartbeat sees no ZSCORE entry and silently does nothing. A remains uncounted for the rest of its execution.

    The competing admission occurs after the lease deadline while A is awaiting execution and its renewal requests cannot reach Redis. Atomic admission prevents simultaneous claims against existing entries, but cannot account for the live execution whose entry it deletes. The cancellation check runs only before admission, and neither the heartbeat nor its caller cancels an execution after ownership loss.

    static trace: The expiry, reclamation, missing-entry heartbeat, and logging-only error callback are explicit in the supplied changed code. No test was executed. The added integration test verifies reclamation of expired entries but does not keep the previous execution running while reclaiming its slot.

  • Minimum fix: Track the last confirmed lease deadline and couple ownership to execution cancellation. Stop the execution before its reservation can be reclaimed when renewal cannot be confirmed; treat a missing heartbeat entry as ownership loss rather than success. Cover continued execution during renewal failure and subsequent admission in a regression test.

Suggestions

These are optional follow-ups and are not sent to /fix.

S9: 🟢 Reconcile the validation documentation

The opening paragraphs of docs/docs/concepts/repository-best-practices.md still say ProPR has no validation phase and does not run tests or linters before committing. Qualify those statements for repositories without configured workflow validation. This is an optional documentation clarification: the new workflow reference already describes the implemented behavior correctly.

Score

The implementation has substantial focused coverage and passing current checks, but lease recovery can violate a central concurrency guarantee. That requires correction before merge.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 0s
  • Tokens: 58,714 (56,964 in / 1,750 out)
  • Cost: $0.55

View Task


💡 Next step: Comment /fix to address every F# merge blocker, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them, and they never relax a merge blocker.

🤖 Review by ProPR

@integry

integry commented Oct 1, 2026

Copy link
Copy Markdown
Owner

/fix

@propr-dev

propr-dev Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit c66695a

Addressed 1 AI review comment (IDs: 5930043598)

Addressed finding F3

Summary of Changes

Implemented F3 only in the shared path for issue runs and PR follow-ups.

  • Lease deadlines now trigger execution cancellation before expiry.
  • Missing or expired renewals lose ownership; late replies cannot restore it.
  • Capacity release waits for execution teardown.

Validation: 40 tests passed; core/root typechecks and targeted lint passed. One Redis integration test skipped because redis-server is unavailable.

No visual changes or previews.


🤖 Implementation Details

  • Model: GPT-6 Astra (high)
  • Requested By: @integry
  • Time: 5m 32s
  • Tokens: 584,888 (577,617 in / 7,271 out)
  • Cost: $1.37

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5930396317✓

…R follow-ups.

Implemented F3 only in the shared path for issue runs and PR follow-ups.

- Lease deadlines now trigger execution cancellation before expiry.
- Missing or expired renewals lose ownership; late replies cannot restore it.
- Capacity release waits for execution teardown.

Validation: 40 tests passed; core/root typechecks and targeted lint passed. One Redis integration test skipped because `redis-server` is unavailable.

No visual changes or previews.

PR: #2663
Comment by: @integry (ID: 5930396317)
Model: gpt-6-astra
@integry

integry commented Oct 1, 2026

Copy link
Copy Markdown
Owner

/review opus astra

@propr-dev

propr-dev Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 2 reviews:

View Task Details

@propr-dev

propr-dev Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — opus

Overall Evaluation

This PR adds an optional, repo-owned .propr/workflow.yml that is loaded from the task's base branch on every issue implementation and PR follow-up. The file can declare:

  • lifecycle hooks, which run inside the agent container with a timeout;
  • an instruction file, appended to the prompt;
  • validation commands, executed after the agent and reported in completion comments;
  • preview refinements;
  • a Redis-backed repository-wide concurrency cap.

The PR also adds CLI scaffolding, a JSON schema, docs and a timeline display of the pinned revision. Parsing is strict and well tested, and the shell wrapper is careful. Test coverage is broad, and all current-head checks pass.

One design problem in the concurrency cap needs fixing before merge. A capped repository can occupy worker capacity that other repositories need.

✅ Strict, schema-aligned policy parsing — parseRepositoryWorkflow rejects the following with field-specific errors:

  • unknown keys, duplicate keys, aliases (maxAliasCount: 0) and custom tags;
  • traversal or absolute instruction paths, and NUL bytes.

A test cross-checks runtime acceptance against the published JSON schema with Ajv.

✅ Safe, ordered container wrapper — buildWorkflowWrapper:

  • single-quotes every repo-provided command;
  • closes hook stdin so the agent's prompt is preserved;
  • routes hook output to stderr;
  • uses an EXIT trap so before_remove runs even after after_create/before_run failures.

Read-only analysis calls skip hooks via PROPR_REPO_SETUP=0. Real-bash tests verify the ordering and the timeouts.

✅ Careful lease ownership — withRepositoryWorkflowSlot handles the hard cases correctly:

  • Deadlines are measured from the moment each request starts.
  • A local watchdog does not depend on Redis replies.
  • Late renewal replies cannot revive an aborted run.
  • The slot is released only after execution teardown has finished.

Each of these behaviors has a deterministic fake-timer test.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F4: 🔴 Repository cap blocks shared worker slots across repositories

  • Required behavior: Repository policy "can refine instance configuration but cannot grant permissions" (issue Repo-owned workflow file with lifecycle hooks (.propr/workflow.yml) #2660 / docs/docs/features/repository-workflow.md). A repo-owned limits.max_parallel_tasks must cap only that repository. It must not reduce execution capacity for other repositories on the instance.

  • Evidence: packages/core/src/workflow/workflowConcurrency.ts, withRepositoryWorkflowSlot acquire loop (while (true) { … await new Promise(resolve => setTimeout(resolve, 1000)); }). It is invoked from src/jobs/repositoryWorkflow.ts runRepositoryWorkflow, which is called by src/jobs/issueJob/agent.ts executeAgentAndRecordMetrics and src/jobs/prCommentAgentUtils.ts resolveAndExecuteAgent.

    Static trace:

    1. Repository A commits limits: { max_parallel_tasks: 1 }. The instance worker runs with worker_concurrency 5.
    2. A plan finalize (or bulk launch) queues 6 issues on A. Worker job processors pick up 5 of them.
    3. Each of the 5 jobs creates a worktree, pushes the branch and posts the "processing started" comment. Each then reaches executeAgentAndRecordMetrics → runRepositoryWorkflow → withRepositoryWorkflowSlot.
    4. One job wins ACQUIRE_WORKFLOW_SLOT. The other 4 stay inside the BullMQ processor, polling Redis every second, until A's running task finishes. A run can last tens of minutes.
    5. Meanwhile repository B's queued issue and PR follow-up jobs cannot be picked up, because all 5 processor slots are occupied. Of those 5 slots, 4 are idle waiters for A.

    Consequence: one repository's versioned policy reduces instance-wide throughput to that repository's cap. Other repositories' work stalls behind it. Before this PR, those B jobs would have run in parallel.

    Existing protections do not prevent this:

    • checkCancelled only aborts waiters for tasks that have already ended.
    • The Lua script correctly limits running tasks but has no say in BullMQ processor occupancy.
    • The clamp to worker_concurrency limits how high a cap can go, not how many waiters can pile up.
    • No test covers cross-repository effects.

    Assumption: issue and PR-comment jobs for different repositories share the same worker processor pool. This is the normal single-queue deployment implied by the shared worker_concurrency setting. Queue topology was not visible in the supplied context.

  • Minimum fix: When admission is refused, do not poll inside the job processor. Instead, release the processor slot and reschedule the job, for example with BullMQ job.moveToDelayed(...) + DelayedError. Alternatively, perform a non-blocking admission check at job start, before worktree creation, and requeue with a delay when the slot is unavailable. Either way, keep cancellation checks on re-entry. Add a test showing that a saturated repository cap does not hold processor slots.

Suggestions

These are optional follow-ups and are not sent to /fix.

S10: 🟢 Default cap applies when limits are omitted

loadRepositoryWorkflow always sets maxParallelTasks to min(config ?? worker_concurrency, worker_concurrency). So merely committing the scaffolded workflow.yml, which has limits commented out, or even {}, imposes a repository-wide cap equal to per-worker worker_concurrency. Because the Lua script takes the smallest active cap, that cap also governs runs without a workflow. In multi-worker deployments this silently throttles a repository that never asked for a limit. Consider passing 0 (uncapped) when limits.max_parallel_tasks is absent. Alternatively, document the default explicitly.

S11: 🟢 Validation markers can be forged by the agent

The validation report is described as "container-observed … independent of agent prose", but the agent can forge it. The random marker is passed as part of the wrapper's argv. The agent, running in the same container, can read it (e.g., from /proc/1/cmdline) and print …:validation:N:0 to stderr. executeWithRepositoryWorkflow takes the last match for each index, so a forged line printed after the real one would win. Consider these mitigations:

  • emit results to a file descriptor or path the agent cannot write;
  • generate the marker after the agent exits;
  • at minimum, only accept markers printed after the agent's exit.

S12: 🟢 Audit other resolveAndExecuteAgent callers

resolveAndExecuteAgent now always enters the repository slot, and its checkCancelled throws when the task state is completed, failed or cancelled. Other callers, such as the merge-conflict job (whose test now mocks runRepositoryWorkflow), are affected in two ways:

  • They count toward capacity, although the docs scope the feature to implementations and follow-ups.
  • They would fail outright if they pass a taskId whose state is already terminal.

Please verify the taskId and state for each caller. Consider skipping the slot entirely for callers outside the documented scope.

S13: 🟢 Hooks may run as root

run_command drops to node only when su-exec and the node user exist. Otherwise hooks run as the container's root user (--user 0:0). The docs state that hooks always run "as its unprivileged agent user". Either fail closed when privileges cannot be dropped, or soften the docs.

S14: 🟢 Policy commit can differ from checkout

The worktree is created from the base branch first. prepareRepositoryWorkflow resolves the branch head again later. If the base branch advances in between, the recorded revision and instructions come from a newer commit than the one the hooks execute against (e.g., bash .propr/setup.sh, ./scripts/...). The simplest fix is to resolve the policy from the same base SHA the worktree was created from.

S15: 🟢 Admission has no fairness

Waiters poll every second with no queueing order, so a waiting task can be starved indefinitely by newer arrivals under sustained load. A Redis-side ticket/FIFO would make waits predictable. This becomes more relevant once F1's requeue approach is in place.

Score

The feature is well built and thoroughly tested, and current checks pass. However, the in-processor admission wait lets one repository's cap block worker capacity for every other repository, and this must be fixed before merge.

Score: 6/10


🤖 Review Details

  • Model: Claude Opus 5.5
  • Time: 2m 12s
  • Tokens: 89,968 (77,661 in / 12,307 out)
  • Cost: $0.63

View Task


💡 Next step: Comment /fix to address every F# merge blocker, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them, and they never relax a merge blocker.

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — astra

Overall Evaluation

The PR adds versioned workflow loading, container lifecycle hooks, validation reporting, and repository concurrency limits. It needs a localized correction before merge for an accepted-input execution failure.

✅ Pinned policy snapshot — Workflow and instruction files are read from the same immutable base commit.

✅ Lease-loss handling — Execution receives an abort signal before capacity expires, and capacity release waits for execution teardown.

✅ Validation reporting — Observed validation results survive result conversion and both PR completion-comment branches.

The supplied current-head checks show 36 passed and no blocking failures. This review is based on static inspection; no commands were run.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F5: 🔴 Bound the expanded wrapper argument

  • Required behavior: Accepted repository workflow commands must remain executable through the container wrapper; the source-file size limit does not bound the generated Docker argument.

  • Evidence: packages/core/src/workflow/workflowExecution.ts, quote and buildWorkflowWrapper; packages/core/src/claude/docker/repoSetupWrapper.ts, wrapDockerRunArgsWithRepoSetup.

    1. On a Linux worker with 4 KiB pages, supply a workflow containing a before_run command consisting of : # followed by 30,000 single quotes. This is a valid Bash no-op with a comment, and its JSON-form YAML representation is approximately 30 KiB—well below the accepted 128 KiB limit.
    2. quote expands each single quote into five characters, producing more than 150,000 bytes for that command alone.
    3. buildWorkflowWrapper embeds this text into one script string, and wrapDockerRunArgsWithRepoSetup passes that entire string as one Docker CLI argument.
    4. That argument exceeds Linux’s 128 KiB per-argument limit on this worker configuration. Process creation fails with E2BIG, so the implementation agent never starts despite the workflow passing validation.

    The source-byte check does not account for shell-quoting expansion or wrapper overhead. The wrapper tests exercise short commands and do not cover this boundary. static trace: followed accepted source through quoting and Docker argument construction; the reproduction was not executed.

  • Minimum fix: Transport the generated wrapper through a container-accessible script file or another bounded-argument mechanism. Alternatively, enforce and document an expanded-script limit during preparation, with an actionable configuration error before agent execution.

Suggestions

These are optional follow-ups and are not sent to /fix.

S16: 🟢 Reconcile validation documentation

The opening paragraphs of docs/docs/concepts/repository-best-practices.md still state that ProPR has no validation phase and never runs tests or linters before committing. Qualify those statements for repositories without configured workflow validation. This is an optional documentation correction; it does not affect execution behavior.

Score

The implementation has substantial focused coverage and passing current-head checks, but the accepted-input wrapper failure should be corrected before merge.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 33s
  • Tokens: 62,909 (60,194 in / 2,715 out)
  • Cost: $0.63

View Task


💡 Next step: Comment /fix to address every F# merge blocker, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them, and they never relax a merge blocker.

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 2 reviews:

View Task Details

@propr-dev

propr-dev Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — fable

Overall Evaluation

This PR implements the optional, repo-owned .propr/workflow.yml from issue #2660: policy is resolved from the task's base branch at one pinned commit, lifecycle hooks and validation run inside the agent container through a generated Bash wrapper, hook/validation results are observed from the transport's raw stderr and appended to completion comments, preview refinements are restricted to instance settings, and a repository-wide concurrency cap is enforced through a Redis lease with waiter wake-up and BullMQ delayed re-entry. CLI scaffolding, JSON schema, docs and UI timeline surfaces are included. All current-head checks pass, including the full test suite shards and CodeQL.

The implementation is unusually careful about the security boundary of repo-controlled shell and about not blocking shared worker processors. I could not drive any candidate defect in the changed code to an observable incorrect outcome; the remaining items are hardening and follow-ups.

✅ Validation reports cannot be forged by repository output — packages/core/src/workflow/workflowExecution.ts collects markers only from the container's raw stderr via WorkflowMarkerCollector, requires a literal preceding LF and a bounded line, prefixes every hook/agent stderr line through sed process substitutions, and refuses to start a root wrapper without su-exec/node. packages/core/test/repositoryWorkflow.test.ts exercises late background output, CR/U+2028 tricks, chunk splits inside markers, and floods larger than the diagnostic tail.

✅ Capacity refusal never parks a worker processor — withRepositoryWorkflowSlot returns RepositoryWorkflowCapacityError immediately; deferRepositoryWorkflowJob only calls moveToDelayed after the processor has unwound locks/claims (PR lock release order verified in test/prPublicationJob.test.ts), and the Lua release script hands freed capacity to the longest-waiting jobs, verified end-to-end with a real Redis + BullMQ worker in test/repositoryWorkflowAdmission.test.ts.

✅ Earlier review concerns are closed in code — loadRepositoryWorkflow now yields maxParallelTasks: 0 when limits.max_parallel_tasks is absent (so the scaffold cannot throttle a repository), comment-only scaffolds parse as the empty policy, and RepositoryWorkflowLeaseLostError is explicitly excluded from user-cancellation classification.

The PR is ready to merge within scope.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S63: 🟢 Wrapper trusts any non-root wrapper uid

buildWorkflowWrapper in packages/core/src/workflow/workflowExecution.ts refuses only when the wrapper runs as root without su-exec; when id -u is non-zero it runs hooks and the agent as the same user. The anti-forgery argument depends on the agent being a different uid than the wrapper (so it cannot open /proc/1/fd/2). The adapters I could see launch with --user 0:0 and drop via the entrypoint, so this holds today, but if any adapter (or an operator override) ever starts the container as node, the same-uid agent can write a genuine-looking marker line to the wrapper's raw stderr. Consider having the wrapper refuse (or disable observation and report "unverified") when it is not root, and document that invariant next to the security-overview paragraph.

S64: 🟢 Audit other adapters for anchored stderr parsing

The wrapper now prefixes the agent's stderr with ProPR agent stderr: . The PR adjusted AntigravityGoalStream.errorText, but any other adapter or helper that matches stderr with ^-anchored patterns (provider error lines, usage-limit detection, session-id sniffing) would silently stop matching only for repositories that have a workflow file. A quick grep across packages/core/src/agents/impl for anchored regexes against stderr/stderrTail would close this.

S65: 🟢 Deferred attempts reuse a stale policy snapshot

resolveRepositoryWorkflow reuses the ResolvedRepositoryWorkflow captured at the first refusal for as long as the job keeps being refused (up to many 5-minute cycles). The worktree is later created from the current base head, so a run admitted after a long wait can execute hooks/validation from a policy commit older than the code it checks out. The saving is one commits/{ref} + one contents call per re-entry; re-resolving on admission (or when the wait exceeded some age) would keep the "read from the task's base branch at run time" promise exact.

S66: 🟢 Deferral history entries accumulate on long waits

recordRepositoryWorkflowDeferral appends a timeline entry for every refusal. With exponential backoff capped at 5 minutes, a task waiting an hour accrues a dozen "Waiting for Repository Capacity" rows (the UI already shows the latest count on each). Consider updating the most recent waiting entry in place, or collapsing consecutive deferral rows client-side.

S67: 🟢 Instance worker_concurrency validation error is mislabelled

loadRepositoryWorkflow calls positiveInteger(defaults.maxParallelTasks, 'instance worker_concurrency'), and prepareRepositoryWorkflow feeds it Number(settings?.worker_concurrency ?? …). An empty or malformed setting fails every task in repositories that have a workflow file with the message Invalid .propr/workflow.yml: instance worker_concurrency must be a positive integer, which points maintainers at the wrong file. Falling back to the env/default when the setting is not a positive integer, or using a distinct error prefix, would avoid the misdirection.

S68: 🟢 Stop signals are deferred while a hook or validation command runs

Bash defers trap handlers until the foreground child exits, so a container stop received during before_run, a validation command, or a cleanup hook waits for that command (up to hooks.timeout_ms) before stop_agent/finish run, after which Docker's forced removal interrupts it. The docs mention forced removal, but it would be worth stating that a stop during a hook is honored only after that hook ends or times out, or running hook commands in the background with wait so the trap fires promptly.

S69: 🟢 Deterministic policy errors are retried like transient failures

When .propr/workflow.yml is invalid, processAdmittedIssueJob reports via handleGenericError and rethrows, so BullMQ's normal attempts/backoff re-run the job and re-report the same parse error until attempts are exhausted. Marking policy parse/validation failures as non-retryable (e.g. an UnrecoverableError) would avoid repeated failure comments for a condition that cannot change without a new base commit.

Score

No actionable findings; current-head checks are all green, the changed behavior is covered by unit, Redis/BullMQ integration, wrapper-execution and UI/e2e tests, and the security-sensitive paths were verified by static trace against the diff. The remaining items are optional hardening.

Score: 8/10


🤖 Review Details

  • Model: Claude Fable 5.1
  • Time: 8m 11s
  • Tokens: 238,408 (197,556 in / 40,852 out)
  • Cost: $4.51

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S63 S64 S65 S66 S67 S68 S69

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — astra

Overall Evaluation

The PR implements repository-owned workflow policy with substantial coverage and clear documentation. It needs a localized correction before merge: policy loading now prevents implementation tasks from initializing empty repositories.

✅ Pinned policy — Workflow configuration and instructions are read from the same immutable base commit.

✅ Consistent preview restrictions — Issue and PR execution pass the effective preview settings through both prompt generation and publication.

✅ Capacity handling — Refused tasks retain their identity and policy, release worker capacity, and expose their retry information in task history.

The supplied current-head status shows 41 passed checks and no failures or pending checks. This review used static analysis only; no commands were run.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F14: 🔴 Preserve empty-repository initialization

  • Required behavior: The optional workflow feature must preserve implementation behavior for repositories without a workflow, including the existing empty-repository initialization path.

  • Evidence: src/jobs/processGitHubIssueJob.ts, processAdmittedIssueJob; src/jobs/repositoryWorkflow.ts, prepareRepositoryWorkflow

    1. An implementation task targets an empty repository, which has no commit or workflow file yet. The supplied repoManager.ts context explicitly identifies ensureRepoCloned as the existing seed-commit initialization path.
    2. The changed processor calls prepareRepositoryWorkflow before reaching ensureRepoCloned.
    3. Preparation unconditionally resolves the base branch through the commits endpoint. An empty repository has no commit to resolve; the resulting error is propagated. The fallback handles only a missing explicit branch and still requires a commit on the default branch.
    4. The processor invokes handleGenericError and throws before repository initialization. The implementation task fails instead of creating the initial repository contents.

    The absent-workflow cache cannot help because its lookup happens after successful commit resolution. Existing fallback tests cover a missing branch in a repository with a populated default branch, not a repository without commits. Verification provenance: static trace of the changed preparation order and the supplied seed-initialization contract.

  • Minimum fix: Recognize a confirmed empty repository as having no workflow and allow the existing initialization path to proceed, while continuing to propagate authentication and unrelated API errors. Add a regression covering an implementation task against a repository without commits.

Suggestions

These are optional follow-ups and are not sent to /fix.

S70: 🟢 Test the actual privilege boundary

The wrapper tests simulate user identity and exercise output-prefix protection, but they do not demonstrate isolation between a real root wrapper and an unprivileged agent. A container integration test attempting direct writes through the wrapper’s /proc file descriptors would strengthen the documented report-authenticity guarantee. This is optional additional assurance; the supplied code does not establish a concrete bypass.

Score

The implementation has extensive focused coverage and passing current checks, but the newly introduced empty-repository regression requires correction before merge.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 3m 12s
  • Tokens: 133,814 (130,082 in / 3,732 out)
  • Cost: $1.38

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F14 S70

🤖 Review by ProPR

@integry

integry commented Oct 5, 2026

Copy link
Copy Markdown
Owner

/fix all

@propr-dev

propr-dev Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 2f124e4

Addressed 15 AI review comments (IDs: 5928562234, 5928573621, 5930043598, 5941633806, 5941658607, 5967131727, 5967188534, 5967818878, 5967833077, 5973384163, 5974523160, 5984794363, 5984887626, 5991970450, 5992020626)

Addressed finding F14 · suggestions S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21, S22, S23, S24, S25, S26, S27, S28, S29, S30, S31, S32, S33, S35, S36, S37, S46, S47, S48, S49, S50, S51, S52, S63, S64, S65, S66, S67, S68, S69, S70

Summary of Changes

I've applied F14 and all the selected suggestions. Each code change has a focused regression test, typecheck and lint (with --max-warnings 0) are clean for root and core, and all affected suites pass, including the Redis Lua and BullMQ tests run against a redis-server built in /tmp.

Three things weren't fully exercised here:

  • Container smoke test (S36/S37/S70): this environment has no Docker or agent image, so the new test is skipped. It needs Docker plus PROPR_TEST_AGENT_IMAGE set to a supported agent image, which no CI job sets today; until one does, it never runs.
  • Docs site: I didn't build it. The edits are prose; the schema JSON is checked by a test.
  • Redis tests in CI: they still skip wherever redis-server isn't installed.

F14 – empty repositories: a 409 "Git Repository is empty" from GitHub now means "no workflow", so the existing seeding in ensureRepoCloned runs again. Other 409s and auth errors still fail the task. A processor test runs an implementation task against a repository with no commits.

Wrapper (in the container)

  • Stop during a hook (S68): hooks and validation commands now run in the background, so a stop ends the current command within about 5 seconds and cleanup hooks still run. S1/S19/S26/S46 (forwarding the stop to the agent) were already done.
  • Timeout vs killed (S50): a command is reported "Timed out" only if it actually reached its limit. An early exit 137 now shows "Killed (exit 137)", and an early exit 124 shows "Failed (exit 124)".
  • Non-root wrapper (S29/S51/S63): if the wrapper isn't running as root, every validation result is marked unverified.
  • S35 found a real forgery gap, now fixed: a line longer than 4096 bytes could be split by a report, leaving the rest of the line unlabelled at the start of a fresh line, where a forged report would be accepted. Output is now labelled in pieces small enough to write in one go (confirmed via /proc/<pid>/io), and the new test fails on the old labelling every time.
  • Uncaptured reports (S4): all five implementation agents already go through the Docker executor, which captures reports. If a wrapper runs on a transport that doesn't capture them, results now read "Not observed" instead of "Not run".

Admission and policy

  • Uncapped runs (S25/S18): with no cap active, a Redis stall or lost key no longer stops the run; the lease takes the slot back instead. Capped runs still stop as before. S8's real-Redis test shows a capped run with failing renewals stops before another worker gets its slot.
  • Stale policy after a wait (S65): an attempt admitted after waiting reads the policy again, at most once per attempt.
  • Worktree start (S14): issue worktrees now start from the commit the policy was read from, falling back to the branch head if that commit isn't on the branch.
  • Retries (S5): GitHub reads of the policy retry transient errors.
  • Instance setting (S23/S67): a bad worker_concurrency falls back to WORKER_CONCURRENCY or 5, and no longer blames the workflow file.
  • Invalid workflow file (S69): the job fails once with BullMQ's UnrecoverableError instead of retrying and reposting the same error.
  • Waiting rows (S66): repeated refusals update one "Waiting for Repository Capacity" entry instead of adding a row each time.

Tests, docs and cleanup

  • S30/S48: a re-entry test now uses the real recovery, task-state and pending-comment helpers. It shows the picked-up comment reaches the agent and the task isn't treated as crashed or a duplicate.
  • S52: the schema's path checks now handle embedded newlines the same way the runtime does.
  • S3: the docs now say validation commands must not modify files.
  • S30: the docs now say a later comment job on the same PR can be admitted ahead of a waiting one.
  • S32: mcpPublishPlan.test.ts is back to main's version.
  • S64: no other adapter parses stderr with ^-anchored patterns, so nothing else needed changing.

Already done before this run: S2/S11, S6/S15/S24, S7/S9/S16/S17/S33, S10, S12, S13, S20/S28, S21/S31, S22/S49, S27 and S47. I didn't add S49's optional cap on the number of deferrals.

I didn't create preview images, because no UI code changed.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @integry
  • Time: 28m 42s
  • Tokens: 26,813,198 (26,698,624 in / 114,574 out)
  • Cost: $9.13
  • Subscription usage: Session +9%, Weekly +1%, Fable +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5994668945✓

…e change has a focused regression test, typecheck and lint (with `--max-warnings 0`) are clean for root and core, and all affected suites pass, including the Redis Lua and BullMQ tests run against a `redis-server` built in `/tmp`.

I've applied F14 and all the selected suggestions. Each code change has a focused regression test, typecheck and lint (with `--max-warnings 0`) are clean for root and core, and all affected suites pass, including the Redis Lua and BullMQ tests run against a `redis-server` built in `/tmp`.

Three things weren't fully exercised here:
- **Container smoke test (S36/S37/S70):** this environment has no Docker or agent image, so the new test is skipped. It needs Docker plus `PROPR_TEST_AGENT_IMAGE` set to a supported agent image, which no CI job sets today; until one does, it never runs.
- **Docs site:** I didn't build it. The edits are prose; the schema JSON is checked by a test.
- **Redis tests in CI:** they still skip wherever `redis-server` isn't installed.

**F14 – empty repositories:** a 409 "Git Repository is empty" from GitHub now means "no workflow", so the existing seeding in `ensureRepoCloned` runs again. Other 409s and auth errors still fail the task. A processor test runs an implementation task against a repository with no commits.

**Wrapper (in the container)**
- **Stop during a hook (S68):** hooks and validation commands now run in the background, so a stop ends the current command within about 5 seconds and cleanup hooks still run. S1/S19/S26/S46 (forwarding the stop to the agent) were already done.
- **Timeout vs killed (S50):** a command is reported "Timed out" only if it actually reached its limit. An early exit 137 now shows "Killed (exit 137)", and an early exit 124 shows "Failed (exit 124)".
- **Non-root wrapper (S29/S51/S63):** if the wrapper isn't running as root, every validation result is marked unverified.
- **S35 found a real forgery gap, now fixed:** a line longer than 4096 bytes could be split by a report, leaving the rest of the line unlabelled at the start of a fresh line, where a forged report would be accepted. Output is now labelled in pieces small enough to write in one go (confirmed via `/proc/<pid>/io`), and the new test fails on the old labelling every time.
- **Uncaptured reports (S4):** all five implementation agents already go through the Docker executor, which captures reports. If a wrapper runs on a transport that doesn't capture them, results now read "Not observed" instead of "Not run".

**Admission and policy**
- **Uncapped runs (S25/S18):** with no cap active, a Redis stall or lost key no longer stops the run; the lease takes the slot back instead. Capped runs still stop as before. S8's real-Redis test shows a capped run with failing renewals stops before another worker gets its slot.
- **Stale policy after a wait (S65):** an attempt admitted after waiting reads the policy again, at most once per attempt.
- **Worktree start (S14):** issue worktrees now start from the commit the policy was read from, falling back to the branch head if that commit isn't on the branch.
- **Retries (S5):** GitHub reads of the policy retry transient errors.
- **Instance setting (S23/S67):** a bad `worker_concurrency` falls back to `WORKER_CONCURRENCY` or 5, and no longer blames the workflow file.
- **Invalid workflow file (S69):** the job fails once with BullMQ's `UnrecoverableError` instead of retrying and reposting the same error.
- **Waiting rows (S66):** repeated refusals update one "Waiting for Repository Capacity" entry instead of adding a row each time.

**Tests, docs and cleanup**
- **S30/S48:** a re-entry test now uses the real recovery, task-state and pending-comment helpers. It shows the picked-up comment reaches the agent and the task isn't treated as crashed or a duplicate.
- **S52:** the schema's path checks now handle embedded newlines the same way the runtime does.
- **S3:** the docs now say validation commands must not modify files.
- **S30:** the docs now say a later comment job on the same PR can be admitted ahead of a waiting one.
- **S32:** `mcpPublishPlan.test.ts` is back to main's version.
- **S64:** no other adapter parses stderr with `^`-anchored patterns, so nothing else needed changing.

**Already done before this run:** S2/S11, S6/S15/S24, S7/S9/S16/S17/S33, S10, S12, S13, S20/S28, S21/S31, S22/S49, S27 and S47. I didn't add S49's optional cap on the number of deferrals.

I didn't create preview images, because no UI code changed.

PR: #2663
Comment by: @integry (ID: 5994668945)
Model: claude-opus-5-5
@integry

integry commented Oct 5, 2026

Copy link
Copy Markdown
Owner

/ultrafix

@propr-dev propr-dev Bot added the ultrafix label Oct 5, 2026
@propr-dev

propr-dev Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

🔄 Ultrafix loop started (goal: 8/10, max cycles: 10)

First action: /review

💡 Tip: Remove the ultrafix label from this PR to stop further ultrafix cycles.

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Full Test Suite Results

Validation failed during: Test shard (shard 2), Test shard (shard 3).

  • Dependency install: success
  • Workspace build: success
  • Docs validation: success
  • Shard coverage verification: success
  • Hosted native Electron units: success
  • Shard 1/4: passed in 243.6s on GitHub Actions 1000061788
  • Shard 2/4: failed during Test shard in 663.9s on GitHub Actions 1000061787
    • packages/core/test/repositoryWorkflow.test.ts: exit 1
  • Shard 3/4: failed during Test shard in 317.5s on GitHub Actions 1000061784
    • test/worktreeStartRevision.test.ts: exit 1
  • Shard 4/4: passed in 322.9s on GitHub Actions 1000061785
View shard 2/4 output
...(truncated)

31392
          type: 'test'
          ...
        # Subtest: preserves valid worktree metadata for existing directories
        ok 6 - preserves valid worktree metadata for existing directories
          ---
          duration_ms: 191.686519
          type: 'test'
          ...
        # Subtest: handles mixed scenarios with valid, stale-old, and stale-young entries
        ok 7 - handles mixed scenarios with valid, stale-old, and stale-young entries
          ---
          duration_ms: 213.397632
          type: 'test'
          ...
        # Subtest: respects configurable minimum age threshold
        ok 8 - respects configurable minimum age threshold
          ---
          duration_ms: 193.445914
          type: 'test'
          ...
        1..8
    ok 7 - Safe Worktree Pruning
      ---
      duration_ms: 1664.102721
      type: 'suite'
      ...
    1..7
ok 1 - Worktree Lifecycle Integration Tests
  ---
  duration_ms: 7193.271358
  type: 'suite'
  ...
1..1
# tests 34
# suites 8
# pass 34
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 7591.160946
[166/167] passed test/worktreeLifecycle.integration.test.ts in 7.7s

[167/167] propr-ui#3/4 (workspace test script)

> [email protected] test
> vitest run --shard=3/4


�[1m�[30m�[46m RUN �[49m�[39m�[22m �[36mv5.0.0 �[39m�[90m/home/runner/work/propr/propr/propr-ui�[39m

 �[32m✓�[39m src/components/Dashboard.test.tsx �[2m(�[22m�[2m23 tests�[22m�[2m)�[22m�[33m 1992�[2mms�[22m�[39m
   �[32m✓�[39m Dashboard �[2m(23)�[22m
     �[33m�[2m✓�[22m�[39m shows running goals beside tasks and links to the scoped goal list and goal details�[33m 334�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m filters completed work by title through the heading search box�[33m 345�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useRepositoryManagement.test.tsx �[2m(�[22m�[2m26 tests�[22m�[2m)�[22m�[33m 2601�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/TaskPlanner/setupWizardHooks.test.tsx�[2m > �[22m�[2msetupWizardHooks branch resolution�[2m > �[22m�[2mclears the resolved base branch when branch lookup fails in new mode
�[22m�[39mFailed to load branches: Error: GitHub unavailable
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.test.tsx:246:43
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:1628:35
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2783:26
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3319:20
    at new Promise (<anonymous>)
    at runWithCancel (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3314:10)
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3299:20
    at new Promise (<anonymous>)
    at runWithTimeout (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3257:10)
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3876:64

�[90mstderr�[2m | src/desktop/LocalSetupWizard.integration.test.tsx�[2m > �[22m�[2mproduction local setup journey�[2m > �[22m�[2mshows the authenticated identity, installation types, and explicit recovery controls
�[22m�[39mAn update to LocalSetupWizard inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to LocalSetupWizard inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/TaskPlanner/setupWizardHooks.test.tsx�[2m > �[22m�[2msetupWizardHooks branch resolution�[2m > �[22m�[2mcontinues generation when persisting the resolved baseBranch fails after draft creation
�[22m�[39mFailed to persist draft setup snapshot: Error: Transient update failure
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.test.tsx:323:97
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2763:52
    at runWithSuite (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3248:8)
    at Object.collect (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2763:22)
    at Object.collect (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2768:51)
�[90m    at processTicksAndRejections (node:internal/process/task_queues:103:5)�[39m
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3449:26
    at collectTests (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3422:3)
    at startTests (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:4156:17)
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/base.BTS5G301.js:90:6

�[90mstderr�[2m | src/components/TaskPlanner/setupWizardHooks.test.tsx�[2m > �[22m�[2msetupWizardHooks branch resolution�[2m > �[22m�[2mpersists editable draft settings to context_config after debounce
�[22m�[39mFailed to persist draft settings: Error: Transient update failure
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.test.tsx:323:97
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2763:52
    at runWithSuite (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3248:8)
    at Object.collect (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2763:22)
    at Object.collect (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2768:51)
�[90m    at processTicksAndRejections (node:internal/process/task_queues:103:5)�[39m
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3449:26
    at collectTests (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3422:3)
    at startTests (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:4156:17)
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/base.BTS5G301.js:90:6

 �[32m✓�[39m src/components/TaskPlanner/setupWizardHooks.test.tsx �[2m(�[22m�[2m24 tests�[22m�[2m)�[22m�[33m 317�[2mms�[22m�[39m
�[90mstderr�[2m | src/desktop/LocalSetupWizard.integration.test.tsx�[2m > �[22m�[2mproduction local setup journey�[2m > �[22m�[2mhands completion into pairing, authenticated reprobe, and the current dashboard flow
�[22m�[39mAn update to LocalSetupWizard inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to LocalSetupWizard inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/desktop/LocalSetupWizard.integration.test.tsx�[2m > �[22m�[2mproduction local setup journey�[2m > �[22m�[2mrequires a supported choice when a legacy saved setup used Demo mode
�[22m�[39mAn update to LocalSetupWizard inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to LocalSetupWizard inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/desktop/LocalSetupWizard.integration.test.tsx�[2m > �[22m�[2mproduction local setup journey�[2m > �[22m�[2mshows and confirms corrected WebSocket intake for stale ProPR Connect recovery
�[22m�[39mAn update to LocalSetupWizard inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to LocalSetupWizard inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/desktop/LocalSetupWizard.integration.test.tsx �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[33m 1730�[2mms�[22m�[39m
   �[32m✓�[39m production local setup journey �[2m(19)�[22m
     �[33m�[2m✓�[22m�[39m shows the authenticated identity, installation types, and explicit recovery controls�[33m 312�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/electronAdapters.test.ts �[2m(�[22m�[2m18 tests�[22m�[2m)�[22m�[32m 242�[2mms�[22m�[39m
�[90mstdout�[2m | src/components/TaskDetails/useTaskData.test.ts�[2m > �[22m�[2mtask detail history refreshes�[2m > �[22m�[2mturns the fixture baseline of three burst invalidations into one additional history request
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task-1'�[39m, state: �[32m'processing'�[39m }
[useTaskData] Received task update via WebSocket: { taskId: �[32m'task-1'�[39m, state: �[32m'processing'�[39m }
[useTaskData] Received task update via WebSocket: { taskId: �[32m'task-1'�[39m, state: �[32m'processing'�[39m }

 �[32m✓�[39m src/components/TaskDetails/useTaskData.test.ts �[2m(�[22m�[2m23 tests�[22m�[2m)�[22m�[32m 93�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/setupWizardHooks.persistence.test.tsx �[2m(�[22m�[2m10 tests�[22m�[2m)�[22m�[32m 60�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ConnectPlusBanner.test.tsx �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[33m 1719�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/DashboardSummary.test.tsx �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[33m 548�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/McpLogsPage.test.tsx �[2m(�[22m�[2m15 tests�[22m�[2m)�[22m�[33m 1358�[2mms�[22m�[39m
   �[32m✓�[39m McpLogsPage �[2m(15)�[22m
     �[33m�[2m✓�[22m�[39m renders the newest-first table and the window summary�[33m 303�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/ExecutionEventLog.test.tsx �[2m(�[22m�[2m17 tests�[22m�[2m)�[22m�[33m 455�[2mms�[22m�[39m
 �[32m✓�[39m src/components/AgentTankSidebar.test.tsx �[2m(�[22m�[2m15 tests�[22m�[2m)�[22m�[33m 902�[2mms�[22m�[39m
�[90mstdout�[2m | src/hooks/useDraft.test.tsx�[2m > �[22m�[2museDraft�[2m > �[22m�[2mapplies generation socket snapshots without refetching the draft
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  eventType: �[32m'draft:update'�[39m,
  draftId: �[32m'draft-1'�[39m,
  step: �[32m'context'�[39m,
  status: �[32m'in_progress'�[39m,
  timestamp: �[32m'2026-05-05T00:00:05Z'�[39m,
  draftStatus: �[32m'generating'�[39m,
  generationTrace: { steps: [ �[36m[Object]�[39m, �[36m[Object]�[39m ] }
}

�[90mstdout�[2m | src/hooks/useDraft.test.tsx�[2m > �[22m�[2museDraft�[2m > �[22m�[2mresyncs once when a socket event reports a terminal draft status
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  eventType: �[32m'draft:update'�[39m,
  draftId: �[32m'draft-1'�[39m,
  step: �[32m'llm'�[39m,
  status: �[32m'completed'�[39m,
  timestamp: �[32m'2026-05-05T00:00:10Z'�[39m,
  draftStatus: �[32m'review'�[39m,
  generationTrace: { steps: [ �[36m[Object]�[39m, �[36m[Object]�[39m, �[36m[Object]�[39m ] }
}

�[90mstdout�[2m | src/hooks/useDraft.test.tsx�[2m > �[22m�[2museDraft�[2m > �[22m�[2minstalls the next run ID before accepting its first socket snapshot
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  eventType: �[32m'draft:update'�[39m,
  draftId: �[32m'draft-1'�[39m,
  runId: �[32m'generation-run-2'�[39m,
  step: �[32m'context'�[39m,
  status: �[32m'in_progress'�[39m,
  timestamp: �[32m'2026-05-05T00:00:10Z'�[39m,
  draftStatus: �[32m'generating'�[39m,
  generationTrace: { runId: �[32m'generation-run-2'�[39m, steps: [ �[36m[Object]�[39m ] }
}

�[90mstdout�[2m | src/hooks/useDraft.test.tsx�[2m > �[22m�[2museDraft�[2m > �[22m�[2mapplies terminal draft status from the socket before the follow-up fetch resolves
�[22m�[39m[useDraft] Received draft update via WebSocket: {
  eventType: �[32m'draft:update'�[39m,
  draftId: �[32m'draft-1'�[39m,
  step: �[32m'complete'�[39m,
  status: �[32m'completed'�[39m,
  timestamp: �[32m'2026-05-05T00:00:10Z'�[39m,
  draftStatus: �[32m'review'�[39m,
  generationTrace: { steps: [ �[36m[Object]�[39m, �[36m[Object]�[39m, �[36m[Object]�[39m ] }
}

 �[32m✓�[39m src/hooks/useDraft.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 307�[2mms�[22m�[39m
�[90mstderr�[2m | src/pages/SettingsPage/AgentsListSection.test.tsx�[2m > �[22m�[2mAgentsListSection web login�[2m > �[22m�[2mfolds legacy models within each provider until requested
�[22m�[39mAn update to AgentsListSection inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/pages/SettingsPage/AgentsListSection.test.tsx�[2m > �[22m�[2mAgentsListSection web login�[2m > �[22m�[2mshows Sonnet 5.5 as current and folds older Sonnet models
�[22m�[39mAn update to AgentsListSection inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/pages/SettingsPage/AgentsListSection.test.tsx�[2m > �[22m�[2mAgentsListSection web login�[2m > �[22m�[2moffers login for supported agents and opens their dialog
�[22m�[39mAn update to AgentsListSection inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to AgentsListSection inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/pages/SettingsPage/AgentsListSection.test.tsx �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[33m 1135�[2mms�[22m�[39m
   �[32m✓�[39m AgentsListSection web login �[2m(5)�[22m
     �[33m�[2m✓�[22m�[39m folds legacy models within each provider until requested�[33m 328�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/DesktopNotificationSettingsSection.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 657�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/HappeningNowSection.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 665�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2momits tab and requests for disabled/legacy repositories (false)
�[22m�[39mAn update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2momits tab and requests for disabled/legacy repositories (undefined)
�[22m�[39mAn update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2mclears media on repository change and disabling, ignoring stale requests
�[22m�[39mAn update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/components/Repositories/RepoMediaPanel.test.tsx �[2m(�[22m�[2m12 tests�[22m�[2m)�[22m�[33m 1344�[2mms�[22m�[39m
 �[32m✓�[39m src/App.hostedFlow.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 1465�[2mms�[22m�[39m
   �[32m✓�[39m HostedFlowRouteSync �[2m(5)�[22m
     �[33m�[2m✓�[22m�[39m preserves the validated active flow across actual React Router navigation without duplicating query parameters�[33m 1133�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/ReviewContextSettings.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 385�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useHeaderStats.status.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 305�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useLiveRefreshScheduler.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 45�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/AddRepositoryModal.test.tsx�[2m > �[22m�[2mAddRepositoryModal�[2m > �[22m�[2mkeeps branch selection in the scroll-owned form and submits through one form path
�[22m�[39mIn HTML, <button> cannot be a descendant of <button>.
This will cause a hydration error.

  <AddRepositoryModal isOpen={true} newRepo="integry/propr" newAlias="Production" newBaseBranch="release/20..." ...>
    <div className="fixed inse..." onClick={function handleBackdropClick}>
      <div ref={{...}} role="dialog" aria-modal="true" aria-labelledby="_r_9_" tabIndex={-1} className="bg-white r...">
        <div>
        <form onSubmit={function handleSubmit} className="flex min-h...">
          <div data-testid="add-reposi..." className="min-h-0 fl...">
            <div>
            <div>
            <div>
              <label>
              <BaseBranchSelector repoName="integry/propr" value="release/20..." onChange={function Mock} ...>
                <div className="relative" ref={{...}}>
>                 <button
>                   id="_r_d_"
>                   type="button"
>                   onClick={function handleOpen}
>                   disabled={false}
>                   aria-labelledby="_r_e_ _r_h_"
>                   aria-describedby="_r_f_"
>                   aria-haspopup="listbox"
>                   aria-expanded={false}
>                   className="w-full px-3 py-2 text-left bg-white border border-gray-300 rounded-md font-mono text-sm..."
>                 >
                    <span>
                    <div className="flex items...">
>                     <button
>                       type="button"
>                       onClick={function handleClear}
>                       className="p-0.5 hover:bg-gray-200 rounded text-gray-400 hover:text-gray-600"
>                       title="Clear selection"
>                     >
                      ...
              ...
            ...
          ...

<button> cannot contain a nested <button>.
See this log for the ancestor stack trace.

 �[32m✓�[39m src/components/AddRepositoryModal.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 562�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/VisualPreviewAuthSection.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 421�[2mms�[22m�[39m
 �[32m✓�[39m src/components/SystemHealthPush.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 450�[2mms�[22m�[39m
 �[32m✓�[39m src/components/SummaryBrowser/index.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 201�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Goals/goalTimeline.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 11�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/AccessManagementPage.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 366�[2mms�[22m�[39m
 �[32m✓�[39m src/api/apiClient.accounts.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 21�[2mms�[22m�[39m
 �[32m✓�[39m src/components/AgentChat/ModelSelector.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 640�[2mms�[22m�[39m
   �[32m✓�[39m ModelSelector keyboard navigation �[2m(4)�[22m
     �[33m�[2m✓�[22m�[39m scrolls to and selects an active option beyond the initial viewport�[33m 426�[2mms�[22m�[39m
 �[32m✓�[39m src/api/compatibility.test.ts �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 172�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.shortcut-readiness.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 297�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanEditor.responsive.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 64�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/SetupWizardHeaders.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 327�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/browserAdapters.test.ts �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 27�[2mms�[22m�[39m
 �[32m✓�[39m src/App.hostedCompletion.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 215�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SummaryBrowserPage.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 92�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Analytics/activityAxis.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 46�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/workTitle.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 18�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopPresentationBoundary.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 245�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentTankSection.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 242�[2mms�[22m�[39m
 �[32m✓�[39m src/api/usageTipsApi.test.ts �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 11�[2mms�[22m�[39m
�[90mstderr�[2m | src/pages/DesktopPairingPage.test.tsx�[2m > �[22m�[2mDesktopPairingPage�[2m > �[22m�[2mshows the server-provided client name and requires an explicit approval click
�[22m�[39mIn HTML, <div> cannot be a descendant of <p>.
This will cause a hydration error.

  <MemoryRouter initialEntries={[...]}>
    <Router basename={undefined} location={{pathname:"...", ...}} navigationType="POP" navigator={{index:0, ...}} ...>
      <AuthProvider user={{id:"101", ...}}>
        <DesktopPairingPage>
          <main className="flex min-h...">
            <section className="w-full max...">
              <img>
              <h1>
              <p>
>             <p className="mt-3 text-sm">
                <GitHubAccountIdentity account={{id:"101", ...}}>
                  <span className="inline-fle...">
                    <UserAvatar user={{id:"101", ...}} className="flex h-6 w..." fallbackClassName="bg-slate-1..." ...>
                      <AvatarFallback accessibleName="alice avatar" className="flex h-6 w..." ...>
>                       <div
>                         className="flex h-6 w-6 flex-none items-center justify-center rounded-full border border-sla..."
>                         aria-hidden={true}
>                       >
                    ...
              ...

<p> cannot contain a nested <div>.
See this log for the ancestor stack trace.

 �[32m✓�[39m src/pages/DesktopPairingPage.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 239�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/PackagedAcceptanceLocalSetup.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 285�[2mms�[22m�[39m
 �[32m✓�[39m src/contexts/SystemStatusContext.push.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 46�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useSystemReadiness.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 56�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositoryListItem.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 190�[2mms�[22m�[39m
�[90mstderr�[2m | src/hooks/useDecoratedRepoOptions.test.tsx�[2m > �[22m�[2museDecoratedRepoOptions�[2m > �[22m�[2mpasses through undefined options
�[22m�[39mAn update to TestComponent inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/hooks/useDecoratedRepoOptions.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 73�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useAgentTankSuggestion.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 79�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ActivitySparkline.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 204�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/UsageTipsSettingsSection.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 63�[2mms�[22m�[39m
 �[32m✓�[39m src/components/workflowSelectionInput.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopWindowControls.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 188�[2mms�[22m�[39m
 �[32m✓�[39m src/utils/notificationIntents.test.ts �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 8�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m53 passed�[39m�[22m�[90m (53)�[39m
�[2m      Tests �[22m �[1m�[32m407 passed�[39m�[22m�[90m (407)�[39m
�[2m   Start at �[22m 13:23:26
�[2m   Duration �[22m 48.89s�[2m (environment 48%, tests 27%, import 10%, setup 10%, transform 5%)�[22m

�[2mEnvironment �[22m �[33mjsdom was created 53 times�[39m�[2m · 43.68s total, 48% of tracked time�[22m
�[2m            �[22m �[2mcreate it once per worker with �[22m�[33mpool: 'vmThreads'�[39m�[2m (keeps per-file isolation) or �[22m�[33misolate: false�[39m�[2m (shares it across files)�[22m
�[2m            �[22m �[2mlearn more: https://vitest.dev/guide/improving-performance#test-environments�[22m


> [email protected] posttest
> npm run test:docker-context


> [email protected] test:docker-context
> node --test scripts/docker-context-inputs.test.mjs

TAP version 13
# Subtest: focused UI selectors are forwarded only to Vitest
ok 1 - focused UI selectors are forwarded only to Vitest
  ---
  duration_ms: 1.000002
  type: 'test'
  ...
# Subtest: the UI Docker context contains its complete non-type external source import closure
ok 2 - the UI Docker context contains its complete non-type external source import closure
  ---
  duration_ms: 52.690511
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 129.541098
[167/167] passed propr-ui#3/4 (workspace test script) in 49.8s

### Shard 2/4: 166/167 passed in 663.9s

Assigned 167 of 667 discovered units.

| Duration | Status | Unit |
| ---: | --- | --- |
| 156.8s | passed | `test/taskIntentWithdrawal.test.ts` |
| 72.9s | failed | `packages/core/test/repositoryWorkflow.test.ts` |
| 49.8s | passed | `propr-ui#3/4` (workspace) |
| 31.1s | passed | `apps/desktop/src/profile-store.crash-recovery.test.ts` |
| 25.6s | passed | `packages/api/test/mcpPublishPlan.test.ts` |
| 23.7s | passed | `packages/api/test/planRevisions.test.ts` |
| 11.4s | passed | `apps/desktop/src/saved-accounts.test.ts` |
| 10.6s | passed | `test/antigravityAgent.test.ts` |
| 9.4s | passed | `test/buildImages.test.mjs` |
| 8.1s | passed | `packages/cli/src/commands/initCommands.test.ts` |
| 7.9s | passed | `packages/api/test/webPushDispatcher.test.ts` |
| 7.7s | passed | `test/worktreeLifecycle.integration.test.ts` |
| 6.7s | passed | `apps/desktop/scripts/desktop-native-menu.test.mjs` |
| 6.5s | passed | `packages/api/test/dashboardReadService.test.ts` |
| 6.4s | passed | `test/reviewContextBudget.test.ts` |

Passing units at or above 60% of the 180.0s per-unit timeout. Split or speed these up before they fail:

- `test/taskIntentWithdrawal.test.ts` used 87% (156.8s)

::warning title=Test unit near the per-unit timeout::test/taskIntentWithdrawal.test.ts used 87% (156.8s) of the 180.0s per-unit timeout

1/167 test runs failed in shard 2/4 after 663.9s:
- packages/core/test/repositoryWorkflow.test.ts: exit 1

View shard 3/4 output
...(truncated)

original was not stored; continuing GitHub publication�[39m
#     code: "object_mismatch"
# Subtest: follow-up: free GitHub plan / object-expired
ok 28 - follow-up: free GitHub plan / object-expired
  ---
  duration_ms: 24.030492
  type: 'test'
  ...
# [2026-10-05 13:17:36.716 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "object_mismatch"
# Subtest: pr: free GitHub plan / github-failed
ok 29 - pr: free GitHub plan / github-failed
  ---
  duration_ms: 22.008959
  type: 'test'
  ...
# Subtest: follow-up: free GitHub plan / github-failed
ok 30 - follow-up: free GitHub plan / github-failed
  ---
  duration_ms: 21.855266
  type: 'test'
  ...
# Subtest: pr: free GitHub plan / legacy
ok 31 - pr: free GitHub plan / legacy
  ---
  duration_ms: 0.857958
  type: 'test'
  ...
# Subtest: follow-up: free GitHub plan / legacy
ok 32 - follow-up: free GitHub plan / legacy
  ---
  duration_ms: 0.724355
  type: 'test'
  ...
# Subtest: pr: unknown GitHub plan / plus
ok 33 - pr: unknown GitHub plan / plus
  ---
  duration_ms: 20.232652
  type: 'test'
  ...
# [2026-10-05 13:17:36.761 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-10-05 13:17:36.761 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# Subtest: follow-up: unknown GitHub plan / plus
ok 34 - follow-up: unknown GitHub plan / plus
  ---
  duration_ms: 20.914683
  type: 'test'
  ...
# Subtest: pr: unknown GitHub plan / community
ok 35 - pr: unknown GitHub plan / community
  ---
  duration_ms: 0.721912
  type: 'test'
  ...
# Subtest: follow-up: unknown GitHub plan / community
ok 36 - follow-up: unknown GitHub plan / community
  ---
  duration_ms: 0.62175
  type: 'test'
  ...
# Subtest: pr: unknown GitHub plan / offline
ok 37 - pr: unknown GitHub plan / offline
  ---
  duration_ms: 0.595681
  type: 'test'
  ...
# Subtest: follow-up: unknown GitHub plan / offline
ok 38 - follow-up: unknown GitHub plan / offline
  ---
  duration_ms: 0.546516
  type: 'test'
  ...
# [2026-10-05 13:17:36.803 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "plus_required"
# [2026-10-05 13:17:36.804 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "plus_required"
# [2026-10-05 13:17:36.805 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-10-05 13:17:36.805 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# Subtest: pr: unknown GitHub plan / quota
ok 39 - pr: unknown GitHub plan / quota
  ---
  duration_ms: 13.827965
  type: 'test'
  ...
# [2026-10-05 13:17:36.819 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "quota_exceeded"
# Subtest: follow-up: unknown GitHub plan / quota
ok 40 - follow-up: unknown GitHub plan / quota
  ---
  duration_ms: 9.875727
  type: 'test'
  ...
# [2026-10-05 13:17:36.829 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "quota_exceeded"
# Subtest: pr: unknown GitHub plan / upload-expired
ok 41 - pr: unknown GitHub plan / upload-expired
  ---
  duration_ms: 11.955703
  type: 'test'
  ...
# [2026-10-05 13:17:36.841 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "object_mismatch"
# Subtest: follow-up: unknown GitHub plan / upload-expired
ok 42 - follow-up: unknown GitHub plan / upload-expired
  ---
  duration_ms: 9.392797
  type: 'test'
  ...
# [2026-10-05 13:17:36.850 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "object_mismatch"
# Subtest: pr: unknown GitHub plan / object-expired
ok 43 - pr: unknown GitHub plan / object-expired
  ---
  duration_ms: 21.841186
  type: 'test'
  ...
# [2026-10-05 13:17:36.872 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "object_mismatch"
# Subtest: follow-up: unknown GitHub plan / object-expired
ok 44 - follow-up: unknown GitHub plan / object-expired
  ---
  duration_ms: 20.644405
  type: 'test'
  ...
# [2026-10-05 13:17:36.893 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "object_mismatch"
# Subtest: pr: unknown GitHub plan / github-failed
ok 45 - pr: unknown GitHub plan / github-failed
  ---
  duration_ms: 21.577272
  type: 'test'
  ...
# Subtest: follow-up: unknown GitHub plan / github-failed
ok 46 - follow-up: unknown GitHub plan / github-failed
  ---
  duration_ms: 24.684911
  type: 'test'
  ...
# Subtest: pr: unknown GitHub plan / legacy
ok 47 - pr: unknown GitHub plan / legacy
  ---
  duration_ms: 0.911629
  type: 'test'
  ...
# Subtest: follow-up: unknown GitHub plan / legacy
ok 48 - follow-up: unknown GitHub plan / legacy
  ---
  duration_ms: 0.781642
  type: 'test'
  ...
# Subtest: unknown and free GitHub-only collection conservatively excludes an oversized video
ok 49 - unknown and free GitHub-only collection conservatively excludes an oversized video
  ---
  duration_ms: 3.929763
  type: 'test'
  ...
# Subtest: issue completion and persisted task logs redact preview and staging paths
ok 50 - issue completion and persisted task logs redact preview and staging paths
  ---
  duration_ms: 17.478136
  type: 'test'
  ...
# [2026-10-05 13:17:36.940 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-10-05 13:17:36.941 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-10-05 13:17:36.948 +0000] �[32mINFO�[39m: �[36mCreated conversation log file�[39m
#     conversationPath: "/tmp/claude-logs/issue-2283-2026-10-05T13-17-36-946Z-conversation.json"
#     messageCount: 1
# [2026-10-05 13:17:36.948 +0000] �[32mINFO�[39m: �[36mCreated raw output log file�[39m
#     outputPath: "/tmp/claude-logs/issue-2283-2026-10-05T13-17-36-946Z-output.txt"
#     size: 189
# [2026-10-05 13:17:36.962 +0000] �[32mINFO�[39m: �[36mCreated conversation log file�[39m
#     conversationPath: "/tmp/claude-logs/issue-2283-2026-10-05T13-17-36-961Z-conversation.json"
#     messageCount: 1
# [2026-10-05 13:17:36.962 +0000] �[32mINFO�[39m: �[36mCreated raw output log file�[39m
#     outputPath: "/tmp/claude-logs/issue-2283-2026-10-05T13-17-36-961Z-output.txt"
#     size: 189
1..50
# tests 50
# suites 0
# pass 50
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 1718.652274
[161/167] passed test/visualPreviewRelease.test.ts in 1.8s

[162/167] test/webPushDeploymentContract.test.mjs
TAP version 13
# Subtest: legacy production Compose forwards every documented Web Push tuning variable
ok 1 - legacy production Compose forwards every documented Web Push tuning variable
  ---
  duration_ms: 0.637885
  type: 'test'
  ...
# Subtest: the reverse-proxy documentation includes every explicitly precached logo
ok 2 - the reverse-proxy documentation includes every explicitly precached logo
  ---
  duration_ms: 0.219753
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 142.617724
[162/167] passed test/webPushDeploymentContract.test.mjs in 0.2s

[163/167] test/worker.test.ts
TAP version 13
# Subtest: worker behavioral contracts
    # Subtest: label gating skips missing-primary and completed issues
    ok 1 - label gating skips missing-primary and completed issues
      ---
      duration_ms: 1.482563
      type: 'test'
      ...
    # Subtest: processing-label behavior adds the tag once and preserves an existing tag
    ok 2 - processing-label behavior adds the tag once and preserves an existing tag
      ---
      duration_ms: 2.410036
      type: 'test'
      ...
    # Subtest: authentication failures mark the task failed and remain observable
    ok 3 - authentication failures mark the task failed and remain observable
      ---
      duration_ms: 0.620087
      type: 'test'
      ...
    # Subtest: runtime processor dispatches every supported job type and rejects unknown jobs
    ok 4 - runtime processor dispatches every supported job type and rejects unknown jobs
      ---
      duration_ms: 0.351992
      type: 'test'
      ...
    # Subtest: worker construction attaches hooks before starting the paused worker
    ok 5 - worker construction attaches hooks before starting the paused worker
      ---
      duration_ms: 0.264981
      type: 'test'
      ...
    1..5
ok 1 - worker behavioral contracts
  ---
  duration_ms: 5.81681
  type: 'suite'
  ...
# [2026-10-05 13:17:38.353 +0000] �[33mWARN�[39m: �[36mIssue no longer has primary tag 'AI'. Skipping.�[39m
#     jobId: "job-1"
#     issueNumber: 42
# [2026-10-05 13:17:38.353 +0000] �[33mWARN�[39m: �[36mIssue already has 'AI-done' tag. Skipping.�[39m
#     jobId: "job-1"
#     issueNumber: 42
# [2026-10-05 13:17:38.357 +0000] �[32mINFO�[39m: �[36mSQLite database connection established successfully�[39m
#     filename: "/tmp/propr-test-suite-hqLemw/163-worker.test.ts/propr.test.sqlite"
#     environment: "test"
# [2026-10-05 13:17:38.358 +0000] �[32mINFO�[39m: �[36mSQLite database connection closed�[39m
1..1
# tests 5
# suites 1
# pass 5
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 1092.59261
[163/167] passed test/worker.test.ts in 1.2s

[164/167] test/workerStateManagerJobIdPersistence.test.ts
TAP version 13
# (node:15815) ExperimentalWarning: Module mocking is an experimental feature and might change at any time
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: a retried job with a stable task ID keeps one durable task row
ok 1 - a retried job with a stable task ID keeps one durable task row
  ---
  duration_ms: 4.489962
  type: 'test'
  ...
# Subtest: a reused BullMQ job ID is transferred to the new task instead of dropping its durable row
ok 2 - a reused BullMQ job ID is transferred to the new task instead of dropping its durable row
  ---
  duration_ms: 1.601913
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 291.66144
[164/167] passed test/workerStateManagerJobIdPersistence.test.ts in 0.4s

[165/167] test/workflowContainerSmoke.test.ts
TAP version 13
# Subtest: the workflow wrapper in a real agent image drops privileges, runs hooks and keeps reports out of the agent's reach
ok 1 - the workflow wrapper in a real agent image drops privileges, runs hooks and keeps reports out of the agent's reach # SKIP set PROPR_TEST_AGENT_IMAGE to a supported agent image
  ---
  duration_ms: 0.569511
  type: 'test'
  ...
# [2026-10-05 13:17:39.300 +0000] �[32mINFO�[39m: �[36mSQLite database connection established successfully�[39m
#     filename: "/tmp/propr-test-suite-hqLemw/165-workflowContainerSmoke.test.ts/propr.test.sqlite"
#     environment: "test"
# [2026-10-05 13:17:39.301 +0000] �[32mINFO�[39m: �[36mSQLite database connection closed�[39m
1..1
# tests 1
# suites 0
# pass 0
# fail 0
# cancelled 0
# skipped 1
# todo 0
# duration_ms 465.942856
[165/167] passed test/workflowContainerSmoke.test.ts in 0.6s

[166/167] test/worktreeStartRevision.test.ts
TAP version 13
# Subtest: an issue worktree starts from the commit its workflow policy was read from
ok 1 - an issue worktree starts from the commit its workflow policy was read from
  ---
  duration_ms: 576.334064
  type: 'test'
  ...
# [2026-10-05 13:17:40.155 +0000] �[32mINFO�[39m: �[36mUsing specified base branch�[39m
#     repo: "owner/repo"
#     specifiedBranch: "main"
# [2026-10-05 13:17:40.156 +0000] �[32mINFO�[39m: �[36mCreating Git worktree...�[39m
#     localRepoPath: "/tmp/propr-start-revision-Do0Dn7/clones/owner/repo"
#     worktreePath: "/tmp/propr-start-revision-Do0Dn7/worktrees/owner/repo/issue-42-20261005-1317-ucj"
#     branchName: "42/fix-20261005-1317-ucj"
#     baseBranch: "main"
#     issueId: 42
# [2026-10-05 13:17:40.362 +0000] �[32mINFO�[39m: �[36mGit worktree created successfully�[39m
#     worktreePath: "/tmp/propr-start-revision-Do0Dn7/worktrees/owner/repo/issue-42-20261005-1317-ucj"
#     branchName: "42/fix-20261005-1317-ucj"
#     issueId: 42
# [2026-10-05 13:17:40.372 +0000] �[32mINFO�[39m: �[36mUsing specified base branch�[39m
#     repo: "owner/repo"
#     specifiedBranch: "main"
# [2026-10-05 13:17:40.372 +0000] �[32mINFO�[39m: �[36mCreating Git worktree...�[39m
#     localRepoPath: "/tmp/propr-start-revision-Do0Dn7/clones/owner/repo"
#     worktreePath: "/tmp/propr-start-revision-Do0Dn7/worktrees/owner/repo/issue-42-20261005-1317-s1i"
#     branchName: "42/fix-20261005-1317-s1i"
#     baseBranch: "main"
#     issueId: 42
# [2026-10-05 13:17:40.566 +0000] �[32mINFO�[39m: �[36mGit worktree created successfully�[39m
#     worktreePath: "/tmp/propr-start-revision-Do0Dn7/worktrees/owner/repo/issue-42-20261005-1317-s1i"
#     branchName: "42/fix-20261005-1317-s1i"
#     issueId: 42
# [2026-10-05 13:17:40.573 +0000] �[32mINFO�[39m: �[36mUsing specified base branch�[39m
#     repo: "owner/repo"
#     specifiedBranch: "main"
# [2026-10-05 13:17:40.573 +0000] �[32mINFO�[39m: �[36mCreating Git worktree...�[39m
#     localRepoPath: "/tmp/propr-start-revision-Do0Dn7/clones/owner/repo"
#     worktreePath: "/tmp/propr-start-revision-Do0Dn7/worktrees/owner/repo/issue-42-20261005-1317-76e"
#     branchName: "42/fix-20261005-1317-76e"
#     baseBranch: "main"
#     issueId: 42
# [2026-10-05 13:17:40.768 +0000] �[32mINFO�[39m: �[36mGit worktree created successfully�[39m
#     worktreePath: "/tmp/propr-start-revision-Do0Dn7/worktrees/owner/repo/issue-42-20261005-1317-76e"
#     branchName: "42/fix-20261005-1317-76e"
#     issueId: 42
# [2026-10-05 13:17:40.777 +0000] �[32mINFO�[39m: �[36mUsing specified base branch�[39m
#     repo: "owner/repo"
#     specifiedBranch: "main"
# [2026-10-05 13:17:40.777 +0000] �[32mINFO�[39m: �[36mCreating Git worktree...�[39m
#     localRepoPath: "/tmp/propr-start-revision-Do0Dn7/clones/owner/repo"
#     worktreePath: "/tmp/propr-start-revision-Do0Dn7/worktrees/owner/repo/issue-42-20261005-1317-4ef"
#     branchName: "42/fix-20261005-1317-4ef"
#     baseBranch: "main"
#     issueId: 42
# [2026-10-05 13:17:40.846 +0000] �[33mWARN�[39m: �[36mRequested start revision is not on the fetched base branch; using the branch head�[39m
#     baseBranch: "main"
#     startRevision: "ffffffffffffffffffffffffffffffffffffffff"
#     error: "fatal: Not a valid commit name ffffffffffffffffffffffffffffffffffffffff\\n"
# Subtest: without a usable policy commit the worktree starts from the fetched branch head
ok 2 - without a usable policy commit the worktree starts from the fetched branch head
  ---
  duration_ms: 607.550368
  type: 'test'
  ...
not ok 3 - /home/runner/work/propr/propr/test/worktreeStartRevision.test.ts
  ---
  duration_ms: 3.897847
  location: '/home/runner/work/propr/propr/test/worktreeStartRevision.test.ts:1:1654'
  failureType: 'hookFailed'
  error: "EACCES: permission denied, unlink '/tmp/propr-start-revision-Do0Dn7/worktrees/owner/repo/issue-42-20261005-1317-4ef/.git'"
  code: 'EACCES'
  ...
# [2026-10-05 13:17:40.971 +0000] �[32mINFO�[39m: �[36mGit worktree created successfully�[39m
#     worktreePath: "/tmp/propr-start-revision-Do0Dn7/worktrees/owner/repo/issue-42-20261005-1317-4ef"
#     branchName: "42/fix-20261005-1317-4ef"
#     issueId: 42
1..3
# tests 3
# suites 0
# pass 2
# fail 1
# cancelled 0
# skipped 0
# todo 0
# duration_ms 1597.621953
[166/167] FAILED test/worktreeStartRevision.test.ts in 1.7s

[167/167] propr-ui#4/4 (workspace test script)

> [email protected] test
> vitest run --shard=4/4


�[1m�[30m�[46m RUN �[49m�[39m�[22m �[36mv5.0.0 �[39m�[90m/home/runner/work/propr/propr/propr-ui�[39m

 �[32m✓�[39m src/hooks/useVoiceBriefing.test.tsx �[2m(�[22m�[2m29 tests�[22m�[2m)�[22m�[32m 133�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.management.test.tsx �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[33m 669�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard.designRules.test.tsx �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[33m 751�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useLiveResource.test.tsx �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[32m 53�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/GoalsPage.test.tsx �[2m(�[22m�[2m58 tests�[22m�[2m)�[22m�[33m 5088�[2mms�[22m�[39m
   �[32m✓�[39m GoalsPage �[2m(58)�[22m
     �[33m�[2m✓�[22m�[39m reconciles the queue exactly once when the socket comes back�[33m 433�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m narrows the queue by every search keyword and mirrors the query in the URL�[33m 460�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/LoginPage.test.tsx �[2m(�[22m�[2m18 tests�[22m�[2m)�[22m�[33m 338�[2mms�[22m�[39m
�[90mstderr�[2m | src/pages/SettingsPage/useAgentTankSettings.test.tsx�[2m > �[22m�[2ma blank draft survives an earlier write completing (rejected: false)
�[22m�[39mFailed to save Agent Tank settings: Error: Replacement failed
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.test.tsx:79:58
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2783:20

�[90mstderr�[2m | src/pages/SettingsPage/useAgentTankSettings.test.tsx�[2m > �[22m�[2ma blank draft survives an earlier write completing (rejected: true)
�[22m�[39mFailed to save Agent Tank settings: Error: Earlier write failed
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.test.tsx:59:25

�[90mstderr�[2m | src/pages/SettingsPage/useAgentTankSettings.test.tsx�[2m > �[22m�[2ma blank draft survives an earlier write completing (rejected: true)
�[22m�[39mFailed to save Agent Tank settings: Error: Replacement failed
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.test.tsx:79:58
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2783:20

�[90mstderr�[2m | src/pages/SettingsPage/useAgentTankSettings.test.tsx�[2m > �[22m�[2ma rejected mode change is reported and the shown mode goes back to what is persisted
�[22m�[39mFailed to save Agent Tank settings: Error: Backend too old
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.test.tsx:116:54
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:1628:35
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2783:26
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3319:20
    at new Promise (<anonymous>)
    at runWithCancel (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3314:10)
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3299:20
    at new Promise (<anonymous>)
    at runWithTimeout (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3257:10)
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3876:64

�[90mstderr�[2m | src/pages/SettingsPage/useAgentTankSettings.test.tsx�[2m > �[22m�[2man older failed write does not replace a newer successful selection
�[22m�[39mFailed to save Agent Tank settings: Error: Backend too old
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.test.tsx:169:56

�[90mstderr�[2m | src/pages/AnalyticsPage.test.tsx�[2m > �[22m�[2mAnalyticsPage�[2m > �[22m�[2mlays the page out as one console: a totals band over a split pane, with no cards
�[22m�[39mThe width(-1) and height(-1) of chart should be greater than 0,
       please check the style of container, or the props width(100%) and height(100%),
       or add a minWidth(0) or minHeight(undefined) or use aspect(undefined) to control the
       height and width.

 �[32m✓�[39m src/pages/AnalyticsPage.test.tsx �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 664�[2mms�[22m�[39m
�[90mstderr�[2m | src/pages/SettingsPage/useAgentTankSettings.test.tsx�[2m > �[22m�[2ma refused selection reports no availability for the mode that was never stored
�[22m�[39mFailed to save Agent Tank settings: Error: Backend too old
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.test.tsx:253:54
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:1628:35
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2783:26
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3319:20
    at new Promise (<anonymous>)
    at runWithCancel (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3314:10)
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3299:20
    at new Promise (<anonymous>)
    at runWithTimeout (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3257:10)
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3876:64

�[90mstderr�[2m | src/pages/SettingsPage/useAgentTankSettings.test.tsx�[2m > �[22m�[2ma refused selection restores the availability of the mode that is persisted
�[22m�[39mFailed to save Agent Tank settings: Error: Backend too old
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.test.tsx:272:35
    at Mock (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/spy.DPLvp2J7.js:320:40)
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/pages/SettingsPage/useAgentTankSettings.ts:110:15

 �[32m✓�[39m src/pages/SettingsPage/useAgentTankSettings.test.tsx �[2m(�[22m�[2m17 tests�[22m�[2m)�[22m�[33m 3351�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m availability is fetched only after the selected mode has been saved�[33m 1155�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m a selection waiting behind an earlier write is probed only once it is persisted�[33m 1137�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m a refused selection reports no availability for the mode that was never stored�[33m 692�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard.pushRefresh.test.tsx �[2m(�[22m�[2m10 tests�[22m�[2m)�[22m�[33m 1265�[2mms�[22m�[39m
   �[32m✓�[39m Dashboard push-driven refreshes �[2m(10)�[22m
     �[33m�[2m✓�[22m�[39m regenerates the activity summary when a task stops for a human�[33m 327�[2mms�[22m�[39m
�[90mstderr�[2m | src/contexts/NotificationCenterContext.test.tsx�[2m > �[22m�[2mNotificationCenterProvider�[2m > �[22m�[2mignores a previous account preference after identity changes
�[22m�[39mAn update to NotificationCenterProvider inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/contexts/NotificationCenterContext.test.tsx �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 155�[2mms�[22m�[39m
 �[32m✓�[39m src/api/proprApi.logout.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 232�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard.consistency.test.tsx �[2m(�[22m�[2m10 tests�[22m�[2m)�[22m�[33m 494�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/PlansPage.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 611�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanHistoryDialog.test.tsx �[2m(�[22m�[2m13 tests�[22m�[2m)�[22m�[33m 986�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentCard.test.tsx �[2m(�[22m�[2m17 tests�[22m�[2m)�[22m�[33m 715�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/TaskList.test.tsx�[2m > �[22m�[2mTaskList�[2m > �[22m�[2mshows loading until an initial empty read succeeds and never treats a failure as empty
�[22m�[39mError fetching tasks: Error: Tasks unavailable
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskList.test.tsx:196:50
    at /home/runner/work/propr/propr/node_modules/�[4m@testing-library/react�[24m/dist/act-compat.js:47:24
    at process.env.NODE_ENV.exports.act (/home/runner/work/propr/propr/node_modules/�[4mreact�[24m/cjs/react.development.js:814:22)
    at Proxy.<anonymous> (/home/runner/work/propr/propr/node_modules/�[4m@testing-library/react�[24m/dist/act-compat.js:46:25)
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskList.test.tsx:196:11
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2783:20

 �[32m✓�[39m src/components/TaskList.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 422�[2mms�[22m�[39m
 �[32m✓�[39m src/components/PreviewMedia.test.tsx �[2m(�[22m�[2m17 tests�[22m�[2m)�[22m�[33m 311�[2mms�[22m�[39m
 �[32m✓�[39m src/api/proprApi.sharedReads.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 174�[2mms�[22m�[39m
 �[32m✓�[39m src/voice/voiceCommands.test.ts �[2m(�[22m�[2m46 tests�[22m�[2m)�[22m�[32m 15�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.connect-prefill.test.tsx �[2m(�[22m�[2m26 tests�[22m�[2m)�[22m�[33m 1399�[2mms�[22m�[39m
 �[32m✓�[39m src/api/proprApi.status.test.ts �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 13�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/shellLiveReads.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 96�[2mms�[22m�[39m
 �[32m✓�[39m src/voice/browserSpeech.test.ts �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[32m 9�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentLoginModal.test.tsx �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 615�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/usePlanRefinement.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 43�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useHeaderStats.running.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 234�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Layout.logsGroup.test.tsx �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 606�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Inbox/NotificationActions.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 176�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/ActionBar.responsive.test.tsx �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[33m 382�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositoryVisualPreviewControl.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 232�[2mms�[22m�[39m
 �[32m✓�[39m src/api/revertApi.test.ts �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 11�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/AuthenticatedAttachmentImage.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 141�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/mcpLogsUtils.test.ts �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[32m 13�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/AttachmentUploader.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 95�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopInstanceSelector.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 185�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositoryIcon.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 32�[2mms�[22m�[39m
 �[32m✓�[39m src/utils/summaryBrowser.test.ts �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 6�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Layout.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 224�[2mms�[22m�[39m
 �[32m✓�[39m src/api/agentLoginApi.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 11�[2mms�[22m�[39m
 �[32m✓�[39m src/contexts/SocketBootstrap.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 29�[2mms�[22m�[39m
 �[32m✓�[39m src/api/summaryApi.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/components/VisualPreviewGallery.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 172�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ui/RepositoryChip.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 38�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/modelSelectionHelpers.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 5�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/lifecycleStatus.test.tsx �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[32m 190�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.window-controls.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 200�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 4�[2mms�[22m�[39m
 �[32m✓�[39m src/components/GitHubAccountIdentity.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 38�[2mms�[22m�[39m
 �[32m✓�[39m src/components/taskStatusBreakdown.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 11�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Repositories/ModelContextSelector.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 153�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositoriesErrorState.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 150�[2mms�[22m�[39m
 �[32m✓�[39m src/utils/modelDisplay.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 3�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m52 passed�[39m�[22m�[90m (52)�[39m
�[2m      Tests �[22m �[1m�[32m508 passed�[39m�[22m�[90m (508)�[39m
�[2m   Start at �[22m 13:17:41
�[2m   Duration �[22m 33.19s�[2m (environment 41%, tests 35%, import 9%, setup 8%, transform 6%)�[22m

�[2mEnvironment �[22m �[33mjsdom was created 52 times�[39m�[2m · 25.54s total, 41% of tracked time�[22m
�[2m            �[22m �[2mcreate it once per worker with �[22m�[33mpool: 'vmThreads'�[39m�[2m (keeps per-file isolation) or �[22m�[33misolate: false�[39m�[2m (shares it across files)�[22m
�[2m            �[22m �[2mlearn more: https://vitest.dev/guide/improving-performance#test-environments�[22m


> [email protected] posttest
> npm run test:docker-context


> [email protected] test:docker-context
> node --test scripts/docker-context-inputs.test.mjs

TAP version 13
# Subtest: focused UI selectors are forwarded only to Vitest
ok 1 - focused UI selectors are forwarded only to Vitest
  ---
  duration_ms: 0.56796
  type: 'test'
  ...
# Subtest: the UI Docker context contains its complete non-type external source import closure
ok 2 - the UI Docker context contains its complete non-type external source import closure
  ---
  duration_ms: 34.264357
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 78.526516
[167/167] passed propr-ui#4/4 (workspace test script) in 33.7s

### Shard 3/4: 166/167 passed in 317.5s

Assigned 167 of 667 discovered units.

| Duration | Status | Unit |
| ---: | --- | --- |
| 63.1s | passed | `packages/api/test/mcpAccessLog.test.ts` |
| 33.7s | passed | `propr-ui#4/4` (workspace) |
| 29.1s | passed | `packages/api/test/mcpBrowser.test.ts` |
| 12.9s | passed | `packages/core/test/notificationService.test.ts` |
| 10.2s | passed | `test/connectCliIntegration.test.ts` |
| 7.9s | passed | `apps/desktop/src/authentication-handoff.test.ts` |
| 4.1s | passed | `apps/desktop/scripts/test-native-artifact-lifecycle.test.mjs` |
| 4.1s | passed | `packages/api/test/mcpIntegration.test.ts` |
| 4.0s | passed | `packages/api/test/notificationProjectionService.test.ts` |
| 4.0s | passed | `test/notificationPublicEntrypoint.test.ts` |
| 3.9s | passed | `packages/core/test/pushSubscriptionExpiration.test.ts` |
| 3.9s | passed | `apps/desktop/scripts/run-bounded-darwin-command.test.mjs` |
| 3.3s | passed | `packages/api/test/mcpEpicDispatch.test.ts` |
| 3.0s | passed | `test/agentTankImageVerification.test.ts` |
| 2.8s | passed | `packages/cli/src/commands/githubAppCommands.test.ts` |


1/167 test runs failed in shard 3/4 after 317.5s:
- test/worktreeStartRevision.test.ts: exit 1

Details truncated; see the uploaded artifacts for complete failure rows and logs.

View Workflow
View uploaded artifacts

@propr-dev

propr-dev Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 7ba0c97

Summary of Changes

I fixed both CI failures. Both test files now pass locally, along with the other suites that exercise the workflow wrapper (prPublicationJob, repositoryWorkflowAdmission, workflowContainerSmoke).

packages/core/test/repositoryWorkflow.test.ts (shard 2). Test 30, "oversized concurrent output cannot splice…", hit its 60s timeout on CI; locally it took 53s. The cause was in the wrapper, not the test. The labeller in label_output (packages/core/src/workflow/workflowExecution.ts) splits lines with the sed pattern s/.\{4000\}/&\n/g, and GNU sed gets much slower as that repeat count grows: 1000 takes about 1s, 2000 about 4.6s and 4000 about 17s on 850 KB of long lines. That also slows real hooks or validation commands that print long lines, such as minified output.

  • Change: sed now cuts lines into 1000-byte chunks and joins every four back into one 4000-byte segment. Each segment still fits in one atomic pipe write.
  • Same output: I compared the old and new labeller on the flood data, 3 MB of random bytes, and lengths around every chunk and segment boundary (0, 1, 999–1001, 3999–4001, 8000, 16000, 17003). The output was byte-identical in every case.
  • Speed: the 850 KB sample takes about 2.3s instead of 17s. About 0.85s of that is sed -u reading one byte at a time, which the old version also paid. Test 30 now takes 6.2s and the whole file 11.6s (CI previously reported 72.9s).

test/worktreeStartRevision.test.ts (shard 3). Creating a worktree runs sudo chown -R 1000:1000 on it. GitHub runners allow passwordless sudo, so the runner user then couldn't delete the worktree, and the cleanup hook failed with EACCES … unlink …/.git. The test now puts a no-op sudo at the front of PATH. The tests themselves already passed; only cleanup failed.

Typecheck and lint are clean for core. Root tsc reports one error: it can't find @propr/local-setup, a package I didn't build in this environment. I didn't run the full CI suite. This change has nothing visual, so there are no previews.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @github-actions[bot]
  • Time: 12m 58s
  • Tokens: 3,429,328 (3,412,806 in / 16,522 out)
  • Cost: $1.46
  • Subscription usage: Session +2%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5995375719✓

… along with the other suites that exercise the workflow wrapper (`prPublicationJob`, `repositoryWorkflowAdmission`, `workflowContainerSmoke`).

I fixed both CI failures. Both test files now pass locally, along with the other suites that exercise the workflow wrapper (`prPublicationJob`, `repositoryWorkflowAdmission`, `workflowContainerSmoke`).

**`packages/core/test/repositoryWorkflow.test.ts` (shard 2).** Test 30, "oversized concurrent output cannot splice…", hit its 60s timeout on CI; locally it took 53s. The cause was in the wrapper, not the test. The labeller in `label_output` (`packages/core/src/workflow/workflowExecution.ts`) splits lines with the sed pattern `s/.\{4000\}/&\n/g`, and GNU sed gets much slower as that repeat count grows: 1000 takes about 1s, 2000 about 4.6s and 4000 about 17s on 850 KB of long lines. That also slows real hooks or validation commands that print long lines, such as minified output.

- **Change:** sed now cuts lines into 1000-byte chunks and joins every four back into one 4000-byte segment. Each segment still fits in one atomic pipe write.
- **Same output:** I compared the old and new labeller on the flood data, 3 MB of random bytes, and lengths around every chunk and segment boundary (0, 1, 999–1001, 3999–4001, 8000, 16000, 17003). The output was byte-identical in every case.
- **Speed:** the 850 KB sample takes about 2.3s instead of 17s. About 0.85s of that is `sed -u` reading one byte at a time, which the old version also paid. Test 30 now takes 6.2s and the whole file 11.6s (CI previously reported 72.9s).

**`test/worktreeStartRevision.test.ts` (shard 3).** Creating a worktree runs `sudo chown -R 1000:1000` on it. GitHub runners allow passwordless sudo, so the runner user then couldn't delete the worktree, and the cleanup hook failed with `EACCES … unlink …/.git`. The test now puts a no-op `sudo` at the front of `PATH`. The tests themselves already passed; only cleanup failed.

Typecheck and lint are clean for core. Root `tsc` reports one error: it can't find `@propr/local-setup`, a package I didn't build in this environment. I didn't run the full CI suite. This change has nothing visual, so there are no previews.

PR: #2663
Comment by: @github-actions[bot] (ID: 5995375719)
Model: claude-opus-5-5
@propr-dev

propr-dev Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR implements repository-owned policy with substantial coverage, but capacity enforcement needs correction before merge. The supplied current-head status is clean: 41 passed, none failed or pending.

✅ Pinned policy reads — Workflow and instruction files are loaded from the same immutable base commit, with strict field and size validation.

✅ Consistent preview restrictions — Implementation prompts and publication receive the same effective preview settings, preventing publication from reloading unrestricted defaults.

✅ Durable capacity deferrals — Refused jobs preserve their identity and claimed comments, release worker capacity, and expose the wait in task history.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F15: 🔴 Refreshed policies retain stale capacity limits

  • Required behavior: The policy used for an admitted execution must govern its repository concurrency limit, including after a capacity wait.

  • Evidence: src/jobs/processGitHubIssueJob.ts, processIssueWithAdmission; src/jobs/processPullRequestCommentJob.ts, executeProcessing; packages/core/src/workflow/workflowConcurrency.ts, withRepositoryWorkflowSlot.

    1. Three executions occupy a repository whose policy permits three parallel tasks. Another task is refused and saves that policy snapshot.
    2. While it waits, a maintainer lowers the base-branch limit to one. One existing execution finishes, leaving two running.
    3. The deferred task acquires capacity using its cached limit of three: two occupied slots permit admission.
    4. Inside the admitted callback, the issue processor awaits prepareIssueRepositoryWorkflow, or the PR processor awaits policy.admitted(job), and obtains the new limit of one.
    5. The task starts under that refreshed policy while two other executions remain active. Its Redis reservation and heartbeat still advertise the captured old limit of three.

    The refresh updates the execution policy but never updates or rechecks admission. Neither the atomic acquisition nor heartbeat prevents this mismatch because both use the original ownLimit. The existing refresh tests change the revision while retaining the same cap.

    static trace: verified both processor paths against the supplied diff; no commands were run.

  • Minimum fix: Before starting execution, reconcile admission against the refreshed limit in both processors. If the refreshed policy cannot admit the task, release its reservation and defer using that refreshed snapshot.

F16: 🔴 Expired uncapped runs bypass newly active caps

  • Required behavior: Runs without a workflow must count toward repository capacity, and reclamation must not admit another execution while an uncounted participant remains running.

  • Evidence: packages/core/src/workflow/workflowConcurrency.ts, withRepositoryWorkflowSlot, ACQUIRE_WORKFLOW_SLOT, and RENEW_WORKFLOW_SLOT.

    1. Worker A starts an uncapped execution. Acquisition returns 1, so capped is false and no ownership watchdog is armed.
    2. A loses connectivity to Redis while its agent container continues running. Its renewal await hangs or rejects; the implementation explicitly allows the execution to survive beyond its lease.
    3. After 120 seconds, worker B, which can still reach Redis, requests admission for the same repository with limit one.
    4. B’s acquisition script removes A’s expired member and admits B because the recorded active count is now zero.
    5. Both containers run simultaneously despite B’s active limit of one.

    A learns about another run’s cap only through a successful renewal. During the connection failure, that protection cannot activate. Redis atomicity protects the recorded count, but the count has already excluded a live execution. The added uncapped-stall tests explicitly establish A’s survival; they do not exercise subsequent capped admission.

    static trace: verified the watchdog exemption, expiry removal, and admission condition in the supplied code; no commands were run.

  • Minimum fix: Ensure every participating execution stops before its reservation becomes reclaimable, including initially uncapped executions. Apply the ownership deadline consistently and add coverage for an uncapped worker losing Redis connectivity before another worker requests capped admission.

Suggestions

These are optional follow-ups and are not sent to /fix.

S71: 🟢 Expand real-image transport coverage

The container smoke test exercises the Claude entrypoint, while wrapper unit tests cover argument construction for five adapters. Extending real-image coverage to the other transports would strengthen confidence in privilege dropping and report capture. This is optional additional coverage, not evidence of another verified defect.

Score

Strong validation, documentation, and regression coverage support the implementation, but two demonstrated concurrency failures remain despite the passing checks.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 33s
  • Tokens: 140,002 (137,963 in / 2,039 out)
  • Cost: $1.37

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F15 F16 S71

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit b89589c

Addressed 1 AI review comment (IDs: 5995914704)

Addressed findings F15, F16

Summary of Changes

I fixed F15 and F16. Each fix has focused regression tests, and I checked that the new tests fail without the fix. Typecheck and lint (--max-warnings 0) are clean for root and core. The affected suites all pass, including the Redis Lua integration tests, which I ran against a redis-server built in /tmp outside the repo.

F15: refreshed policies now enforce their own cap

  • New check in workflowConcurrency.ts: a Redis script, RECONCILE_WORKFLOW_SLOT, and an exported reconcileRepositoryWorkflowSlot(limit). It re-checks the admitted run against the refreshed cap. The run's own old cap no longer counts, but other runs' caps still do.
    • Cap still admits the run: the refreshed cap replaces the old one, and heartbeats advertise it from then on.
    • Cap is now full: in the same Redis step, the run's reservation is removed and it joins the waiting list. It then throws RepositoryWorkflowCapacityError without a second release.
    • Reservation already lost: execution stops with a lease-lost error.
  • Both processors now call this right after re-reading the policy and before any work starts (issue: prepareIssueRepositoryWorkflow; PR: policy.admitted(job)). The refreshed policy is saved first, so a refused task waits under the new snapshot. In the issue processor, that refusal now bypasses the generic error handler so it isn't recorded as a failure.
  • Tests: each processor gets a scenario where the cap is lowered from 3 to 1 with 2 runs active. The task is admitted on the old cap, then refused after the refresh and deferred with the new policy, without starting the agent or being marked processing. The Redis integration test covers the script itself, including two runs checking against the same lowered cap.

F16: uncapped runs now stop before their reservation can be reclaimed

  • I removed the exemption for runs without a cap. Every run now has the same local stop deadline (about 89s after its last confirmed renewal). That is before another worker can reclaim its Redis entry at 120s, even if this worker can't reach Redis.
  • Tests: the two old tests asserting that an uncapped run survives a Redis stall now assert it stops at the deadline. The Redis integration test now also covers an uncapped worker A losing Redis: B's capped request is refused while A runs, and B is only admitted after A has stopped.
  • I updated the matching paragraph in docs/docs/features/repository-workflow.md, which still described the old exemption.

Other notes

  • After a post-admission refusal, the deferral count restarts at 1, because admission had already cleared the earlier count. Backoff restarts from 10 seconds under the new policy.
  • An uncapped run cut off from Redis for more than about 89 seconds is now stopped, as F16 requires. Previously it kept running.
  • To run tests, I installed dependencies with npm ci and npm run test:prepare; nothing in the repo setup changed.
  • There's no visual change, so I didn't create previews.

🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-ultrafix
  • Time: 21m 33s
  • Tokens: 4,866,711 (4,832,748 in / 33,963 out)
  • Cost: $2.23
  • Subscription usage: Session +1%

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR

… and I checked that the new tests fail without the fix. Typecheck and lint (`--max-warnings 0`) are clean for root and core. The affected suites all pass, including the Redis Lua integration tests, which I ran against a `redis-server` built in `/tmp` outside the repo.

I fixed F15 and F16. Each fix has focused regression tests, and I checked that the new tests fail without the fix. Typecheck and lint (`--max-warnings 0`) are clean for root and core. The affected suites all pass, including the Redis Lua integration tests, which I ran against a `redis-server` built in `/tmp` outside the repo.

### F15: refreshed policies now enforce their own cap
- **New check in `workflowConcurrency.ts`:** a Redis script, `RECONCILE_WORKFLOW_SLOT`, and an exported `reconcileRepositoryWorkflowSlot(limit)`. It re-checks the admitted run against the refreshed cap. The run's own old cap no longer counts, but other runs' caps still do.
  - **Cap still admits the run:** the refreshed cap replaces the old one, and heartbeats advertise it from then on.
  - **Cap is now full:** in the same Redis step, the run's reservation is removed and it joins the waiting list. It then throws `RepositoryWorkflowCapacityError` without a second release.
  - **Reservation already lost:** execution stops with a lease-lost error.
- **Both processors** now call this right after re-reading the policy and before any work starts (issue: `prepareIssueRepositoryWorkflow`; PR: `policy.admitted(job)`). The refreshed policy is saved first, so a refused task waits under the new snapshot. In the issue processor, that refusal now bypasses the generic error handler so it isn't recorded as a failure.
- **Tests:** each processor gets a scenario where the cap is lowered from 3 to 1 with 2 runs active. The task is admitted on the old cap, then refused after the refresh and deferred with the new policy, without starting the agent or being marked processing. The Redis integration test covers the script itself, including two runs checking against the same lowered cap.

### F16: uncapped runs now stop before their reservation can be reclaimed
- I removed the exemption for runs without a cap. Every run now has the same local stop deadline (about 89s after its last confirmed renewal). That is before another worker can reclaim its Redis entry at 120s, even if this worker can't reach Redis.
- **Tests:** the two old tests asserting that an uncapped run survives a Redis stall now assert it stops at the deadline. The Redis integration test now also covers an uncapped worker A losing Redis: B's capped request is refused while A runs, and B is only admitted after A has stopped.
- I updated the matching paragraph in `docs/docs/features/repository-workflow.md`, which still described the old exemption.

### Other notes
- After a post-admission refusal, the deferral count restarts at 1, because admission had already cleared the earlier count. Backoff restarts from 10 seconds under the new policy.
- An uncapped run cut off from Redis for more than about 89 seconds is now stopped, as F16 requires. Previously it kept running.
- To run tests, I installed dependencies with `npm ci` and `npm run test:prepare`; nothing in the repo setup changed.
- There's no visual change, so I didn't create previews.

PR: #2663
Comment by: @propr-ultrafix (ID: 0)
Model: claude-opus-5-5
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Full Test Suite Results

Validation failed during: Test shard (shard 4).

  • Dependency install: success
  • Workspace build: success
  • Docs validation: success
  • Shard coverage verification: success
  • Hosted native Electron units: success
  • Shard 1/4: passed in 616.5s on GitHub Actions 1000061956
  • Shard 2/4: passed in 441.1s on GitHub Actions 1000061954
  • Shard 3/4: passed in 291.3s on GitHub Actions 1000061955
  • Shard 4/4: failed during Test shard in 269.9s on GitHub Actions 1000061957
    • test/prPublicationRecoveryJob.test.ts: exit 1
View shard 4/4 output
...(truncated)

l-suite tests
    ok 1 - prepares desktop runtime dependencies before clean desktop and full-suite tests
      ---
      duration_ms: 1.589909
      type: 'test'
      ...
    # Subtest: selects supported test files deterministically and excludes live E2E
    ok 2 - selects supported test files deterministically and excludes live E2E
      ---
      duration_ms: 7.893348
      type: 'test'
      ...
    # Subtest: enables module mocking without hiding leaked resources behind forced exit
    ok 3 - enables module mocking without hiding leaked resources behind forced exit
      ---
      duration_ms: 0.175999
      type: 'test'
      ...
    # Subtest: requires an explicit flush opt-in before Redis isolation is destructive
    ok 4 - requires an explicit flush opt-in before Redis isolation is destructive
      ---
      duration_ms: 0.133027
      type: 'test'
      ...
    # Subtest: waits for a timed-out process to close after escalating to SIGKILL
    ok 5 - waits for a timed-out process to close after escalating to SIGKILL
      ---
      duration_ms: 1058.159166
      type: 'test'
      ...
    # Subtest: discovers root and workspace tests while delegating native workspace runners
    ok 6 - discovers root and workspace tests while delegating native workspace runners
      ---
      duration_ms: 2.723882
      type: 'test'
      ...
    # Subtest: delegates native workspace runners by script instead of package name
    ok 7 - delegates native workspace runners by script instead of package name
      ---
      duration_ms: 0.177008
      type: 'test'
      ...
    # Subtest: partitions every discovered file and native workspace part into exactly one shard
    ok 8 - partitions every discovered file and native workspace part into exactly one shard
      ---
      duration_ms: 12.392264
      type: 'test'
      ...
    # Subtest: partitions the real repository suite completely across the CI shard count
    ok 9 - partitions the real repository suite completely across the CI shard count
      ---
      duration_ms: 38.689348
      type: 'test'
      ...
    # Subtest: runs each native workspace part through the package runner shard option
    ok 10 - runs each native workspace part through the package runner shard option
      ---
      duration_ms: 5.031298
      type: 'test'
      ...
    # Subtest: rejects invalid or partial shard configuration
    ok 11 - rejects invalid or partial shard configuration
      ---
      duration_ms: 0.814661
      type: 'test'
      ...
    # Subtest: rejects shards that would run nothing and conflicting shard sources
    ok 12 - rejects shards that would run nothing and conflicting shard sources
      ---
      duration_ms: 1.710335
      type: 'test'
      ...
    # Subtest: lists a shard manifest without running tests
    ok 13 - lists a shard manifest without running tests
      ---
      duration_ms: 53.181989
      type: 'test'
      ...
    # Subtest: verifies shard summaries cover the suite exactly once
    ok 14 - verifies shard summaries cover the suite exactly once
      ---
      duration_ms: 2.910093
      type: 'test'
      ...
    # Subtest: reports per-unit timing for later shard balancing
    ok 15 - reports per-unit timing for later shard balancing
      ---
      duration_ms: 0.468267
      type: 'test'
      ...
    # Subtest: warns about passing units that are close to the per-unit timeout
    ok 16 - warns about passing units that are close to the per-unit timeout
      ---
      duration_ms: 0.36663
      type: 'test'
      ...
    # Subtest: records the per-unit timeout every unit was measured against
    ok 17 - records the per-unit timeout every unit was measured against
      ---
      duration_ms: 337.306503
      type: 'test'
      ...
    # Subtest: hands every unit the desktop fsync opt-out unless the caller set it explicitly
    ok 18 - hands every unit the desktop fsync opt-out unless the caller set it explicitly
      ---
      duration_ms: 633.076913
      type: 'test'
      ...
    # Subtest: keeps the four-shard matrix complete and isolated on either route
    ok 19 - keeps the four-shard matrix complete and isolated on either route
      ---
      duration_ms: 0.720786
      type: 'test'
      ...
    # Subtest: serializes nightly validation without cancelling an active live run
    ok 20 - serializes nightly validation without cancelling an active live run
      ---
      duration_ms: 0.212493
      type: 'test'
      ...
    1..20
ok 1 - release test-suite runner
  ---
  duration_ms: 2159.293828
  type: 'suite'
  ...
1..1
# tests 20
# suites 1
# pass 20
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 2347.698914
[156/167] passed test/testSuiteRunner.test.mjs in 2.5s

[157/167] test/ultrafixEscalationPolicy.test.ts
TAP version 13
# Subtest: equal and lower scores stall; strict improvement resets; best survives handoff
ok 1 - equal and lower scores stall; strict improvement resets; best survives handoff
  ---
  duration_ms: 0.727669
  type: 'test'
  ...
# Subtest: climbs at most N then hands off at its own base effort and fresh patience
ok 2 - climbs at most N then hands off at its own base effort and fresh patience
  ---
  duration_ms: 0.204387
  type: 'test'
  ...
# Subtest: N=0 with patience=4 never touches the reasoning dial
ok 3 - N=0 with patience=4 never touches the reasoning dial
  ---
  duration_ms: 0.13285
  type: 'test'
  ...
# Subtest: two-tier provider switches its encoded model effort then retains its final effort
ok 4 - two-tier provider switches its encoded model effort then retains its final effort
  ---
  duration_ms: 0.241263
  type: 'test'
  ...
# Subtest: single-tier GPT-OSS immediately hands off once stalled
ok 5 - single-tier GPT-OSS immediately hands off once stalled
  ---
  duration_ms: 0.13271
  type: 'test'
  ...
# Subtest: skips unavailable models and keeps the current model when none remain
ok 6 - skips unavailable models and keeps the current model when none remain
  ---
  duration_ms: 0.626773
  type: 'test'
  ...
# Subtest: unspecified effort takes the first explicit step for each dial runtime
ok 7 - unspecified effort takes the first explicit step for each dial runtime
  ---
  duration_ms: 0.213924
  type: 'test'
  ...
# Subtest: all later models unavailable retains the current stage and execution across reviews
ok 8 - all later models unavailable retains the current stage and execution across reviews
  ---
  duration_ms: 0.279873
  type: 'test'
  ...
1..8
# tests 8
# suites 0
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 194.247201
[157/167] passed test/ultrafixEscalationPolicy.test.ts in 0.3s

[158/167] test/ultrafixLoopContinuation.test.ts
TAP version 13
# Subtest: Ultrafix loop continuation logic
    # Subtest: review-success-stop: explicitly clean review
        # Subtest: determineNextAction returns null when the review is valid and clean
        ok 1 - determineNextAction returns null when the review is valid and clean
          ---
          duration_ms: 4.344865
          type: 'test'
          ...
        # Subtest: determineNextAction returns fix when a passing review still has blockers
        ok 2 - determineNextAction returns fix when a passing review still has blockers
          ---
          duration_ms: 1.378664
          type: 'test'
          ...
        # Subtest: goal completion is persisted as a successful terminal state
        ok 3 - goal completion is persisted as a successful terminal state
          ---
          duration_ms: 3.771755
          type: 'test'
          ...
        1..3
    ok 1 - review-success-stop: explicitly clean review
      ---
      duration_ms: 10.29846
      type: 'suite'
      ...
    # Subtest: review-success-continue: score below goal
        # Subtest: clean review below goal stops without a fix and persists an unsuccessful completion
        ok 1 - clean review below goal stops without a fix and persists an unsuccessful completion
          ---
          duration_ms: 0.449641
          type: 'test'
          ...
        # Subtest: determineNextAction returns fix when score is below goal
        ok 2 - determineNextAction returns fix when score is below goal
          ---
          duration_ms: 2.420455
          type: 'test'
          ...
        # Subtest: determineNextAction returns fix when score is null
        ok 3 - determineNextAction returns fix when score is null
          ---
          duration_ms: 1.217763
          type: 'test'
          ...
        1..3
    ok 2 - review-success-continue: score below goal
      ---
      duration_ms: 4.511487
      type: 'suite'
      ...
    # Subtest: fix-completion: schedules review
        # Subtest: determineNextAction returns review after fix
        ok 1 - determineNextAction returns review after fix
          ---
          duration_ms: 1.244949
          type: 'test'
          ...
        # Subtest: recordAction increments cycleCount after fix
        ok 2 - recordAction increments cycleCount after fix
          ---
          duration_ms: 1.132113
          type: 'test'
          ...
        # Subtest: recordAction does not increment cycleCount after review
        ok 3 - recordAction does not increment cycleCount after review
          ---
          duration_ms: 0.824838
          type: 'test'
          ...
        1..3
    ok 3 - fix-completion: schedules review
      ---
      duration_ms: 3.584817
      type: 'suite'
      ...
    # Subtest: terminal conditions: state persisted
        # Subtest: failed terminal state is persisted when max cycles are reached
        ok 1 - failed terminal state is persisted when max cycles are reached
          ---
          duration_ms: 3.851744
          type: 'test'
          ...
        # Subtest: inactive loop returns null action
        ok 2 - inactive loop returns null action
          ---
          duration_ms: 2.513289
          type: 'test'
          ...
        1..2
    ok 4 - terminal conditions: state persisted
      ---
      duration_ms: 6.646204
      type: 'suite'
      ...
    # Subtest: label-based loop control
        # Subtest: loop stops when no active state exists
        ok 1 - loop stops when no active state exists
          ---
          duration_ms: 0.200912
          type: 'test'
          ...
        # Subtest: clearState removes loop state completely
        ok 2 - clearState removes loop state completely
          ---
          duration_ms: 0.182208
          type: 'test'
          ...
        1..2
    ok 5 - label-based loop control
      ---
      duration_ms: 0.479404
      type: 'suite'
      ...
    # Subtest: multi-cycle progression
        # Subtest: full cycle: review → fix → review with incrementing cycle count
        ok 1 - full cycle: review → fix → review with incrementing cycle count
          ---
          duration_ms: 3.995533
          type: 'test'
          ...
        # Subtest: stops at max cycles even if goal not met
        ok 2 - stops at max cycles even if goal not met
          ---
          duration_ms: 3.068807
          type: 'test'
          ...
        # Subtest: max cycle limit allows five review and five fix steps
        ok 3 - max cycle limit allows five review and five fix steps
          ---
          duration_ms: 1.285296
          type: 'test'
          ...
        1..3
    ok 6 - multi-cycle progression
      ---
      duration_ms: 8.56825
      type: 'suite'
      ...
    1..6
ok 1 - Ultrafix loop continuation logic
  ---
  duration_ms: 34.754571
  type: 'suite'
  ...
1..1
# tests 16
# suites 7
# pass 16
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 234.322273
[158/167] passed test/ultrafixLoopContinuation.test.ts in 0.3s

[159/167] test/ultrafixSettings.test.ts
TAP version 13
# Subtest: VALID_SETTING_KEYS includes new ultrafix keys
    # Subtest: should include pr_review_model
    ok 1 - should include pr_review_model
      ---
      duration_ms: 0.512666
      type: 'test'
      ...
    # Subtest: should include model_reasoning_level
    ok 2 - should include model_reasoning_level
      ---
      duration_ms: 0.079857
      type: 'test'
      ...
    # Subtest: should include ultrafix_rating_goal
    ok 3 - should include ultrafix_rating_goal
      ---
      duration_ms: 0.065075
      type: 'test'
      ...
    # Subtest: should include ultrafix_max_cycles
    ok 4 - should include ultrafix_max_cycles
      ---
      duration_ms: 0.049722
      type: 'test'
      ...
    # Subtest: should include ultrafix_pause_seconds
    ok 5 - should include ultrafix_pause_seconds
      ---
      duration_ms: 0.046704
      type: 'test'
      ...
    # Subtest: should include PR review context settings
    ok 6 - should include PR review context settings
      ---
      duration_ms: 0.047711
      type: 'test'
      ...
    # Subtest: should keep expected setting keys valid
    ok 7 - should keep expected setting keys valid
      ---
      duration_ms: 0.06796
      type: 'test'
      ...
    1..7
ok 1 - VALID_SETTING_KEYS includes new ultrafix keys
  ---
  duration_ms: 1.634065
  type: 'suite'
  ...
# Subtest: isValidSettingKey for new keys
    # Subtest: pr_review_model is valid
    ok 1 - pr_review_model is valid
      ---
      duration_ms: 0.137844
      type: 'test'
      ...
    # Subtest: model_reasoning_level is valid
    ok 2 - model_reasoning_level is valid
      ---
      duration_ms: 0.111335
      type: 'test'
      ...
    # Subtest: ultrafix_rating_goal is valid
    ok 3 - ultrafix_rating_goal is valid
      ---
      duration_ms: 0.132972
      type: 'test'
      ...
    # Subtest: ultrafix_max_cycles is valid
    ok 4 - ultrafix_max_cycles is valid
      ---
      duration_ms: 0.050416
      type: 'test'
      ...
    # Subtest: ultrafix_pause_seconds is valid
    ok 5 - ultrafix_pause_seconds is valid
      ---
      duration_ms: 0.041841
      type: 'test'
      ...
    # Subtest: unknown_key is not valid
    ok 6 - unknown_key is not valid
      ---
      duration_ms: 0.032869
      type: 'test'
      ...
    1..6
ok 2 - isValidSettingKey for new keys
  ---
  duration_ms: 0.701555
  type: 'suite'
  ...
# Subtest: parseSettingValue for pr_review_model
    # Subtest: should accept any string value
    ok 1 - should accept any string value
      ---
      duration_ms: 0.217356
      type: 'test'
      ...
    # Subtest: should accept empty string
    ok 2 - should accept empty string
      ---
      duration_ms: 0.037706
      type: 'test'
      ...
    1..2
ok 3 - parseSettingValue for pr_review_model
  ---
  duration_ms: 0.30039
  type: 'suite'
  ...
# Subtest: parseSettingValue for PR review context
    # Subtest: parses the enable switch
    ok 1 - parses the enable switch
      ---
      duration_ms: 0.060794
      type: 'test'
      ...
    # Subtest: accepts automatic and explicit context token limits
    ok 2 - accepts automatic and explicit context token limits
      ---
      duration_ms: 0.104954
      type: 'test'
      ...
    # Subtest: rejects context token limits below the supported explicit minimum
    ok 3 - rejects context token limits below the supported explicit minimum
      ---
      duration_ms: 0.277639
      type: 'test'
      ...
    # Subtest: accepts review context budget percentages in 10% increments
    ok 4 - accepts review context budget percentages in 10% increments
      ---
      duration_ms: 0.130015
      type: 'test'
      ...
    # Subtest: rejects unsupported review context budget percentages
    ok 5 - rejects unsupported review context budget percentages
      ---
      duration_ms: 0.131432
      type: 'test'
      ...
    1..5
ok 4 - parseSettingValue for PR review context
  ---
  duration_ms: 0.784498
  type: 'suite'
  ...
# Subtest: parseSettingValue for ultrafix_rating_goal
    # Subtest: should parse valid value 7
    ok 1 - should parse valid value 7
      ---
      duration_ms: 0.08557
      type: 'test'
      ...
    # Subtest: should accept minimum value 1
    ok 2 - should accept minimum value 1
      ---
      duration_ms: 0.038035
      type: 'test'
      ...
    # Subtest: should accept maximum value 10
    ok 3 - should accept maximum value 10
      ---
      duration_ms: 0.033796
      type: 'test'
      ...
    # Subtest: should reject value 0
    ok 4 - should reject value 0
      ---
      duration_ms: 0.056537
      type: 'test'
      ...
    # Subtest: should reject value 11
    ok 5 - should reject value 11
      ---
      duration_ms: 0.078944
      type: 'test'
      ...
    # Subtest: should reject non-numeric value
    ok 6 - should reject non-numeric value
      ---
      duration_ms: 0.05737
      type: 'test'
      ...
    # Subtest: should reject negative value
    ok 7 - should reject negative value
      ---
      duration_ms: 0.044172
      type: 'test'
      ...
    1..7
ok 5 - parseSettingValue for ultrafix_rating_goal
  ---
  duration_ms: 0.549387
  type: 'suite'
  ...
# Subtest: parseSettingValue for ultrafix_max_cycles
    # Subtest: should parse valid value 5
    ok 1 - should parse valid value 5
      ---
      duration_ms: 0.066041
      type: 'test'
      ...
    # Subtest: should accept minimum value 1
    ok 2 - should accept minimum value 1
      ---
      duration_ms: 0.030545
      type: 'test'
      ...
    # Subtest: should accept large values (no upper limit)
    ok 3 - should accept large values (no upper limit)
      ---
      duration_ms: 0.080096
      type: 'test'
      ...
    # Subtest: should reject value 0
    ok 4 - should reject value 0
      ---
      duration_ms: 0.065727
      type: 'test'
      ...
    # Subtest: should reject non-numeric value
    ok 5 - should reject non-numeric value
      ---
      duration_ms: 0.047138
      type: 'test'
      ...
    1..5
ok 6 - parseSettingValue for ultrafix_max_cycles
  ---
  duration_ms: 0.357182
  type: 'suite'
  ...
# Subtest: parseSettingValue for ultrafix_pause_seconds
    # Subtest: should parse valid value 60
    ok 1 - should parse valid value 60
      ---
      duration_ms: 0.076423
      type: 'test'
      ...
    # Subtest: should accept minimum value 0
    ok 2 - should accept minimum value 0
      ---
      duration_ms: 0.039187
      type: 'test'
      ...
    # Subtest: should accept large values (no upper limit)
    ok 3 - should accept large values (no upper limit)
      ---
      duration_ms: 0.061813
      type: 'test'
      ...
    # Subtest: should reject value -1
    ok 4 - should reject value -1
      ---
      duration_ms: 0.052656
      type: 'test'
      ...
    # Subtest: should reject non-numeric value
    ok 5 - should reject non-numeric value
      ---
      duration_ms: 0.048862
      type: 'test'
      ...
    1..5
ok 7 - parseSettingValue for ultrafix_pause_seconds
  ---
  duration_ms: 0.35747
  type: 'suite'
  ...
# Subtest: Ultrafix escalation CLI settings
    # Subtest: parses the instance toggle, ordered model list, patience, and N=0
    ok 1 - parses the instance toggle, ordered model list, patience, and N=0
      ---
      duration_ms: 0.598807
      type: 'test'
      ...
    1..1
ok 8 - Ultrafix escalation CLI settings
  ---
  duration_ms: 0.648475
  type: 'suite'
  ...
1..8
# tests 38
# suites 8
# pass 38
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 356.12919
[159/167] passed test/ultrafixSettings.test.ts in 0.5s

[160/167] test/userWhitelist.test.ts
TAP version 13
# Subtest: empty whitelist allows everyone (open access)
ok 1 - empty whitelist allows everyone (open access)
  ---
  duration_ms: 0.624731
  type: 'test'
  ...
# Subtest: non-empty whitelist gates by membership (case-insensitive)
ok 2 - non-empty whitelist gates by membership (case-insensitive)
  ---
  duration_ms: 0.536221
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 301.073324
[160/167] passed test/userWhitelist.test.ts in 0.4s

[161/167] test/vibeModelSelection.test.ts
TAP version 13
# Subtest: GLM labels and aliases resolve to the configured Vibe account
ok 1 - GLM labels and aliases resolve to the configured Vibe account
  ---
  duration_ms: 3.992165
  type: 'test'
  ...
# [2026-10-05 14:23:16.697 +0000] �[32mINFO�[39m: �[36mSQLite database connection established successfully�[39m
#     filename: "/tmp/propr-test-suite-BlXkrI/161-vibeModelSelection.test.ts/propr.test.sqlite"
#     environment: "test"
# [2026-10-05 14:23:16.698 +0000] �[32mINFO�[39m: �[36mSQLite database connection closed�[39m
1..1
# tests 1
# suites 0
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 972.029085
[161/167] passed test/vibeModelSelection.test.ts in 1.1s

[162/167] test/webhookReplayProtection.test.ts
TAP version 13
# [webhook] Missing x-github-delivery header
# [2026-10-05 14:23:18.229 +0000] �[32mINFO�[39m: �[36mSQLite database connection established successfully�[39m
#     filename: "/tmp/propr-test-suite-BlXkrI/162-webhookReplayProtection.test.ts/propr.test.sqlite"
#     environment: "test"
# Subtest: Webhook Replay Protection
    # Subtest: Missing delivery ID
        # Subtest: rejects request with no x-github-delivery header
        ok 1 - rejects request with no x-github-delivery header
          ---
          duration_ms: 19.871886
          type: 'test'
          ...
        1..1
    ok 1 - Missing delivery ID
      ---
      duration_ms: 20.413909
      type: 'suite'
      ...
# [webhook] Rejecting multi-valued x-github-delivery header
    # Subtest: Array-valued delivery ID
        # Subtest: rejects request with multi-valued x-github-delivery header
        ok 1 - rejects request with multi-valued x-github-delivery header
          ---
          duration_ms: 4.160916
          type: 'test'
          ...
        1..1
    ok 2 - Array-valued delivery ID
      ---
      duration_ms: 4.354044
      type: 'suite'
      ...
# [webhook] Event received: issues, action: opened, repo: test/repo, delivery: unique-delivery-001
    # Subtest: Duplicate delivery rejection
        # Subtest: accepts first delivery
        ok 1 - accepts first delivery
          ---
          duration_ms: 3.950568
          type: 'test'
          ...
# [webhook] Event received: issues, action: opened, repo: test/repo, delivery: unique-delivery-002
# [webhook] Duplicate delivery rejected: unique-delivery-002
        # Subtest: rejects second delivery with same ID
        ok 2 - rejects second delivery with same ID
          ---
          duration_ms: 4.265811
          type: 'test'
          ...
# [webhook] Event received: issues, action: opened, repo: test/repo, delivery: delivery-aaa
# [webhook] Event received: issues, action: opened, repo: test/repo, delivery: delivery-bbb
        # Subtest: accepts different delivery IDs with same body
        ok 3 - accepts different delivery IDs with same body
          ---
          duration_ms: 3.512153
          type: 'test'
          ...
        1..3
    ok 3 - Duplicate delivery rejection
      ---
      duration_ms: 12.021971
      type: 'suite'
      ...
# [webhook] Event received: issues, action: opened, repo: test/repo, delivery: test-delivery-123
    # Subtest: Redis key storage
        # Subtest: stores delivery ID with correct key prefix and TTL
        ok 1 - stores delivery ID with correct key prefix and TTL
          ---
          duration_ms: 6.486523
          type: 'test'
          ...
# [webhook] Missing x-github-delivery header
        # Subtest: does not store key when delivery ID is missing
        ok 2 - does not store key when delivery ID is missing
          ---
          duration_ms: 3.698269
          type: 'test'
          ...
        1..2
    ok 4 - Redis key storage
      ---
      duration_ms: 10.478108
      type: 'suite'
      ...
# [webhook] Event received: issues, action: opened, repo: test/repo, delivery: delivery-will-fail
# [webhook] Duplicate delivery rejected: delivery-will-fail
    # Subtest: Failure keeps delivery ID reserved
        # Subtest: retains Redis key when processing fails to prevent duplicate side effects
        ok 1 - retains Redis key when processing fails to prevent duplicate side effects
          ---
          duration_ms: 4.112102
          type: 'test'
          ...
# [webhook] Failed to parse JSON body for delivery delivery-bad-parse
        # Subtest: retains Redis key when body parsing fails and returns generic 400
        ok 2 - retains Redis key when body parsing fails and returns generic 400
          ---
          duration_ms: 2.873713
          type: 'test'
          ...
        1..2
    ok 5 - Failure keeps delivery ID reserved
      ---
      duration_ms: 7.128127
      type: 'suite'
      ...
# [webhook] No signature provided
    # Subtest: Signature verification
        # Subtest: rejects request with missing signature
        ok 1 - rejects request with missing signature
          ---
          duration_ms: 2.620296
          type: 'test'
          ...
# [webhook] Signature mismatch
        # Subtest: rejects request with invalid signature
        ok 2 - rejects request with invalid signature
          ---
          duration_ms: 2.206601
          type: 'test'
          ...
# [webhook] Signature mismatch
        # Subtest: rejects request with malformed signature of different length
        ok 3 - rejects request with malformed signature of different length
          ---
          duration_ms: 2.245609
          type: 'test'
          ...
# [webhook] Rejecting multi-valued x-hub-signature-256 header
        # Subtest: rejects request with multi-valued x-hub-signature-256 header
        ok 4 - rejects request with multi-valued x-hub-signature-256 header
          ---
          duration_ms: 1.765664
          type: 'test'
          ...
# [webhook] Signature mismatch
        # Subtest: does not store delivery ID when signature is invalid
        ok 5 - does not store delivery ID when signature is invalid
          ---
          duration_ms: 1.647295
          type: 'test'
          ...
        1..5
    ok 6 - Signature verification
      ---
      duration_ms: 10.784468
      type: 'suite'
      ...
# [webhook] Missing x-github-event header
    # Subtest: Missing x-github-event header
        # Subtest: rejects request with no x-github-event header
        ok 1 - rejects request with no x-github-event header
          ---
          duration_ms: 2.191419
          type: 'test'
          ...
        1..1
    ok 7 - Missing x-github-event header
      ---
      duration_ms: 2.29528
      type: 'suite'
      ...
# [webhook] GH_WEBHOOK_SECRET is not configured — rejecting request. Set GH_WEBHOOK_SECRET in the environment to accept webhooks. This is a security requirement: all webhook deliveries are rejected until a secret is provisioned.
    # Subtest: Webhook secret not configured (fail closed)
        # Subtest: rejects request when webhookSecret is undefined
        ok 1 - rejects request when webhookSecret is undefined
          ---
          duration_ms: 3.201938
          type: 'test'
          ...
        1..1
    ok 8 - Webhook secret not configured (fail closed)
      ---
      duration_ms: 3.297519
      type: 'suite'
      ...
# [webhook] Ignoring unsupported event type: unknown_event_type
    # Subtest: Unsupported event type
        # Subtest: ignores request with unsupported x-github-event value with 200
        ok 1 - ignores request with unsupported x-github-event value with 200
          ---
          duration_ms: 2.540302
          type: 'test'
          ...
        1..1
    ok 9 - Unsupported event type
      ---
      duration_ms: 2.668181
      type: 'suite'
      ...
# [webhook] Event received: issues, action: opened, repo: test/repo, delivery: delivery-for-forwarding
    # Subtest: Preview routing: delivery ID passed to processor
        # Subtest: processor receives the delivery ID for downstream forwarding
        ok 1 - processor receives the delivery ID for downstream forwarding
          ---
          duration_ms: 3.300481
          type: 'test'
          ...
# [webhook] Event received: issues, action: opened, repo: test/repo, delivery: delivery-original
# [webhook] Event received: issues, action: opened, repo: test/repo, delivery: fwd-delivery-original
        # Subtest: forwarded delivery with fwd- prefix is accepted as a distinct delivery
        ok 2 - forwarded delivery with fwd- prefix is accepted as a distinct delivery
          ---
          duration_ms: 3.36447
          type: 'test'
          ...
        1..2
    ok 10 - Preview routing: delivery ID passed to processor
      ---
      duration_ms: 6.905861
      type: 'suite'
      ...
    # Subtest: Redis adapter shape (server.ts integration path)
        # Subtest: adapter reshapes NX/EX options correctly
        ok 1 - adapter reshapes NX/EX options correctly
          ---
          duration_ms: 1.505506
          type: 'test'
          ...
        # Subtest: adapter passes through plain set without options
        ok 2 - adapter passes through plain set without options
          ---
          duration_ms: 0.700036
          type: 'test'
          ...
        # Subtest: adapter returns null when NX key already exists
        ok 3 - adapter returns null when NX key already exists
          ---
          duration_ms: 0.673045
          type: 'test'
          ...
        1..3
    ok 11 - Redis adapter shape (server.ts integration path)
      ---
      duration_ms: 3.011886
      type: 'suite'
      ...
    1..11
ok 1 - Webhook Replay Protection
  ---
  duration_ms: 84.453166
  type: 'suite'
  ...
# [2026-10-05 14:23:18.308 +0000] �[32mINFO�[39m: �[36mSQLite database connection closed�[39m
1..1
# tests 22
# suites 12
# pass 22
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 1437.487381
[162/167] passed test/webhookReplayProtection.test.ts in 1.5s

[163/167] test/worker.integration.test.ts
TAP version 13
# Subtest: Worker Integration - Concurrent Model Execution
    # Subtest: concurrent jobs with different models create unique worktrees
    ok 1 - concurrent jobs with different models create unique worktrees
      ---
      duration_ms: 9.090324
      type: 'test'
      ...
    # Subtest: delay function prevents exact simultaneous execution
    ok 2 - delay function prevents exact simultaneous execution
      ---
      duration_ms: 281.554064
      type: 'test'
      ...
    # Subtest: worktree cleanup after concurrent execution
    ok 3 - worktree cleanup after concurrent execution
      ---
      duration_ms: 5.078821
      type: 'test'
      ...
    # Subtest: file system isolation between concurrent workers
    ok 4 - file system isolation between concurrent workers
      ---
      duration_ms: 4.824463
      type: 'test'
      ...
    # Subtest: error handling in concurrent execution
    ok 5 - error handling in concurrent execution
      ---
      duration_ms: 52.936897
      type: 'test'
      ...
    1..5
ok 1 - Worker Integration - Concurrent Model Execution
  ---
  duration_ms: 354.73627
  type: 'suite'
  ...
1..1
# tests 5
# suites 1
# pass 5
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 593.719189
[163/167] passed test/worker.integration.test.ts in 0.7s

[164/167] test/workerGitAuthentication.test.ts
TAP version 13
# (node:15541) ExperimentalWarning: Module mocking is an experimental feature and might change at any time
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: push refreshes once after could not read Username for 'https://github.com': No such device or address
ok 1 - push refreshes once after could not read Username for 'https://github.com': No such device or address
  ---
  duration_ms: 2.806855
  type: 'test'
  ...
# Subtest: push refreshes once after could not read Password for 'https://github.com': terminal prompts disabled
ok 2 - push refreshes once after could not read Password for 'https://github.com': terminal prompts disabled
  ---
  duration_ms: 1.061665
  type: 'test'
  ...
# Subtest: push refreshes once after Authentication failed
ok 3 - push refreshes once after Authentication failed
  ---
  duration_ms: 0.867733
  type: 'test'
  ...
# Subtest: unrelated push failures do not refresh credentials
ok 4 - unrelated push failures do not refresh credentials
  ---
  duration_ms: 3.781043
  type: 'test'
  ...
# Subtest: a second authentication failure is returned without an unbounded retry
ok 5 - a second authentication failure is returned without an unbounded retry
  ---
  duration_ms: 2.076196
  type: 'test'
  ...
# Subtest: push and merge authenticate the selected named remote or URL
ok 6 - push and merge authenticate the selected named remote or URL
  ---
  duration_ms: 1.194354
  type: 'test'
  ...
# Subtest: legacy URL snapshots still get process credentials if cleanup strips the stored token
ok 7 - legacy URL snapshots still get process credentials if cleanup strips the stored token
  ---
  duration_ms: 0.517619
  type: 'test'
  ...
1..7
# tests 7
# suites 0
# pass 7
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 290.817686
[164/167] passed test/workerGitAuthentication.test.ts in 0.4s

[165/167] test/workerTaskStateRecovery.test.ts
TAP version 13
# (node:15599) ExperimentalWarning: Module mocking is an experimental feature and might change at any time
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: coalesces overlapping runs and releases the distributed lease
ok 1 - coalesces overlapping runs and releases the distributed lease
  ---
  duration_ms: 1.905896
  type: 'test'
  ...
# Subtest: does not reconcile when another worker owns the lease
ok 2 - does not reconcile when another worker owns the lease
  ---
  duration_ms: 2.162066
  type: 'test'
  ...
# Subtest: contains lease acquisition failures instead of creating an unhandled rejection
ok 3 - contains lease acquisition failures instead of creating an unhandled rejection
  ---
  duration_ms: 0.520146
  type: 'test'
  ...
# Subtest: retains an unfinished page backlog across recovery runs
ok 4 - retains an unfinished page backlog across recovery runs
  ---
  duration_ms: 1.442781
  type: 'test'
  ...
# Subtest: bounds a stalled lease acquisition by the recovery budget
ok 5 - bounds a stalled lease acquisition by the recovery budget
  ---
  duration_ms: 10.209096
  type: 'test'
  ...
# Subtest: close aborts a stalled active recovery run
ok 6 - close aborts a stalled active recovery run
  ---
  duration_ms: 0.868627
  type: 'test'
  ...
# Subtest: runs once at startup and continues on the configured interval
ok 7 - runs once at startup and continues on the configured interval
  ---
  duration_ms: 20.794117
  type: 'test'
  ...
# Subtest: reconciles follow-up CI suspensions under the same lease
ok 8 - reconciles follow-up CI suspensions under the same lease
  ---
  duration_ms: 0.503137
  type: 'test'
  ...
1..8
# tests 8
# suites 0
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 571.471598
[165/167] passed test/workerTaskStateRecovery.test.ts in 0.7s

[166/167] test/workRefHelpers.test.ts
TAP version 13
# Subtest: buildTaskWorkRef — task execution flow
    # Subtest: produces correct workRef for a standard issue task
    ok 1 - produces correct workRef for a standard issue task
      ---
      duration_ms: 0.704
      type: 'test'
      ...
    # Subtest: includes prNumber when provided (PR follow-up)
    ok 2 - includes prNumber when provided (PR follow-up)
      ---
      duration_ms: 2.235691
      type: 'test'
      ...
    # Subtest: handles undefined taskId gracefully
    ok 3 - handles undefined taskId gracefully
      ---
      duration_ms: 1.195987
      type: 'test'
      ...
    1..3
ok 1 - buildTaskWorkRef — task execution flow
  ---
  duration_ms: 5.492122
  type: 'suite'
  ...
# Subtest: buildAnalysisWorkRef — plan flow
    # Subtest: plan-generation produces plan workRef with planDraftId
    ok 1 - plan-generation produces plan workRef with planDraftId
      ---
      duration_ms: 0.24421
      type: 'test'
      ...
    # Subtest: plan-refinement produces plan workRef with planDraftId
    ok 2 - plan-refinement produces plan workRef with planDraftId
      ---
      duration_ms: 0.074919
      type: 'test'
      ...
    # Subtest: plan without taskId still has workType plan and undefined planDraftId
    ok 3 - plan without taskId still has workType plan and undefined planDraftId
      ---
      duration_ms: 0.057136
      type: 'test'
      ...
    # Subtest: plan ignores taskNumber and prNumber
    ok 4 - plan ignores taskNumber and prNumber
      ---
      duration_ms: 0.110266
      type: 'test'
      ...
    1..4
ok 2 - buildAnalysisWorkRef — plan flow
  ---
  duration_ms: 0.813613
  type: 'suite'
  ...
# Subtest: buildAnalysisWorkRef — repository flow
    # Subtest: repo-chat without taskId produces repository workRef
    ok 1 - repo-chat without taskId produces repository workRef
      ---
      duration_ms: 0.144146
      type: 'test'
      ...
    # Subtest: repo-improvements without taskId produces repository workRef
    ok 2 - repo-improvements without taskId produces repository workRef
      ---
      duration_ms: 0.111344
      type: 'test'
      ...
    # Subtest: summarization without taskId produces repository workRef
    ok 3 - summarization without taskId produces repository workRef
      ---
      duration_ms: 0.154881
      type: 'test'
      ...
    # Subtest: undefined executionType with taskId produces task workRef
    ok 4 - undefined executionType with taskId produces task workRef
      ---
      duration_ms: 0.065433
      type: 'test'
      ...
    # Subtest: undefined executionType without taskId produces repository workRef
    ok 5 - undefined executionType without taskId produces repository workRef
      ---
      duration_ms: 0.047849
      type: 'test'
      ...
    1..5
ok 3 - buildAnalysisWorkRef — repository flow
  ---
  duration_ms: 0.672395
  type: 'suite'
  ...
# Subtest: buildAnalysisWorkRef — task with taskNumber/prNumber
    # Subtest: carries taskNumber when provided
    ok 1 - carries taskNumber when provided
      ---
      duration_ms: 0.078967
      type: 'test'
      ...
    # Subtest: carries both taskNumber and prNumber when provided
    ok 2 - carries both taskNumber and prNumber when provided
      ---
      duration_ms: 0.06051
      type: 'test'
      ...
    1..2
ok 4 - buildAnalysisWorkRef — task with taskNumber/prNumber
  ---
  duration_ms: 0.196457
  type: 'suite'
  ...
# Subtest: PR follow-up workRef — insert row mapping
    # Subtest: maps prNumber to pr_number DB column
    ok 1 - maps prNumber to pr_number DB column
      ---
      duration_ms: 0.089976
      type: 'test'
      ...
    # Subtest: pr_number is null for non-PR tasks
    ok 2 - pr_number is null for non-PR tasks
      ---
      duration_ms: 0.042999
      type: 'test'
      ...
    1..2
ok 5 - PR follow-up workRef — insert row mapping
  ---
  duration_ms: 0.217539
  type: 'suite'
  ...
# Subtest: buildAnalysisWorkRef — edge cases
    # Subtest: all undefined inputs produce repository workRef with undefined fields
    ok 1 - all undefined inputs produce repository workRef with undefined fields
      ---
      duration_ms: 0.081567
      type: 'test'
      ...
    # Subtest: non-plan executionType with taskId produces task workRef
    ok 2 - non-plan executionType with taskId produces task workRef
      ---
      duration_ms: 0.039303
      type: 'test'
      ...
    # Subtest: taskNumber without taskId produces task workRef (issue-scoped analysis)
    ok 3 - taskNumber without taskId produces task workRef (issue-scoped analysis)
      ---
      duration_ms: 0.041106
      type: 'test'
      ...
    # Subtest: taskNumber without taskId for PR follow-up carries prNumber
    ok 4 - taskNumber without taskId for PR follow-up carries prNumber
      ---
      duration_ms: 0.041702
      type: 'test'
      ...
    1..4
ok 6 - buildAnalysisWorkRef — edge cases
  ---
  duration_ms: 0.326619
  type: 'suite'
  ...
# [2026-10-05 14:23:21.115 +0000] �[32mINFO�[39m: �[36mSQLite database connection established successfully�[39m
#     filename: "/tmp/propr-test-suite-BlXkrI/166-workRefHelpers.test.ts/propr.test.sqlite"
#     environment: "test"
# [2026-10-05 14:23:21.119 +0000] �[32mINFO�[39m: �[36mSQLite database connection closed�[39m
1..6
# tests 20
# suites 6
# pass 20
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 932.231501
[166/167] passed test/workRefHelpers.test.ts in 1.0s

[167/167] propr-ui#2/4 (workspace test script)

> [email protected] test
> vitest run --shard=2/4


�[1m�[30m�[46m RUN �[49m�[39m�[22m �[36mv5.0.0 �[39m�[90m/home/runner/work/propr/propr/propr-ui�[39m

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mrefetches on task completion with initial HTTP pending=false
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mrefetches on task completion with initial HTTP pending=true
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mtask page replays a large increment once during HTTP/completion
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mtask page orders growing messages: HTTP past socket
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mtask page orders growing messages: socket past HTTP
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mbuffered updates of an execution a newer read replaced�[2m > �[22m�[2mtask page discards a buffered old increment and its late deliveries after a new-execution read
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mbuffered updates of an execution a newer read replaced�[2m > �[22m�[2mtask page discards a buffered old full state and its late deliveries after a new-execution read
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

�[90mstdout�[2m | src/components/TaskDetails/useTaskData.followup.test.ts�[2m > �[22m�[2mfull history follow-up regressions�[2m > �[22m�[2mbuffered updates of an execution a newer read replaced�[2m > �[22m�[2mtask page keeps the newer HTTP execution over an intermediate execution received during the read
�[22m�[39m[useTaskData] Received task update via WebSocket: { taskId: �[32m'task'�[39m, state: �[32m'COMPLETED'�[39m }

 �[32m✓�[39m src/components/TaskDetails/useTaskData.followup.test.ts �[2m(�[22m�[2m45 tests�[22m�[2m)�[22m�[33m 835�[2mms�[22m�[39m
   �[32m✓�[39m full history follow-up regressions �[2m(45)�[22m
     �[33m�[2m✓�[22m�[39m merges large full histories, including unshared prefixes and suffixes, without positional arguments�[33m 611�[2mms�[22m�[39m
�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mcreates one force-new scoped Manager on null-to-A activation
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mfully detaches A before creating a distinct Manager for scope rotation
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mfully detaches A before creating a distinct Manager for scope rotation
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mfully detaches A before creating a distinct Manager for same-origin A-to-B
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mfully detaches A before creating a distinct Manager for same-origin A-to-B
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mreports a replacement Manager as disconnected until its own connect event
�[22m�[39m[SocketContext] Connected to WebSocket server
[SocketContext] Cleaning up socket connection
[SocketContext] Connected to WebSocket server

�[90mstderr�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mreports a replacement Manager as disconnected until its own connect event
�[22m�[39m[SocketContext] Connection error: not connected

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mreports a replacement Manager as disconnected until its own connect event
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mrotates the Manager when the effective API origin changes
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mrotates the Manager when the effective API origin changes
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdisconnects on deactivate and creates no replacement
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mkeeps the hosted browser cookie socket without a desktop marker
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mclassifies authentication errors against the immutable activation scope
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mreconnects the current Manager when authorization changes without invalidating its token
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mnever reconnects a stale same-origin Manager after deferred authorization work resolves
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mnever reconnects a stale same-origin Manager after deferred authorization work resolves
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdrops application events delivered by an old desktop scope
�[22m�[39m[SocketContext] Cleaning up socket connection
[SocketContext] Received task update: { eventType: �[32m'task:update'�[39m }

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdrops application events delivered by an old desktop scope
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdelivers live events without logging their potentially large payload
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mreference-counts the activity room and rejoins it after a reconnect
�[22m�[39m[SocketContext] Connected to WebSocket server
[SocketContext] Disconnected from WebSocket server: transport close
[SocketContext] Connected to WebSocket server
[SocketContext] Unsubscribed from activity

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mreference-counts the activity room and rejoins it after a reconnect
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mnegotiates direct snapshots without recreating the connection
�[22m�[39m[SocketContext] Connected to WebSocket server
[SocketContext] Disconnected from WebSocket server: transport close

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mnegotiates direct snapshots without recreating the connection
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mrefreshes browser authorization before reconnecting after a permission change
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdelivers activity, goal, notification and usage events without logging their payloads
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdrops activity events delivered by an old desktop scope
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mdrops activity events delivered by an old desktop scope
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/contexts/SocketProvider.test.tsx�[2m > �[22m�[2mSocketProvider�[2m > �[22m�[2mfully detaches listeners and disconnects on unmount
�[22m�[39m[SocketContext] Cleaning up socket connection

 �[32m✓�[39m src/contexts/SocketProvider.test.tsx �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[32m 140�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/NewTaskPage.test.tsx �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[33m 2056�[2mms�[22m�[39m
   �[32m✓�[39m New Task issue launcher �[2m(14)�[22m
     �[33m�[2m✓�[22m�[39m reopens unresolved work after starting another request and reloading, preserving its key and files�[33m 330�[2mms�[22m�[39m
 �[32m✓�[39m src/serviceWorker.test.ts �[2m(�[22m�[2m24 tests�[22m�[2m)�[22m�[32m 37�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useBrowserPush.test.tsx �[2m(�[22m�[2m20 tests�[22m�[2m)�[22m�[33m 371�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositorySelector.test.tsx �[2m(�[22m�[2m25 tests�[22m�[2m)�[22m�[33m 1067�[2mms�[22m�[39m
 �[32m✓�[39m src/api/demoMode.test.ts �[2m(�[22m�[2m21 tests�[22m�[2m)�[22m�[32m 35�[2mms�[22m�[39m
�[90mstderr�[2m | src/desktop/DesktopExperience.transport.test.tsx�[2m > �[22m�[2mDesktopExperience transport and fencing�[2m > �[22m�[2mignores a delayed access-invalid event from A after B has connected
�[22m�[39mAn update to DesktopExperience inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/desktop/DesktopExperience.transport.test.tsx �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[33m 578�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useGenerationPolling.test.tsx �[2m(�[22m�[2m10 tests�[22m�[2m)�[22m�[32m 38�[2mms�[22m�[39m
�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Connected to WebSocket server

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Received task update: { id: �[32m'101'�[39m, username: �[32m'alice'�[39m, avatarUrl: �[1mnull�[22m }

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Connected to WebSocket server

�[90mstderr�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39mAn update to SocketProvider inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Received task update: { id: �[32m'202'�[39m, username: �[32m'bob'�[39m, avatarUrl: �[1mnull�[22m }

�[90mstdout�[2m | src/desktop/account-switching.integration.test.tsx�[2m > �[22m�[2mpairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload
�[22m�[39m[SocketContext] Cleaning up socket connection

 �[32m✓�[39m src/desktop/account-switching.integration.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[33m 761�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m pairs two users through the production bridge, fences late A traffic, logs B out offline and preserves identity after reload�[33m 758�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/inboxUtils.test.ts �[2m(�[22m�[2m25 tests�[22m�[2m)�[22m�[32m 24�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.deep-link-presentation.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 801�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m preserves the warm Open account after tunnel presentation with cold delivery after profile loading�[33m 423�[2mms�[22m�[39m
 �[32m✓�[39m src/components/PreviewLightbox.test.tsx �[2m(�[22m�[2m13 tests�[22m�[2m)�[22m�[33m 565�[2mms�[22m�[39m
 �[32m✓�[39m src/components/GlobalHeader.desktop.test.tsx �[2m(�[22m�[2m15 tests�[22m�[2m)�[22m�[33m 832�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.recovery.test.tsx �[2m(�[22m�[2m16 tests�[22m�[2m)�[22m�[33m 603�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.discovery.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 501�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.authentication.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 496�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useContextRefresh.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[32m 44�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AIModelSelectionSection.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 344�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/SettingsNavigation.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[33m 445�[2mms�[22m�[39m
 �[32m✓�[39m src/api/voiceApi.test.ts �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[32m 82�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Mcp/McpConnectedAppRow.test.tsx �[2m(�[22m�[2m13 tests�[22m�[2m)�[22m�[33m 379�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/reviewPromptOverview.test.ts �[2m(�[22m�[2m18 tests�[22m�[2m)�[22m�[32m 27�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/LoginPage.oauthUrl.test.tsx �[2m(�[22m�[2m16 tests�[22m�[2m)�[22m�[32m 12�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/rowModel.test.ts �[2m(�[22m�[2m10 tests�[22m�[2m)�[22m�[32m 12�[2mms�[22m�[39m
 �[32m✓�[39m src/components/GlobalHeaderComponents.status.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 244�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useHeaderStats.scope.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 331�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/UsageTipsSection.test.tsx �[2m(�[22m�[2m10 tests�[22m�[2m)�[22m�[33m 1336�[2mms�[22m�[39m
   �[32m✓�[39m usage tips �[2m(10)�[22m
     �[33m�[2m✓�[22m�[39m restores a failed dismissal with a retry control using the original event�[33m 823�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/LoginPage.hostedOAuthLifecycle.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 236�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/windowChromeStyles.test.ts �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/serviceWorkerRegistration.test.ts �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[32m 9�[2mms�[22m�[39m
 �[32m✓�[39m src/api/notificationApi.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 15�[2mms�[22m�[39m
 �[32m✓�[39m src/api/agentHealthApi.test.ts �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 12�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/SettingsLayout.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 158�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ui/loadingStates.guard.test.ts �[2m(�[22m�[2m38 tests�[22m�[2m)�[22m�[32m 14�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/LoginPage.desktopAuthentication.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 211�[2mms�[22m�[39m
 �[32m✓�[39m src/api/goals.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 15�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/ManagedPreviewStorageSection.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 184�[2mms�[22m�[39m
 �[32m✓�[39m src/components/AIActivityMonitor.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 310�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/GlobalSearch.loading.test.tsx�[2m > �[22m�[2mGlobalSearch loading states�[2m > �[22m�[2mrenders a search failure as an error rather than an empty result
�[22m�[39mSearch failed: Error: Search unavailable
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/components/GlobalSearch.loading.test.tsx:49:44
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:1628:35
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2783:26
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3319:20
    at new Promise (<anonymous>)
    at runWithCancel (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3314:10)
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3299:20
    at new Promise (<anonymous>)
    at runWithTimeout (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3257:10)
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:3876:64

 �[32m✓�[39m src/components/GlobalSearch.loading.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 797�[2mms�[22m�[39m
   �[32m✓�[39m GlobalSearch loading states �[2m(2)�[22m
     �[33m�[2m✓�[22m�[39m waits for successful task and plan reads before showing no results�[33m 459�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m renders a search failure as an error rather than an empty result�[33m 335�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/sectionState.visibility.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 24�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/preloadWindowFrame.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 12�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/electronAdapters.localSetup.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 6�[2mms�[22m�[39m
 �[32m✓�[39m src/App.invalidConfiguration.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 913�[2mms�[22m�[39m
   �[32m✓�[39m invalid eager API configuration �[2m(4)�[22m
     �[33m�[2m✓�[22m�[39m renders a bounded safe connection screen without leaking configured input�[33m 772�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/headerStatsRequestCoordinator.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/api/taskPathEncoding.test.ts �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 9�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/ReferenceChips.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 37�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useDesktopLayout.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 23�[2mms�[22m�[39m
 �[32m✓�[39m src/api/previewStorageApi.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 12�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/AgentModelSelectorParts.responsive.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 36�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/apiDataGuards.test.ts �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 5�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ui/SystemAlert.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 149�[2mms�[22m�[39m
 �[32m✓�[39m src/components/creationActions.test.ts �[2m(�[22m�[2m20 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m53 passed�[39m�[22m�[90m (53)�[39m
�[2m      Tests �[22m �[1m�[32m509 passed�[39m�[22m�[90m (509)�[39m
�[2m   Start at �[22m 14:23:21
�[2m   Duration �[22m 33.42s�[2m (environment 49%, tests 27%, setup 10%, import 9%, transform 5%, worker 1%)�[22m

�[2mEnvironment �[22m �[33mjsdom was created 53 times�[39m�[2m · 29.66s total, 49% of tracked time�[22m
�[2m            �[22m �[2mcreate it once per worker with �[22m�[33mpool: 'vmThreads'�[39m�[2m (keeps per-file isolation) or �[22m�[33misolate: false�[39m�[2m (shares it across files)�[22m
�[2m            �[22m �[2mlearn more: https://vitest.dev/guide/improving-performance#test-environments�[22m


> [email protected] posttest
> npm run test:docker-context


> [email protected] test:docker-context
> node --test scripts/docker-context-inputs.test.mjs

TAP version 13
# Subtest: focused UI selectors are forwarded only to Vitest
ok 1 - focused UI selectors are forwarded only to Vitest
  ---
  duration_ms: 0.669159
  type: 'test'
  ...
# Subtest: the UI Docker context contains its complete non-type external source import closure
ok 2 - the UI Docker context contains its complete non-type external source import closure
  ---
  duration_ms: 34.39336
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 85.54654
[167/167] passed propr-ui#2/4 (workspace test script) in 34.1s

### Shard 4/4: 166/167 passed in 269.9s

Assigned 167 of 670 discovered units.

| Duration | Status | Unit |
| ---: | --- | --- |
| 34.1s | passed | `propr-ui#2/4` (workspace) |
| 15.1s | passed | `apps/desktop/scripts/electron-pairing-zstd.test.mjs` |
| 9.8s | passed | `packages/api/test/mcpWorkflows.test.ts` |
| 9.6s | passed | `packages/api/test/planProvenanceUpdates.test.ts` |
| 8.2s | passed | `packages/core/test/eventPublisherBounds.test.ts` |
| 7.6s | passed | `packages/cli/src/projectOptions.cli.test.ts` |
| 6.7s | passed | `packages/api/test/mcpRepoImprovements.test.ts` |
| 6.5s | passed | `test/notificationSchema.test.ts` |
| 5.3s | passed | `packages/api/test/connectAuthCallback.test.ts` |
| 5.2s | passed | `test/prContinuation.test.ts` |
| 5.0s | passed | `test/codexAppServerGoal.test.ts` |
| 4.5s | passed | `test/generateContext.test.ts` |
| 3.7s | passed | `packages/api/test/mcpGoalTaskDepth.test.ts` |
| 3.2s | passed | `packages/api/test/agentTankUsageObservation.test.ts` |
| 2.9s | passed | `test/summaryMinerBatchFallback.test.ts` |


1/167 test runs failed in shard 4/4 after 269.9s:
- test/prPublicationRecoveryJob.test.ts: exit 1

Details truncated; see the uploaded artifacts for complete failure rows and logs.

View Workflow
View uploaded artifacts

@propr-dev

propr-dev Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 16acc9d

Summary of Changes

I fixed the shard 4 failure in test/prPublicationRecoveryJob.test.ts, and the file now passes locally (39/39).

Cause: the test replaces the job's ./repositoryWorkflow.js module with a stand-in that has a fixed list of exports. The last commit made processPullRequestCommentJob.ts import a new function, reconcileRepositoryWorkflowAdmission, which the stand-in didn't include. So the test file crashed while loading, before any test ran.

Fix: I added that function to the stand-in in test/prPublicationRecoveryJob.test.ts:235, returning the workflow it receives unchanged. That matches the real function, which updates the concurrency slot and returns the same workflow.

Three other test files use that module without the new function: processMergeConflictJob, prPublicationJob and repositoryWorkflowAdmission. I ran all three and they pass. To run tests locally I installed dependencies, rebuilt the workspace packages and rebuilt the better-sqlite3 native module. No product code changed, and there's nothing visual to preview.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @github-actions[bot]
  • Time: 1m 36s
  • Tokens: 999,372 (996,663 in / 2,709 out)
  • Cost: $0.57

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5996561573✓

…ob.test.ts`, and the file now passes locally (39/39).

I fixed the shard 4 failure in `test/prPublicationRecoveryJob.test.ts`, and the file now passes locally (39/39).

**Cause:** the test replaces the job's `./repositoryWorkflow.js` module with a stand-in that has a fixed list of exports. The last commit made `processPullRequestCommentJob.ts` import a new function, `reconcileRepositoryWorkflowAdmission`, which the stand-in didn't include. So the test file crashed while loading, before any test ran.

**Fix:** I added that function to the stand-in in `test/prPublicationRecoveryJob.test.ts:235`, returning the workflow it receives unchanged. That matches the real function, which updates the concurrency slot and returns the same workflow.

Three other test files use that module without the new function: `processMergeConflictJob`, `prPublicationJob` and `repositoryWorkflowAdmission`. I ran all three and they pass. To run tests locally I installed dependencies, rebuilt the workspace packages and rebuilt the `better-sqlite3` native module. No product code changed, and there's nothing visual to preview.

PR: #2663
Comment by: @github-actions[bot] (ID: 5996561573)
Model: claude-opus-5-5
@propr-dev

propr-dev Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR implements repository-owned workflow policy across loading, container execution, admission, reporting, and documentation. It needs one localized correctness fix before merge.

✅ Consistent preview restrictions — Issue and PR paths pass the same refined settings to prompts and publication.

✅ Durable capacity deferrals — Refused jobs retain policy and claimed comments before releasing locks, without consuming ordinary failure retries.

The supplied current-head status is healthy: 41 passed, 9 neutral/skipped, and no failed or pending checks. This review used static analysis only.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F17: 🔴 Preserve policy and checkout alignment

  • Required behavior: The resolved policy must govern the actual issue checkout; the PR explicitly promises that issue worktrees start from the policy’s pinned base commit.

  • Evidence: packages/core/src/git/repoManager.ts:300-309, createWorktreeForIssue; src/jobs/issueJob/worktree.ts, executeWorktreeOperations.

    1. An issue resolves workflow policy at commit A on its selected base branch.
    2. While preparation awaits authentication, cloning, or fetching, a maintainer force-pushes that branch to an unrelated commit B.
    3. The new ancestor check fails, catches the error, and creates the worktree from B instead.
    4. Execution still uses context.repositoryWorkflow from A for hooks, instructions, validation, preview restrictions, and recorded workflow metadata.

    The task consequently applies A’s policy to B’s code, potentially omitting B’s required validation or running incompatible setup commands. The same mismatch occurs when a requested missing epic branch appears after policy resolution fell back to the default branch: the branch-name condition silently ignores the pinned revision.

    Repository admission does not lock GitHub branches, and neither fallback re-resolves policy or reconciles its capacity limit. The added fallback test explicitly accepts changing the checkout without checking the retained policy. Verification provenance: static trace: the supplied loader, issue preparation, worktree creation, and agent execution paths; no commands were executed.

  • Minimum fix: When a workflow supplies startRevision, do not silently substitute another branch or commit. Either create the checkout at the pinned revision or stop preparation; if choosing to refresh instead, reload policy for the actual base and reconcile its capacity limit before execution.

Suggestions

These are optional follow-ups and are not sent to /fix.

No suggestions.

Score

The implementation has substantial focused coverage and passing current-head checks, but the checkout fallback can violate the policy snapshot contract. A localized correction should resolve the blocker.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 56s
  • Tokens: 143,901 (141,553 in / 2,348 out)
  • Cost: $1.42

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F17

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit a322f64

Addressed 1 AI review comment (IDs: 5996952419)

Addressed finding F17

Summary of Changes

I fixed F17. When a workflow policy pins a start commit, the issue worktree now either starts at that exact commit or stops preparation. It no longer silently switches to a different branch or commit.

The change (packages/core/src/git/repoManager.ts, new resolveIssueStartPoint). Preparation stops with a clear error in four cases:

  • The resolved base branch isn't the branch the policy was read from. This covers an epic branch that appears after the policy fell back to the default branch.
  • The pinned revision isn't a commit id.
  • The pinned revision can't be resolved.
  • The pinned revision isn't in the history of the base branch that was just fetched (for example, after a force-push).

The error is an ordinary retryable one, not an UnrecoverableError. Admission already clears the saved policy snapshot, so a retry reads the policy again from the current base and reconciles its capacity limit. A run with no workflow behaves as before.

A related bug I found and fixed: the existing check using git merge-base --is-ancestor never actually rejected anything. That command answers "no" only through its exit code, and simple-git doesn't treat that as an error when there's no stderr output. So a force-pushed base whose history still had the pinned commit locally passed the check. The new code compares git merge-base <rev> origin/<base> against the resolved commit instead.

Tests (test/worktreeStartRevision.test.ts): I replaced the old fallback test, which expected a silent switch to the branch head. The new tests cover:

  • Must start at the pinned commit: a branch that moved forward, and a base that falls back to the default branch while it's missing.
  • Must stop: a force-pushed base, a base that appears after the fallback, a policy read from a different branch, an unknown commit and a malformed revision.

Against the previous code, all five "must stop" cases fail. With the fix, all 9 tests pass. The wrapper and worktree suites pass too (workflowPreviewPublication, repositoryWorkflowAdmission, processTaskImportJobRetry, repoManager.modelSpecific, worker.modelSpecific). Typecheck and lint (--max-warnings 0) are clean for root and core.

To run the tests I had to install dependencies with the existing .propr/setup.sh; no setup files changed. Nothing here is visual, so there are no previews.

Separate observation, not changed: the epic-branch check only works if the local clone already knows about the new branch. ensureRepoCloned fetches all branches, so this holds in practice.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-ultrafix
  • Time: 5m 9s
  • Tokens: 1,473,565 (1,461,002 in / 12,563 out)
  • Cost: $0.85

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR

…e issue worktree now either starts at that exact commit or stops preparation. It no longer silently switches to a different branch or commit.

I fixed F17. When a workflow policy pins a start commit, the issue worktree now either starts at that exact commit or stops preparation. It no longer silently switches to a different branch or commit.

**The change** (`packages/core/src/git/repoManager.ts`, new `resolveIssueStartPoint`). Preparation stops with a clear error in four cases:
- The resolved base branch isn't the branch the policy was read from. This covers an epic branch that appears after the policy fell back to the default branch.
- The pinned revision isn't a commit id.
- The pinned revision can't be resolved.
- The pinned revision isn't in the history of the base branch that was just fetched (for example, after a force-push).

The error is an ordinary retryable one, not an `UnrecoverableError`. Admission already clears the saved policy snapshot, so a retry reads the policy again from the current base and reconciles its capacity limit. A run with no workflow behaves as before.

**A related bug I found and fixed:** the existing check using `git merge-base --is-ancestor` never actually rejected anything. That command answers "no" only through its exit code, and simple-git doesn't treat that as an error when there's no stderr output. So a force-pushed base whose history still had the pinned commit locally passed the check. The new code compares `git merge-base <rev> origin/<base>` against the resolved commit instead.

**Tests** (`test/worktreeStartRevision.test.ts`): I replaced the old fallback test, which expected a silent switch to the branch head. The new tests cover:
- **Must start at the pinned commit:** a branch that moved forward, and a base that falls back to the default branch while it's missing.
- **Must stop:** a force-pushed base, a base that appears after the fallback, a policy read from a different branch, an unknown commit and a malformed revision.

Against the previous code, all five "must stop" cases fail. With the fix, all 9 tests pass. The wrapper and worktree suites pass too (`workflowPreviewPublication`, `repositoryWorkflowAdmission`, `processTaskImportJobRetry`, `repoManager.modelSpecific`, `worker.modelSpecific`). Typecheck and lint (`--max-warnings 0`) are clean for root and core.

To run the tests I had to install dependencies with the existing `.propr/setup.sh`; no setup files changed. Nothing here is visual, so there are no previews.

**Separate observation, not changed:** the epic-branch check only works if the local clone already knows about the new branch. `ensureRepoCloned` fetches all branches, so this holds in practice.

PR: #2663
Comment by: @propr-ultrafix (ID: 0)
Model: claude-opus-5-5
@propr-dev

propr-dev Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

Ready to merge within the supplied review scope. The PR implements repository-owned workflow policy with careful handling of execution, capacity deferral, and reporting. Review was static; no commands were run. Authoritative head checks show 41 passed, none failed or pending.

✅ Consistent policy snapshots — Workflow and instruction files are read from one immutable base commit, and issue worktrees are pinned to that revision.

✅ Capacity-aware scheduling — Refused jobs retain their identity and policy, release processors through queue delays, and reconcile refreshed limits before execution.

✅ Independent validation evidence — Container stderr supplies validation observations independently of agent summaries, and reports survive both changed-code and no-change completion paths.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S72: 🟢 Exercise supported images in CI

The real-container smoke test requires PROPR_TEST_AGENT_IMAGE and otherwise skips. Consider explicitly running it against each supported agent entrypoint in an integration lane. This would strengthen coverage of privilege dropping and report isolation beyond the Bash fixtures; it is additional assurance rather than a demonstrated merge requirement.

Score

The implementation has substantial targeted coverage and passing current-head checks. Static tracing identified no verified PR-introduced blocker.

Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 32s
  • Tokens: 145,650 (143,976 in / 1,674 out)
  • Cost: $1.41

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S72

🤖 Review by ProPR

@propr-dev propr-dev Bot removed the ultrafix label Oct 5, 2026
@integry
integry merged commit d0a11c3 into main Oct 5, 2026
53 checks passed
@integry
integry deleted the 2660/gpt-6-astra-repo-owned-workflow-file--20260930-2351-vrd branch October 5, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Repo-owned workflow file with lifecycle hooks (.propr/workflow.yml)

2 participants