Skip to content

image: construct-brand at r5 in the lock, and a test that the locks follow the recipes - #47

Merged
aledbf merged 2 commits into
mainfrom
construct-brand-lock
Nov 9, 2026
Merged

aledbf merged 2 commits into
mainfrom
construct-brand-lock

Conversation

@aledbf

@aledbf aledbf commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

The release failed in test:usb → rootfs:

construct-brand-0_git20261005-r5.apk disqualified because "0_git20261005-r5" does not satisfy "construct-brand=0_git20261005-r4"

#45 raised the epoch without running task lock, which AGENTS.md requires for a changed recipe.

  • task build -- construct-brand, then task lock: the diff is only construct-brand=0_git20261005-r5 in image/apko.lock.yaml; both roots built, and check-lock passed for rootfs.tar and initrd.tar.
  • TestLocksPinRecipesAtTheirBuild: every package a lock pins under recipes/' packages that is a recipe's own package is pinned at that recipe's version-r<epoch>. It fails against main's lock ("pins construct-brand=0_git20261005-r4, its recipe builds 0_git20261005-r5") and passes with this one. task check passes.

Subpackages are not compared: their names do not always start with their recipe's name.

🤖 Generated with Claude Code

aledbf and others added 2 commits November 8, 2026 21:05
The epoch was raised in os#45 without task lock, so apko on the release
builder refused the r5 it built against the lock's r4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TestChangedRecipesBumpVersionOrEpoch asks for a new version or epoch,
and nothing checked that the lock followed: the release builder found
construct-brand at r5 against the lock's r4. The test fails it on the
pull request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aledbf
aledbf merged commit e7617fc into main Nov 9, 2026
5 checks passed
@aledbf
aledbf deleted the construct-brand-lock branch November 9, 2026 00:16
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.

1 participant