Skip to content

ci: Lava job metadata improvements - #626

Draft
Matt H (mattface) wants to merge 3 commits into
qualcomm-linux:mainfrom
mattface:lava-job-kernel-metadata
Draft

ci: Lava job metadata improvements#626
Matt H (mattface) wants to merge 3 commits into
qualcomm-linux:mainfrom
mattface:lava-job-kernel-metadata

Conversation

@mattface

Copy link
Copy Markdown
Contributor

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.

@mattface Matt H (mattface) changed the title Lava job kernel metadata ci/lava: Lava job metadata improvements Sep 9, 2026
@mattface Matt H (mattface) changed the title ci/lava: Lava job metadata improvements ci: Lava job metadata improvements Sep 9, 2026
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

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>
@mattface
Matt H (mattface) marked this pull request as draft September 9, 2026 19:51
@mattface

Copy link
Copy Markdown
Contributor Author

Relies upon qualcomm-linux/pkg-linux-qcom#102 which adds kernel source/commit/ref to the linux package metadata

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