You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d8fc8c9
Browse filesBrowse the repository at this point in the historyBrowse files
Share the fail-closed evidence-process classifier with the exact-parent collector, reject persistent build and test competitors before and after every focused-build scenario, and require at least 60% complete-process CPU occupancy in V2 artifacts. Preserve validation compatibility for the published V1 artifact.
Validation: exact-parent self-test passed; build-feedback self-test passed; dependency audit reports 15 classified edges, 0 migration targets, and 60 classified tools. Flips 0 Test262 cases (tooling and dependency inventory only).
`${sample.scenario}: process CPU occupancy ${((sample.process_cpu_occupancy||0)*100).toFixed(1)}% is below ${(MINIMUM_PROCESS_CPU_OCCUPANCY*100).toFixed(0)}%; transient competing work overlapped the scenario`,
115
117
);
116
118
}
117
119
@@ -287,7 +289,12 @@ function runSample(
287
289
env: environment,
288
290
inheritEnv: true,
289
291
}),
290
-
timing=parseTime(result.stderr);
292
+
timing=parseTime(result.stderr),
293
+
process_cpu_occupancy=processCpuOccupancy(
294
+
timing.wall_seconds,
295
+
timing.user_seconds,
296
+
timing.system_seconds,
297
+
);
291
298
return{
292
299
scenario: scenario.name,
293
300
sample,
@@ -296,6 +303,7 @@ function runSample(
296
303
exit_code: result.exitCode,
297
304
timed_out: result.timedOut,
298
305
...timing,
306
+
process_cpu_occupancy,
299
307
build_summary: buildSummary(result.stderr),
300
308
stdout: result.stdout,
301
309
stderr: result.stderr,
@@ -362,6 +370,7 @@ export function validate(artifact: Artifact): void {
362
370
if(name.startsWith("full_unit_"))
363
371
requireValue(Boolean(row.unit_plan?.startsWith("shard\testimated_ms\tname\n")),`${name}: missing unit plan`);
364
372
if(artifact.schema==="zig-js-build-feedback-v2"){
373
+
requireSampleQuality(row);
365
374
constgroup=scenario.cache_group!;
366
375
requireValue(row.environment.ZIG_GLOBAL_CACHE_DIR.endsWith(`/${group}/global`),`${name}: global cache boundary drift`);
`- sampling: ${artifact.sample_count} sequential sample${artifact.sample_count===1 ? "" : "s"} per phase; median; no outlier removal; isolated local/global caches per sample sequence`,
413
422
...(artifact.schema==="zig-js-build-feedback-v2"
414
-
? ["- cache boundary: library, focused-engine, combined-unit, focused-engine TSan, and combined-unit TSan groups are isolated; only adjacent phases with the same named group reuse cache state"]
423
+
? [
424
+
"- cache boundary: library, focused-engine, combined-unit, focused-engine TSan, and combined-unit TSan groups are isolated; only adjacent phases with the same named group reuse cache state",
425
+
`- process quality: every complete build used at least ${(MINIMUM_PROCESS_CPU_OCCUPANCY*100).toFixed(0)}% CPU occupancy; before/after snapshots reject persistent competing build and test jobs`,
426
+
]
415
427
: []),
416
428
"",
417
429
"| phase | scope | median wall | wall range | median CPU (user + system) | median peak RSS |",
0 commit comments