You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "orangeCatDeveloper (via GitHub)" <gi...@apache.org> on 2026/09/16 09:56:02 UTC
[PR] test(desktop): poll the composer resting position [maka]
orangeCatDeveloper opened a new pull request, #5393:
URL: https://github.com/apache/maka/pull/5393
## Summary
`workhub-layout.spec.ts` read the composer's final gutter from a fixed 500ms sampling window after the fold click. On a loaded runner the 420ms dock animation starts late, so the last sampled frame is still in the easing tail and `toBeCloseTo(12)` sees 11.98. The window keeps its job for the motion assertions; the resting position and inset are now polled.
Seen on main in https://github.com/apache/maka/actions/runs/35075202726 after Desktop e2e moved to 3 parallel workers.
## Verification
Local repro with `Emulation.setCPUThrottlingRate` at 10x on the WorkHub renderer, this test only, 8 repeats:
```text
before:
8 failed
Expected: 12
Received: 11.9921875
at e2e/workhub-layout.spec.ts:329:35
after:
8 passed (1.8m)
```
Unthrottled full spec under CPU load: 24 passed.
## AI use
Select exactly one:
- [ ] No generative tool made a substantive contribution
- [x] Generative tooling made a substantive contribution
Tool(s) and scope: Claude Code diagnosed the easing-tail race, wrote the fix and ran the throttled repro.
## Checklist
- [x] Tests cover the change and fail without it
- [x] Lint, format, typecheck and the affected suites pass locally
Does this PR entail a change in behavior?
- [ ] Yes — described under Summary above
- [x] No
--
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: [PR] test(desktop): fix workhub fold gutter flake [maka]
Posted by "Astro-Han (via GitHub)" <gi...@apache.org>.
Astro-Han merged PR #5393:
URL: https://github.com/apache/maka/pull/5393
--
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