Repository navigation
ci: fix reusable workflow inputs after upstream integration - #4
Merged
Merged
Conversation
build-manager.yml passes the PR-build signing key to build-lkm.yml as expected_size2/expected_hash2, but cec8cc4 replaced build-lkm.yml's inputs with upstream's package_name/expected_size/expected_hash and forwarded package_name to ddk-lkm.yml, which does not declare it. GitHub rejects the run at startup (startup_failure). Restore build-lkm.yml to its pre-cec8cc4e form: accept expected_size2/hash2 and forward them to ddk-lkm.yml as *2 (secondary/PR signature), pin ddk_release 20260313, and drop android17-6.18 from the matrix since no ghcr.io/ylarod/ddk-min:android17-6.18-20260313 image exists.
cec8cc4 added 'mv ksuinit-riscv64/ksuinit' to ksud-extra.yml, but ksuinit.yml only builds/uploads aarch64 and x86_64, so every build-ksud-extra job failed with 'cannot stat ksuinit-riscv64/ksuinit'. The extra (host) targets don't embed a riscv64 ksuinit; restore the pre-cec8cc4e step.
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.
Problem
PR builds of Build Manager fail with
startup_failure(e.g. run 39031041935 on PR #3) because reusable-workflow inputs no longer match after cec8cc4 ("Integrate upstream and expressive workflows [skip ci]"). actionlint on main reports:build-manager.yml:97-98passesexpected_size2/expected_hash2tobuild-lkm.yml, which now only declarespackage_name,expected_size,expected_hash.build-lkm.yml:37passespackage_nametoddk-lkm.yml, which does not declare it (it hasexpected_size/hash,expected_size2/hash2,manager_package,ddk_release,kmi).Main's commits since then were
[skip ci], so this was never caught.husky-release.ymlcallsddk-lkm.ymldirectly and is unaffected (not changed here).Fix: restore
build-lkm.ymlto its pre-cec8cc4e form*2instead ofexpected_*: before cec8cc4, PR builds passed the throw-away PR keystore (generated ingenerate-key, CN=KernelSU PR Build) asexpected_size2/hash2→ddk-lkm.yml→KSU_EXPECTED_SIZE2/HASH2, i.e. the secondary / PR manager signature.ddk-lkm.ymlstill treats*2as the PR slot (when only*2is set it also setsKSU_IS_PR_BUILD=1andKSU_PACKAGE_NAME=me.weishu.kernelsu.pr), whileexpected_size/hashis the production primary slot thathusky-release.ymlpins to the HuskySU release key (with an explicit "do NOT set SIZE2/HASH2" comment). Feeding the PR key into the primary slot would blur that distinction, so the PR key stays on*2, same as before.package_namedropped (no caller set it;ddk-lkm.ymlhas no such input — the equivalent ismanager_package).ddk_release: '20260313'pinned as before.android17-6.18dropped from the matrix: there is noghcr.io/ylarod/ddk-min:android17-6.18-20260313image (only-20260828), and the fork'sddk-lkm.ymlx64 path has no 6.18MO=handling yet. Supporting android17 needs the full upstream ddk bump (build: bump ddk to 20260828, support android17-6.18 tiann/KernelSU#3663) and is left for a follow-up.Validated with
actionlint(0 findings).Follow-up commit (1d6f796)
ksud-extra.yml(also from cec8cc4) didmv ksuinit-riscv64/ksuinit, butksuinit.ymlonly builds aarch64/x86_64, so allbuild-ksud-extrajobs failed (cannot stat ksuinit-riscv64/ksuinit, run 39031381273). The host targets built there do not embed a riscv64 ksuinit; restored the pre-cec8cc4e step. Run 39032372395: all jobs green.