kver: more resilient version handling #473
All Vouch review confidence checks passed
Residual risk 0.13 = Change Risk (0.32) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.32 · 128 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.291
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #473"
general
weight: 0.35
cyphar
It's really quite extreme to panic if the host kernel version is
unknown because in libpathrs we have all sorts of fallbacks for older
kernel versions. A much simpler approach is to treat an unknown kernel
version as being some impossibly ancient kernel and thus enable all
compatibility workarounds.
Some systems have really funky kernel versions like
5.4.0.customwhichwould previously be treated as completely invalid version strings by
libpathrs.
Given that kernel builders have a lot of freedom to pick all sorts of
whacky release version schemes we should take a more permissive approach
and just accept any dot-separated digits at the start of the version as
the version string. Once we hit a non-digit or otherwise invalid
component we truncate any later dot-separated digits (meaning that
3.1..5will be treated as3.1).This should make us more resilient to weird cases.
Fixes #471
Closes #472
Reported-by: Alexej Disterhoft <alexej@disterhoft.de>
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>