Skip to content

[2942 by Claude Opus 5.5] Nightly test health - #2953

Closed
propr-dev[bot] wants to merge 14 commits into
mainfrom
2942/claude-opus-5-5-nightly-test-health-20261010-2100-rv5
Closed

propr-dev[bot] wants to merge 14 commits into
mainfrom
2942/claude-opus-5-5-nightly-test-health-20261010-2100-rv5

Conversation

@propr-dev

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

Copy link
Copy Markdown
Contributor

Nightly brownfield planning could outlive its 10-minute parent test and keep retrying during later suites. Planning now uses an explicit operation budget, checks deadlines before requests and after responses, forwards cancellation and request timeouts, and tracks late-created plans for cleanup. The nightly job reserves time for diagnostics within its overall timeout.

Cancelling PR validation during a follow-up could also make the fail-closed aggregate report failure and recursively launch another follow-up. Cancellation filtering now requires run-attempt provenance, matching target conclusions, no genuine sibling failure, recognized failed gate steps, and cancellation-dependent failure annotations. Missing or ambiguous evidence keeps normal failure reporting. Required workflow gates and operator cancellation selections are unchanged.

The OpenAPI inventory includes the three hosted Fleet routes with the required x-propr-fleet-secret header scheme; generated documentation matches runtime enforcement.

Validation:

  • Current head 3f67634: independently reviewed the helper extraction that resolves zero-warning lint failures. Zero-warning lint passes; 208 focused planning, CLI-client, cancellation and recovery tests pass. Actual GitHub cancellation metadata, annotations and failed steps replay correctly while independent shell/assertion failures and timeouts remain reportable.
  • Current PR CI is green. All 793 canonical units passed exactly once across four verified original shard artifacts. CI checked out synthetic merge b9bf790 (PR head 3f67634 integrated with main f19dccd); complete coverage was independently verified against that actual checkout. Core, CLI, shared, E2E, test-runner and nightly-workflow paths are byte-identical to standalone 3f67634. The integrated browser run passed 310 Chromium tests; the integrated UI has additional main-branch changes. This is integration proof, not standalone whole-tree equality.
  • At dc481f7, 309 Chromium browser tests passed, as did UI types/lint/build, docs types/build, API build/lint and OpenAPI/client contract checks. Its build job failed only the two core lint warnings addressed by 3f67634.
  • Sidebar integration: 15 unit tests and eight Chromium/WebKit component scenarios passed (phone/tablet viewports, touch, keyboard and 200% CSS zoom). The UI source is unchanged by 3f67634; these are component diagnostics, not physical-device acceptance.
  • Linux package validation at dc481f7 passed on x64 and ARM64. Both original artifact transports and all six DEB/RPM/ZIP hashes and actual ELF architectures were independently verified. Packaged x64 fixtures passed 12 journeys and 60 screenshot/accessibility checks. These are unsigned PR validation packages, not human installed-app acceptance or release promotion.
  • Independent current-head review: Claude Opus 5.5 at 3f67634, 8/10, no merge blockers (comment 6103742012). Earlier GPT-6 Astra review at dc481f7 also scored 8/10.
  • Separate nightly run 38094451314 at dc481f7 finished with 792/793 non-live units passing: test/integrationImageHarness.test.mjs exceeded its 180-second unit timeout. Live E2E was skipped. This new failure requires diagnosis; the successful packaging-only nightly bundle is not live acceptance or release promotion.

Closes #2942.

…ot from the code, so they will continue until someone signs that account back in. I can't sign it in from here. What I fixed is the reporting: a failed login now shows up as a login problem, and the E2E suite stops early instead of timing out.

What's failing. Every plan generation in the live E2E suite fails within seconds, so the greenfield, brownfield, sequential and model-matrix plan suites all end up with "0 issues" or hit the 600 s timeout. The history points to the Claude account on the nightly E2E server losing its login:
- The last passing nightly was 2026-10-07.
- On 10-08, the first plan succeeded, then Claude model tasks failed with `Failed to authenticate: OAuth session expired and could not be refreshed`, and every plan after that failed.
- Earlier commit `8e641eac3` reached the same conclusion and asked for the account to be signed back in. I can't see the live server's logs from here, so this is inferred from that history, not confirmed in its logs.

Why the cause was hidden. The server reduces planner errors to a short safe message. Its check for login failures doesn't recognise "Failed to authenticate" or "OAuth", so the expired login was reported as the generic "Plan generation failed. Detailed diagnostics are available in server logs." The test retried each plan three times, and each retry failed the same way.

Changes:
- `packages/api/routes/plannerHelpers/utils.ts`: the login-failure check now also matches `authenticate`/`authenticated`, `OAuth`, `unauthorised`/`unauthorized`, `credentials` and `session expired`. Expired provider logins now produce "Plan generation could not authenticate with a required service." Unrelated text such as `author` doesn't match, and raw error details are still never exposed.
- `test/e2e/helpers.ts`: when the planner reports that login failure, `createAndGeneratePlan` stops immediately with an error saying to sign the planner's provider account back in, instead of retrying until the timeout. Other failures (timeouts, rate limits, generic errors) still retry as before.
- I added tests to `packages/api/test/plannerBackgroundLifecycle.test.ts` and `test/e2eTaskCompletion.test.ts`. Both files pass (21 and 13 tests). The planner test file doesn't exit on its own in this workspace, so I ran it with `--test-force-exit`. I didn't run the live E2E suite.

What you need to do: sign the Claude account on the E2E server back in. The plan suites will keep failing until that's done. Once this change is deployed there, those failures will read as a login problem and finish quickly instead of timing out.

There are no visual previews because nothing in the UI changed.
@propr-dev

propr-dev Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Full Test Suite Shard 1/4

Please investigate and fix this CI failure.

  • Check: Full Test Suite Shard 1/4
  • Result: failure
  • Commit: 5f0c68228f0d (5f0c68228f0d609efd3a413ea7ef13595d3c081c)
  • Details: View CI failure

Failure evidence

.github:11
Process completed with exit code 1.

.github:29039
Process completed with exit code 1.

.github:2
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@11d5960. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

@propr-dev

propr-dev Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Run Full Test Suite

Please investigate and fix this CI failure.

Failure evidence

.github:69
Process completed with exit code 1.

.github:66
Full test suite shards finished with result 'failure'.

.github:4
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@11d5960, actions/download-artifact@018cc2c. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

@github-actions

Copy link
Copy Markdown

Full Test Suite Results

Validation failed during: Test shard (shard 1).

  • Docs site validation: skipped (classifier decision: false)
  • Shard coverage verification: success
  • Hosted native Electron units: skipped (classifier decision: false)
  • Shard 1/4: failed during Test shard in 730.1s on GitHub Actions 1000076865
    • packages/api/test/openapiRouteCoverage.test.ts: exit 1
  • Shard 2/4: passed in 616.7s on GitHub Actions 1000076863
  • Shard 3/4: passed in 527.7s on GitHub Actions 1000076862
  • Shard 4/4: passed in 564.7s on GitHub Actions 1000076864
View shard 1/4 output
...(truncated)

s
  ---
  duration_ms: 0.851299
  type: 'test'
  ...
# Subtest: the diagnostic allowance precedes a cumulatively bounded production standard-handle proof
ok 8 - the diagnostic allowance precedes a cumulatively bounded production standard-handle proof
  ---
  duration_ms: 0.5065
  type: 'test'
  ...
# Subtest: the hostile path ABA remains replaced through validation and is rejected as INVALID_ROOT
ok 9 - the hostile path ABA remains replaced through validation and is rejected as INVALID_ROOT
  ---
  duration_ms: 0.381167
  type: 'test'
  ...
1..9
# tests 9
# suites 0
# pass 9
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 323.333245
[194/198] passed test/windowsStandardUserConnectHarness.test.ts in 0.5s

[195/198] test/workerAgentPreparation.test.ts
TAP version 13
# (node:25441) 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: startup remains alive without task capacity after preparation failure (throws=false)
ok 1 - startup remains alive without task capacity after preparation failure (throws=false)
  ---
  duration_ms: 4.554269
  type: 'test'
  ...
# Subtest: startup remains alive without task capacity after preparation failure (throws=true)
# (node:25441) ExperimentalWarning: The MockTimers API is an experimental feature and might change at any time
ok 2 - startup remains alive without task capacity after preparation failure (throws=true)
  ---
  duration_ms: 1.347649
  type: 'test'
  ...
# Subtest: automatic jobs defer to the owner deadline and retry through guarded recovery
ok 3 - automatic jobs defer to the owner deadline and retry through guarded recovery
  ---
  duration_ms: 2.065983
  type: 'test'
  ...
# Subtest: requeued automatic jobs propagate the recorded open-circuit error: ENOSPC
ok 4 - requeued automatic jobs propagate the recorded open-circuit error: ENOSPC
  ---
  duration_ms: 0.478868
  type: 'test'
  ...
# Subtest: requeued automatic jobs propagate the recorded open-circuit error: temporary download failure
ok 5 - requeued automatic jobs propagate the recorded open-circuit error: temporary download failure
  ---
  duration_ms: 0.668299
  type: 'test'
  ...
# Subtest: failed explicit builds preserve the build error without refreshing readiness
ok 6 - failed explicit builds preserve the build error without refreshing readiness
  ---
  duration_ms: 0.340181
  type: 'test'
  ...
1..6
# tests 6
# suites 0
# pass 6
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 567.299786
[195/198] passed test/workerAgentPreparation.test.ts in 0.7s

[196/198] test/workerStateManagerRedisIntegration.test.ts
TAP version 13
# Subtest: Redis CAS rejects a stale metadata snapshot after terminalization
ok 1 - Redis CAS rejects a stale metadata snapshot after terminalization
  ---
  duration_ms: 20.355241
  type: 'test'
  ...
# [2026-10-10 21:32:41.403 +0000] �[32mINFO�[39m: �[36mSQLite database connection established successfully�[39m
#     filename: "/tmp/propr-test-suite-ik8Awg/196-workerStateManagerRedisIntegration.test.ts/propr.test.sqlite"
#     environment: "test"
# [2026-10-10 21:32:41.419 +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 850.461991
[196/198] passed test/workerStateManagerRedisIntegration.test.ts in 1.0s

[197/198] test/workflowPreviewPublication.test.ts
TAP version 13
# (node:25541) 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: an issue run publishes no preview evidence when its workflow disables every preview type
ok 1 - an issue run publishes no preview evidence when its workflow disables every preview type
  ---
  duration_ms: 392.576183
  type: 'test'
  ...
# Subtest: an issue run without a workflow restriction still prepares the same preview artifact
ok 2 - an issue run without a workflow restriction still prepares the same preview artifact
  ---
  duration_ms: 373.859192
  type: 'test'
  ...
# Subtest: a PR follow-up publishes no preview evidence when its workflow disables every preview type
ok 3 - a PR follow-up publishes no preview evidence when its workflow disables every preview type
  ---
  duration_ms: 364.877351
  type: 'test'
  ...
# Subtest: a PR follow-up without a workflow restriction still prepares the same preview artifact
ok 4 - a PR follow-up without a workflow restriction still prepares the same preview artifact
  ---
  duration_ms: 366.476445
  type: 'test'
  ...
1..4
# tests 4
# suites 0
# pass 4
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 2857.932593
[197/198] passed test/workflowPreviewPublication.test.ts in 3.0s

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

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


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

�[90mstderr�[2m | src/pages/InboxPage.test.tsx�[2m > �[22m�[2mInbox page�[2m > �[22m�[2mexpands a system notification in place instead of navigating
�[22m�[39mAn update to InboxPage 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/Agents/AgentEditor.test.tsx�[2m > �[22m�[2mAgentEditor�[2m > �[22m�[2mpreviews the next run of a preset in UTC
�[22m�[39mAn update to AgentScopeSection 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 AgentEditor 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 AgentEditor 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/Agents/AgentEditor.test.tsx �[2m(�[22m�[2m25 tests�[22m�[2m)�[22m�[33m 3536�[2mms�[22m�[39m
   �[32m✓�[39m AgentEditor �[2m(25)�[22m
     �[33m�[2m✓�[22m�[39m shows the shared validation message for an invalid cron and sends no request�[33m 535�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m previews the next run of a preset in UTC�[33m 446�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/InboxPage.test.tsx �[2m(�[22m�[2m43 tests�[22m�[2m)�[22m�[33m 4316�[2mms�[22m�[39m
   �[32m✓�[39m Inbox page �[2m(43)�[22m
     �[33m�[2m✓�[22m�[39m renders activity as one newest-first list with only System kept apart and collapsed�[33m 419�[2mms�[22m�[39m
     �[32m✓�[39m offline �[2m(5)�[22m
       �[33m�[2m✓�[22m�[39m a first visit while offline shows the offline state, then loads once on reconnect�[33m 425�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.test.tsx �[2m(�[22m�[2m22 tests�[22m�[2m)�[22m�[33m 1633�[2mms�[22m�[39m
   �[32m✓�[39m DesktopExperience �[2m(22)�[22m
     �[33m�[2m✓�[22m�[39m offers network search only when the adapter has a real discovery provider�[33m 343�[2mms�[22m�[39m
Not implemented: navigation to another Document
Not implemented: navigation to another Document
Not implemented: navigation to another Document
Not implemented: navigation to another Document
Not implemented: navigation to another Document
 �[32m✓�[39m src/components/TaskList/TaskRows.test.tsx �[2m(�[22m�[2m18 tests�[22m�[2m)�[22m�[33m 1113�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/AgentsPage.test.tsx �[2m(�[22m�[2m22 tests�[22m�[2m)�[22m�[33m 5396�[2mms�[22m�[39m
   �[32m✓�[39m AgentsPage �[2m(22)�[22m
     �[33m�[2m✓�[22m�[39m opens an agent beside the list on wide screens without leaving /automations�[33m 464�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m reads every page so agents past the first page can be found by search�[33m 3203�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useVoicePreference.test.tsx �[2m(�[22m�[2m20 tests�[22m�[2m)�[22m�[33m 555�[2mms�[22m�[39m
�[90mstdout�[2m | src/hooks/useHeaderStats.recovery.test.tsx�[2m > �[22m�[2museHeaderStats live recovery�[2m > �[22m�[2mcommits untouched initial resources when a partial live refresh supersedes queue
�[22m�[39m[useHeaderStats] Received changed queue stats, scheduling stats refresh

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar follow-up CI cancellation�[2m > �[22m�[2mrenders the option off by default with helper text about restarting checks
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar follow-up CI cancellation�[2m > �[22m�[2masks for a selection and discloses the instance fallback while the enabled option selects nothing
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar follow-up CI cancellation�[2m > �[22m�[2masks for a selection and discloses the instance fallback while the enabled option selects nothing
�[22m�[39mAn update to CancelCiDuringFollowupControl 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/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar follow-up CI cancellation�[2m > �[22m�[2mshows the selected workflows and reports an edited selection as exact identities
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar follow-up CI cancellation�[2m > �[22m�[2mdoes not report a selection that did not change
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar follow-up CI cancellation�[2m > �[22m�[2mpreserves comma-containing names on unchanged blur and when editing another selection
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar follow-up CI cancellation�[2m > �[22m�[2mdoes not save incomplete quoted input
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar follow-up CI cancellation�[2m > �[22m�[2mreflects the stored value and reports a toggle
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar follow-up CI cancellation�[2m > �[22m�[2mreflects the stored value and reports a toggle
�[22m�[39mAn update to CancelCiDuringFollowupControl 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/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2mrecognizes and deselects a padded display name with triggers [ 'pull_request' ]
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstdout�[2m | src/hooks/useHeaderStats.recovery.test.tsx�[2m > �[22m�[2museHeaderStats live recovery�[2m > �[22m�[2mreconciles a successful completion to zero from the queue subscription
�[22m�[39m[useHeaderStats] Received changed queue stats, scheduling stats refresh

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2mrecognizes and deselects a padded display name with triggers [ 'push' ]
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2mrecognizes and deselects a padded display name with triggers null
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstdout�[2m | src/hooks/useHeaderStats.recovery.test.tsx�[2m > �[22m�[2museHeaderStats live recovery�[2m > �[22m�[2mrefreshes only queue activity and bounds identical periodic invalidations
�[22m�[39m[useHeaderStats] Received changed queue stats, scheduling stats refresh

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2mpreserves a normalized display name when removing unavailable selections after discovery
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2moffers the repository workflows and matches stored entries by any identity
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2mallows manual identities outside a cached listing and keeps checkbox edits in sync
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstdout�[2m | src/hooks/useHeaderStats.recovery.test.tsx�[2m > �[22m�[2museHeaderStats live recovery�[2m > �[22m�[2mretries only a failed queue reconciliation and commits its fingerprint after recovery
�[22m�[39m[useHeaderStats] Received changed queue stats, scheduling stats refresh

�[90mstdout�[2m | src/hooks/useHeaderStats.recovery.test.tsx�[2m > �[22m�[2museHeaderStats live recovery�[2m > �[22m�[2mdefers hidden-tab churn and performs one full visible recovery
�[22m�[39m[useHeaderStats] Received changed queue stats, scheduling stats refresh

�[90mstdout�[2m | src/hooks/useHeaderStats.recovery.test.tsx�[2m > �[22m�[2museHeaderStats live recovery�[2m > �[22m�[2mrevalidates missed same-count draft and health changes after a web reconnect
�[22m�[39m[useHeaderStats] Received changed queue stats, scheduling stats refresh

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2mallows manual identities outside a cached listing and keeps checkbox edits in sync
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2mpreserves manual input across a successful populated discovery without saving it
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2mpreserves manual input across a successful empty discovery without saving it
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstdout�[2m | src/hooks/useHeaderStats.recovery.test.tsx�[2m > �[22m�[2museHeaderStats live recovery�[2m > �[22m�[2mrevalidates missed same-count draft and health changes after a web reconnect
�[22m�[39m[useHeaderStats] Received changed queue stats, scheduling stats refresh

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2mstores a picked workflow by file name and removes every spelling of an unpicked one
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2mflags stored entries that match no workflow in the repository
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2mflags a stored selection only after an empty listing successfully loads
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2mdoes not flag an empty selection after an empty listing successfully loads
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2mfalls back to typing workflows when GitHub cannot list them
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar detected workflows�[2m > �[22m�[2mdoes not ask GitHub for workflows while the option is off
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar non-blocking checks�[2m > �[22m�[2mshows the stored checks and saves an edited list on blur
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

�[90mstderr�[2m | src/components/RepositorySettingsBar.test.tsx�[2m > �[22m�[2mRepositorySettingsBar non-blocking checks�[2m > �[22m�[2mdoes not save unchanged or malformed input
�[22m�[39mEncountered two children with the same key, `repo-1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

 �[32m✓�[39m src/components/RepositorySettingsBar.test.tsx �[2m(�[22m�[2m25 tests�[22m�[2m)�[22m�[33m 1630�[2mms�[22m�[39m
   �[32m✓�[39m RepositorySettingsBar follow-up CI cancellation �[2m(8)�[22m
     �[33m�[2m✓�[22m�[39m renders the option off by default with helper text about restarting checks�[33m 304�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useHeaderStats.recovery.test.tsx �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[33m 1384�[2mms�[22m�[39m
   �[32m✓�[39m useHeaderStats live recovery �[2m(11)�[22m
     �[33m�[2m✓�[22m�[39m revalidates missed same-count draft and health changes after a web reconnect�[33m 310�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/TaskPlanner/SetupWizard.test.tsx�[2m > �[22m�[2mSetupWizard�[2m > �[22m�[2mignores stale repo switches in edit mode when a newer selection finishes first
�[22m�[39mAn update to SetupWizard 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 SetupWizard 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 SetupWizard 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 SetupWizard 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/TaskPlanner/SetupWizard.test.tsx �[2m(�[22m�[2m13 tests�[22m�[2m)�[22m�[33m 427�[2mms�[22m�[39m
�[90mstdout�[2m | src/hooks/useCurrentUserBootstrap.test.tsx�[2m > �[22m�[2mdesktop current-user bootstrap�[2m > �[22m�[2mmounts an active scope at generation one and enables exactly one stable Manager after current validation
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/hooks/useCurrentUserBootstrap.test.tsx�[2m > �[22m�[2mdesktop current-user bootstrap�[2m > �[22m�[2moverlaps validation with demo-mode loading but keeps Manager disabled until mode resolves in StrictMode
�[22m�[39m[SocketContext] Cleaning up socket connection

�[90mstdout�[2m | src/hooks/useCurrentUserBootstrap.test.tsx�[2m > �[22m�[2mdesktop current-user bootstrap�[2m > �[22m�[2mconstructs once after activated validation and removes that Manager when revalidation fails
�[22m�[39m[SocketContext] Cleaning up socket connection

 �[32m✓�[39m src/hooks/useCurrentUserBootstrap.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 369�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/AiAgentsPage.test.tsx �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[33m 2835�[2mms�[22m�[39m
   �[32m✓�[39m AiAgentsPage model selection �[2m(11)�[22m
     �[33m�[2m✓�[22m�[39m places each desktop header and content region in the same resizable pane�[33m 635�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m replaces Playground selections with the exact enabled agent/model pair and opens the mobile Playground�[33m 642�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m sends the stable synthetic configuration ID and virtual model from the Playground�[33m 338�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Agents/AgentRunDetail.test.tsx �[2m(�[22m�[2m12 tests�[22m�[2m)�[22m�[33m 954�[2mms�[22m�[39m
   �[32m✓�[39m AgentRunDetail �[2m(12)�[22m
     �[33m�[2m✓�[22m�[39m renders a completed run report as Markdown with copy, the truncation note and its task link�[33m 407�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/TasksPage.split.test.tsx �[2m(�[22m�[2m12 tests�[22m�[2m)�[22m�[33m 2472�[2mms�[22m�[39m
   �[32m✓�[39m TasksPage split workspace �[2m(12)�[22m
     �[33m�[2m✓�[22m�[39m keeps the list full width until a task is selected�[33m 331�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m opens a clicked task beside the list, in the URL, keeping the filters�[33m 302�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m steps through primary rows with j/k and the arrow keys, and closes with Escape�[33m 353�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m keeps the open task's runs and current state when a filter takes it off the list�[33m 563�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/MobileBottomNavigation.test.tsx�[2m > �[22m�[2mMobileBottomNavigation�[2m > �[22m�[2mkeeps all creation options inert in demo mode on /
�[22m�[39mAn update to AgentTankSidebar 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/MobileBottomNavigation.test.tsx�[2m > �[22m�[2mMobileBottomNavigation�[2m > �[22m�[2mkeeps all creation options inert in demo mode on /
�[22m�[39mAn update to AgentTankSidebar 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/VoiceBriefingControl.test.tsx �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[33m 879�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/MobileBottomNavigation.test.tsx�[2m > �[22m�[2mMobileBottomNavigation�[2m > �[22m�[2mkeeps all creation options inert in demo mode on /plans
�[22m�[39mAn update to AgentTankSidebar 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/MobileBottomNavigation.test.tsx�[2m > �[22m�[2mMobileBottomNavigation�[2m > �[22m�[2mkeeps all creation options inert in demo mode on /plans
�[22m�[39mAn update to AgentTankSidebar 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/MobileBottomNavigation.test.tsx�[2m > �[22m�[2mMobileBottomNavigation�[2m > �[22m�[2mkeeps all creation options inert in demo mode on /goals
�[22m�[39mAn update to AgentTankSidebar 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/MobileBottomNavigation.test.tsx�[2m > �[22m�[2mMobileBottomNavigation�[2m > �[22m�[2mkeeps all creation options inert in demo mode on /goals
�[22m�[39mAn update to AgentTankSidebar 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/MobileBottomNavigation.test.tsx�[2m > �[22m�[2mMobileBottomNavigation�[2m > �[22m�[2mhides the MCP log without the settings permission
�[22m�[39mAn update to AgentTankSidebar 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/MobileBottomNavigation.test.tsx�[2m > �[22m�[2mMobileBottomNavigation�[2m > �[22m�[2mhides the MCP log without the settings permission
�[22m�[39mAn update to AgentTankSidebar 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/MobileBottomNavigation.test.tsx�[2m > �[22m�[2mMobileBottomNavigation�[2m > �[22m�[2mhides Access without member management permission
�[22m�[39mAn update to AgentTankSidebar 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/MobileBottomNavigation.test.tsx�[2m > �[22m�[2mMobileBottomNavigation�[2m > �[22m�[2mhides Access without member management permission
�[22m�[39mAn update to AgentTankSidebar 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/MobileBottomNavigation.test.tsx�[2m > �[22m�[2mMobileBottomNavigation�[2m > �[22m�[2msigns out from the identity section
�[22m�[39mAn update to AgentTankSidebar 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/MobileBottomNavigation.test.tsx�[2m > �[22m�[2mMobileBottomNavigation�[2m > �[22m�[2msigns out from the identity section
�[22m�[39mAn update to AgentTankSidebar 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/MobileBottomNavigation.test.tsx �[2m(�[22m�[2m27 tests�[22m�[2m)�[22m�[33m 2299�[2mms�[22m�[39m
   �[32m✓�[39m MobileBottomNavigation �[2m(27)�[22m
     �[33m�[2m✓�[22m�[39m matches the primary action and More options to /�[33m 395�[2mms�[22m�[39m
 �[32m✓�[39m src/components/AssigneeList.test.tsx �[2m(�[22m�[2m25 tests�[22m�[2m)�[22m�[33m 515�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/TaskPlanner/useAutoDraftCreation.test.tsx�[2m > �[22m�[2museAutoDraftCreation�[2m > �[22m�[2mkeeps navigating when persisting the resolved baseBranch fails after auto-creating a draft
�[22m�[39mFailed to persist draft setup snapshot: Error: Transient update failure
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/useAutoDraftCreation.test.tsx:103:39
    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/components/TaskPlanner/useAutoDraftCreation.test.tsx�[2m > �[22m�[2museAutoDraftCreation�[2m > �[22m�[2msurfaces the persistence warning only for in-place auto-created drafts
�[22m�[39mFailed to persist draft setup snapshot: Error: Transient update failure
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/useAutoDraftCreation.test.tsx:268:39
    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/TaskPlanner/useAutoDraftCreation.test.tsx �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[32m 68�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/nativeCommands.integration.test.tsx �[2m(�[22m�[2m12 tests�[22m�[2m)�[22m�[32m 268�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/useTaskAssignment.test.tsx �[2m(�[22m�[2m11 tests�[22m�[2m)�[22m�[33m 912�[2mms�[22m�[39m
   �[32m✓�[39m AssignmentControl while saving �[2m(4)�[22m
     �[33m�[2m✓�[22m�[39m does not open the editor until the pending save settles�[33m 326�[2mms�[22m�[39m
�[90mstderr�[2m | src/pages/SettingsPage/AgentConfigModal.test.tsx�[2m > �[22m�[2mAgentConfigModal�[2m > �[22m�[2mpreserves distinct migrated effort labels when editing and saving an Antigravity agent
�[22m�[39mAn update to AgentConfigModal 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 AgentConfigModal 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 AgentConfigModal 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 AgentConfigModal 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/AgentConfigModal.test.tsx�[2m > �[22m�[2mAgentConfigModal�[2m > �[22m�[2madds a loginable agent with an isolated managed credential path and requests login
�[22m�[39mAn update to AgentConfigModal 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 AgentConfigModal 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 AgentConfigModal 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 AgentConfigModal 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 AgentConfigModal 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/AgentConfigModal.test.tsx�[2m > �[22m�[2mAgentConfigModal�[2m > �[22m�[2mallows a new agent to reuse an existing config directory instead of logging in
�[22m�[39mAn update to AgentConfigModal 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 AgentConfigModal 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/AgentConfigModal.test.tsx�[2m > �[22m�[2mAgentConfigModal�[2m > �[22m�[2muses the agent alias in long model labels
�[22m�[39mAn update to AgentConfigModal 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 AgentConfigModal 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 AgentConfigModal 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 AgentConfigModal 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/TaskDetails/RunTimeline.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 973�[2mms�[22m�[39m
   �[32m✓�[39m RunTimeline �[2m(5)�[22m
     �[33m�[2m✓�[22m�[39m shows a queued run as waiting, with no runtime and no Active badge�[33m 320�[2mms�[22m�[39m
�[90mstderr�[2m | src/pages/SettingsPage/AgentConfigModal.test.tsx�[2m > �[22m�[2mAgentConfigModal�[2m > �[22m�[2msaves a model-specific reasoning level for Codex agents
�[22m�[39mAn update to AgentConfigModal 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 AgentConfigModal 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 AgentConfigModal 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 AgentConfigModal 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/AgentConfigModal.test.tsx�[2m > �[22m�[2mAgentConfigModal�[2m > �[22m�[2mmarks a legacy cross-agent reasoning value as unsupported
�[22m�[39mAn update to AgentConfigModal 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 AgentConfigModal 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 AgentConfigModal 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 AgentConfigModal 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/AgentConfigModal.test.tsx�[2m > �[22m�[2moffers one Antigravity entry per model with model-specific reasoning choices
�[22m�[39mAn update to AgentConfigModal 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 AgentConfigModal 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 AgentConfigModal 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 AgentConfigModal 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/AgentConfigModal.test.tsx �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 1650�[2mms�[22m�[39m
   �[32m✓�[39m AgentConfigModal �[2m(8)�[22m
     �[33m�[2m✓�[22m�[39m preserves distinct migrated effort labels when editing and saving an Antigravity agent�[33m 396�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ApplicationShell.idle.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 102�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ui/Skeleton.test.tsx �[2m(�[22m�[2m12 tests�[22m�[2m)�[22m�[33m 325�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop-deep-link.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 19�[2mms�[22m�[39m
 �[32m✓�[39m src/components/QuickAddTodo.test.tsx �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 3148�[2mms�[22m�[39m
   �[32m✓�[39m QuickAddTodo popover �[2m(2)�[22m
     �[33m�[2m✓�[22m�[39m keeps the success confirmation and Add another available until dismissed�[33m 571�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m resets content and category, retains the submitted repository, focuses and submits again�[33m 347�[2mms�[22m�[39m
   �[32m✓�[39m QuickAddTodo inline �[2m(2)�[22m
     �[33m�[2m✓�[22m�[39m resets content and category, retains the submitted repository, focuses and submits again�[33m 350�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m uses the normal repository fallback: acme/gamma�[33m 348�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m uses the normal repository fallback: acme/alpha�[33m 303�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m uses the normal repository fallback: acme/gamma�[33m 367�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m uses the normal repository fallback: null�[33m 333�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m ignores a category response from the previous to-do after Add another�[33m 308�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Goals/GoalAttentionPanel.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 440�[2mms�[22m�[39m
   �[32m✓�[39m goal console attention �[2m(4)�[22m
     �[33m�[2m✓�[22m�[39m shows the provider prompt as plain text with its suggested answers and supported actions�[33m 316�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/NotificationSettingsSection.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[33m 1319�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/TaskVisualPreviews.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 530�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/ContextStrip.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[33m 403�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentNetworkSettingsSection.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 379�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentRuntimePackagesSection.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 785�[2mms�[22m�[39m
   �[32m✓�[39m AgentRuntimePackagesSection �[2m(6)�[22m
     �[33m�[2m✓�[22m�[39m adds a package and submits the complete desired profile�[33m 325�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m offers catalog suggestions and validates a selected package�[33m 373�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/planDisplayName.test.ts �[2m(�[22m�[2m17 tests�[22m�[2m)�[22m�[32m 17�[2mms�[22m�[39m
 �[32m✓�[39m src/api/currentUserResponse.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 16�[2mms�[22m�[39m
�[90mstdout�[2m | src/components/TaskDetails/LiveFileChips.test.tsx�[2m > �[22m�[2mLiveFileChips live refreshes�[2m > �[22m�[2mturns the fixture baseline of three burst invalidations into one additional file-changes request
�[22m�[39m[LiveFileChips] Received task update, refreshing file changes: { taskId: �[32m'task-1'�[39m }
[LiveFileChips] Received task update, refreshing file changes: { taskId: �[32m'task-1'�[39m }
[LiveFileChips] Received task update, refreshing file changes: { taskId: �[32m'task-1'�[39m }

 �[32m✓�[39m src/components/TaskDetails/LiveFileChips.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 480�[2mms�[22m�[39m
   �[32m✓�[39m LiveFileChips live refreshes �[2m(3)�[22m
     �[33m�[2m✓�[22m�[39m shows the shared directory once with 32 filenames ordered by changed lines and keeps every diff accessible�[33m 387�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanIssuesManager.notificationIntent.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 734�[2mms�[22m�[39m
   �[32m✓�[39m PlanIssuesManager execution intent �[2m(3)�[22m
     �[33m�[2m✓�[22m�[39m cancel closes without starting implementation�[33m 408�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/TaskDetails/ReviewScoreHistory.test.tsx�[2m > �[22m�[2mReviewScoreHistory�[2m > �[22m�[2mrenders nothing for an unscored PR or a failed read
�[22m�[39mAn update to ReviewScoreHistory 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/TaskDetails/ReviewScoreHistory.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 294�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanEditor.notificationIntent.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 617�[2mms�[22m�[39m
   �[32m✓�[39m PlanEditor notification intents �[2m(4)�[22m
     �[33m�[2m✓�[22m�[39m never approves from navigation and cancel leaves the plan unchanged�[33m 547�[2mms�[22m�[39m
 �[32m✓�[39m src/components/globalSearchModel.test.ts �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 16�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositoryAutoAssignControl.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 358�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useCurrentUserBootstrap.mainProxy.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 80�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/packagedAcceptanceRendererLifecycle.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/TaskCard.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 687�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/planIssueDefaultSelection.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 11�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentWatchdogSettingsSection.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 131�[2mms�[22m�[39m
 �[32m✓�[39m src/api/dashboardApi.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 25�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/VoiceSettingsSection.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 359�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.accounts.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 539�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m shows both users at one instance and adds an account with a fresh binding�[33m 339�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/generationTelemetryUtils.test.ts �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
 �[32m✓�[39m src/components/UserAvatar.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 288�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/RepositoryAutoResolveConflictsControl.test.tsx�[2m > �[22m�[2mRepositoryAutoResolveConflictsControl�[2m > �[22m�[2mreflects a stored override
�[22m�[39mAn update to RepositoryAutoResolveConflictsControl 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/RepositoryAutoResolveConflictsControl.test.tsx�[2m > �[22m�[2mRepositoryAutoResolveConflictsControl�[2m > �[22m�[2msets always, never, and inherit (null)
�[22m�[39mAn update to RepositoryAutoResolveConflictsControl 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/RepositoryAutoResolveConflictsControl.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 271�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/durations.test.ts �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 8�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RouteChunkErrorBoundary.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 227�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanEditorDesktopLayout.assistant.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 296�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/useSelectedModelMaxTokens.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 81�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/scopedTaskEvents.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 9�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/setupWizardDraftConfig.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 13�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/Pagination.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 283�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/TaskCardList.breakpoint.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 279�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/repositoryNonBlockingChecks.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Agents/AgentAutonomySection.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 264�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/ContextLevelSlider.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 62�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/InboxPageComponents.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 289�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/syntaxHighlighter.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 13�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/executionConfigSummary.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 6�[2mms�[22m�[39m
 �[32m✓�[39m src/api/proprApi.instanceCatalog.test.ts �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 11�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/KPICard.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 68�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/RefinementChat.focus.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 196�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Repositories/RepoBrowsePanel.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 29�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/ExecutionEventUtils.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/tokenFormat.test.ts �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 5�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m70 passed�[39m�[22m�[90m (70)�[39m
�[2m      Tests �[22m �[1m�[32m568 passed�[39m�[22m�[90m (568)�[39m
�[2m   Start at �[22m 21:32:45
�[2m   Duration �[22m 74.91s�[2m (environment 42%, tests 35%, import 9%, setup 8%, transform 5%)�[22m

�[2mEnvironment �[22m �[33mjsdom was created 70 times�[39m�[2m · 59.12s total, 42% 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.001237
  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: 64.815869
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 126.042445
[198/198] passed propr-ui#1/4 (workspace test script) in 75.8s

### Shard 1/4: 197/198 passed in 730.1s

Assigned 198 of 792 discovered units.

| Duration | Status | Unit |
| ---: | --- | --- |
| 159.8s | passed | `test/taskIntentWithdrawal.test.ts` |
| 75.8s | passed | `propr-ui#1/4` (workspace) |
| 47.3s | passed | `test/agentRunScheduler.test.ts` |
| 31.1s | passed | `apps/desktop/src/profile-store.crash-recovery.test.ts` |
| 14.6s | passed | `test/connectCliIntegration.test.ts` |
| 14.3s | passed | `apps/desktop/scripts/electron-pairing-zstd.test.mjs` |
| 14.0s | passed | `test/agentDefinitionStore.test.ts` |
| 13.8s | passed | `test/agentRunTrigger.test.ts` |
| 13.5s | passed | `packages/api/test/mcpRecentActivity.test.ts` |
| 12.8s | passed | `packages/api/test/mcpDeletePlan.test.ts` |
| 11.2s | passed | `packages/cli/src/projectOptions.cli.test.ts` |
| 7.9s | passed | `packages/cli/src/commands/initCommands.test.ts` |
| 7.4s | passed | `packages/core/test/repositoryRetrievalService.test.ts` |
| 7.1s | passed | `test/prContinuation.test.ts` |
| 6.8s | passed | `packages/api/test/notificationProjectionService.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 89% (159.8s)

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

1/198 test runs failed in shard 1/4 after 730.1s:
- packages/api/test/openapiRouteCoverage.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 10, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 8583967

Summary of Changes

I fixed the shard 1/4 failure. The cause wasn't this PR's changes: it came from main, from the hosted fleet merge (#1714) that this branch's commit sits on top of.

What failed: one test in packages/api/test/openapiRouteCoverage.test.ts checks that every route registered directly on the app is listed in the OpenAPI route table. The hosted fleet merge added three routes without listing them, and the test stopped at the first one: GET /api/internal/hosted/bootstrap is registered directly; list it in openapi/directRoutes.ts.

Fix:

  • packages/api/openapi/directRoutes.ts: listed /api/internal/hosted/bootstrap, /status and /queue as public, with a comment explaining why. They are checked against PROPR_FLEET_CONTROL_SECRET rather than a user login, and they only exist when that secret is set. The two existing /api/internal/agent-runs routes are listed the same way.
  • packages/api/openapi/buildSpec.ts: the spec generator then refused to run because no group in the API docs covered /api/internal/hosted. I put it in the System group ("Health, compatibility and status").
  • Regenerated docs/static/openapi/propr-api.yaml: three new entries, total route count 258 → 261.

Checked locally: the route coverage test and the response conformance test both pass (22 pass, 0 fail) when run with the same flags the CI unit-test command uses, and npm run gen:openapi:check reports the spec and client types are up to date. Run without those flags, the conformance test fails, so a bare npx tsx --test run will show a failure. I did not re-run the full shard.

There are no visual changes, so I didn't make previews.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-dev[bot]
  • Time: 3m 57s
  • Tokens: 715,087 (711,416 in / 3,671 out)
  • Cost: $0.42
  • Subscription usage: Session +1%, 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 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: 6102411979✓

@integry

integry commented Oct 10, 2026

Copy link
Copy Markdown
Owner

Fresh frozen-source evidence changes the remaining nightly diagnosis. Run https://github.com/integry/propr/actions/runs/38082250981 (fd4960f), E2E job114301399014, now completed failure. Independently downloaded sanitized artifact11683595458 and verified transport SHA256 ac1e4252c1797e01a8ac269d159fbb7354a94edfe00884503888bb371cb3b449.

Actual TAP:37 tests,36 pass,0 fail,1 cancelled. Only the brownfield plan suite failed:600000ms parent timeout cancelled create/generate/finalize. Greenfield, sequential processing, and the full selected4/38 model matrix passed. All4 parallel and4 single-model implementation tasks reached completed (Claude, Codex and two Antigravity routes), with execution history and log assertions passing. Provider authentication is functioning in this run; do not present the current failure as an unrepaired login.

The frozen helper polls120 times with5-second sleeps plus network calls, then finalizes/polls issues, while the parent brownfield suite allows only600000ms. The cancelled brownfield async operation continued retrying during sequential/model-matrix suites: a4b53b5b, fe0bc4c7 and bb55ea3a all logged not-ready/retry messages after parent cancellation. Backend plan-generation records for these exact drafts report success, with the first taking621117ms; successful LLM execution alone does not prove finalized plan/issues.

Please extend the existing nightly-health follow-up to address the actual bounded timeout/cancellation defect. Coordinate an explicit planning/retry/finalization deadline with its enclosing suite and120-minute CI job budget; stop polling/retries/new plan creation when the test is cancelled, await cleanup safely, and preserve the requirement that a brownfield plan genuinely reaches review/finalization and produces issues. Add meaningful deterministic regression coverage for slow successful generation near the old boundary and cancellation that prevents additional retries or cross-suite work. Do not turn timeouts into passes/skips or weaken task-completion assertions. Update the PR description to distinguish historical authentication diagnostics from this new current failure. Keep the existing writer/follow-up route; no parallel implementation task is needed.

…hanges: it came from main, from the hosted fleet merge (#1714) that this branch's commit sits on top of.

I fixed the shard 1/4 failure. The cause wasn't this PR's changes: it came from main, from the hosted fleet merge (#1714) that this branch's commit sits on top of.

**What failed:** one test in `packages/api/test/openapiRouteCoverage.test.ts` checks that every route registered directly on the app is listed in the OpenAPI route table. The hosted fleet merge added three routes without listing them, and the test stopped at the first one: `GET /api/internal/hosted/bootstrap is registered directly; list it in openapi/directRoutes.ts`.

**Fix:**
- **`packages/api/openapi/directRoutes.ts`:** listed `/api/internal/hosted/bootstrap`, `/status` and `/queue` as `public`, with a comment explaining why. They are checked against `PROPR_FLEET_CONTROL_SECRET` rather than a user login, and they only exist when that secret is set. The two existing `/api/internal/agent-runs` routes are listed the same way.
- **`packages/api/openapi/buildSpec.ts`:** the spec generator then refused to run because no group in the API docs covered `/api/internal/hosted`. I put it in the System group ("Health, compatibility and status").
- **Regenerated `docs/static/openapi/propr-api.yaml`:** three new entries, total route count 258 → 261.

**Checked locally:** the route coverage test and the response conformance test both pass (22 pass, 0 fail) when run with the same flags the CI unit-test command uses, and `npm run gen:openapi:check` reports the spec and client types are up to date. Run without those flags, the conformance test fails, so a bare `npx tsx --test` run will show a failure. I did not re-run the full shard.

There are no visual changes, so I didn't make previews.

PR: #2953
Comment by: @propr-dev[bot] (ID: 6102411979)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit a1407ed

Processed 3 comments:

  • Comment 1 by @propr-dev[bot] (ID: 6102413089✓)
  • Comment 2 by @github-actions[bot] (ID: 6102413453✓)
  • Comment 3 by @integry (ID: 6102430990✓)

Summary of Changes

I fixed the brownfield timeout so a slow but successful plan can finish, and a cancelled test now stops its plan work. But I couldn't update the PR description: GitHub refused the edit with "Resource not accessible by integration" (403) through gh pr edit, the REST API and the GitHub connector. Someone with write access to PR #2953 needs to replace the Summary section; the text is at the end of this message.

The new unit tests pass, along with the existing test/e2eTaskCompletion.test.ts (24 pass, 0 fail). The live E2E suite has not been run against the server.

Comment 1 (shard 1/4 CI failure): this was already fixed. That run tested 5f0c682, and the commit after it (858396720) added the missing /api/internal/hosted/* entries to the OpenAPI route table, which is what the test was failing on.

Comment 3 (brownfield timeout):

  • Cause: the old helper could spend more than 600 s just waiting for generation, then still had to finalize and wait for issues, all inside a 600 s suite timeout. The 621 s generation could not fit. When the suite was cancelled, the helper ignored the test's cancellation signal and kept polling and retrying while the sequential and model-matrix suites ran.
  • Deadlines: plan creation now lives in test/e2e/planGeneration.ts and runs against an explicit deadline. Generation gets up to 15 min, waiting for issues after finalization up to 2 min. A retry starts only if at least 5 min remain. Each plan test has a 22 min budget and a 23 min test timeout, so the helper fails with its own clear error before the suite cancels it. Greenfield, brownfield and sequential use this; the model matrix's plan-creation step has its own 25 min cap.
  • Cancellation: every wait, poll, finalize call and new attempt checks the cancellation signal. A cancelled test stops at once and creates no more plans; plans it already created stay on the cleanup list. Cleanup now waits up to 60 s for any running plan work to stop before deleting those plans.
  • No weakened checks: a missed deadline fails the test with a descriptive error rather than returning zero issues. The test still needs a real plan that reaches review, is finalized and produces issues. The task-completion assertions are unchanged.
  • 120-minute job budget: the first step of the nightly job (test-nightly.yml) now sets a deadline of job start + 110 min, and every plan deadline is capped by it. That leaves time to upload diagnostics; the full test suite already uses about 41 min of the job.
    • Trade-off: the worst-case durations of the plan suites go up (each plan test from 10 to 23 min; the sequential suite from 15 to 38 min). The job deadline stops plan creation from overrunning the job. It does not limit the model tasks' own 30-minute polling.
  • Tests: test/e2ePlanGeneration.test.ts uses a simulated clock and a fake planner. It covers:
    • a 621 s generation that reaches review and produces its issues.
    • a generation that never finishes, which fails at its deadline without creating another plan.
    • retries being limited by the remaining time.
    • cancellation during polling, after which there are no further calls, retries or new plans.
    • cleanup waiting for cancelled work.
  • Checks: shrinking the generation window back to 10 min makes the slow-generation tests fail, and so does ignoring the cancellation signal while polling. The type checker reports no errors in the changed test files.

PR description text for the Summary section:

Current failure: brownfield plan suite timeout (run 38082250981, fd4960f9)

Provider login works in this run. 36 of 37 tests passed, including greenfield, sequential processing and all 8 selected model-matrix tasks. Only the brownfield plan test failed: the suite's 600 s timeout cancelled it while a generation that later succeeded after 621 s was still running. The old helper ignored the cancellation and kept polling and retrying (plans a4b53b5b, fe0bc4c7, bb55ea3a) during the sequential and model-matrix suites.

Fix: plan creation runs against an explicit deadline: 15 min for generation, 2 min for issues after finalization, a retry only if 5 min remain, and a 22 min budget per plan test inside a 23 min test timeout. Every wait and new attempt stops when the test is cancelled, and cleanup waits for running plan work before deleting plans. The nightly job sets a deadline of job start + 110 min that caps all plan deadlines. A missed deadline fails the test; the requirement for a finalized plan with issues is unchanged.

Historical: provider authentication diagnostics (runs from 2026-10-08, e.g. 38016752734)

In those earlier runs the Claude login on the E2E server had expired, and the planner reported it as a generic failure. This branch makes that show up as a login problem and stops the E2E helper from retrying it. It is not the cause of the current failure.

There are no visual previews because nothing in the UI changed.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-dev[bot], @github-actions[bot], @integry
  • Time: 8m 24s
  • Tokens: 3,224,558 (3,190,628 in / 33,930 out)
  • Cost: $1.85
  • Subscription usage: Session +3%, 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 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 IDs: 6102413089✓, 6102413453✓, 6102430990✓

@propr-dev

propr-dev Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Run Full Test Suite

Please investigate and fix this CI failure.

Failure evidence

.github:70
Process completed with exit code 1.

.github:69
Shard coverage verification finished with result 'failure'.

.github:67
Docs site validation finished with result 'cancelled'.

…n can finish, and a cancelled test now stops its plan work. But I couldn't update the PR description: GitHub refused the edit with "Resource not accessible by integration" (403) through `gh pr edit`, the REST API and the GitHub connector. Someone with write access to PR #2953 needs to replace the Summary section; the text is at the end of this message.

I fixed the brownfield timeout so a slow but successful plan can finish, and a cancelled test now stops its plan work. But I couldn't update the PR description: GitHub refused the edit with "Resource not accessible by integration" (403) through `gh pr edit`, the REST API and the GitHub connector. Someone with write access to PR #2953 needs to replace the Summary section; the text is at the end of this message.

The new unit tests pass, along with the existing `test/e2eTaskCompletion.test.ts` (24 pass, 0 fail). The live E2E suite has not been run against the server.

**Comment 1 (shard 1/4 CI failure):** this was already fixed. That run tested `5f0c682`, and the commit after it (`858396720`) added the missing `/api/internal/hosted/*` entries to the OpenAPI route table, which is what the test was failing on.

**Comment 3 (brownfield timeout):**
- **Cause:** the old helper could spend more than 600 s just waiting for generation, then still had to finalize and wait for issues, all inside a 600 s suite timeout. The 621 s generation could not fit. When the suite was cancelled, the helper ignored the test's cancellation signal and kept polling and retrying while the sequential and model-matrix suites ran.
- **Deadlines:** plan creation now lives in `test/e2e/planGeneration.ts` and runs against an explicit deadline. Generation gets up to 15 min, waiting for issues after finalization up to 2 min. A retry starts only if at least 5 min remain. Each plan test has a 22 min budget and a 23 min test timeout, so the helper fails with its own clear error before the suite cancels it. Greenfield, brownfield and sequential use this; the model matrix's plan-creation step has its own 25 min cap.
- **Cancellation:** every wait, poll, finalize call and new attempt checks the cancellation signal. A cancelled test stops at once and creates no more plans; plans it already created stay on the cleanup list. Cleanup now waits up to 60 s for any running plan work to stop before deleting those plans.
- **No weakened checks:** a missed deadline fails the test with a descriptive error rather than returning zero issues. The test still needs a real plan that reaches review, is finalized and produces issues. The task-completion assertions are unchanged.
- **120-minute job budget:** the first step of the nightly job (`test-nightly.yml`) now sets a deadline of job start + 110 min, and every plan deadline is capped by it. That leaves time to upload diagnostics; the full test suite already uses about 41 min of the job.
  - **Trade-off:** the worst-case durations of the plan suites go up (each plan test from 10 to 23 min; the sequential suite from 15 to 38 min). The job deadline stops plan creation from overrunning the job. It does not limit the model tasks' own 30-minute polling.
- **Tests:** `test/e2ePlanGeneration.test.ts` uses a simulated clock and a fake planner. It covers:
  - a 621 s generation that reaches review and produces its issues.
  - a generation that never finishes, which fails at its deadline without creating another plan.
  - retries being limited by the remaining time.
  - cancellation during polling, after which there are no further calls, retries or new plans.
  - cleanup waiting for cancelled work.
- **Checks:** shrinking the generation window back to 10 min makes the slow-generation tests fail, and so does ignoring the cancellation signal while polling. The type checker reports no errors in the changed test files.

**PR description text for the Summary section:**

> ### Current failure: brownfield plan suite timeout (run 38082250981, `fd4960f9`)
>
> Provider login works in this run. 36 of 37 tests passed, including greenfield, sequential processing and all 8 selected model-matrix tasks. Only the brownfield plan test failed: the suite's 600 s timeout cancelled it while a generation that later succeeded after 621 s was still running. The old helper ignored the cancellation and kept polling and retrying (plans `a4b53b5b`, `fe0bc4c7`, `bb55ea3a`) during the sequential and model-matrix suites.
>
> **Fix:** plan creation runs against an explicit deadline: 15 min for generation, 2 min for issues after finalization, a retry only if 5 min remain, and a 22 min budget per plan test inside a 23 min test timeout. Every wait and new attempt stops when the test is cancelled, and cleanup waits for running plan work before deleting plans. The nightly job sets a deadline of job start + 110 min that caps all plan deadlines. A missed deadline fails the test; the requirement for a finalized plan with issues is unchanged.
>
> ### Historical: provider authentication diagnostics (runs from 2026-10-08, e.g. 38016752734)
>
> In those earlier runs the Claude login on the E2E server had expired, and the planner reported it as a generic failure. This branch makes that show up as a login problem and stops the E2E helper from retrying it. It is not the cause of the current failure.

There are no visual previews because nothing in the UI changed.

PR: #2953
Comment by: @propr-dev[bot] (ID: 6102413089)
Comment by: @github-actions[bot] (ID: 6102413453)
Comment by: @integry (ID: 6102430990)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @propr-dev[bot]

Analysis Summary

No test failed in this run, so I made no code changes. The run was cancelled from outside before any tests started. The failure was in the final "Run Full Test Suite" job, which just reported what the earlier jobs did.

  • What happened: all four test shards and the docs-site check were cancelled at the same second (21:39:14), about 3 seconds after they started, while still checking out the code. The run's overall conclusion is cancelled. Build & Lint and CodeQL on the same commit were cancelled too.
  • Why it says "failure": with no shard finished, no shard results were uploaded. The coverage check then failed with "No shard summaries were uploaded", and the final job reported that plus the cancelled shards. All three errors in the evidence come from that one cancellation.
  • Not caused by this branch: a newer commit (a1407ed28) is already on the branch, and its runs were cancelled the same way. Runs for other PRs today show the same pattern.
  • Local check: I ran the test file behind the earlier real shard 1 failure (openapiRouteCoverage.test.ts) and the brownfield plan tests from the latest commit: 25 passed, 0 failed.

The fix is to re-run "Full Test Suite" on the latest commit a1407ed28 once the cancellations stop. I can't trigger that run from here.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: Claude Opus 5.5 (medium)
  • Time: 3m 27s
  • Tokens: 371,252 (368,585 in / 2,667 out)
  • Cost: $0.30

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: 6102456108✓

@propr-dev

propr-dev Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Run Full Test Suite

Please investigate and fix this CI failure.

Failure evidence

.github:70
Process completed with exit code 1.

.github:69
Shard coverage verification finished with result 'failure'.

.github:67
Docs site validation finished with result 'cancelled'.

@integry

integry commented Oct 10, 2026

Copy link
Copy Markdown
Owner

Independent inspection of exact a1407ed: the new11 deterministic plan-generation tests pass locally, but two required boundaries remain incomplete. I reproduced both with synthetic injected APIs against the unchanged helper (no live backend or credentials).

  1. Explicit deadline can still yield success after expiry. With deadline130000ms, getPlan transitions from generating to review while advancing the fake clock to131000ms. createAndGeneratePlan then calls getPlan, finalizePlan, getPlan and listPlanIssues and returns one issue successfully. The loop condition checks time before sleeping/requesting, but there is no deadline check after the pending response or before finalization/return. Please enforce the operation deadline across API calls and before further side effects or successful return. Add regression coverage with slow API latency, not only clock advances in sleep.

  2. Cancellation does not interrupt pending requests. With generatePlan blocked on a deferred promise, aborting options.signal leaves the helper pending; it rejects only after that API promise is released. liveApi does not forward signal/deadline to the ApiClient requests. The existing client supports RequestOptions.signal and defaults GET reads to3 attempts of30000ms each, which can exceed the60000ms cleanup wait when un-aborted. Please propagate cancellation/deadline to in-flight requests (including retries), preserve tracking of any plan created during a cancellation race, and ensure cleanup cannot delete fixtures while untracked work continues. Add a regression with a pending API request and cancellation, plus no calls/retries/finalization after deadline/cancellation. Preserve real finalization/issues and task-completion assertions.

This is a follow-up on the same implementation route. Do not launch a parallel writer. Current proof is diagnostic pr2953-a1407ed-boundary-repro.log: late-response result accepted at131000>130000; pending-after-abort=true until API released. The helper source remains untouched in the isolated review checkout.

@propr-dev

propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 0a06c7f

Processed 2 comments:

  • Comment 1 by @propr-dev[bot] (ID: 6102532141✓)
  • Comment 2 by @integry (ID: 6102545402✓)

Summary of Changes

I fixed both gaps the reviewer reported. Plan creation now enforces its deadline across every API call, and cancelling a test interrupts a request that is still waiting for the server. The new tests pass; the live E2E suite has not been run against the server.

Comment 1 (CI failure): nothing failed in the code. Every job in run 38089018098 was cancelled about 10 s after it started, before any test ran. Build & Lint, CodeQL and CLI Node Compatibility on the same commit were cancelled too. The "Shard coverage verification" failure only says that no shard summaries were uploaded. A fresh run is needed.

Comment 2, point 1 (success after the deadline):

  • Every API call in test/e2e/planGeneration.ts now goes through one wrapper. It refuses to start a request once the test is cancelled or the deadline has passed. It also checks again when the response arrives, before anything else happens.
  • In your scenario (getPlan answers "review" at 131000 against a 130000 deadline), the helper now fails with PlanDeadlineError. It never calls finalize or lists issues. A late answer to finalize or to the issue listing is rejected the same way, so a plan is never reported as a success after its deadline.

Comment 2, point 2 (cancellation during a pending request):

  • Each plan attempt has one cancel signal. It fires when the test is cancelled or when a real timer reaches the deadline.
  • That signal is passed to every request. I added an optional last parameter for signal and timeout to createPlan, getPlan, generatePlan, finalizePlan and listPlanIssues in packages/cli/src/api/plans.ts, and existing callers are unaffected. The CLI client already aborts the current request and skips retries when the signal fires.
  • Each request's timeout is the smaller of 30 s and the time left, so a single attempt can no longer run past the deadline.
  • The helper stops waiting as soon as the signal fires, even if the request itself ignores it.
  • A plan whose creation answer arrives after cancellation is still added to the cleanup list.
  • Every request is registered with the suite's cleanup tracker through a new tracker option, which test/e2e.test.ts now passes. Cleanup therefore waits for requests the helper has stopped waiting for before it deletes any plans.

New tests in test/e2ePlanGeneration.test.ts (18 pass, 0 fail):

  • Three deadline cases, where the status poll, finalize or issue listing answers at 131000 after a slow request. Each fails, and nothing is requested afterwards.
  • Every request gets the cancel signal, and its timeout shrinks as the deadline nears (30000, then 20000).
  • A generatePlan that hangs: the helper rejects immediately after cancellation and cleanup keeps waiting until the request finishes. Nothing follows it: no status poll, retry or finalize.
  • A createPlan that answers after cancellation: the plan is still recorded for cleanup.
  • The real ApiClient with a fake network: a read that hangs at the deadline is aborted and not retried, and no more requests are made.

Checks: with the original helper put back, the first four new tests fail and the pending-request test hangs until the run is killed. That matches what you reproduced. test/e2eTaskCompletion.test.ts and the CLI client tests still pass, and the type checker reports no errors in the changed files. The checks you asked to keep are unchanged: a real finalization producing issues, and the task-completion assertions.

There's nothing visual in this change, so I made no previews.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-dev[bot], @integry
  • Time: 9m 39s
  • Tokens: 2,212,775 (2,186,196 in / 26,579 out)
  • Cost: $1.39
  • Subscription usage: Session +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 IDs: 6102532141✓, 6102545402✓

…enforces its deadline across every API call, and cancelling a test interrupts a request that is still waiting for the server. The new tests pass; the live E2E suite has not been run against the server.

I fixed both gaps the reviewer reported. Plan creation now enforces its deadline across every API call, and cancelling a test interrupts a request that is still waiting for the server. The new tests pass; the live E2E suite has not been run against the server.

**Comment 1 (CI failure):** nothing failed in the code. Every job in run 38089018098 was cancelled about 10 s after it started, before any test ran. Build & Lint, CodeQL and CLI Node Compatibility on the same commit were cancelled too. The "Shard coverage verification" failure only says that no shard summaries were uploaded. A fresh run is needed.

**Comment 2, point 1 (success after the deadline):**
- Every API call in `test/e2e/planGeneration.ts` now goes through one wrapper. It refuses to start a request once the test is cancelled or the deadline has passed. It also checks again when the response arrives, before anything else happens.
- In your scenario (`getPlan` answers "review" at 131000 against a 130000 deadline), the helper now fails with `PlanDeadlineError`. It never calls finalize or lists issues. A late answer to finalize or to the issue listing is rejected the same way, so a plan is never reported as a success after its deadline.

**Comment 2, point 2 (cancellation during a pending request):**
- Each plan attempt has one cancel signal. It fires when the test is cancelled or when a real timer reaches the deadline.
- That signal is passed to every request. I added an optional last parameter for signal and timeout to `createPlan`, `getPlan`, `generatePlan`, `finalizePlan` and `listPlanIssues` in `packages/cli/src/api/plans.ts`, and existing callers are unaffected. The CLI client already aborts the current request and skips retries when the signal fires.
- Each request's timeout is the smaller of 30 s and the time left, so a single attempt can no longer run past the deadline.
- The helper stops waiting as soon as the signal fires, even if the request itself ignores it.
- A plan whose creation answer arrives after cancellation is still added to the cleanup list.
- Every request is registered with the suite's cleanup tracker through a new `tracker` option, which `test/e2e.test.ts` now passes. Cleanup therefore waits for requests the helper has stopped waiting for before it deletes any plans.

**New tests in `test/e2ePlanGeneration.test.ts` (18 pass, 0 fail):**
- Three deadline cases, where the status poll, finalize or issue listing answers at 131000 after a slow request. Each fails, and nothing is requested afterwards.
- Every request gets the cancel signal, and its timeout shrinks as the deadline nears (30000, then 20000).
- A `generatePlan` that hangs: the helper rejects immediately after cancellation and cleanup keeps waiting until the request finishes. Nothing follows it: no status poll, retry or finalize.
- A `createPlan` that answers after cancellation: the plan is still recorded for cleanup.
- The real `ApiClient` with a fake network: a read that hangs at the deadline is aborted and not retried, and no more requests are made.

**Checks:** with the original helper put back, the first four new tests fail and the pending-request test hangs until the run is killed. That matches what you reproduced. `test/e2eTaskCompletion.test.ts` and the CLI client tests still pass, and the type checker reports no errors in the changed files. The checks you asked to keep are unchanged: a real finalization producing issues, and the task-completion assertions.

There's nothing visual in this change, so I made no previews.

PR: #2953
Comment by: @propr-dev[bot] (ID: 6102532141)
Comment by: @integry (ID: 6102545402)
Model: Claude Opus 5.5
@integry

integry commented Oct 10, 2026

Copy link
Copy Markdown
Owner

/review codex-astra

@propr-dev

propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex-astra

Overall Evaluation

The PR addresses slow plan generation with larger, explicit budgets and cancellation-aware API calls. It needs a localized correction to the newly generated authentication contract before merge.

✅ Request boundaries enforced — Requests receive the operation signal and bounded timeouts; checkpoints reject responses arriving after cancellation or expiry.

✅ Focused regression coverage — Added tests cover slow generation, late responses, pending-request cancellation, and cleanup tracking.

This review used static analysis only; no commands were run. Current checks show 0 failures and 21 pending.

Merge blockers

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

F1: 🔴 Represent Fleet authentication accurately

  • Required behavior: Newly generated API documentation must accurately describe required authentication.

  • Evidence: packages/api/openapi/directRoutes.ts, the three /api/internal/hosted/* registrations; docs/static/openapi/propr-api.yaml, their generated security: [] declarations.

    1. An instance configures a valid Fleet control secret, enabling the three routes.
    2. The new registrations classify these routes as public; buildSpec.ts consequently generates security: [], without documenting the required secret header.
    3. A caller following that contract sends a request without x-propr-fleet-secret. The handler rejects it with HTTP 401 instead of allowing the documented unauthenticated access.

    static trace: The supplied Fleet handler checks the secret header, while the generated document explicitly declares no authentication requirement. The source comment and x-undocumented marker do not communicate that requirement to OpenAPI consumers. Runtime authentication remains intact; the defect is the newly published contract.

  • Minimum fix: Represent Fleet authentication with an OpenAPI header API-key security scheme for x-propr-fleet-secret, apply it to all three registrations, and regenerate the YAML.

Suggestions

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

S1: 🟢 Accept review without observing generation

The extracted helper preserves the existing !sawGenerating rejection. A plan that reaches review before the first poll still returns no issues and triggers unnecessary retries. Accepting an authoritative review result and testing that transition would improve reliability. This limitation predates the PR.

S2: 🟢 Bound the remaining nightly work

The new job deadline bounds plan creation, but subsequent implementation polling can continue beyond it. Consider propagating the remaining job budget through those phases to strengthen diagnostic-upload guarantees. This is optional because the added workflow comment specifically promises a bound on plan creation, and the other phases’ timeout behavior predates this change.

Score

The deadline and cancellation changes address the earlier reported boundaries, with focused regression tests. The newly published Fleet authentication contract needs correction; pending checks alone do not lower the score.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 38s
  • Tokens: 64,374 (62,748 in / 1,626 out)
  • Cost: $0.60

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 F1 S1 S2

🤖 Review by ProPR

@integry

integry commented Oct 10, 2026

Copy link
Copy Markdown
Owner

/fix F1

@propr-dev

propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 8413598

Addressed 1 AI review comment (IDs: 6102691008)

Addressed finding F1

Summary of Changes

I fixed F1. The generated API spec now says all three hosted Fleet routes (/api/internal/hosted/bootstrap, /status and /queue) need the x-propr-fleet-secret header. Before, it said they needed no authentication.

What changed

  • New auth kind: packages/api/openapi/types.ts has a new fleetSecret option, alongside the existing ones like webhook.
  • New security scheme: packages/api/openapi/buildSpec.ts maps that option to a header API-key scheme named fleetSecret. Its description says the routes exist only when PROPR_FLEET_CONTROL_SECRET is configured.
  • Route registrations: packages/api/openapi/directRoutes.ts now marks the three hosted routes as fleetSecret instead of public. I shortened the source comment, since the spec now states the requirement itself.
  • Regenerated spec: in docs/static/openapi/propr-api.yaml, each hosted route has security: - fleetSecret: [] and x-propr-auth: fleetSecret, and the new scheme appears under components.securitySchemes.
  • Regression test: a new case in packages/api/test/openapiRouteCoverage.test.ts checks the scheme's type, location and header name. It also checks that hostedFleetRoutes.ts reads that exact header. Finally, it checks that exactly these three routes exist and each requires the scheme.

Verification

  • npm run gen:openapi:check reports the spec and client types are up to date and valid.
  • openapiRouteCoverage, openapiResponseConformance and openapiReferencePage all pass (26/26). This includes the coverage test that failed shard 1/4 in the earlier CI run.
  • A type check of packages/api printed no errors.

Separate issue, not changed: the two /api/internal/agent-runs/:runId/mcp-grants routes are also listed as public, even though a comment says callers must sign requests with SYSTEM_TASK_SECRET. That was already the case before this PR, so I left it alone. It could be fixed the same way in a separate change.

There's no visual change, so I made no previews.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @integry
  • Time: 3m 23s
  • Tokens: 425,155 (420,879 in / 4,276 out)
  • Cost: $0.35
  • 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 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: 6102695306✓

@propr-dev

propr-dev Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Run Full Test Suite

Please investigate and fix this CI failure.

Failure evidence

.github:68
Process completed with exit code 1.

.github:67
Shard coverage verification finished with result 'failure'.

.github:66
Full test suite shards finished with result 'cancelled'.

…d Fleet routes (`/api/internal/hosted/bootstrap`, `/status` and `/queue`) need the `x-propr-fleet-secret` header. Before, it said they needed no authentication.

I fixed F1. The generated API spec now says all three hosted Fleet routes (`/api/internal/hosted/bootstrap`, `/status` and `/queue`) need the `x-propr-fleet-secret` header. Before, it said they needed no authentication.

**What changed**
- **New auth kind:** `packages/api/openapi/types.ts` has a new `fleetSecret` option, alongside the existing ones like `webhook`.
- **New security scheme:** `packages/api/openapi/buildSpec.ts` maps that option to a header API-key scheme named `fleetSecret`. Its description says the routes exist only when `PROPR_FLEET_CONTROL_SECRET` is configured.
- **Route registrations:** `packages/api/openapi/directRoutes.ts` now marks the three hosted routes as `fleetSecret` instead of `public`. I shortened the source comment, since the spec now states the requirement itself.
- **Regenerated spec:** in `docs/static/openapi/propr-api.yaml`, each hosted route has `security: - fleetSecret: []` and `x-propr-auth: fleetSecret`, and the new scheme appears under `components.securitySchemes`.
- **Regression test:** a new case in `packages/api/test/openapiRouteCoverage.test.ts` checks the scheme's type, location and header name. It also checks that `hostedFleetRoutes.ts` reads that exact header. Finally, it checks that exactly these three routes exist and each requires the scheme.

**Verification**
- `npm run gen:openapi:check` reports the spec and client types are up to date and valid.
- `openapiRouteCoverage`, `openapiResponseConformance` and `openapiReferencePage` all pass (26/26). This includes the coverage test that failed shard 1/4 in the earlier CI run.
- A type check of `packages/api` printed no errors.

**Separate issue, not changed:** the two `/api/internal/agent-runs/:runId/mcp-grants` routes are also listed as `public`, even though a comment says callers must sign requests with `SYSTEM_TASK_SECRET`. That was already the case before this PR, so I left it alone. It could be fixed the same way in a separate change.

There's no visual change, so I made no previews.

PR: #2953
Comment by: @integry (ID: 6102695306)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @propr-dev[bot]

Analysis Summary

I made no code changes because this failure doesn't come from the code. Something outside the branch cancelled the CI run.

Evidence from run 38089965439 (commit 0a06c7fb0):

  • Shards: all four ran for about 5 minutes. Every test block they finished reported # fail 0. Then all four stopped with ##[error]The operation was canceled. between 22:08:51.6 and 22:08:51.8.
  • Coverage check: the "Shard coverage verification … 'failure'" in the summary is a side effect. The gate step "Enforce shard and docs results" failed because the shards were cancelled, not because a test failed.
  • Other workflows: the Build & Lint Validate Changes job was cancelled at the same moment (22:08:57), and so was Desktop Package and Release. Those are separate workflows, so this run didn't fail on its own.
  • Next commit: the following commit on the branch, 8413598e2, was made at 22:12. Its Full Test Suite, Build & Lint, CodeQL, CLI Node Compatibility, Desktop and Packaged Connect runs were all cancelled as well.

This is the same external-cancel pattern seen several times today on this PR and others.

The real failure earlier on this PR was packages/api/test/openapiRouteCoverage.test.ts in shard 1. That test now passes locally at the branch head: 15 of 15.

The way to get a real result is to re-run the Full Test Suite on the latest head, 8413598e2. I can't do that from here; someone with Actions access needs to start it. If it gets cancelled again, the problem is with GitHub Actions or the runners, not this branch.

There was nothing visual to preview.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: Claude Opus 5.5 (medium)
  • Time: 3m 9s
  • Tokens: 293,747 (290,976 in / 2,771 out)
  • Cost: $0.25

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: 6102702504✓

@propr-dev

propr-dev Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Run Full Test Suite

Please investigate and fix this CI failure.

Failure evidence

.github:70
Process completed with exit code 1.

.github:69
Shard coverage verification finished with result 'failure'.

.github:68
Hosted native Electron units finished with result 'cancelled'.

@integry

integry commented Oct 10, 2026

Copy link
Copy Markdown
Owner

Additional evidence for the existing CI-failure follow-up: please investigate the cancellation feedback cycle before rerunning CI. Do not start a separate implementation route or weaken required checks.

Read-only repository options show both autoFollowupOnFailedCi=true and cancelCiDuringFollowup=true, with pr-test-on-label.yml explicitly selected for cancellation. Run 38089965439 at 0a06c7f had native Electron and docs passing before its shards were cancelled; its aggregate Run Full Test Suite failed on cancelled shards and produced comment 6102702504. Processing that comment started task pr-comments-batch-integry-propr-2953-1791670364619 while new-head run 38090559848 at 8413598 was active. That run was also cancelled, and aggregate failure generated comment 6102735018. This is evidence of cancellation-induced follow-ups, not a demonstrated test assertion failure at either head.

The workflow aggregate uses always() and deliberately fails closed for missing shard coverage, including cancelled shards. ciFailureFollowup.ts ignores a directly cancelled check, but receives this aggregate as failure. Please trace the actual cancellation/suspension provenance and prevent a deliberately cancelled workflow from recursively generating implementation follow-ups. Preserve genuine assertion failures, timeouts, required merge gates, and operator workflow selections. Add focused regression coverage for cancellation-induced aggregate failure versus a genuine failure. Keep the corrected planning deadline/cancellation behavior and Fleet secret documentation intact. Once the final head is idle, restore/run its validations and report actual results; a cancelled run is not a pass.

@propr-dev

propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @propr-dev[bot]

Analysis Summary

I checked this failure, and no test failed: the run was cancelled before any tests ran, so I made no code changes.

What happened in run 38094028469 (commit dc481f726):

  • Shards 2–4 and the docs validation job sat waiting from 23:09:50 to 23:44:26. Shard 1 only started at 23:44:08 and was cancelled during Install Dependencies.
  • GitHub's annotation on shard 1 says: "The run was canceled by @propr-dev[bot]." The run's own conclusion is cancelled. This happened when the follow-up commit 3f67634c0 was pushed. The run for that commit was also cancelled.
  • The "Run Full Test Suite" aggregate job runs even when its dependencies are cancelled, and it fails when shard coverage can't be confirmed. Cancelled shards upload no summaries, so it reported:
    • shards cancelled
    • docs cancelled
    • shard coverage failure
  • The only job that finished, Native Electron, passed.

This is the same cancellation loop this PR is meant to stop. The ProPR deployment that posted this follow-up runs main, not this branch. On this branch, the cancellation filter in packages/core/src/webhook/ciCancellationProvenance.ts covers this case: the "Enforce shard and docs results" step, cancelled dependencies, and the coverage failure that cancelled shards cause. That code only takes effect once this PR is merged and deployed.

Next step: rerun the Full Test Suite on the current head (3f67634c0) and let it finish without cancelling it. The last test failure on this PR was openapiRouteCoverage.test.ts in shard 1. A complete run will show whether that is fixed, which none of these cancelled runs could.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: Claude Opus 5.5 (medium)
  • Time: 4m 0s
  • Tokens: 217,743 (215,433 in / 2,310 out)
  • Cost: $0.23

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: 6103437901✓

@propr-dev

propr-dev Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Run Full Test Suite

Please investigate and fix this CI failure.

Failure evidence

.github:70
Process completed with exit code 1.

.github:69
Shard coverage verification finished with result 'failure'.

.github:68
Hosted native Electron units finished with result 'cancelled'.

@propr-dev

propr-dev Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @propr-dev[bot]

Analysis Summary

No test failed on commit 3f67634c0, so I didn't change any code. The test jobs were stopped by an outside cancellation before any test ran.

What happened in run 38096433790:

  • Both attempts (23:51 and 23:56): every shard, the docs site check and the native Electron job were cancelled 10–30 seconds after starting, while still installing dependencies. They all stopped within seconds of each other.
  • Every other workflow on this commit was also cancelled at the same time: Build & Lint, CodeQL, CLI Node Compatibility, Packaged Connect Discovery Guard and Desktop Package. Only Dependency Review finished, and it passed.
  • "Run Full Test Suite" reported failure only because nothing ran. It deliberately fails when shard results are missing, and the cancelled shards never produced any. That is where "Shard coverage verification finished with result 'failure'" and "Hosted native Electron units finished with result 'cancelled'" come from.

This matches the cancellation pattern already discussed on this PR: ProPR is set to cancel PR validation while a follow-up is running. A cancel that hits workflows in separate groups all at once comes from ProPR or another automation, not from the branch.

Local check of the commit: that commit only split up packages/core/src/webhook/ciCancellationProvenance.ts.

  • ESLint passes on that file.
  • The ciFailureFollowup, ciFailureRecovery and followupCiSuspension tests pass, 120 of 120.

Re-running CI on this commit, with no follow-up active at the time, should produce a real result. No previews, since nothing visual changed. I added this run to my saved notes on cancelled CI runs.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: Claude Opus 5.5 (medium)
  • Time: 4m 1s
  • Tokens: 310,425 (307,715 in / 2,710 out)
  • Cost: $0.26
  • 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
Processing comment ID: 6103485195✓

@propr-dev

propr-dev Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — claude:claude-opus-5-5

Overall Evaluation

The PR fixes the recurring nightly E2E failure from issue #2942. Plan creation in the live E2E suite is now bounded by explicit deadlines and test cancellation, with the generation window raised above the observed 621s brownfield run. The PR also adds three changes beyond that objective:

  • The planner now classifies expired OAuth sessions as authentication failures, and the E2E suite stops retrying on them.
  • Failed-CI follow-ups are suppressed when an always() aggregate failed only because its workflow run was deliberately cancelled.
  • The hosted Fleet routes now document their x-propr-fleet-secret authentication in OpenAPI.

I traced all changed paths and found no merge blockers. Every check on the current head passed. The PR is ready to merge. The suggestions below cover scope, drift protection and a few edge behaviors.

✅ Cancellation reaches every await — In test/e2e/planGeneration.ts, one operation-level AbortController combines the test signal and the deadline timer. It is forwarded to every request, poll and sleep. call() checks the deadline before each request and again when the response arrives, so a late response is rejected. PlanWorkTracker together with the after() settle() keeps cleanup waiting for in-flight work. It also records a plan whose creation was answered after the abort, which the "plan created after cancellation is still recorded" test covers.

✅ Cancellation provenance fails open — In packages/core/src/webhook/ciCancellationProvenance.ts, a follow-up is skipped only when every independent signal agrees:

  • the target conclusion, the fetched job and the attempt listing all read failure;
  • the provenance check passes;
  • no sibling job failed genuinely;
  • the target finished after the cancellation;
  • the step attribution and the annotation content both point to the cancellation.

Any unreadable, paginated-past-limit or ambiguous evidence returns null, and isCancellationInduced catches errors and posts the follow-up. No dedupe claim is made on suppression, so a genuine failure on a later attempt is still reported. The negative tests cover each of these cases.

✅ Spec is pinned to the handler — The new OpenAPI test reads hostedFleetRoutes.ts and asserts that the handler reads the exact documented header name. This keeps the fleetSecret scheme from drifting away from isAuthorized.

Merge blockers

No merge blockers.

Suggestions

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

S5: 🟢 Matrix loop fails on one slow plan

In test/e2e.test.ts, the model-matrix loop starts another plan whenever at least PLAN_RETRY_MIN_REMAINING_MS (5 min) of its 25-minute budget remains. runPlanAttempt then reserves PLAN_ISSUES_TIMEOUT_MS for the issue wait, so that plan gets only about 3 minutes of generation. In that window, createAndGeneratePlan throws PlanDeadlineError("…still generating…"), which aborts the whole "create plans with enough issues" test. Before this PR, a slow plan returned [] and the loop carried on with the issues it had already collected.

Two possible fixes:

  • Catch PlanDeadlineError inside the loop once some issues are collected.
  • Raise the per-iteration threshold to cover a realistic generation plus the issue wait.

This is optional because I could not confirm how the code after the loop treats a partial collected set.

S6: 🟢 Job deadline covers only plan creation

PROPR_E2E_DEADLINE_EPOCH_MS bounds plan creation, but not the sequential-processing polling (up to 15 min) or model-matrix implementation (up to 60 min). Those run after the full suite inside the same 120-minute job. The job can therefore still hit its timeout before "Upload sanitized failure diagnostics" runs, which is the problem the workflow comment describes. Extending the deadline to pollTasksToCompletion and waitForPlanIssueCondition would make the stated guarantee hold.

S7: 🟢 Guard workflow string coupling with a test

DEPENDENCY_GATE_STEPS, CANCELLATION_CONSEQUENCE_STEPS, CANCELLED_DEPENDENCY_RE and CANCELLATION_CONSEQUENCES mirror step names and ::error:: text in .github/workflows/pr-test-on-label.yml, but only by comment. Renaming a step or rewording a message silently disables suppression and brings back the follow-up/cancel loop. It fails safe, but invisibly.

A small test that parses the workflow, as openapiRouteCoverage.test.ts does for server.ts, would catch that drift.

S8: 🟢 Recovery repeats provenance lookups

Suppression deliberately records no dedupe claim. As a result, every Ultrafix periodic recovery pass re-runs the full provenance chain for each still-failing aggregate on the head. That is a job fetch, an attempt fetch, a jobs listing and annotation pages each time. A short-lived negative cache keyed by check run ID would cut the GitHub API use without changing correctness.

S9: 🟢 Add a 401 response for fleetSecret routes

responses() in buildSpec.ts adds the shared 401 only for member, instanceToken and mcp. The Fleet handler does answer 401 { error: 'Fleet authentication required' }, so adding fleetSecret to that list would make the generated spec complete.

S10: 🟢 Split out-of-scope changes

The CI cancellation provenance and the OpenAPI fleetSecret change are unrelated to nightly E2E health. They are well tested, but splitting them into their own PRs would make review, bisection and reverts easier.

S11: 🟢 Broader auth regex may misclassify failures

The widened pattern in plannerHelpers/utils.ts now matches credentials and session expired, and it still matches forbidden. An unrelated provider error containing those words, such as a 403 on a repository path, would be shown as an authentication failure. The E2E suite would then stop retrying with a "reauthenticate" message. Consider anchoring the pattern on provider-specific phrasing.

Score

The deadline and cancellation work for the nightly E2E suite is correct and backed by deterministic virtual-clock tests and a live-client test. The added CI-provenance logic fails safe, and all current-head checks pass. The remaining items are optional hardening and scope hygiene.

Score: 8/10


🤖 Review Details

  • Model: Claude Opus 5.5
  • Time: 2m 39s
  • Tokens: 109,031 (101,553 in / 7,478 out)
  • Cost: $0.66

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 S5 S6 S7 S8 S9 S10 S11

🤖 Review by ProPR

@propr-dev propr-dev Bot removed the ultrafix label Oct 11, 2026
@integry

integry commented Oct 11, 2026

Copy link
Copy Markdown
Owner

New validation evidence for issue #2942: manual nightly run https://github.com/integry/propr/actions/runs/38094451314 at dc481f7 finished with 792/793 non-live test units passing. Live E2E did not run because test/integrationImageHarness.test.mjs hit the existing 180000ms per-unit limit. This test and its fake-Docker/harness source are unchanged at current PR head 3f67634.

Please investigate and fix this genuine nightly blocker. Sanitized original artifact is nightly-test-output-38094451314-1 (artifact 11686346994). In its full-suite log, the first private-authority suite took 30.6s, then kept containers do not make a pre-existing network removable on a later run took 93.8s; the next case took 24.8s and the unit was terminated before remaining cases completed. The canonical total was Unsharded suite: 792/793 passed in 3832.1s. The same source passes the current PR's sharded CI, so investigate runner/environment, fixture waits and fake-process overhead rather than presuming an assertion regression.

Preserve every authority/cleanup regression assertion and fail-closed behavior. Do not skip the test, broadly raise timeouts, weaken assertions, or enable live E2E after a failed non-live suite. Improve or split the fixture/unit if evidence supports that; retain complete canonical coverage and add meaningful validation of the observed cause. Keep production configuration, credentials, frozen fd4960f preview and publication unchanged. Report the diagnosed cause and focused results. Existing Ultrafix current-head review has finished, so there is no known overlapping writer.

@propr-dev

propr-dev Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 0a39855

Summary of Changes

I fixed the nightly blocker by making the fake Docker much cheaper per call and splitting the test into three runner units. No assertion was weakened, skipped or given a longer timeout. All 23 tests pass locally (the 22 originals plus one new check), and the three units take about 28s in total, down from 107s for the old single file.

Diagnosed cause

The timeout came from the self-hosted runner being heavily loaded, made much worse by how many short-lived processes this test starts. It was not an assertion regression.

  • The whole run was slower. I compared run 38094451314 with three earlier green nightlies (38082250981, 38035895093, 38016752734). Those ran this unit in a steady 70.6–71.2s and the whole suite in about 2430s. The failing run took 3832.1s overall (+58%), and the slowdown came in bursts. The units right after this one also slowed: issueJobCompletion went from 2.2s to 31.0s (14×) and issueJobDispatcher.handleDispatch from 2.4s to 21.2s (8.8×). The case that took 93.8s normally takes 8.3s.
  • Why this unit was hit hardest. Each harness run makes up to about 140 Docker calls. The harness parses most of them with its own node -e, and the fake Docker started a new Node process for every call (about 43ms each, against 22ms for a bare node -e 0). So a run was a long serial chain of process starts, and a slow host stretched it out. Fixture waits were not a factor: the harness's 60s /health poll returns on its first attempt with the fake curl.
  • Reproduced locally. I ran that case under synthetic CPU load (36 busy loops on 12 CPUs). The old fixture took 164s for that one case.

Changes

  • fake-docker.mjs works the same way but now runs inside the test process. The docker stand-in is a small bash script that sends its arguments and FAKE_DOCKER_* settings to it over a local port, then replays its output and exit code. That removes a Node start per call. If it can't reach the in-process handler, the call fails with exit 125 instead of passing.
  • New shared helper harness.mjs holds the setup code that used to sit at the top of the test file. The test bodies were moved without changes into three units:
    • integrationImageHarness.test.mjs: private temporary authority and root helper cases, plus the new check.
    • integrationImageHarnessUnsafeTargets.test.mjs: unsafe roots, stack names, same-named containers and pre-existing networks.
    • integrationImageHarnessNetworkOwnership.test.mjs: the recorded-network ownership cases.
  • New check: with only bash reachable on PATH, the Docker stand-in still returns the right output, errors and exit codes, preserves arguments containing spaces or empty strings, and records every call. It also fails when nothing is listening.

The harness scripts, workflows, timeouts, production configuration, credentials, the frozen fd4960f preview and publication are unchanged. Live E2E still runs only after the non-live suite passes.

Focused results

  • Coverage: the 22 original test titles are identical, now spread across the three files.
  • Speed:
Case or unit Old fixture New fixture
Case that took 93.8s at night, idle 11.2s 2.8s
Same case under load 164s 41.6s
All three units under load — 155s, 85s, 155s (all passing)
Through run-test-suite.mjs, idle — 17.6s, 13.6s, 7.7s

The runner's --list shows the three files as separate units.

  • The tests still catch real bugs. I temporarily broke the harness twice and restored it byte-for-byte afterwards:
    • Removing networks by name without the ownership check fails the same two tests in both the old and the new fixture.
    • Giving the cleanup container network access fails 10 tests.
  • ESLint is clean on the new and changed files.

The split adds two units, so the full suite now has 795 instead of 793. The full nightly hasn't been re-run on these changes yet.

I also saved a memory note on how to tell nightly contention from a real regression, including downloading only the test-output artifact.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @integry
  • Time: 33m 25s
  • Tokens: 4,058,149 (4,015,675 in / 42,474 out)
  • Cost: $2.21
  • Subscription usage: Session +3%, 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 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: 6103792067✓

…cheaper per call and splitting the test into three runner units. No assertion was weakened, skipped or given a longer timeout. All 23 tests pass locally (the 22 originals plus one new check), and the three units take about 28s in total, down from 107s for the old single file.

I fixed the nightly blocker by making the fake Docker much cheaper per call and splitting the test into three runner units. No assertion was weakened, skipped or given a longer timeout. All 23 tests pass locally (the 22 originals plus one new check), and the three units take about 28s in total, down from 107s for the old single file.

## Diagnosed cause
The timeout came from the self-hosted runner being heavily loaded, made much worse by how many short-lived processes this test starts. It was not an assertion regression.

- **The whole run was slower.** I compared run 38094451314 with three earlier green nightlies (38082250981, 38035895093, 38016752734). Those ran this unit in a steady 70.6–71.2s and the whole suite in about 2430s. The failing run took 3832.1s overall (+58%), and the slowdown came in bursts. The units right after this one also slowed: `issueJobCompletion` went from 2.2s to 31.0s (14×) and `issueJobDispatcher.handleDispatch` from 2.4s to 21.2s (8.8×). The case that took 93.8s normally takes 8.3s.
- **Why this unit was hit hardest.** Each harness run makes up to about 140 Docker calls. The harness parses most of them with its own `node -e`, and the fake Docker started a new Node process for every call (about 43ms each, against 22ms for a bare `node -e 0`). So a run was a long serial chain of process starts, and a slow host stretched it out. Fixture waits were not a factor: the harness's 60s `/health` poll returns on its first attempt with the fake curl.
- **Reproduced locally.** I ran that case under synthetic CPU load (36 busy loops on 12 CPUs). The old fixture took **164s** for that one case.

## Changes
- **`fake-docker.mjs`** works the same way but now runs inside the test process. The `docker` stand-in is a small bash script that sends its arguments and `FAKE_DOCKER_*` settings to it over a local port, then replays its output and exit code. That removes a Node start per call. If it can't reach the in-process handler, the call fails with exit 125 instead of passing.
- **New shared helper `harness.mjs`** holds the setup code that used to sit at the top of the test file. The test bodies were moved without changes into three units:
  - `integrationImageHarness.test.mjs`: private temporary authority and root helper cases, plus the new check.
  - `integrationImageHarnessUnsafeTargets.test.mjs`: unsafe roots, stack names, same-named containers and pre-existing networks.
  - `integrationImageHarnessNetworkOwnership.test.mjs`: the recorded-network ownership cases.
- **New check:** with only `bash` reachable on PATH, the Docker stand-in still returns the right output, errors and exit codes, preserves arguments containing spaces or empty strings, and records every call. It also fails when nothing is listening.

The harness scripts, workflows, timeouts, production configuration, credentials, the frozen fd4960f preview and publication are unchanged. Live E2E still runs only after the non-live suite passes.

## Focused results
- **Coverage:** the 22 original test titles are identical, now spread across the three files.
- **Speed:**

| Case or unit | Old fixture | New fixture |
|---|---|---|
| Case that took 93.8s at night, idle | 11.2s | 2.8s |
| Same case under load | 164s | 41.6s |
| All three units under load | — | 155s, 85s, 155s (all passing) |
| Through `run-test-suite.mjs`, idle | — | 17.6s, 13.6s, 7.7s |

The runner's `--list` shows the three files as separate units.
- **The tests still catch real bugs.** I temporarily broke the harness twice and restored it byte-for-byte afterwards:
  - Removing networks by name without the ownership check fails the same two tests in both the old and the new fixture.
  - Giving the cleanup container network access fails 10 tests.
- ESLint is clean on the new and changed files.

The split adds two units, so the full suite now has 795 instead of 793. The full nightly hasn't been re-run on these changes yet.

I also saved a memory note on how to tell nightly contention from a real regression, including downloading only the test-output artifact.

PR: #2953
Comment by: @integry (ID: 6103792067)
Model: Claude Opus 5.5
@integry

integry commented Oct 11, 2026

Copy link
Copy Markdown
Owner

/review claude-opus-5-5

@propr-dev

propr-dev Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — claude-opus-5-5

Overall Evaluation

This PR fixes several separate causes of nightly and PR-validation noise behind issue #2942:

  • Live E2E plan creation is now bounded. It runs under an explicit deadline with cancellation (test/e2e/planGeneration.ts). The 621s brownfield generation that the old fixed 600s window cut off now fits, and cancelled work no longer keeps polling into later suites.
  • Cancellation-induced aggregate failures no longer start follow-ups. ciCancellationProvenance.ts filters out failures of the always() aggregate caused by a deliberate cancellation, which breaks the follow-up/cancel feedback loop.
  • The OpenAPI fix is consistent. The hosted Fleet routes now document the x-propr-fleet-secret scheme in source, generated YAML and tests. This addresses the earlier openapiRouteCoverage shard failure.
  • The latest nightly blocker is addressed. integrationImageHarness.test.mjs hit the 180s per-unit limit. The fake Docker now runs in-process behind a bash-only client, and the suite is split into three units.

I traced each changed path and found no merge blockers. Readiness depends on the pending current-head checks, and the harness fix has not yet been proven on a contended nightly runner.

✅ Plan requests are bounded at every stage — call() in planGeneration.ts checks the deadline before each request and after each response. It forwards one combined abort signal and a capped timeout to the CLI client, and untilAborted stops waiting without dropping tracking. createdPlanIds is filled in the createPlan .then, so a plan created during a cancellation race is still cleaned up after PlanWorkTracker.settle. Tests cover each of these boundaries with a virtual clock, and one runs the real ApiClient against a stubbed fetch.

✅ Cancellation filtering fails closed — findCancellationProvenance suppresses a follow-up only when all of these hold:

  • The target is failure in the reported evidence, the fetched job and the attempt listing.
  • The cancellation is provenanced to ProPR's suspension record or to a cancelled attempt.
  • No sibling job failed genuinely, and the target finished at or after the first cancelled sibling.
  • Every failed step is a recognized gate step.
  • Every failure annotation is explained by the cancellation, and exit-code notices do not exceed the recognized steps that ran.

Any read error is caught in isCancellationInduced and the follow-up is posted. No dedupe claim is made, so a later genuine failure on the same head is still reported.

✅ The fake Docker transport preserves its contract — fakeDockerClient forwards argv and only the FAKE_DOCKER_* variables over NUL-delimited fields, then replays stdout, stderr and the exit status. A dedicated test runs it with only bash on PATH, including empty arguments and arguments containing spaces. It also checks that an unreachable daemon fails with exit 125 rather than passing silently. Requests are handled synchronously, so state updates stay serialized as they were with the old per-process fake.

Merge blockers

No merge blockers.

Suggestions

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

S12: 🟢 Job deadline bounds only plan creation

PROPR_E2E_DEADLINE_EPOCH_MS stops only plan creation in planGeneration.ts. Later phases ignore it:

  • the sequential suite's up-to-10-minute issue polling;
  • the model-matrix implementation phase, with tasks of up to 30 minutes each;
  • the remaining E2E suites.

The latest nightly full suite took about 64 minutes, and the per-suite timeouts are now larger: about 24 minutes each for greenfield and brownfield, 38 for sequential and 60 for the matrix. A slow run can therefore still reach the 120-minute job timeout. The upload step's !cancelled() condition would then skip diagnostics. It would help to have the later phases also check the job deadline, or to skip remaining slow suites once it passes. This is optional: these phases were already unbounded by the job before this PR, and typical runs fit.

S13: 🟢 Confirm no other consumer runs fake-docker.mjs as an executable

fake-docker.mjs used to act on process.argv when run directly. It is now a module that only exports functions, so node fake-docker.mjs <args> would exit 0 with no output. Any remaining caller that still used it as a docker binary would pass silently instead of exercising the fake. I could not search the repository for such callers. A quick grep, or a guard that fails when the module is run as a main script, would rule this out.

S14: 🟢 The bash client depends on /dev/tcp support

fakeDockerClient requires bash built with network redirections. Stock Linux and macOS builds have them, and a missing feature fails loudly with exit 125 ("fake docker daemon unreachable"). On an unusual runner, though, every harness case would fail with that generic message. A one-time preflight that reports the specific cause, or skips the suite, would make such a failure easier to diagnose.

S15: 🟢 Model continue-on-error step conclusions in the provenance fixtures

In pr-test-on-label.yml, Verify shards ran every discovered test exactly once runs with continue-on-error: true. The Actions API therefore likely reports that step's conclusion as success even when it failed, while the test fixture models it as failure. gateStepsThatRan still counts the step as a recognized step that ran, so the exit-code budget is unaffected. Adding a fixture with the real step conclusions, alongside the replayed annotations from run 38090559848, would lock in that behaviour.

S16: 🟢 Attempts with more than 100 jobs always post

listAttemptJobs requests one page of 100 jobs and returns null when total_count is larger. That is safe because it fails toward posting the follow-up. However, a larger shard matrix would quietly disable the suppression and bring back the follow-up/cancel feedback loop. Paginating the listing, or logging when the cap is hit, would avoid that surprise.

Score

No verified blockers. The changes are well tested and fail closed where correctness matters. Merge readiness depends on the pending current-head checks, and the split harness has not yet been validated on a contended nightly run.

Score: 8/10


🤖 Review Details

  • Model: Claude Opus 5.5
  • Time: 3m 11s
  • Tokens: 143,315 (135,766 in / 7,549 out)
  • Cost: $0.83

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 S12 S13 S14 S15 S16

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Run E2E Test Suite

Please investigate and fix this CI failure.

Failure evidence

.github:11
Process completed with exit code 1.

.github:113662
Process completed with exit code 1.

propr-ui/src/App.hostedFlow.test.tsx:114 — src/App.hostedFlow.test.tsx > HostedFlowRouteSync > preserves router state.from when inserting flow during route normalization
TestingLibraryElementError: Found multiple elements by: [data-testid="location"]

Here are the matching elements:

Ignored nodes: comments, script, style

/tasks?status=open

Ignored nodes: comments, script, style

/login?logged_out=true&flow=be6a4c12-33e7-42a2-89d8-dc55cb54b060

(If this is intentional, then use the *AllBy* variant of the query (like queryAllByText, getAllByText, or findAllByText)).

Ignored nodes: comments, script, style

Settings
/tasks?status=open
tasks
/login?logged_out=true&flow=be6a4c12-33e7-42a2-89d8-dc55cb54b060
/plans?status=open&sort=updated#details
login

Ignored nodes: comments, script, style

Settings
/tasks?status=open
tasks

@propr-dev

propr-dev Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit c0e93ec

Summary of Changes

I fixed the CI failure by changing only propr-ui/src/App.hostedFlow.test.tsx. No assertion changed, and no test got a longer timeout.

Cause. The full job log has two failures in App.hostedFlow.test.tsx, and the second is a knock-on effect of the first:

  • First failure: the first test failed with Test timed out in 5000ms (line 37). Each test resets the module cache and then imports ./App. The first import pays the one-time cost of compiling App and everything it imports, and on the busy CI machine that took longer than the 5-second test limit.
  • Second failure: the timed-out test's code kept running after it was cancelled, so its page content appeared after the cleanup step. That left two location elements on the page when the next test ran, which is the "Found multiple elements" error in the request.

This PR never touches propr-ui, and the same file passed in the PR's sharded CI. It's a load-dependent timing problem in an existing test, not something the PR's changes caused.

Fix. I added a one-time setup step (beforeAll) that imports ./App once with a 60-second limit. Each test still resets modules and imports its own fresh copy of ./App, so the tests stay isolated. But the compiled code is already cached, so the per-test import is quick and stays well inside 5 seconds.

Verification.

  • Locally, the first test dropped from 1745 ms to 74 ms. The one-time compile now happens in the setup step.
  • All 5 tests in the file pass.
  • eslint and tsc --noEmit run clean on propr-ui.

No visual preview, since this only changes a test.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-dev[bot]
  • Time: 4m 28s
  • Tokens: 407,152 (403,408 in / 3,744 out)
  • Cost: $0.33

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: 6104587090✓

…ostedFlow.test.tsx`. No assertion changed, and no test got a longer timeout.

I fixed the CI failure by changing only `propr-ui/src/App.hostedFlow.test.tsx`. No assertion changed, and no test got a longer timeout.

**Cause.** The full job log has two failures in `App.hostedFlow.test.tsx`, and the second is a knock-on effect of the first:
- **First failure:** the first test failed with `Test timed out in 5000ms` (line 37). Each test resets the module cache and then imports `./App`. The first import pays the one-time cost of compiling App and everything it imports, and on the busy CI machine that took longer than the 5-second test limit.
- **Second failure:** the timed-out test's code kept running after it was cancelled, so its page content appeared after the cleanup step. That left two `location` elements on the page when the next test ran, which is the "Found multiple elements" error in the request.

This PR never touches `propr-ui`, and the same file passed in the PR's sharded CI. It's a load-dependent timing problem in an existing test, not something the PR's changes caused.

**Fix.** I added a one-time setup step (`beforeAll`) that imports `./App` once with a 60-second limit. Each test still resets modules and imports its own fresh copy of `./App`, so the tests stay isolated. But the compiled code is already cached, so the per-test import is quick and stays well inside 5 seconds.

**Verification.**
- Locally, the first test dropped from 1745 ms to 74 ms. The one-time compile now happens in the setup step.
- All 5 tests in the file pass.
- `eslint` and `tsc --noEmit` run clean on `propr-ui`.

No visual preview, since this only changes a test.

PR: #2953
Comment by: @propr-dev[bot] (ID: 6104587090)
Model: Claude Opus 5.5
@integry

integry commented Oct 11, 2026

Copy link
Copy Markdown
Owner

/review

Please independently review exact c0e93ec and its single test-file delta after the actual nightly failure. Original nightly38100904672:794/795units passed; App.hostedFlow first test5000ms timeout then staleDOM caused multiple location elements; liveE2Eskipped. New beforeAll warms the App transform graph with a separate60000ms setup limit; all per-test5000ms limits, resets, routing/security assertions must remain unchanged. Check whether this addresses cold imports and late rendering without hiding production issues. Original planning/cancellation fixes must remain intact. Fresh cold-cache two-CPU UI shard validation is being prepared; no full-nightly pass yet.

@propr-dev

propr-dev Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — claude:claude-opus-5-5

Overall Evaluation

This cycle changes one file, propr-ui/src/App.hostedFlow.test.tsx. It adds a beforeAll that imports ./App once, with its own 60 000 ms hook limit. The goal is to keep cold-transform cost out of the first test's 5 000 ms budget. In nightly 38100904672, that test timed out, and the stale render it left behind made later tests find multiple location elements.

Vitest's vi.resetModules() clears the module registry, which forces re-evaluation. It does not clear vite-node's transform cache. So the per-test await import('./App') after the reset in beforeEach re-evaluates already-transformed modules instead of re-transforming the whole App graph. That targets the cold-import cost observed in the nightly.

The delta leaves the test's routing and security logic alone:

  • beforeEach(() => vi.resetModules()) is unchanged.
  • No per-test timeout is raised.
  • No assertion is removed or relaxed.

The production code is untouched, so this cannot hide a production defect. A genuinely slow or broken production render would still fail the unchanged 5 000 ms per-test limit.

The earlier work also remains intact:

  • Plan generation: the operation deadline and cancellation in test/e2e/planGeneration.ts.
  • Cancellation provenance: the checks in ciCancellationProvenance.ts. The target's own conclusion is checked in the evidence, in the fetched job, and in the attempt listing via failedAfterSiblingCancellation.
  • Integration harness: the split files and the in-process fake Docker transport.

Limitations: I could not see the full test file body, and I did not run anything. CI shards are still pending, and no full nightly has passed at this head. Merge readiness is therefore conditional on the cold-cache UI shard validation and the pending checks.

✅ Warm-up isolated from per-test budgets — The warm-up's 60 000 ms limit is passed only to beforeAll, so every it keeps its existing 5 000 ms limit and the cold-start cost is no longer charged to the first test.

✅ Module isolation preserved — vi.resetModules() still runs before each test, so each test still gets a fresh evaluation of App (fresh module state) on top of the warmed transform cache.

✅ Earlier fixes untouched — The target-conclusion checks (isEligibleTargetConclusion on the evidence, the fetched job and the listed job) and the deadline checkpoints after each response in call() are unchanged by this delta.

Merge blockers

No merge blockers.

Suggestions

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

S17: 🟢 Guard against late renders from timed-out tests

The warm-up removes the most likely cause of the first-test timeout. It does not remove the mechanism behind the secondary "multiple location elements" failure. If any test exceeds 5 000 ms again, its pending waitFor or render can still finish after Testing Library's automatic cleanup. That late render then pollutes the next test's screen queries.

Two options would contain this:

  • Scope location queries to the container returned by each test's own render.
  • Assert that document.body is empty at the start of each test.

Either keeps a single timeout from cascading into misleading failures. This is optional because the primary trigger is now addressed.

S18: 🟢 Confirm the eager import has no observable side effects

The beforeAll import evaluates App once against whatever globals are present at hook time. That may be the real jsdom storage rather than the per-test memoryStorage. If App's top-level code touches localStorage, registers listeners, or reads location, those effects happen before any test-specific stubs are installed.

The effects run outside the module registry, so vi.resetModules() does not undo them. I could not verify App's top-level side effects from the supplied excerpt. A brief comment, or a check that module evaluation is side-effect-free, would make the warm-up safe against future changes to App.

S19: 🟢 Record cold-cache validation evidence

The rationale depends on the transform cache surviving vi.resetModules() in the Vitest version in use. Once the planned cold-cache two-CPU UI shard validation finishes, linking the per-test durations (first test before and after) in the PR would document that the 5 000 ms budget now has headroom. It would also help tell contention from regression in future nightly failures.

Score

No verified blockers: the delta is a narrowly scoped test-harness change that preserves per-test limits, resets and assertions, and leaves the earlier planning and cancellation fixes intact. Readiness is conditional on the pending shards and the cold-cache UI validation, since no full nightly has passed yet.

Score: 8/10


🤖 Review Details

  • Model: Claude Opus 5.5
  • Time: 1m 16s
  • Tokens: 137,677 (135,217 in / 2,460 out)
  • Cost: $0.73

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 S17 S18 S19

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Run E2E Test Suite

Please investigate and fix this CI failure.

Failure evidence

.github:11
Process completed with exit code 1.

.github:113434
Process completed with exit code 1.

.github:6
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@11d5960. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

@propr-dev

propr-dev Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 69af8fd

Summary of Changes

I fixed the failure. The nightly run hit a test bug in packages/core/test/taskSubmissionService.test.ts, not a problem in this PR's code.

What failed: In nightly run 38105782983, 794 of 795 test units passed. The one failure was test 8, "a terminated dispatch owner releases exclusion so concurrent retries resume its existing issue". Its child process crashed with ERR_INPUT_TYPE_NOT_ALLOWED before sending its "claimed" message, so the test's 10s wait for that message gave up (AbortError). App.hostedFlow.test.tsx, the target of the previous fix, passed in this run.

Cause: The test started the child with node --import tsx --input-type=module -e <script>. The code the child imports loads the logger, and outside production the logger writes through a pino-pretty background worker. That worker inherits --input-type, Node refuses to start it, and the error kills the whole child. It only fails some of the time because it races the child's "claimed" message. I reproduced the exact error locally with the old form; the file-based form stays alive.

packages/api/test/mcpPublishPlan.test.ts already hit this problem and solved it the same way, with a comment explaining it.

Fix: I changed only that test file. The test now writes the child script to owner.mjs in its temp directory and runs it with node --import tsx <file>, using resolved import paths. The child's behaviour, the 10s handshake limit, the 20s test timeout and all assertions are unchanged. This branch doesn't otherwise touch this test or taskSubmissionService.

Checks: The file passes 8/8 through scripts/run-test-suite.mjs, four runs in a row, and ESLint reports nothing for it. I haven't run the full nightly.

There's no visual change, so I didn't create previews.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-dev[bot]
  • Time: 6m 58s
  • Tokens: 891,496 (884,633 in / 6,863 out)
  • Cost: $0.55

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: 6105040974✓

…kages/core/test/taskSubmissionService.test.ts`, not a problem in this PR's code.

I fixed the failure. The nightly run hit a test bug in `packages/core/test/taskSubmissionService.test.ts`, not a problem in this PR's code.

**What failed:** In nightly run 38105782983, 794 of 795 test units passed. The one failure was test 8, "a terminated dispatch owner releases exclusion so concurrent retries resume its existing issue". Its child process crashed with `ERR_INPUT_TYPE_NOT_ALLOWED` before sending its "claimed" message, so the test's 10s wait for that message gave up (`AbortError`). `App.hostedFlow.test.tsx`, the target of the previous fix, passed in this run.

**Cause:** The test started the child with `node --import tsx --input-type=module -e <script>`. The code the child imports loads the logger, and outside production the logger writes through a pino-pretty background worker. That worker inherits `--input-type`, Node refuses to start it, and the error kills the whole child. It only fails some of the time because it races the child's "claimed" message. I reproduced the exact error locally with the old form; the file-based form stays alive.

`packages/api/test/mcpPublishPlan.test.ts` already hit this problem and solved it the same way, with a comment explaining it.

**Fix:** I changed only that test file. The test now writes the child script to `owner.mjs` in its temp directory and runs it with `node --import tsx <file>`, using resolved import paths. The child's behaviour, the 10s handshake limit, the 20s test timeout and all assertions are unchanged. This branch doesn't otherwise touch this test or `taskSubmissionService`.

**Checks:** The file passes 8/8 through `scripts/run-test-suite.mjs`, four runs in a row, and ESLint reports nothing for it. I haven't run the full nightly.

There's no visual change, so I didn't create previews.

PR: #2953
Comment by: @propr-dev[bot] (ID: 6105040974)
Model: Claude Opus 5.5
@integry

integry commented Oct 11, 2026

Copy link
Copy Markdown
Owner

/review codex

Please independently review exact head 69af8fd, especially the single-file delta from c0e93ec in packages/core/test/taskSubmissionService.test.ts. Verify that the file-based child removes the inherited --input-type worker failure without weakening the live-owner exclusion, terminated-owner recovery, existing-issue identity, concurrent retry, exactly-once dispatch, deadlines, or cleanup assertions. Check temp-file ESM import resolution and supported Node behavior. This is read-only review; do not implement, merge, publish, or deploy.

Operator inspection confirms this delta changes only that test file; production source and lockfile are unchanged. One independent local run at this exact worktree using Node v22.23.0 and reused unchanged locked dependencies passed 8/8, zero skips/failures. This is scoped evidence; the original Node v22.23.2 nightly remains failed (794/795; live E2E skipped). A fresh complete nightly remains required. Keep the original failure evidence and avoid describing this focused pass as full nightly qualification.

@propr-dev

propr-dev Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex

Overall Evaluation

The file-based child is a sound, localized fix for the inherited --input-type failure. I found no verified code blocker in the supplied diff. Full nightly qualification remains outstanding, so I would not yet call the overall nightly-health objective complete.

✅ Worker-compatible launch — spawn(process.execPath, ['--import', 'tsx', script]) removes the explicit --input-type=module argument that workers inherit. The .mjs extension supplies ESM semantics without that flag.

✅ Temporary-file import resolution — knex is resolved from the test module, and the service import uses an absolute file URL derived from import.meta.url. Neither import depends on finding repository dependencies relative to the temporary directory. These APIs are supported on Node 22 and 24; the existing tsx preload remains.

✅ Narrow assertion-preserving delta — The supplied delta changes child-script construction and invocation, retaining its database configuration, dispatch callback, IPC notification, and 10-second notification deadline. It does not edit the surrounding ownership, retry, dispatch, or cleanup assertions.

This was a static review only; I ran no commands and modified no files. The complete task-submission test was not supplied, so I cannot independently certify the adequacy of its surrounding live-owner exclusion, terminated-owner recovery, existing-issue identity, concurrent retry, exactly-once dispatch, and cleanup assertions—only that this delta does not change them.

Merge blockers

No merge blockers.

Suggestions

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

S20: 🟢 Complete nightly qualification

Retain the original Node v22.23.2 nightly failure as evidence: 794/795 units passed and live E2E was skipped. The reported exact-head Node v22.23.0 result—8/8 passing with unchanged locked dependencies—is useful focused evidence, but does not establish full-suite or live-E2E health. A fresh complete nightly would close that verification gap; this is validation follow-up, not a requested code change.

S21: 🟢 Inspect full ownership regression

When repository inspection is available, confirm that the temporary owner.mjs resides within the directory removed by existing cleanup, and inspect the complete ownership/recovery assertions at the requested head. The supplied patch indicates those protections are unchanged, but their full implementations are outside the provided context. No additional assertion or cleanup defect is demonstrated here.

Score

The localized fix is technically sound on static inspection, and the authoritative current checks show no failures, with 11 pending. The incomplete nightly qualification and unavailable surrounding test body leave a material verification gap.

Score: 7/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 2m 1s
  • Tokens: 98,645 (97,863 in / 782 out)
  • Cost: $0.91

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 S20 S21

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Full Test Suite Shard 4/4

Please investigate and fix this CI failure.

  • Check: Full Test Suite Shard 4/4
  • Result: failure
  • Commit: 69af8fdbc872 (69af8fdbc8720c8bcf46ce175380dfc2c1b9cb82)
  • Details: View CI failure

Failure evidence

.github:21
Process completed with exit code 1.

.github:23789
Process completed with exit code 1.

.github:2
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@11d5960. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

@propr-dev

propr-dev Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor Author

❌ Failed to apply follow-up changes requested by @propr-dev[bot]

An error occurred while processing your request:

Agent execution failed: Failed to authenticate: OAuth session expired and could not be refreshed

Comment ID: 6105305325✓
Please check the logs for more details.

@propr-dev

propr-dev Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Run Full Test Suite

Please investigate and fix this CI failure.

Failure evidence

.github:68
Process completed with exit code 1.

.github:67
Shard coverage verification finished with result 'failure'.

.github:66
Full test suite shards finished with result 'failure'.

@propr-dev

propr-dev Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor Author

❌ Failed to apply follow-up changes requested by @propr-dev[bot]

An error occurred while processing your request:

Agent execution failed: Failed to authenticate: OAuth session expired and could not be refreshed

Comment ID: 6105315418✓
Please check the logs for more details.

@integry integry closed this Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nightly test health

1 participant