Repository navigation
Carry PR build artifacts inside a tar so epoch package names survive - #553
Merged
Merged
Conversation
actions/upload-artifact rejects any path containing ':', and makepkg names a package with an epoch `name-1:ver-rel-arch.pkg.tar.zst`. Every PR that built such a package (cursor-cli in the sync PRs, omasnap once it gained an epoch) failed at "Upload artifact" after a successful build, and publish then rebuilt from scratch on merge. The files now ride inside packages.tar for the artifact hop and come back out with makepkg's names untouched: pacman clients and bin/publish-artifact both require the filename to match PKGINFO, and the channels already carry these names. publish.yml still accepts bare pre-packing artifacts until the 7-day retention drains them. helpers/artifact-helpers.sh holds both halves; tests/artifact-helpers.sh covers the round trip and runs with the other self-tests.
This was referenced Sep 20, 2026
gentlemanSoup
pushed a commit
to gentlemanSoup/omarchy-pkgs
that referenced
this pull request
Sep 21, 2026
github.event.pull_request.base.sha is a snapshot taken when the PR was last pushed, not the current tip of the base branch. A reopened or rerun PR therefore builds with whatever master looked like at its last push, and a tooling fix that landed on master since then never reaches it: the daily sync PR reopened after omacom#553 merged checked out a base without helpers/artifact-helpers.sh and failed at "Pack artifact". Check out base.ref instead. The plan's diff and the empty-PR check still compare base.sha to head.sha, so the list of changed packages is unaffected; only the tooling that runs on the droplet moves to the tip.
APS6
pushed a commit
to APS6/omarchy-pkgs
that referenced
this pull request
Sep 26, 2026
Moves the pin from f7ea7ecc to the head of quattro-upstream, which adds omacom#552's reset-prepare, reset-verify, reset-commit and reset-rollback entrypoints, omacom#553's luks-slots entrypoint and recovery key handling, omacom#556's encrypt unit output to kmsg at notice, and omacom#560's snapshot restore check with its limine-snapper-sync pre and post hooks. The pin's UTC date is still 20260925, so pkgrel goes to 4. omacom#544 is not in it, so the Plymouth fragment still ships and no HOOKS baseline dependency applies.
APS6
pushed a commit
to APS6/omarchy-pkgs
that referenced
this pull request
Sep 26, 2026
…ntrypoints need omarchy-lifecycle-dispatch requires reset-* (omacom#552) and luks-slots (omacom#553) on Apple Silicon, so a runtime carrying them before this package blocks factory reset, owner setup and omarchy-drive-password on Macs.
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.
Why
actions/upload-artifact@v4rejects any path containing:. makepkg names an epoch packagename-1:ver-rel-arch.pkg.tar.zst. So every PR that builds an epoch package fails its build job at "Upload artifact" even though the build succeeded, andpublish.ymlthen rebuilds from scratch on merge.Seen on the sync PR #512 (cursor-cli, both arches, twice) and #550 (omasnap). Ten package dirs carry an epoch today: asdcontrol, cursor-cli, libfprint-git, libretro-cap32-git, libretro-database-git, libretro-fbneo-git, minecraft-launcher, omasnap, spotify, vi. All but omasnap are already published under those names, so the epochs cannot come off.
What
helpers/artifact-helpers.sh:pack_packagestars the built*.pkg.tar.zstintopackages.tar;unpack_packagesrestores them. Filenames stay exactly as makepkg wrote them, whichbin/publish-artifactand pacman clients require.build-pr.yml: pack before upload; the artifact is onepackages.tar.publish.yml: unzip into a scratch dir, then unpack intobuild-output/edge/<arch>/. Bare pre-packing artifacts still unpack until 7-day retention drains them.tests/artifact-helpers.sh: round trip with an epoch name, signature/db exclusion, legacy bare artifacts, empty inputs. Added to the self-tests job.Verified
tests/artifact-helpers.shpasses locally and in thearchlinux:base-develcontainer CI uses.node --test tests/pr-workflow-approval.cjs: 34/34.Tooling comes from the base branch in PR builds, so this PR's own build job runs the old upload step. Once merged, re-run the build on #512 and #550.