ci: Lava job metadata improvements - #626
Draft
Matt H (mattface) wants to merge 3 commits into
Draft
Conversation
Matt H (mattface)
force-pushed
the
lava-job-kernel-metadata
branch
from
September 9, 2026 17:14
87ec2e1 to
de984ea
Compare
Ask dpkg what it installed while building the rootfs, and read the repository, ref and commit that the Qualcomm kernel packages record in their changelog. The image then carries its own identity for anyone debugging a board, and the build exposes it as workflow outputs. Signed-off-by: Matt Hart <matthart@qti.qualcomm.com>
linux.yml takes them from the tree the kernel build cloned, since its bindeb-pkg packages record nothing; build.yml and build-on-push.yml take them from the image. build-debian.yml is left alone: its kernel differs per suite and matrix outputs are merged last-writer-wins. Signed-off-by: Matt Hart <matthart@qti.qualcomm.com>
The job name was identical for every kernel and suite, so a mainline failure was indistinguishable from a distro one without opening the job definition. Name jobs after the kernel version and suite, and record the version, repo, ref and commit in the metadata with the build URLs. Signed-off-by: Matt Hart <matthart@qti.qualcomm.com>
Matt H (mattface)
marked this pull request as draft
September 9, 2026 19:51
Matt H (mattface)
force-pushed
the
lava-job-kernel-metadata
branch
from
September 9, 2026 19:56
de984ea to
ab87644
Compare
Contributor
Author
|
Relies upon qualcomm-linux/pkg-linux-qcom#102 which adds kernel source/commit/ref to the linux package metadata |
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.
Testing some prompts with the LAVA MCP showed that the metadata we provide to LAVA is minimal at best.
This PR adds a series of fixes and template updates to add lots of useful metadata to the LAVA jobs. This helps for example when someone was looking for a mainline linux kernel boot on the RB1, and claude incorrectly decided it had not been done in LAVA, when in fact qcom-deb-images does test it.
Note, this is basically impossible to test locally.