Skip to content

ci(kernel): add stable update safeguards - #21

Merged
appcypher merged 2 commits into
krunfwfrom
appcypher/add-kernel-ci
Jul 17, 2026
Merged

ci(kernel): add stable update safeguards#21
appcypher merged 2 commits into
krunfwfrom
appcypher/add-kernel-ci

Conversation

@appcypher

@appcypher appcypher commented Jul 17, 2026

Copy link
Copy Markdown
Member

TL;DR

Add pull request builds and a daily stable-kernel monitor so outdated kernel pins or incompatible patches are caught before release.

Description

  • Build the pinned kernel on every krunfw pull request for Linux x86_64, Windows x86_64, SEV, TDX, Linux aarch64, and Linux riscv64 configurations.
  • Check the pinned kernel against the latest release in its stable series before starting the more expensive build matrix.
  • Run the same version check daily, open one tracking issue when an update is available, and close it after the pin catches up.
  • Stop the build on the first rejected or reversed patch instead of allowing a later patch to hide the failure.
  • Install cpio and xz-utils explicitly in CI and release builds instead of relying on runner defaults.
  • Update the artifact and checkout actions to their Node 24-compatible major versions.

Test Plan

  • scripts/check-kernel-version.sh reports both current and latest as 6.12.95 against the live stable repository
  • A local stable-repository fixture makes scripts/check-kernel-version.sh exit 1 for a 6.12.95 pin when 6.12.96 is available
  • scripts/apply-kernel-patches.sh applies all 37 common and TEE patches to a fresh Linux 6.12.95 tree
  • actionlint passes for kernel-ci.yml, kernel-version-monitor.yml, and release.yml
  • Kernel CI builds all six kernel configurations

Build all supported kernel configurations on pull requests and reject
stale stable-series pins before expensive builds begin.

Add a daily monitor that opens one tracking issue for an available
update, require exact patch application, and declare the complete
release build dependencies.
Allow the shifted hunks required by the existing patch stack while
still stopping immediately on rejected or reversed patches.

Move the official checkout and artifact actions to their current
Node 24-compatible major versions after the first run warned about
Node 20 deprecation.
@appcypher
appcypher merged commit e0d29a8 into krunfw Jul 17, 2026
8 checks passed
@appcypher
appcypher deleted the appcypher/add-kernel-ci branch July 17, 2026 23:51
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