Skip to content

chore(lane): daily maintenance 2026-11-29 - #187

Merged
kirillDevPro merged 1 commit into
masterfrom
lane/daily-2026-11-29
Nov 29, 2026
Merged

kirillDevPro merged 1 commit into
masterfrom
lane/daily-2026-11-29

Conversation

@kirillDevPro

Copy link
Copy Markdown
Collaborator

Docs

What was stale: docs/MOON_PATCH_QUEUE.md lists every patch MoonUI
carries on top of the Zed extraction, with what a re-sync would bring
back. Commit f5dc04a (#178) added two such patches and recorded
neither, so a re-sync from upstream-clean would silently drop them.

What the code does now, recorded as two entries:

  • Layer 1: moon-gpui-wgpu's gpu_selection module (re-exported as
    gpui_platform::gpu_selection on Linux/FreeBSD with wayland or x11).
    An application may name an adapter by stable id and/or a present
    mode before its first window; an explicit choice is never replaced
    but refused through on_unusable before the first renderer, logged
    and returned as an error after it. Re-sync restores the adapter loop
    without the explicit-id branch, the inline present-mode fallback and
    the resolved mode handed to recover.
  • Layer 2: X11 resize defers GPU surface rebuilds during a drag
    (x11/surface_pacing.rs, SETTLE = 150 ms): only the first size of a
    burst rebuilds at once, the rest are deferred until sizes stop, a
    Suboptimal frame is presented while a size is deferred, Lost/Outdated
    rebuild at the deferred size, recover builds at it, GPU-canvas
    scissors are clamped. Re-sync restores the unconditional
    update_drawable_size in set_bounds and the reconfigure on every
    Suboptimal frame.

Verified by reading gpu_selection.rs, wgpu_context.rs,
wgpu_renderer.rs, x11/window.rs, x11/client.rs, surface_pacing.rs and
the re-exports at master, and the re-sync claims against
origin/upstream-clean. Reviewed by Codex: it confirmed the API, gating,
refusal, logging and re-sync claims and disputed two phrasings, both
corrected (the entry no longer says "once per burst", and Suboptimal
frames are presented only while a size is deferred). No issue opened.


What was stale: docs/MOON_PATCH_QUEUE.md lists every patch MoonUI
carries on top of the Zed extraction, with what a re-sync would bring
back. Commit f5dc04a (#178) added two such patches and recorded
neither, so a re-sync from upstream-clean would silently drop them.

What the code does now, recorded as two entries:
- Layer 1: moon-gpui-wgpu's gpu_selection module (re-exported as
  gpui_platform::gpu_selection on Linux/FreeBSD with wayland or x11).
  An application may name an adapter by stable id and/or a present
  mode before its first window; an explicit choice is never replaced
  but refused through on_unusable before the first renderer, logged
  and returned as an error after it. Re-sync restores the adapter loop
  without the explicit-id branch, the inline present-mode fallback and
  the resolved mode handed to recover.
- Layer 2: X11 resize defers GPU surface rebuilds during a drag
  (x11/surface_pacing.rs, SETTLE = 150 ms): only the first size of a
  burst rebuilds at once, the rest are deferred until sizes stop, a
  Suboptimal frame is presented while a size is deferred, Lost/Outdated
  rebuild at the deferred size, recover builds at it, GPU-canvas
  scissors are clamped. Re-sync restores the unconditional
  update_drawable_size in set_bounds and the reconfigure on every
  Suboptimal frame.

Verified by reading gpu_selection.rs, wgpu_context.rs,
wgpu_renderer.rs, x11/window.rs, x11/client.rs, surface_pacing.rs and
the re-exports at master, and the re-sync claims against
origin/upstream-clean. Reviewed by Codex: it confirmed the API, gating,
refusal, logging and re-sync claims and disputed two phrasings, both
corrected (the entry no longer says "once per burst", and Suboptimal
frames are presented only while a size is deferred). No issue opened.
@kirillDevPro
kirillDevPro merged commit f5a2d60 into master Nov 29, 2026
4 checks passed
@kirillDevPro
kirillDevPro deleted the lane/daily-2026-11-29 branch November 29, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant