Repository navigation
ci: build and publish a Debian 14 (forky) package beside trixie - #17
Merged
Merged
Conversation
Generate a second build job in debian:forky from the same upstream steps. Forky shares Ubuntu 26.04's library generation (libgpgme45, libnet9, libfuse3-4, the t64 names), so the forky job runs the ubuntu-26.04 branches of builds.yml with OS_NAME and PKGOS pinned to debian-14, adds CODENAME=forky, and appends ~deb14 to the version. apt-publisher publishes a ~deb14 version to forky only (frostyard/core ADR-0055). The forky build has its own release and publication request, so a forky failure never blocks the trixie release. The trixie build job, its release and its request do not change; only 1 comment in the trixie release job changes. The generator fails loudly when an upstream pattern that a forky rewrite needs disappears. Refs frostyard/core Plan 0009 Phase 6 (docs/plans/0009-debian-publication-through-apt-publisher.md). Signed-off-by: frostyard-machines <[email protected]>
libnvidia-container runs rpcgen. In trixie, libc6-dev depends on rpcsvc-proto, which ships it; in forky it no longer does, so the forky build stopped at 'rpcgen: not found'. The trixie job does not change. Signed-off-by: frostyard-machines <[email protected]>
tests/test_sync_docker_build.py runs the generator on a temporary copy and checks that the committed builds-docker.yml matches it, that the trixie jobs keep their trixie values, and that the forky job gets each rewrite. Each missing upstream pattern must stop the generator. The Check the packages scripts of release and release-forky run against fake .deb files: a correct set passes with the right tag, and each wrong set fails. The Generator workflow runs the tests on pull requests and on pushes to stable. Signed-off-by: frostyard-machines <[email protected]>
The review of the forky generator found that its fail-closed rewrites and release checks had no committed negative tests; .memory/corrections.jsonl records that lesson, with tests/test_sync_docker_build.py as its guard. The bytecode that a local test run wrote is removed and ignored. Signed-off-by: frostyard-machines <[email protected]>
frostyard/core ADR-0081 stores each correction in a file of its own under .memory/corrections/; this repository had no corrections.jsonl, so the record starts in the new layout. Signed-off-by: frostyard-machines <[email protected]>
Author
|
Cross-review:
|
bketelsen
approved these changes
Nov 13, 2026
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.
Summary
frostyard/core Plan 0009 Phase 6 (docs/plans/0009-debian-publication-through-apt-publisher.md) adds Debian 14
forkybesidetrixie. incus links distribution libraries, so it needs a separate Debian 14 build whose version carries~deb14(core ADR-0055).sync-docker-build.pygenerates a second build job, Build Incus (Debian Forky), indebian:forky, from the same upstream steps as the trixie job.libgpgme45,libnet9,libfuse3-4, the t64 names, the virglrenderer build). So the forky job pinsOS_NAME/PKGOStodebian-14and points theubuntu-26.04operands of theifconditionals atdebian-14. TheCODENAME=resoluteline does not change;CODENAME=forkyis added.1:<incus>-debian14-<UTC minute>~deb14. Its release tag drops the epoch and~deb14(git tags cannot hold~), for example7.6-debian14-202611131200.release-forkyandrequest-publication-forkyare separate from the trixie jobs, so a forky failure never blocks the trixie release. The forky release uses--latest=false, so the trixie release stays the latest. The request names["forky"].CODENAME=trixieline, thedchdate stamp,PKGOS: ${{ matrix.os }}, the artifact name, theubuntu-26.04operands).Trixie does not change. Against
stable,builds-docker.ymlonly adds lines, except 4 comment lines in the trixiereleasejob that said it is registered for trixie only. The trixie build job (a required check), its version, its release and its request are byte-for-byte the same.Order
frostyard/apt-publisher must register incus for
forkybefore the first forky request after this merges (frostyard/apt-publisher#50). Until then,request-publication-forkyfails and publishes nothing; the trixie jobs are not affected.Checks
libc6-devno longer depends onrpcsvc-proto, so the first forky build failed in libnvidia-container withrpcgen: not found. The forky job now installsrpcsvc-proto.tests/test_sync_docker_build.py(17 tests, standard library only) runs in the new Generator workflow on every PR and every push tostable. It covers:Check the packagesscripts ofrelease-forky(1 valid set with its tag, 9 wrong sets) and ofrelease(1 valid set, 1 wrong set), with fake packages.python3 sync-docker-build.pytwice. The output is the same both times, and it matches the committedbuilds-docker.yml.debian:forkywithapt-cache showthat every build dependency and every runtimeDependsname exists there.actionlintreports no actionlint errors. The shellcheck notes are the same kind that the trixie job already has: the steps repeat, so there are more of them.4740865:Build Incus (Debian Trixie)andBuild Incus (Debian Forky)pass.Risk paths (
risk:high).github/workflows/builds-docker.yml(L1, publication): adds the forky build, release and publication jobs. The trixie jobs do not change, so trixie publication is safe. The forky jobs write only a new release with its own tag and requestforkyonly. apt-publisher refuses a~deb14package for trixie.sync-docker-build.py(L1, publication): it generates the file above. The trixie output is the same, and every forky rewrite fails closed. The only other change is a docstring line that names the tests.Generatorworkflow, the tests and.memory/are outside the risk list. The workflow has read-only permissions and a pinned checkout withpersist-credentials: false.