Repository navigation
chore(lane): daily maintenance 2026-11-29 - #187
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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.
(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.
auto-foundissue carriesneeds-humanfor a reason the current rules still hold.component-api's signature collector had no fix that survived review; filed as component-api: a shift or comparison in a public constant unbalances the generics count and swallows the next items #186.