You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "liugddx (via GitHub)" <gi...@apache.org> on 2026/08/25 16:31:05 UTC

[I] test(desktop): stabilize Plan catalog-refresh e2e after turn completion [maka]

liugddx opened a new issue, #3814:
URL: https://github.com/apache/maka/issues/3814

   ## Summary
   
   The catalog-refresh Plan-mode Desktop e2e scenarios can observe the fake backend response and then race with the live-turn control state. The Plan menu row becomes disabled while the test is trying to click it, causing a deterministic 30-second Playwright timeout in otherwise unrelated pull requests.
   
   ## Evidence
   
   This reproduced twice on #3789, whose diff against `main` contains no files under `apps/desktop` or `packages/ui`:
   
   - [`ef6171984` run](https://github.com/apache/maka/actions/runs/32867280955/job/97865535723): `latest Plan intent still reaches the Host after a catalog refresh fails` timed out on the second `planRow.click()`; the row had `aria-disabled="true"` with the running-task description.
   - [`b11da18e7` run](https://github.com/apache/maka/actions/runs/32870919058/job/97877439151): after rebasing onto current `main`, `a failed catalog refresh keeps the committed Plan state visible` timed out on its first `planRow.click()` because Playwright observed the row as not enabled.
   
   Both runs passed planner, inventory, lint, format, build, release contracts, typecheck, workspace tests, Eval proxy, Runtime Host tests, and the separate `windows_recovery` job before Desktop e2e failed. The failures moved between adjacent scenarios, which points to a shared turn-settlement/test-barrier race rather than scenario-specific product behavior.
   
   ## Expected
   
   After the fake backend turn has actually settled, the Plan row should remain enabled long enough for these tests to exercise the intended pending/failed `sessions.list` catalog-refresh behavior.
   
   ## Suggested closure
   
   - Establish a deterministic turn-completion barrier before arming the catalog-refresh latch and clicking Plan.
   - Preserve the test's real purpose: pending and failed catalog refreshes must not lose the latest Plan intent or committed state.
   - Run the focused catalog-refresh Plan scenarios repeatedly to prove the timing race is closed.
   - Run the full Desktop e2e suite.
   
   Found while validating #3789; this issue is independent of that PR's Windows storage/ADS changes.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


Re: [I] test(desktop): stabilize Plan catalog-refresh e2e after turn completion [maka]

Posted by "liugddx (via GitHub)" <gi...@apache.org>.
liugddx commented on issue #3814:
URL: https://github.com/apache/maka/issues/3814#issuecomment-5418745448

   Fix proposed in #3836. It waits for Runtime Host to publish a known-empty runningTurnIds set before the Plan scenarios latch the next sessions.list read, preserving the original catalog-failure and queued-intent assertions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


Re: [I] test(desktop): stabilize Plan catalog-refresh e2e after turn completion [maka]

Posted by "liugddx (via GitHub)" <gi...@apache.org>.
liugddx commented on issue #3814:
URL: https://github.com/apache/maka/issues/3814#issuecomment-5419236784

   The fix is implemented in #3836 and its hosted CI is green, including the full Desktop e2e suite. The Plan/catalog-refresh scenarios passed on the latest main merge-result. Keeping #3814 open until #3836 receives maintainer review and merges; then it can be closed with the merged PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


Re: [I] test(desktop): stabilize Plan catalog-refresh e2e after turn completion [maka]

Posted by "M4n5ter (via GitHub)" <gi...@apache.org>.
M4n5ter closed issue #3814: test(desktop): stabilize Plan catalog-refresh e2e after turn completion
URL: https://github.com/apache/maka/issues/3814


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org