You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "M4n5ter (via GitHub)" <gi...@apache.org> on 2026/09/03 06:51:28 UTC
[PR] test(desktop): retire obsolete sidebar drag probe [maka]
M4n5ter opened a new pull request, #4628:
URL: https://github.com/apache/maka/pull/4628
<details open>
<summary>English</summary>
## Summary
Remove the stale Maka-side workaround for an Astryx 0.2.0 resize-handle bug and delete the compositor-sensitive Electron drag probe that existed only to protect that workaround. The remaining sidebar geometry test continues to cover Maka's own definite-height/footer invariant.
Fixes #4622
## Root cause
Astryx fixed the full-height handle grab zone in 0.4.5 and covers both hit-area geometry and negative drag deltas upstream. Maka now uses Astryx 0.5.2, but still forced the hit area's transform to `none` and repeated the vendor interaction with two synthetic drags. The reverse drag did not protect a distinct Maka contract, so retrying or instrumenting it would preserve the wrong ownership boundary rather than improve product confidence.
## Verification
- `npm --workspace @maka/desktop run e2e -- e2e/sidebar-geometry.spec.ts --workers=1` — full Desktop build passed; the retained footer test passed.
- `npm --workspace @maka/desktop run typecheck` — passed.
- `npx biome check apps/desktop/e2e/sidebar-geometry.spec.ts apps/desktop/src/renderer/styles/sidebar.css apps/desktop/src/renderer/styles/shell-layout.css` — passed.
- `git diff --check` — passed.
## AI use
- [ ] No generative tool made a substantive contribution
- [x] Generative tooling made a substantive contribution
Tool(s) and scope: OpenAI Codex traced the dependency and test history, removed the obsolete workaround and redundant test, ran verification, and prepared this pull request.
## Checklist
- [ ] Tests cover the change and fail without it — intentionally not applicable: this change removes a redundant vendor-behavior probe.
- [x] Lint, format, typecheck and the affected suites pass locally.
Does this PR entail a change in behavior?
- [x] Yes — the resize-handle hit area now uses Astryx's fixed positioning instead of Maka's obsolete override.
- [ ] No
</details>
<details>
<summary>中文</summary>
## 摘要
删除针对 Astryx 0.2.0 resize handle 缺陷的过期 Maka workaround,并删除只为保护该 workaround 而存在、依赖 compositor 时序的 Electron 拖动测试。保留的 sidebar 几何测试继续覆盖 Maka 自己负责的固定高度/footer 契约。
Fixes #4622
## 根因
Astryx 已在 0.4.5 修复全高 handle 的抓取区域,并在上游覆盖 hit-area 几何与负向拖动 delta。Maka 当前使用 Astryx 0.5.2,却仍强制将 hit area 的 transform 设为 `none`,并用两次合成拖动重复验证上游通用行为。反向拖动没有保护任何独立的 Maka 契约,因此继续加重试或诊断仪器只会保留错误的责任边界。
## 验证
- `npm --workspace @maka/desktop run e2e -- e2e/sidebar-geometry.spec.ts --workers=1` — Desktop 完整构建通过,保留的 footer 测试通过。
- `npm --workspace @maka/desktop run typecheck` — 通过。
- `npx biome check apps/desktop/e2e/sidebar-geometry.spec.ts apps/desktop/src/renderer/styles/sidebar.css apps/desktop/src/renderer/styles/shell-layout.css` — 通过。
- `git diff --check` — 通过。
## AI 使用
- [ ] 无生成式工具做出实质贡献
- [x] 生成式工具做出了实质贡献
工具及范围:OpenAI Codex 追溯了依赖与测试历史,删除过期 workaround 和冗余测试,完成验证并准备本 PR。
## 检查清单
- [ ] 测试覆盖改动且在改动前失败 — 特意不适用:本改动删除了重复验证上游行为的测试。
- [x] 本地 lint、format、typecheck 和受影响测试均通过。
本 PR 是否改变行为?
- [x] 是 — resize-handle hit area 现在使用 Astryx 已修复的定位,不再使用 Maka 的过期覆盖。
- [ ] 否
</details>
--
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] refactor(desktop): retire obsolete Astryx workarounds [maka]
Posted by "M4n5ter (via GitHub)" <gi...@apache.org>.
M4n5ter merged PR #4628:
URL: https://github.com/apache/maka/pull/4628
--
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] refactor(desktop): retire obsolete Astryx workarounds [maka]
Posted by "Astro-Han (via GitHub)" <gi...@apache.org>.
Astro-Han commented on PR #4628:
URL: https://github.com/apache/maka/pull/4628#issuecomment-5522498491
LGTM
--
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