Join our Newsletter — 33% off our NHI Course

Did kernel demand-driven builds close runtime coverage gaps?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20230
Topic starter  

TL;DR: Exact-match artifact lookup and on-demand compilation reduced wasted CI work and driver wait time in Riptides's kernel pipeline, according to Riptides. Kernel build coverage is tied to observed node boots, so the artifact path and feedback loop need to stay governed together.

Editorial analysis by NHI Mgmt Group, based on content published by Riptides: “On-Demand Driver Builds: How We Replaced Speculative Kernel Builds with a Demand-Driven Pipeline”.

Key questions

Q: Why do on-demand kernel builds work better than speculative prebuilding for long-tail fleets?

A: Speculative prebuilding wastes CI capacity on kernel variants that may never appear in production, while on-demand builds spend compute only when a real node proves the need.

Q: What breaks when distro version is not part of the build identity?

A: Different distro versions can ship different toolchains and metadata expectations, so a module may compile but fail to load cleanly on the target host.

Q: What should teams do first when a required kernel package is not already built?

A: Check the artifact store first and only trigger a build when the exact package is absent.

Practitioner guidance

  • Check for an existing artifact before triggering any build Resolve package availability from the release store first, and only dispatch a workflow when the exact kernel, architecture, distribution, and distro version are missing.
  • Keep the build request fully specific Carry kernel version, architecture, distribution, distro version, and driver version through the service, workflow inputs, and build cache key so different targets do not collapse into one build.
  • Add a distribution-aware fallback chain Use a deterministic path such as DNF repositories, explicit kernel URLs, and Koji or CBS fallbacks so older kernel-devel packages remain buildable after mirror turnover.

Bottom line: The core problem is not compilation alone, but whether a node can get the exact driver artifact it needs at boot without waiting for a batch cycle.

Glossary terms: Demand-Driven Build Coverage, Artifact On Demand, Environment Fidelity, Runtime Coverage Gap

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 2 weeks ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 20718
 

Demand-driven build coverage is the right control when the runtime environment is the unknown. The article shows that nightly matrix builds eventually hit a ceiling because distribution mirrors and crawler data cannot predict the exact kernel a node will boot. For identity and access practitioners, the parallel is clear: governance assumptions fail when coverage is based on catalogue completeness instead of live state. The implication is to design control points around observed runtime demand, not static expectations.

A few things that frame the scale:

  • 59% of compromised machines in a major 2025 supply chain attack were CI/CD runners rather than personal workstations, according to the State of Secrets Sprawl 2026.

A question worth separating out:

Q: How should teams keep kernel build coverage aligned with what the fleet actually runs?

A: Use a demand-driven source of truth that records successful builds and feeds them back into the next batch cycle. That approach keeps the matrix tied to observed fleet behaviour instead of mirror inventory or crawler completeness.

👉 Read our full editorial: Demand-driven kernel driver builds reduce coverage gaps and wait time



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.