Skip to content

Build and test Claudiu on Linux - #88

Merged
m4rocks merged 3 commits into
mainfrom
linux-support
Oct 31, 2026
Merged

m4rocks merged 3 commits into
mainfrom
linux-support

Conversation

@m4rocks

@m4rocks m4rocks commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Summary

.github/workflows/ci.yml       build and test on ubuntu-latest too, after installing GPUI's system libraries
.github/workflows/release.yml  new linux job packs an AppImage; publish uploads the linux channel
src/platform.rs                cfg gate on rebuilt_path, which Linux never calls (dead-code warning)
README.md                      Linux in the platform list, its data folder, build packages, PATH gap
src/main.rs                    client-side decorations: the top bar draws min/max/close on Linux
src/panels/workspace_view.rs   the drawn close button dispatches Quit, so it still asks about working sessions
src/platform.rs                monospace_font(): fontconfig's monospace family on Linux, since Menlo fell back to a proportional font
terminal, github, visual       use monospace_font() instead of the old FONT const

Evidence

On Pop!_OS 24.04 (COSMIC, Wayland), cargo build --locked and cargo build --release --locked finish with no warnings. cargo test --locked gives 250 passed, 0 failed, 17 ignored, and claude plugin test mod gives 12 pass. The release binary opens the main window, lists existing Claude Code sessions and shows the signed-in account. The title bar draws as a single bar with its own controls. Not yet clicked: min/max/close, resizing from the edges, and the font inside a running session.

Risk

Easy to undo. The Linux release job hasn't run yet, so the first tag push is its first test. If vpk pack fails there, the publish job waits for it and nothing gets uploaded for any platform. From a desktop launcher, Claudiu misses PATH entries that only shell startup files add (#87).

Refs #87

🤖 Generated with Claude Code

https://claude.ai/code/session_01Pc9s45c7M1dP8f8Vs6PssL

CI runs the build and the tests on ubuntu-latest as well, and a tag push
also packs a Linux AppImage for the release. The app already compiled for
Linux. Only rebuilt_path, which Linux never calls, needed a cfg gate to
keep the build free of warnings. The README lists Linux, its data folder
and the packages it needs to build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pc9s45c7M1dP8f8Vs6PssL
@vercel

vercel Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
claudiu Ready Ready Preview Oct 31, 2026 2:49pm UTC

m4rocks and others added 2 commits October 31, 2026 16:48
The main window asks for client-side decorations, so on Linux the top bar
shows minimize, maximize and close itself, and the window manager no longer
adds a second bar above it. Windows and macOS ignore the request. The close
button dispatches Quit, the same path as Ctrl+Q. Without that, gpui-kit's
default removes the window without asking about working sessions or saving
the layout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pc9s45c7M1dP8f8Vs6PssL
The terminal font was "Menlo" on every platform except Windows. GPUI on
Linux matches family names exactly and falls back to a proportional UI
font when one is missing, so Claude Code's grid broke. Linux now asks
fontconfig (fc-match monospace) for the family and uses DejaVu Sans Mono
if that fails. The font lives in platform::monospace_font, which also
covers the startup skeleton, the GitHub pane and visual cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pc9s45c7M1dP8f8Vs6PssL
@m4rocks
m4rocks merged commit 1cf8b89 into main Oct 31, 2026
5 checks passed
@m4rocks
m4rocks deleted the linux-support branch October 31, 2026 14:55

This branch was successfully deployed

1 active deployment
Preview — 968db739 Deployed Oct 31, 2026 by vercel[bot]
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