Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
4fbb094
docs(plans): add 187-slint-gui-roadmap.md
dbowm91 Oct 21, 2026
5804151
docs(plans): add 188-gui-daemon-launch-and-toolchain-boundary.md
dbowm91 Oct 21, 2026
3fc358f
docs(plans): add 189-slint-tray-and-compact-monitor-mvp.md
dbowm91 Oct 21, 2026
4ee126f
docs(plans): add 190-gui-native-qualification-packaging-and-footprint.md
dbowm91 Oct 21, 2026
53ba12c
docs(plans): register Slint desktop GUI plans 187-190
dbowm91 Oct 21, 2026
eb45029
docs(plans): keep GUI registry rows in the plan table
dbowm91 Oct 21, 2026
9029bc9
gregg: add the daemon-executable selection boundary and the isolated …
Oct 21, 2026
0f9b942
feat(gregg-gui): the Slint tray and compact monitor MVP (Plan 189)
Oct 21, 2026
ba4e048
feat(gregg-gui): qualify the GUI against the fleet and decide its pac…
Oct 21, 2026
14a4b93
docs(plans): close the Slint GUI roadmap and reconcile its invariants…
Oct 21, 2026
c716907
fix(gregg-gui): repair the Windows build, the no-tray fallback and th…
Oct 21, 2026
6d23de7
fix(gregg-gui): make the GUI's tests build on Windows and its tray ex…
Oct 21, 2026
51ebbd2
fix(gregg-gui): make the Windows tray exercise unable to pass on a mi…
Oct 21, 2026
2d79f7b
fix(gregg-gui): say why the client daemon did not attach, on stderr a…
Oct 21, 2026
713be8f
fix(gregg): give the Windows launch lock a real file to live in
Oct 21, 2026
4ce28c6
fix(gregg-gui): do not pipe a command that spawns a detached daemon
Oct 21, 2026
bfba002
fix(gregg-gui): start the core-launch check with a file handle, not a…
Oct 21, 2026
2b3f0ce
docs(plans): record how the Windows exercise avoids the handle-inheri…
Oct 21, 2026
5f087f3
docs: record the green native Windows run and its transcript
Oct 21, 2026
347b6fd
docs: record the identity probe's ten-second budget as a load sensiti…
Oct 21, 2026
c8dd4a9
docs(plans): call Plan 190 "implemented, pending release qualification"
Oct 22, 2026
b956e63
docs(plans): open Plan 191 for a tray-pulldown GUI with host management
Oct 22, 2026
0022d0b
feat(gui): make the desktop frontend one tray pulldown with host mana…
Oct 22, 2026
5c39988
docs(plans): record the Windows-only failures the GUI CI job found
Oct 22, 2026
53f45bf
docs(plans): record the green CI run as Plan 191 closure evidence
Oct 22, 2026
40f8316
docs(plans): mark Plan 191's closure gates met, with their evidence
Oct 22, 2026
d76c50a
docs(gui): drop the last present-tense "monitor window" and "Open Mon…
Oct 22, 2026
e8f894f
docs(plans): open Plan 192 and reverse the GUI's interaction model
Oct 22, 2026
ce25e35
docs(plans): tighten the Slint source citations in Plan 192
Oct 22, 2026
5aa44f5
feat(gui): open the pulldown from the tray's click and let it carry t…
Oct 22, 2026
e26a273
docs: record Plan 192's implementation, evidence and honest limits
Oct 22, 2026
f97b978
docs: record the CI run and the native placement evidence for Plan 192
Oct 22, 2026
a92a92c
feat(gui): make the pulldown read as a macOS dropdown, and fix the bl…
Oct 22, 2026
1ad466e
fix(gui): an I/O wait row is not a used share, so it draws no bar
Oct 22, 2026
ee83e43
docs(client): the desktop frontend is a tray pulldown, not a monitor …
Oct 22, 2026
d9ed7fa
docs: record the green CI run for the pulldown's revised chrome
Oct 22, 2026
703966e
feat(gui): the fleet view is a compact table, and the detail is behin…
Oct 22, 2026
7e56a3c
docs(client): the desktop frontend's fleet is a compact table
Oct 22, 2026
cf05ad0
docs: record the green CI run for the fleet table
Oct 22, 2026
f387c6c
fix(client): an unrepresentable optional capacity is omitted, not fatal
Oct 22, 2026
9932b57
feat(gui): the fleet view is a table of blocks, one block per host
Oct 22, 2026
99de6b8
docs: record the green CI run for the fleet view's blocks
Oct 22, 2026
5f1411f
refactor(client): the TUI's directional link capacity is shareable
Oct 23, 2026
62e74f9
feat(gui): the detail view is the fleet view's own block, and the win…
Oct 23, 2026
c543bd2
docs: record the green CI run for the detail view's own block
Oct 23, 2026
d0cd31c
fix(gui): the pulldown reaches over another application's full screen
Oct 23, 2026
eefdb87
docs: record the green CI run for the pulldown over the full screen
Oct 23, 2026
fcf8c66
docs(gui): the status list says what the pulldown can reach
Oct 23, 2026
22e1bce
fix(ci): the Linux tray exercise waits for the placement line
Oct 23, 2026
274da52
docs: record the green CI run for the pulldown over the full screen
Oct 23, 2026
7c19581
fix(gui): the pulldown opens against the display it is on
Oct 23, 2026
4e7c073
refactor(gui): the drag's base is one named place, and it is tested
Oct 23, 2026
fd11201
fix(gui): the drag's tests do not assume the top anchor
Oct 23, 2026
d740504
docs: record the green CI run for the pulldown's placement
Oct 23, 2026
054fffc
fix(gui): the pulldown spends no vertical space on nothing
Oct 23, 2026
7823cfe
fix(gui): the client's identity probe is retried when it cannot run
Oct 23, 2026
e303d05
fix(gui): the retry is unix-only, and the native exercise expects the…
Oct 23, 2026
5585545
docs: record the green CI run for the pulldown's new shape
Oct 23, 2026
42434e4
fix(gui): the pulldown closes when the operator clicks away
Oct 23, 2026
481cda0
fix(gui): macOS watches the mouse for the click away, not the focus
Oct 23, 2026
7065d2d
docs: record the green CI run for the click away, and re-measure the …
Oct 23, 2026
3b363ea
docs: state the window's cost in the footprint, not only in resident set
Oct 23, 2026
06c4d0a
docs: fold the tray-click note into the paragraph it belongs to
Oct 23, 2026
cb0b86c
docs: name the stale process's connection count
Oct 23, 2026
f7c3fb7
fix(gui): the scroll box reaches the bottom, and the panel is narrower
Oct 23, 2026
d4f8e90
docs: record the green CI run for the scroll box, and the new binary …
Oct 23, 2026
41a127c
docs: name the CI run for the scroll box in the plan index
Oct 23, 2026
05ed618
fix(gui): the pulldown has no ×, and the EggPool plane is always shown
Oct 23, 2026
e527c10
docs: record the green CI run for the × and the EggPool plane
Oct 23, 2026
eda88ce
fix(gui): the pulldown opens over a maximized window, and a stranded …
Oct 25, 2026
70223e3
docs: record the green CI run for the pulldown over a maximized window
Oct 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
141 changes: 141 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,144 @@ jobs:
export PATH="$HOME/.cargo/bin:$PATH"
rustc --version
cargo test -p gregg-host --all-features

gui:
# The optional Slint desktop frontend is a SEPARATE Cargo workspace: it has
# its own lockfile, its own target directory, and its own toolchain floor
# (Rust >= 1.92), so the root workspace's `cargo test --workspace` never
# sees it and the root workspace's MSRV job is unaffected.
#
# That independence is exactly why this job had to exist. A Windows-only
# compilation break in the code the GUI depends on shipped unnoticed for a
# long time and took the whole Windows build of the `gregg` crate with it;
# nothing in the root workspace's own gates could have seen it, because
# the root workspace never compiles the GUI.
#
# The job is deliberately independent of the other jobs: it checks the GUI
# workspace on its own terms and never widens the root workspace's gates.
name: GUI (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
include:
- os: macos-15
- os: windows-2022
- os: ubuntu-latest
steps:
- name: Check out sources
uses: actions/checkout@v4
timeout-minutes: 10

- name: Install Rust stable
# The GUI's own rust-toolchain.toml pins the `stable` channel, which is
# >= 1.92; `rustup` resolves a toolchain file from the working
# directory, and both the root and the GUI pin `stable`, so the same
# toolchain serves both.
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
timeout-minutes: 10

- name: Install Python
# The fleet fixture is a Python script. The Windows runner spells the
# interpreter `python`, the Unix runners spell it `python3`, so the
# interpreter is pinned here rather than assumed.
uses: actions/setup-python@v5
with:
python-version: "3.12"
timeout-minutes: 10

- name: Cache cargo registry and git
uses: actions/cache@v4
continue-on-error: true
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-gui-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-gui-cargo-
timeout-minutes: 10

# The GUI is its own workspace with its own target directory and its own
# lockfile, so it is cached under its own key. The GUI's artifacts never
# land in, and are never read from, the root workspace's target
# directory: the two have different toolchain floors and different
# feature sets, and sharing a target directory between them only
# produces cache thrash.
- name: Cache the GUI target directories
uses: actions/cache@v4
continue-on-error: true
with:
path: |
apps/gregg-gui/target
apps/gregg-gui/native/sni-host/target
key: ${{ runner.os }}-gui-target-${{ hashFiles('apps/gregg-gui/Cargo.lock', 'apps/gregg-gui/native/sni-host/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-gui-target-
timeout-minutes: 10

- name: Install the Linux build and runtime dependencies
if: runner.os == 'Linux'
# fontconfig and xkbcommon are what Slint's Linux backend links
# against; xvfb gives the GUI a display and dbus-x11 gives it a
# session bus. Without them the native exercise would be skipped
# rather than run, which is exactly what this job must not do.
#
# `libxkbcommon-x11-0` and `libxkbcommon-x11-dev` are both needed:
# the X11 backend loads `libxkbcommon-x11.so` at runtime through
# `xkbcommon-dl`, and the runtime package alone provides only the
# versioned `.so.0`. Without them the GUI panics the moment it opens
# its window.
timeout-minutes: 15
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
pkg-config \
libfontconfig1-dev \
libxkbcommon-dev \
libxkbcommon-x11-0 \
libxkbcommon-x11-dev \
libx11-dev \
xvfb \
dbus-x11 \
dbus-daemon

- name: Format check
timeout-minutes: 10
run: cargo fmt --manifest-path apps/gregg-gui/Cargo.toml -- --check

- name: Clippy
timeout-minutes: 30
run: cargo clippy --manifest-path apps/gregg-gui/Cargo.toml --all-targets --all-features -- -D warnings

- name: Test
timeout-minutes: 30
run: cargo test --manifest-path apps/gregg-gui/Cargo.toml

- name: Build release
timeout-minutes: 30
run: cargo build --manifest-path apps/gregg-gui/Cargo.toml --release

- name: Native Linux tray exercise (a real StatusNotifierItem host)
if: runner.os == 'Linux'
timeout-minutes: 15
run: |
set -euo pipefail
cargo build --release --manifest-path apps/gregg-gui/native/sni-host/Cargo.toml
cargo build --release -p gregg
xvfb-run -a --server-args="-screen 0 1280x1024x24" \
bash apps/gregg-gui/native/linux-tray.sh \
--gui "$PWD/apps/gregg-gui/target/release/gregg-gui" \
--gregg "$PWD/target/release/gregg" \
--helper "$PWD/apps/gregg-gui/native/sni-host/target/release/sni-host"

- name: Native Windows tray exercise (a native window and a tray start)
if: runner.os == 'Windows'
timeout-minutes: 15
shell: pwsh
run: |
cargo build --release -p gregg
pwsh -NoProfile -ExecutionPolicy Bypass -File ./apps/gregg-gui/native/windows-tray.ps1 -GuiPath "$PWD\apps\gregg-gui\target\release\gregg-gui.exe" -GreggPath "$PWD\target\release\gregg.exe" -Python "python"
Loading
Loading