Skip to content

Commit 8897acb

Browse files
committed
merge(main): refresh Google Chat gates
Signed-off-by: Apurv Kumaria <[email protected]>
2 parents 36584b6 + 6ff0185 commit 8897acb

4 files changed

Lines changed: 303 additions & 17 deletions

File tree

‎ci/full-e2e-cold-path-calibration.json‎

Lines changed: 152 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$comment": "SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\nSPDX-License-Identifier: Apache-2.0\n\nFive independent workflow_dispatch full-e2e samples of current-main baseline 1a74b8348c2182fbf806726341186f008444e28e with the phase-measurement changes at 4544d07c8bfd500c3b64a74380ef5cd0e62089f5. All runs completed install, BuildKit prebuild without fallback, the silence assertion, and the expected first turn. Each baseline budget is derived independently so phase caps diagnose regressions; they are not portions that must sum to the root-start budget. The separate validation adjustment records four existing full-e2e job observations from three descendant heads after f62c278bd737f4f47be2e85436f65b270d5b4280 added the reviewed WeChat runtime graph to the supported sandbox image. The relevant image-building inputs listed in imageInputPaths were unchanged through 2adc8481ff3053a5a7be37d130cb183e222934ff; repository tests enforce that ancestry and unchanged-input boundary. All four jobs completed install, BuildKit prebuild without fallback, the silence assertion, and the expected first turn; two exceeded the prior root-start and/or sandbox-phase caps. The conclusion fields record the full-e2e job conclusions, not aggregate workflow conclusions. The adjustment raises only those two caps from the maximum observed value plus the existing headroom, rounded up to one second. This is a bounded post-change validation adjustment, not a replacement five-run single-SHA calibration. Retire it by replacing the baseline and removing validationAdjustment after five successful full-e2e samples from one SHA that contains the image change. The authoritative-local-build adjustment records functional PR runs that emitted the required local base-build reason. The latest observation covers the longer source build required when reviewed native security packages change. Its allowance is the maximum excess over the normal root-start or sandbox-phase budget plus an operator-selected stability floor of 27 seconds (or 10 percent, if larger), rounded up to one second. It applies only when that reason is observed and does not alter published-image budgets.",
2+
"$comment": "SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\nSPDX-License-Identifier: Apache-2.0\n\nFive independent workflow_dispatch full-e2e samples of current-main baseline 1a74b8348c2182fbf806726341186f008444e28e with the phase-measurement changes at 4544d07c8bfd500c3b64a74380ef5cd0e62089f5. All runs completed install, BuildKit prebuild without fallback, the silence assertion, and the expected first turn. Each baseline budget is derived independently so phase caps diagnose regressions; they are not portions that must sum to the root-start budget. The separate validation adjustment records four existing full-e2e job observations from three descendant heads after f62c278bd737f4f47be2e85436f65b270d5b4280 added the reviewed WeChat runtime graph to the supported sandbox image. The relevant image-building inputs listed in imageInputPaths were unchanged through 2adc8481ff3053a5a7be37d130cb183e222934ff; repository tests enforce that ancestry and unchanged-input boundary. All four jobs completed install, BuildKit prebuild without fallback, the silence assertion, and the expected first turn; two exceeded the prior root-start and/or sandbox-phase caps. The restart-safe-startup adjustment records five later functional full-e2e jobs after b675ed361a02d2d602900e1f301ba117af7effaf began recreating OpenShell Docker containers with the persisted OpenClaw startup command. Every run exercised that exact output, completed install and the expected first turn, used BuildKit prebuild without fallback, and stayed within the silence limit; four exceeded the stale root-start and sandbox-phase caps. The adjustment raises only those two caps from the maximum observed value plus 10 percent, rounded up to one second. The conclusion fields record the full-e2e job conclusions, not aggregate workflow conclusions. These bounded post-change adjustments do not replace the five-run single-SHA calibration. Retire them when five successful full-e2e samples from one eligible SHA replace the baseline. The authoritative-local-build adjustment records functional PR runs that emitted the required local base-build reason. The latest observation covers the longer source build required when reviewed native security packages change. Its allowance is the maximum excess over the normal root-start or sandbox-phase budget plus an operator-selected stability floor of 27 seconds (or 10 percent, if larger), rounded up to one second. It applies only when that reason is observed and does not alter published-image budgets.",
33
"schemaVersion": 1,
44
"calibratedAt": "2026-07-13",
55
"baselineMainSha": "1a74b8348c2182fbf806726341186f008444e28e",
@@ -327,6 +327,156 @@
327327
"sandboxPhaseBudgetMs": 171000
328328
}
329329
},
330+
"restartSafeStartupAdjustment": {
331+
"validatedAt": "2026-07-31",
332+
"changeSha": "b675ed361a02d2d602900e1f301ba117af7effaf",
333+
"runtimeInputsVerifiedThroughSha": "f8fb820159c4843a19759efc9b0e28d4aa122440",
334+
"runtimeInputPaths": [
335+
"src/lib/onboard/docker-startup-command-agent.ts",
336+
"src/lib/onboard/docker-gpu-sandbox-create.ts",
337+
"src/lib/onboard/docker-startup-command-sandbox-create.ts",
338+
"src/lib/onboard/sandbox-gpu-create-run-attempt.ts"
339+
],
340+
"triggerOutput": "Recreating OpenShell Docker sandbox container with restart-safe startup...",
341+
"adjustedMetrics": [
342+
"rootStartToFirstTurnCompletion",
343+
"nemoclaw.onboard.phase.sandbox"
344+
],
345+
"derivation": {
346+
"statistic": "maximum",
347+
"minimumHeadroomMs": 5000,
348+
"relativeHeadroomPercent": 10,
349+
"roundUpMs": 1000
350+
},
351+
"runs": [
352+
{
353+
"runId": 30614075121,
354+
"runUrl": "https://github.com/NVIDIA/NemoClaw/actions/runs/30614075121",
355+
"jobId": 91103324359,
356+
"workflowHeadSha": "387cb08644fe030bb85146255f4b77e3c54697d2",
357+
"testedSha": "387cb08644fe030bb85146255f4b77e3c54697d2",
358+
"conclusion": "failure",
359+
"installExitCode": 0,
360+
"firstTurnExitCode": 0,
361+
"firstTurnSentinelMatched": true,
362+
"performancePassed": false,
363+
"usedBuildKitPrebuild": true,
364+
"buildKitFallback": false,
365+
"maxSilenceSecs": 51,
366+
"responseChars": 23,
367+
"triggerEvidence": {
368+
"artifact": "e2e-full-e2e",
369+
"path": "full-e2e-install-onboard-inference-cli-operations-and-cleanup/shell/phase-1-install-sh.stdout.txt",
370+
"output": "Recreating OpenShell Docker sandbox container with restart-safe startup..."
371+
},
372+
"rootStartToFirstTurnCompletionMs": 238921,
373+
"sandboxPhaseMs": 185161
374+
},
375+
{
376+
"runId": 30615995748,
377+
"runUrl": "https://github.com/NVIDIA/NemoClaw/actions/runs/30615995748",
378+
"jobId": 91109377750,
379+
"workflowHeadSha": "387cb08644fe030bb85146255f4b77e3c54697d2",
380+
"testedSha": "915b25c522d982fc7d40d01e583bc8f15bcf975f",
381+
"conclusion": "failure",
382+
"installExitCode": 0,
383+
"firstTurnExitCode": 0,
384+
"firstTurnSentinelMatched": true,
385+
"performancePassed": false,
386+
"usedBuildKitPrebuild": true,
387+
"buildKitFallback": false,
388+
"maxSilenceSecs": 55,
389+
"responseChars": 23,
390+
"triggerEvidence": {
391+
"artifact": "e2e-full-e2e",
392+
"path": "full-e2e-install-onboard-inference-cli-operations-and-cleanup/shell/phase-1-install-sh.stdout.txt",
393+
"output": "Recreating OpenShell Docker sandbox container with restart-safe startup..."
394+
},
395+
"rootStartToFirstTurnCompletionMs": 236352,
396+
"sandboxPhaseMs": 188905
397+
},
398+
{
399+
"runId": 30619965759,
400+
"runUrl": "https://github.com/NVIDIA/NemoClaw/actions/runs/30619965759",
401+
"jobId": 91125282922,
402+
"workflowHeadSha": "f8fb820159c4843a19759efc9b0e28d4aa122440",
403+
"testedSha": "c3106eea0669aa645c0ff6f51adce0badf24477f",
404+
"conclusion": "failure",
405+
"installExitCode": 0,
406+
"firstTurnExitCode": 0,
407+
"firstTurnSentinelMatched": true,
408+
"performancePassed": false,
409+
"usedBuildKitPrebuild": true,
410+
"buildKitFallback": false,
411+
"maxSilenceSecs": 43,
412+
"responseChars": 23,
413+
"triggerEvidence": {
414+
"artifact": "e2e-full-e2e",
415+
"path": "full-e2e-install-onboard-inference-cli-operations-and-cleanup/shell/phase-1-install-sh.stdout.txt",
416+
"output": "Recreating OpenShell Docker sandbox container with restart-safe startup..."
417+
},
418+
"rootStartToFirstTurnCompletionMs": 238040,
419+
"sandboxPhaseMs": 183471
420+
},
421+
{
422+
"runId": 30620296004,
423+
"runUrl": "https://github.com/NVIDIA/NemoClaw/actions/runs/30620296004",
424+
"jobId": 91129295688,
425+
"workflowHeadSha": "f8fb820159c4843a19759efc9b0e28d4aa122440",
426+
"testedSha": "f8fb820159c4843a19759efc9b0e28d4aa122440",
427+
"conclusion": "success",
428+
"installExitCode": 0,
429+
"firstTurnExitCode": 0,
430+
"firstTurnSentinelMatched": true,
431+
"performancePassed": true,
432+
"usedBuildKitPrebuild": true,
433+
"buildKitFallback": false,
434+
"maxSilenceSecs": 28,
435+
"responseChars": 23,
436+
"triggerEvidence": {
437+
"artifact": "e2e-full-e2e",
438+
"path": "full-e2e-install-onboard-inference-cli-operations-and-cleanup/shell/phase-1-install-sh.stdout.txt",
439+
"output": "Recreating OpenShell Docker sandbox container with restart-safe startup..."
440+
},
441+
"rootStartToFirstTurnCompletionMs": 181679,
442+
"sandboxPhaseMs": 131415
443+
},
444+
{
445+
"runId": 30620879680,
446+
"runUrl": "https://github.com/NVIDIA/NemoClaw/actions/runs/30620879680",
447+
"jobId": 91125043079,
448+
"workflowHeadSha": "f8fb820159c4843a19759efc9b0e28d4aa122440",
449+
"testedSha": "d1b24c97c348215574fd8c55435a2e8c5e0d86e1",
450+
"conclusion": "failure",
451+
"installExitCode": 0,
452+
"firstTurnExitCode": 0,
453+
"firstTurnSentinelMatched": true,
454+
"performancePassed": false,
455+
"usedBuildKitPrebuild": true,
456+
"buildKitFallback": false,
457+
"maxSilenceSecs": 45,
458+
"responseChars": 23,
459+
"triggerEvidence": {
460+
"artifact": "e2e-full-e2e",
461+
"path": "full-e2e-install-onboard-inference-cli-operations-and-cleanup/shell/phase-1-install-sh.stdout.txt",
462+
"output": "Recreating OpenShell Docker sandbox container with restart-safe startup..."
463+
},
464+
"rootStartToFirstTurnCompletionMs": 233979,
465+
"sandboxPhaseMs": 184868
466+
}
467+
],
468+
"retirement": {
469+
"trigger": "successful-single-sha-calibration",
470+
"minimumSampleCount": 5,
471+
"allSamplesSameHead": true,
472+
"runtimeChangeMustBeAncestor": true,
473+
"action": "replace-baseline-and-remove-adjustment"
474+
},
475+
"derivedCapsMs": {
476+
"rootStartToFirstTurnCompletionBudgetMs": 263000,
477+
"sandboxPhaseBudgetMs": 208000
478+
}
479+
},
330480
"authoritativeLocalBaseBuildAdjustment": {
331481
"validatedAt": "2026-07-28",
332482
"triggerOutput": "Building OpenClaw sandbox base image locally because no compatible published base image was found.",
@@ -393,7 +543,7 @@
393543
"nativeSecurityInputsMustBeUnchanged": true,
394544
"action": "replace-baseline-and-remove-adjustment"
395545
},
396-
"derivedAllowanceMs": 610000
546+
"derivedAllowanceMs": 570000
397547
},
398548
"derivedBudgetsMs": {
399549
"rootStartToFirstTurnCompletionBudgetMs": 205000,

‎ci/onboard-performance-budget.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$comment": "SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\nSPDX-License-Identifier: Apache-2.0\n\nInitial advisory budget for the cloud-onboard-e2e warm-system trace signal. Profiling traces from #3769 were not available in durable CI artifacts when #3776 was implemented. The latest three release tags only exposed one tag-matching trace artifact, from a failed v0.0.66 nightly run, so this cap is calibrated from the latest ten distinct successful main full-trace samples available on 2026-06-23. Those samples had total durations of 298250 ms, 296926 ms, 304190 ms, 294859 ms, 305013 ms, 316147 ms, 300843 ms, 292702 ms, 201332 ms, and 206250 ms; the cap uses p95 via linear interpolation (index 8.55 between samples 8 and 9) plus 25 percent, rounded up to the nearest 30 seconds.\n\nThe full-e2e cold-path baseline budgets are derived from the five current-main samples recorded in ci/full-e2e-cold-path-calibration.json. For each interval and phase independently, the baseline is nearest-rank p95 plus the larger of 5 seconds or 10 percent, rounded up to the nearest second. Four later functional full-e2e jobs completed install, BuildKit prebuild without fallback, and the expected first turn on their listed heads after the supported sandbox image changed; their separately recorded bounded validation adjustment raises only the root-start and sandbox-phase caps to the observed maximum plus 10 percent, rounded up to one second. The adjustment is retired after five successful samples from one head containing the image change, when that calibration replaces the baseline and the adjustment is removed. Independent phase caps are diagnostic regression gates, not additive portions of the root-start interval. The authoritative local base-build allowance is derived separately from exact PR evidence recorded in ci/full-e2e-cold-path-calibration.json. It applies only when full-e2e observes the exact local-build reason and adjusts only the root-start and sandbox-phase caps; published-image runs retain the normal budgets.",
2+
"$comment": "SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\nSPDX-License-Identifier: Apache-2.0\n\nInitial advisory budget for the cloud-onboard-e2e warm-system trace signal. Profiling traces from #3769 were not available in durable CI artifacts when #3776 was implemented. The latest three release tags only exposed one tag-matching trace artifact, from a failed v0.0.66 nightly run, so this cap is calibrated from the latest ten distinct successful main full-trace samples available on 2026-06-23. Those samples had total durations of 298250 ms, 296926 ms, 304190 ms, 294859 ms, 305013 ms, 316147 ms, 300843 ms, 292702 ms, 201332 ms, and 206250 ms; the cap uses p95 via linear interpolation (index 8.55 between samples 8 and 9) plus 25 percent, rounded up to the nearest 30 seconds.\n\nThe full-e2e cold-path baseline budgets are derived from the five current-main samples recorded in ci/full-e2e-cold-path-calibration.json. For each interval and phase independently, the baseline is nearest-rank p95 plus the larger of 5 seconds or 10 percent, rounded up to the nearest second. The calibration records bounded post-change adjustments for the supported sandbox image and the restart-safe OpenClaw Docker startup lifecycle. Each adjustment raises only the root-start and sandbox-phase caps to its observed maximum plus 10 percent, rounded up to one second, and is retired when five successful samples from one eligible head replace the baseline. Independent phase caps are diagnostic regression gates, not additive portions of the root-start interval. The authoritative local base-build allowance is derived separately from exact PR evidence recorded in ci/full-e2e-cold-path-calibration.json. It applies only when full-e2e observes the exact local-build reason and adjusts only the root-start and sandbox-phase caps; published-image runs retain the normal budgets.",
33
"schemaVersion": 1,
44
"mode": "advisory",
55
"scope": "cloud-onboard-e2e warm-system",
@@ -13,15 +13,15 @@
1313
"minPercent": 30
1414
},
1515
"fullE2eColdPath": {
16-
"authoritativeLocalBaseBuildAllowanceMs": 610000,
17-
"rootStartToFirstTurnCompletionBudgetMs": 228000,
16+
"authoritativeLocalBaseBuildAllowanceMs": 570000,
17+
"rootStartToFirstTurnCompletionBudgetMs": 263000,
1818
"rootEndToFirstTurnCompletionBudgetMs": 14000,
1919
"phaseBudgetsMs": {
2020
"nemoclaw.onboard.phase.preflight": 11000,
2121
"nemoclaw.onboard.phase.gateway": 6000,
2222
"nemoclaw.onboard.phase.provider_selection": 8000,
2323
"nemoclaw.onboard.phase.inference": 6000,
24-
"nemoclaw.onboard.phase.sandbox": 171000
24+
"nemoclaw.onboard.phase.sandbox": 208000
2525
}
2626
}
2727
}

‎test/e2e/live/full-e2e.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ test("full e2e: install, onboard, inference, cli operations, and cleanup", {
336336
USE_PREINSTALLED_LAUNCHABLE
337337
? "the baked Launchable completes onboarding without installing from source"
338338
: "install.sh --non-interactive completes onboarding",
339+
"cold onboarding stays within the checked-in full-E2E performance budgets",
339340
"nemoclaw and openshell are installed and usable",
340341
"sandbox appears in list/status and has policy/inference configuration",
341342
"direct hosted inference and sandbox inference.local both respond",

0 commit comments

Comments
 (0)