Skip to content

ci: publish to forky beside trixie after a debian:forky smoke test - #19

Merged
bketelsen merged 2 commits into
mainfrom
lucilla/omarchy-forky
Nov 13, 2026
Merged

bketelsen merged 2 commits into
mainfrom
lucilla/omarchy-forky

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

frostyard/core Plan 0009 Phase 6 (docs/plans/0009-debian-publication-through-apt-publisher.md) adds Debian 14 forky beside trixie. snosi's voxtype and moonlight sysexts need these packages on forky too.

  • The packages carry no ~debNN marker. So apt-publisher publishes the same files to every codename that the request names (core ADR-0055). The request now names ["trixie", "forky"].
  • A new job, Smoke test on Debian Forky, installs each built package in debian:forky and runs its smoke command. The release waits for it.
  • The smoke gate now proves that each app starts. The new smoke.sh fails when a recipe does not load, or when APP_SMOKE is missing or empty. It installs the recipe's test-only APP_SMOKE_DEPS, then runs the command. Both the trixie build job and the forky job call it. voxtype runs voxtype --version with no test -x fallback, and moonlight-qt runs xvfb-run -a moonlight-qt --version. smoke.sh is outside the input digest.
  • moonlight-qt was not self-contained. Its AppImage payload links the host's X11, OpenGL, VA-API, font and Kerberos libraries. The published 6.2.0 package had no Depends, and on a bare Debian 13 or 14 system it failed with libX11.so.6: cannot open shared object file. APP_EXTRA_DEPENDS now names the 15 packages that ldd reports missing over every ELF file of the payload, measured on trixie and forky. All 15 names exist in both codenames.
  • voxtype depends on libasound2t64, libc6, libgcc-s1 and libstdc++6, and forky ships all 4.
  • plan.sh can take --packages more than once, 1 index for each codename. It publishes an app that is missing or stale in any index. With 1 index, the output is byte-for-byte the same as before.

Effect after the merge

The forky main index holds no omarchy-apps package today. So the first main run after the merge publishes both apps. Both recipes changed, so their input digests change too: the new moonlight-qt with its Depends replaces the broken one on trixie. The new version also goes to trixie. keep=2 (core ADR-0067) then drops the oldest trixie version from the index; its pool file stays.

Order

frostyard/apt-publisher#50 registers omarchy-apps for forky, and it must merge first. Until it merges, a request that names forky is refused as a whole. A main run would then publish nothing, not even to trixie.

Checks

  • make ci passes locally: shellcheck, actionlint, the baseline and tests/run.sh.
  • tests/run.sh has new 2-index cases: unchanged in both, missing in the second index, and changed in the first index only. The cases fail against the old plan.sh.
  • tests/run.sh has smoke cases: a failing command, a recipe that does not load, a missing or empty APP_SMOKE, an unknown app, and the APP_SMOKE_DEPS install with a stub apt-get.
  • CI run 43489221384 prints Moonlight 6.2.0 and voxtype 1.1.1 on trixie and on forky.
  • I ran plan.sh against the live trixie and forky indexes. Both apps show changed-in=Packages-forky.

Risk paths (risk:high)

  • .github/workflows/build.yml (L1): it adds a read-only install job in debian:forky with no secrets, it fetches the forky index, and it adds forky to the request. The trixie build, the release checks and the attestation do not change.
  • plan.sh (L1): it accepts more than 1 index. An app counts as unchanged only when every index holds its current digest, so the change can only publish more, never less.
  • tests/run.sh (L2): it adds only test cases.
  • apps/moonlight-qt.sh, apps/voxtype.sh (apps/**, L1): the measured Depends and stricter smoke commands. A missing library makes the smoke fail before release.
  • build.sh (L1): comments only, which document APP_SMOKE and APP_SMOKE_DEPS. build.sh is an input of every digest, so both apps republish anyway.
  • Makefile (L2): smoke.sh is added to the shellcheck list.

The packages carry no ~debNN marker, so apt-publisher publishes the same
files to every codename the request names (frostyard/core ADR-0055).
moonlight-qt has no Depends and voxtype needs only libc6, libgcc-s1,
libstdc++6 and libasound2t64, which Debian 14 ships. A new job installs and
runs each package in debian:forky, and the release waits for it.

plan.sh now reads 1 index per codename and publishes an app that is missing
or stale in any of them, so the first main run after this change publishes
both apps to forky.

Refs frostyard/core Plan 0009 Phase 6.
smoke.sh loads the recipe with errors kept, fails on a missing or empty
APP_SMOKE, installs the recipe's test-only APP_SMOKE_DEPS and runs the smoke
command; the build and smoke-forky jobs both call it. voxtype's smoke is
voxtype --version with no fallback, and moonlight-qt's is xvfb-run -a
moonlight-qt --version. The moonlight-qt AppImage payload links host X11,
OpenGL, VA-API, font and Kerberos libraries, so APP_EXTRA_DEPENDS names the
15 packages that ldd reports missing on Debian 13 and 14; the published
6.2.0 package had no Depends and failed to start on a bare system.

Signed-off-by: frostyard-machines <[email protected]>
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Cross-review: openai/gpt-6.1-sol (coder: DeepSeek; parent review: Anthropic Claude).

  • Initial review at 378c0f331db60c4502f514eca1c7d521d96460c2: Not ready, C1 (medium, blocking): the smoke gate could pass without a working app (|| true recipe load, empty command, test -x fallbacks).
  • Re-review 1 at 99a2aa46818ff00605b1360fd8fa57c3c814dcbb: C1 resolved. Ready, no findings.
  • Guard: smoke.sh negative cases in tests/run.sh and 1 line in .memory/corrections.jsonl.
  • The fix also found that the published moonlight-qt 6.2.0 had no Depends and failed with libX11.so.6 on a bare Debian 13 or 14 system; APP_EXTRA_DEPENDS now lists the 15 measured libraries.
  • CI at 99a2aa4 is green. Run 43489221384 prints Moonlight 6.2.0 and voxtype 1.1.1 on trixie and on forky.

@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 13, 2026
@bketelsen
bketelsen merged commit 4de76c0 into main Nov 13, 2026
13 checks passed
@frostyard-machines
frostyard-machines deleted the lucilla/omarchy-forky branch November 15, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L1 Read every line ready-for-human Reviewed, CI green: ready for Brian to review and merge risk:high Touches a path in .github/risk-paths.json (core ADR-0068)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants