Repository navigation
chore(lane): daily maintenance 2026-11-30 - #190
Merged
Merged
Conversation
The crate README describes what each `moon-gpui-platform` feature gives per platform, but never mentioned `gpui_platform::gpu_selection`, added in #178: on Linux and FreeBSD, with `wayland` or `x11` enabled, an application can hand the renderer an adapter and present mode before its first window (`set_gpu_selection`) and enumerate the adapter ids it accepts (`list_gpus`); without a selection the renderer picks both itself. Verified against crates/moon-gpui-platform/src/gpui_platform.rs (the cfg-gated re-export), crates/moon-gpui-linux/src/gpui_linux.rs and crates/moon-gpui-wgpu/src/gpu_selection.rs. Also read and found current: crates/moon-gpui/docs/contexts.md, README.md and docs/COMPONENT_AUDIT.md. No issue opened. Reviewed by Codex.
…Shell
Input: ShellKind::Cmd / PowerShell / Pwsh .to_shell_variable("$"), the
rewrite ShellBuilder::build and build_no_quote apply to every task
argument.
Wrong output: "%%" for cmd and "$env:" for PowerShell and pwsh, an empty
variable reference. Through ShellBuilder cmd printed %% and PowerShell
printed $env: (build) or raised a parse error (build_no_quote) where the
task asked for a literal $.
Expected output: "$" unchanged. A lone $ names no variable (POSIX sh
prints it as a literal $), and ShellKind::Nushell.to_shell_variable("$")
already returns "$", pinned by the upstream test
test_nu_shell_variable_substitution. The fix returns the input unchanged
when nothing follows the $; every other input keeps its output.
Test: shell::shell_tests::cmd_and_powershell_keep_a_lone_dollar_literal
failed before the fix (left: "%%", right: "$") and passes now.
Re-run: cargo test -p moon-util --lib keep_a_lone_dollar
Reviewer: Codex. A first, wider version also ended a $NAME at the first
non-name character ($HOME/bin -> %HOME%/bin); Codex showed it breaks cmd
names that work today ($ProgramFiles(x86), $HOME:~0,3), so that part was
dropped and filed as #189. Codex found the narrowed fix changes
exactly "$" for Cmd, PowerShell and Pwsh and regresses no other input.
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
The crate README describes what each
moon-gpui-platformfeaturegives per platform, but never mentioned
gpui_platform::gpu_selection,added in #178: on Linux and FreeBSD, with
waylandorx11enabled,an application can hand the renderer an adapter and present mode
before its first window (
set_gpu_selection) and enumerate theadapter ids it accepts (
list_gpus); without a selection the rendererpicks both itself.
Verified against crates/moon-gpui-platform/src/gpui_platform.rs (the
cfg-gated re-export), crates/moon-gpui-linux/src/gpui_linux.rs and
crates/moon-gpui-wgpu/src/gpu_selection.rs. Also read and found
current: crates/moon-gpui/docs/contexts.md, README.md and
docs/COMPONENT_AUDIT.md. No issue opened.
Reviewed by Codex.
Hunt
Input: ShellKind::Cmd / PowerShell / Pwsh .to_shell_variable("$"), the
rewrite ShellBuilder::build and build_no_quote apply to every task
argument.
Wrong output: "%%" for cmd and "$env:" for PowerShell and pwsh, an empty
variable reference. Through ShellBuilder cmd printed %% and PowerShell
printed $env: (build) or raised a parse error (build_no_quote) where the
task asked for a literal $.
Expected output: "$" unchanged. A lone $ names no variable (POSIX sh
prints it as a literal $), and ShellKind::Nushell.to_shell_variable("$")
already returns "$", pinned by the upstream test
test_nu_shell_variable_substitution. The fix returns the input unchanged
when nothing follows the $; every other input keeps its output.
Test: shell::shell_tests::cmd_and_powershell_keep_a_lone_dollar_literal
failed before the fix (left: "%%", right: "$") and passes now.
Re-run: cargo test -p moon-util --lib keep_a_lone_dollar
Reviewer: Codex. A first, wider version also ended a $NAME at the first
non-name character ($HOME/bin -> %HOME%/bin); Codex showed it breaks cmd
names that work today ($ProgramFiles(x86), $HOME:~0,3), so that part was
dropped and filed as #189. Codex found the narrowed fix changes
exactly "$" for Cmd, PowerShell and Pwsh and regresses no other input.
Fix: quiet — every open auto-found issue carries needs-human; none re-triaged.