Keep a volume's attributes for a second, filled from listings #2
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.42) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 341 lines diff across 4 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.349
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2"
general
weight: 0.35
fzakaria
Every lookup in a volume was one HTTP request from the page to the supervisor, and the guest asks often. For one
cat, the 9p server asks for the attributes on the walk, onTlopen, and once more insidevolumeFs.open. A program that lists a directory then stats each name in it:find, a compiler, a module resolver. The listing already carries every entry's attributes (rootfs.Entry.Attr), butvolumeFs.readdirdropped them.Change
volumeFskeeps attributes forVOLUME_KEEP_MS(1 s):readdirkeeps the attributes the listing already sends.A change made on the host shows within the second, plus the guest kernel's own metatimeout of 1 s: about 2 s in all. That is the same order as what the SDK's own host mounts promise.
Measurements
The same
go buildand share (unkernel 0.2.0-261125-cec0a49), on macOS (M-series). Onlypage/guest.jswas swapped betweenmainand this branch, alternating per run. The volume is a real Nuxt app'snode_modules(56,795 files), mounted read-only.| Test |
main| this branch || --- | --- | --- |
|
find /v -type f \| wc -l(57k files) | 69.3, 58.5, 57.5, 57.9, 55.3 s | 13.3, 12.9, 12.7, 12.6, 12.4 s ||
catall files of nuxt, vite, @nuxt (25.7 MB) | 6.5, 6.1, 6.1, 6.4, 6.1 s | 3.1 s in all 5 runs || 2,000
echo > fNinto a read-write volume | 5.8, 5.7, 5.7 s | 4.0, 4.1, 4.0 s || Node
import()of vite from the volume | 2015, 1933, 1968 ms | 1926, 1926, 1938 ms (no real change) |The time is that of
tabc run, boot included (about 1 s).Correctness, checked by hand on this build
statandlsshow each change at once: 5 bytes, then 10, then the new name.Not run
nix flake check: there is no nix on this machine. I built withgo buildand a share laid out asnix/share.nixmakes it, from the same pinned tarballs (sha256 checked).🤖 Generated with Claude Code