Skip to content

feat: install chairlift from its GitHub Release RPM - #51

Closed
hanthor wants to merge 4 commits into
mainfrom
feat/add-chairlift
Closed

hanthor wants to merge 4 commits into
mainfrom
feat/add-chairlift

Conversation

@hanthor

@hanthor hanthor commented Sep 8, 2026

Copy link
Copy Markdown
Member

Summary

Adds chairlift (Go/GTK4/Libadwaita system management tool, now owned by projectbluefin) to the Utah image, installed the same way uupd already is — curl the GitHub Release RPM, verify its digest, install with dnf5/dnf.

Doesn't go through the utah-packages factory: that rebuilds Fedora's own desktop stack from dist-git recipes, which doesn't fit an independently-released Go project with its own RPM already published to GitHub Releases (chairlift's own release.yml).

Installs the self-contained projectbluefin-chairlift package (not -system-integration, which is for a user-scoped install alongside a separately-provided bootc-staging helper — not applicable to a full system image).

Verification

I don't have a way to run Utah's full Hummingbird-based image build locally, so this is unverified by an actual build. What I did check:

  • The RPM URL and CHAIRLIFT_SHA256 are real — downloaded and checksum-verified against v0.12.0's checksums.txt.
  • The added shell (curl + checksum + dnf5-or-dnf detection) syntax-checks clean and the checksum step verifies successfully standalone (bash -n, then ran the extracted fragment against the real downloaded RPM).
  • Mirrors the existing uupd ARG-pin/Renovate/layer-folding pattern immediately above it in the Containerfile.

Test plan

  • CI image build succeeds
  • Installed image boots with chairlift launchable from the app grid

chairlift (projectbluefin/chairlift) is a Go/GTK4/Libadwaita system
management tool now owned by projectbluefin, released straight to GitHub
Releases (its own release.yml, no external package repo). It doesn't fit
the utah-packages factory, which rebuilds Fedora's own desktop stack from
dist-git recipes for an independently-shipped project like this one — so
it's installed the same way uupd already is here: curl the release asset,
verify its digest, and install it, folded into the same RUN layer per this
Containerfile's own layer-cost discipline.

Installs the self-contained `projectbluefin-chairlift` RPM (not the
`-system-integration` variant, which is for a user-scoped install alongside
a separately-provided bootc-staging helper — Utah is a full system image,
so the self-contained package is the right one).

CHAIRLIFT_VERSION/CHAIRLIFT_SHA256 follow the same ARG pin + Renovate
pattern as UUPD_VERSION/UUPD_SHA256 immediately above them.
@hanthor

hanthor commented Sep 8, 2026

Copy link
Copy Markdown
Member Author

The image build fails, but at STEP 10/32 — the install -m 0755 .../utah-scripts/... step, which is far before this PR's change and unrelated to it. Confirmed pre-existing: the most recent main-branch build (run 34166640422, before this PR existed) fails identically at the same step with the same error. All four image variants (main + 3 kernel flavors) fail this way on main already. This PR's own change was never reached.

github-actions Bot and others added 2 commits September 8, 2026 23:48
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: sec-check[bot] <sec-check[bot]@users.noreply.github.com>
@znmeb

znmeb commented Sep 10, 2026

Copy link
Copy Markdown

Is Utah going to have a way for end users to layer an RPM? Chairlift isn't the only package where the "latest/best" RPMs are produced by the upstream. Some, for example, Xpra and NVIDIA, also provide repositories.

Signed-off-by: sec-check[bot] <sec-check[bot]@users.noreply.github.com>
@hivecommons-hive

Copy link
Copy Markdown
Contributor

[scanner] CI root cause for the red image builds: dash-to-dock make needs sassc, which no configured repo provides — main is red the same way. Fix PR: #53 (precompiled stylesheet + drift guard). Once that lands, rebase/merge main to go green. Details: #52

🐝 Hive Agent: scanner | Instance: hosted-projectbluefin-knuckle-gjvq | SHA: unknown

— hive: agent=scanner backend=copilot model=kimi-k3

@hivecommons-hive

Copy link
Copy Markdown
Contributor

[scanner] Build Utah fails identically on main: the Containerfile script-install step breaks on missing /usr/local/libexec parent dirs — fix is pending review in utah#56. This PR goes green after utah#56 merges and CI reruns.

🐝 Hive Agent: scanner | Instance: hosted-projectbluefin-knuckle-gjvq | SHA: unknown

— hive: agent=scanner backend=copilot model=kimi-k3

@hivecommons-hive

Copy link
Copy Markdown
Contributor

[scanner] build_main/build_kernel failures are not caused by this digest bump: utah-install-packages fails with "No match for argument" for many packages (adw-gtk3-theme, alsa-firmware, containerd, fzf, ...) because the Utah package factory does not ship them yet. Blocked on utah-packages#51 / utah-packages#70 (add the required recipes). Re-run after the factory PRs land.


scanner agent (ACMM L5 — hold-gated mode)

🐝 Hive Agent: scanner | Instance: hosted-projectbluefin-knuckle-gjvq | SHA: unknown

— hive: agent=scanner backend=copilot model=kimi-k3 copilot=1.0.78

@hanthor hanthor left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Digest and URL verified against the real release

Checked the pin rather than trusting it:

$ curl -sSL https://github.com/projectbluefin/chairlift/releases/download/v0.12.0/checksums.txt \
    | grep 'projectbluefin-chairlift-0.12.0-1.x86_64.rpm'
56109c3b5955cc4c8f9a94e7e56dd6cf5f79f4ed2a4687847d13c4fdc802838b  projectbluefin-chairlift-0.12.0-1.x86_64.rpm

Matches CHAIRLIFT_SHA256 exactly. The URL template also renders correctly — ${CHAIRLIFT_VERSION#v} turns v0.12.0 into 0.12.0, producing projectbluefin-chairlift-0.12.0-1.x86_64.rpm, which is the asset name in checksums.txt. The sha256sum --check --strict runs before dnf install, matching the existing UUPD_SHA256 pattern directly above it.

The choice of projectbluefin-chairlift over -system-integration is right for a full system image, and the reasoning for bypassing the utah-packages factory (an independently-released Go project with its own published RPM, versus a factory that rebuilds Fedora dist-git recipes) holds up.

Note: this PR also carries the main-unblocking Containerfile fix

Not mentioned in the description, but the diff includes:

-      install -m 0755 "/tmp/utah-scripts/${pair%%:*}" "/usr/local/libexec/${pair##*:}" || exit 1; \
+      install -D -m 0755 "/tmp/utah-scripts/${pair%%:*}" "/usr/local/libexec/${pair##*:}" || exit 1; \

That is the fix for the failure currently reddening main and every PR branched from it — and notably it is correct here, where #56 (the PR dedicated to this fix) has a ${pair##*:} → ${pair##:*} typo that leaves the build failing with exit 127 instead of exit 1.

Worth deciding deliberately where that line lands. Two reasonable options:

  • Let #56 carry it (it should — that is its whole subject), fix the typo there, and drop the hunk here. This PR then becomes a clean single-purpose chairlift addition.
  • Or, if #56 stalls, this is a working copy of the fix and landing it here unblocks the repo sooner.

Either way it should not land twice. #46 carries a third copy of the same change.

On the test plan

Both boxes are still unchecked, and they can't be checked yet: main@636b48e fails Build Utah at Containerfile:81 before ever reaching the chairlift step (run 34654001732). This PR's own run 34528103385 shows contract passing and all four image jobs failing.

Interesting consequence though: with the install -D fix in this branch, the image build here should get past STEP 10 — so if it is still failing, it is failing somewhere new and the log is worth reading before assuming it is the same inherited breakage.

The honesty in the Verification section about not having run a full image build is appreciated. Once the base is green this should be a short PR to confirm — the digest is right, the shell is right, and it mirrors an existing proven pattern.


Generated by Claude Code

@hivecommons-hive

Copy link
Copy Markdown
Contributor

[scanner] CI root cause: the build failures are systemic, not from this PR. utah-install-packages cannot resolve packages from the utah-packages repo (e.g. nothing provides anaconda-webui / python3-dbus-next needed by anaconda-live, hwdata/i2c-tools/libXrandr/libdrm needed by ddcutil) because the utah-packages build pipeline is currently red: its pinned quay.io/packit/packit digest was pruned upstream and Hummingbird ruby3.3/3.4/4.0 default-gems conflict. Fixes are open at utah-packages#87 (packit repin), utah-packages#83 (ruby exclusion), and utah-packages#57 (anaconda-live exclusion). Once those land and the package repo republishes, re-run here — no change needed on this branch.


scanner agent (ACMM L5 — hold-gated mode)

🐝 Hive Agent: scanner | Instance: hosted-projectbluefin-knuckle-gjvq | SHA: unknown

— hive: agent=scanner backend=copilot model=kimi-k3 copilot=1.0.78

@castrojo castrojo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved: chairlift release asset URL and sha256 checksum verified against upstream release v0.12.0; layer implementation matches existing uupd pattern.

@hivecommons-hive

Copy link
Copy Markdown
Contributor

[scanner] build_main/build_kernel failures are upstream of this PR: the image build's dnf transaction fails on 31 broken deps in the Hummingbird (utah-packages) repo — e.g. nothing provides anaconda-webui needed by anaconda-live, nothing provides hwdata needed by ddcutil. Root cause chain in utah-packages: dead SRPM lane (deleted packit image pin; fixes #85/#87), ruby default-gems conflict (#83), closure gaps (#57/#81/#89). Nothing to change here — re-run once the utah-packages fixes land and the repo republishes.

🐝 Hive Agent: scanner | Instance: hosted-projectbluefin-knuckle-gjvq | SHA: unknown

— hive: agent=scanner backend=copilot model=kimi-k3 copilot=1.0.78

@hivecommons-hive

Copy link
Copy Markdown
Contributor

build_main / build_kernel is red here for reasons external to this PR's diff: Build Utah has been failing on the default branch main since 2026-09-11. Tracked as one repository incident in #109 — evidence, root causes and handling are there. Please do not re-run or repair this check on this PR; it is deferred until that incident closes or main is green.

🐝 Hive Agent: scanner | Instance: hosted-projectbluefin-knuckle-gjvq | SHA: unknown

— hive: agent=scanner backend=copilot model=claude-opus-5 copilot=1.0.78

@hanthor

hanthor commented Sep 18, 2026

Copy link
Copy Markdown
Member Author

Closing as stale: conflicts with the Containerfile on main, which was restructured by #70's contract work, and the install approach here (a fetched GitHub Release RPM) predates the factory — chairlift belongs in projectbluefin/utah-packages as a recipe so it ships from the pinned repository like everything else. Reopen from that side when there is one.


Generated by Claude Code

@hanthor hanthor closed this Sep 18, 2026
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.

3 participants