Skip to content

Commit 2ad613d

Browse files
jyaunchescjagwani
andauthored
fix(security): remediate OpenClaw 2026.6.10 transitive dependencies (#7286)
## Summary Keep OpenClaw core and official plugins pinned to `2026.6.10` while replacing the reviewed vulnerable transitive packages before installation. The same fail-closed archive remediation feeds production images, messaging plugin installs, and the reviewed npm audit graph. ## Changes - Replace OpenClaw core `[email protected]` and `@openclaw/[email protected]`'s `[email protected]` resolution with `[email protected]`. - Replace `[email protected]` with `5.0.7` in the core graph. - Replace bundled `[email protected]` with `1.18.0` in the Slack and Teams plugin archives, including its reviewed proxy dependencies. - Verify exact source graph shapes, replacement package integrity, safe archive members, and committed patched-metadata digests before installation. - Record a new protected base-image recipe so same-version vulnerable base bytes are not reused. - Document the bounded remediation, retained low/moderate advisories, attribution limits, and E2E release gate. ## Type of Change - [ ] Code change (feature, bug fix, or refactor) - [x] Code change with doc updates - [ ] Doc only (prose changes, no code sample modifications) - [ ] Doc only (includes code sample changes) ## Quality Gates - [x] Tests added or updated for changed behavior - [ ] Existing tests cover changed behavior — justification: - [ ] Tests not applicable — justification: - [x] Docs updated for user-facing behavior changes - [ ] Docs not applicable — justification: - [x] Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging) - [ ] Sensitive-path review completed or maintainer-approved waiver recorded — reviewer/approval link/justification: maintainer review pending - [ ] Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue: ## DGX Station Hardware Evidence - [ ] Tested on DGX Station - Tested commit: not applicable - Station profile/scenario: not applicable - Result: not applicable - Supporting evidence: not applicable ## Verification - [x] PR description includes a Signed-off-by line and every commit appears as Verified in GitHub - [x] Normal pre-commit, commit-msg, and pre-push hooks passed, or `npm run check:diff` passed when hooks were skipped or unavailable - [x] Targeted behavior tests pass for the current change set, or tests are marked not applicable above — 120 focused implementation tests pass; archive reconstruction coverage includes core, Slack, and Teams - [ ] Applicable broad gate passed — [full E2E is running for `223aea520`](https://github.com/NVIDIA/NemoClaw/actions/runs/29801191290); required CI is also running - [ ] Quality Gates section completed with required justifications or waivers - [x] No secrets, API keys, or credentials committed - [ ] `npm run docs` builds without warnings (doc changes only) — 0 errors; 2 pre-existing warnings - [x] Doc pages follow the style guide (doc changes only) - [ ] New doc pages include SPDX header and frontmatter (new pages only) Additional evidence: - Exact Node `22.22.2` reviewed npm audit: `info=0 low=1 moderate=1 high=0 critical=0`; configured `high` threshold passes. - Locked mcporter graph: `info=0 low=0 moderate=0 high=0 critical=0`. - Real remediated install retains `[email protected]` and `@openclaw/[email protected]`, with installed `[email protected]` and `[email protected]`. Signed-off-by: Julie Yaunches <[email protected]> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Updated OpenClaw 2026.6.10 installation to use a remediated package archive with verified dependency metadata. * Improved archive validation and integrity checks during OpenClaw and plugin packaging. * Added post-install dependency diagnostics for the affected OpenClaw release. * **Documentation** * Updated dependency review findings, remediation coverage, audit results, and residual-risk details. * **Tests** * Added coverage for archive rebuilding, dependency graph updates, integrity validation, and Docker installation flows. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Julie Yaunches <[email protected]> Signed-off-by: Charan Jagwani <[email protected]> Co-authored-by: Charan Jagwani <[email protected]>
1 parent 8f533b4 commit 2ad613d

43 files changed

Lines changed: 2161 additions & 109 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/base-image.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ on:
3131
- "agents/openclaw/mcporter-runtime/package-lock.json"
3232
# Dockerfile.base validates min_openclaw_version from this file at build time.
3333
- "nemoclaw-blueprint/blueprint.yaml"
34+
- "scripts/lib/openclaw-npm-remediation.mts"
3435
- "scripts/lib/reviewed-npm-archive.mts"
3536
- "scripts/lib/sandbox-rlimits.sh"
3637
workflow_dispatch:

‎.github/workflows/e2e.yaml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2290,6 +2290,16 @@ jobs:
22902290
with:
22912291
build-cli: "false"
22922292

2293+
- name: Add swap for Hermes image rebuild
2294+
shell: bash
2295+
run: |
2296+
set -euo pipefail
2297+
sudo fallocate -l 32G /mnt/nemoclaw-hermes-rebuild.swap
2298+
sudo chmod 0600 /mnt/nemoclaw-hermes-rebuild.swap
2299+
sudo mkswap /mnt/nemoclaw-hermes-rebuild.swap
2300+
sudo swapon /mnt/nemoclaw-hermes-rebuild.swap
2301+
swapon --show
2302+
22932303
- name: Run Hermes rebuild live test
22942304
# Preserves the real
22952305
# install.sh, Docker/OpenShell, Hermes base-image rebuild, registry,
@@ -2365,6 +2375,16 @@ jobs:
23652375
with:
23662376
build-cli: "false"
23672377

2378+
- name: Add swap for Hermes image rebuild
2379+
shell: bash
2380+
run: |
2381+
set -euo pipefail
2382+
sudo fallocate -l 32G /mnt/nemoclaw-hermes-rebuild.swap
2383+
sudo chmod 0600 /mnt/nemoclaw-hermes-rebuild.swap
2384+
sudo mkswap /mnt/nemoclaw-hermes-rebuild.swap
2385+
sudo swapon /mnt/nemoclaw-hermes-rebuild.swap
2386+
swapon --show
2387+
23682388
- name: Run Hermes stale-base rebuild live test
23692389
# Uses NEMOCLAW_HERMES_STALE_BASE_REBUILD_E2E=1, preserving issue #3025's
23702390
# stale cached base-image regression boundary.

‎Dockerfile‎

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ COPY agents/openclaw/mcporter-runtime/package-lock.json /usr/local/lib/nemoclaw/
7070
COPY agents/openclaw/wechat-runtime/package.json /usr/local/lib/nemoclaw/wechat-runtime/package.json
7171
COPY agents/openclaw/wechat-runtime/package-lock.json /usr/local/lib/nemoclaw/wechat-runtime/package-lock.json
7272
COPY scripts/lib/reviewed-npm-archive.mts /scripts/lib/reviewed-npm-archive.mts
73+
COPY scripts/lib/openclaw-npm-remediation.mts /scripts/lib/openclaw-npm-remediation.mts
7374

7475
# OpenShell blocks the link-local EC2 Instance Metadata Service. Keep AWS SDK
7576
# credential chains from attempting an impossible metadata discovery path.
@@ -287,6 +288,8 @@ RUN set -eu; \
287288
if [ -z "$EXPECTED_INTEGRITY" ]; then \
288289
echo "ERROR: OpenClaw ${OPENCLAW_VERSION} has no committed npm integrity pin" >&2; exit 1; \
289290
fi; \
291+
OPENCLAW_RECIPE='ignore-scripts+reviewed-lifecycle-v1'; \
292+
if [ "$OPENCLAW_VERSION" = "2026.6.10" ]; then OPENCLAW_RECIPE='ignore-scripts+reviewed-lifecycle+transitive-remediation-v1'; fi; \
290293
MCPORTER_EXPECTED_INTEGRITY=""; \
291294
MCPORTER_EXPECTED_TARBALL=""; \
292295
if [ "$MCPORTER_VERSION" = "0.7.3" ]; then MCPORTER_EXPECTED_INTEGRITY="$MCPORTER_0_7_3_INTEGRITY"; MCPORTER_EXPECTED_TARBALL="$MCPORTER_0_7_3_TARBALL"; fi; \
@@ -307,7 +310,7 @@ RUN set -eu; \
307310
"package=openclaw@${OPENCLAW_VERSION}" \
308311
"integrity=${EXPECTED_INTEGRITY}" \
309312
"tarball=${EXPECTED_TARBALL}" \
310-
'recipe=ignore-scripts+reviewed-lifecycle-v1' \
313+
"recipe=${OPENCLAW_RECIPE}" \
311314
"mcporter-package=mcporter@${MCPORTER_VERSION}" \
312315
"mcporter-integrity=${MCPORTER_EXPECTED_INTEGRITY}" \
313316
"mcporter-tarball=${MCPORTER_EXPECTED_TARBALL}" \
@@ -337,10 +340,16 @@ RUN set -eu; \
337340
echo "ERROR: Base image has OpenClaw $CUR_VER, which is newer than reviewed target $OPENCLAW_VERSION" >&2; exit 1; \
338341
else \
339342
echo "INFO: Base image OpenClaw $CUR_VER lacks exact reviewed provenance; installing $OPENCLAW_VERSION"; \
340-
OPENCLAW_PACK_PATH="$(node --experimental-strip-types /scripts/lib/reviewed-npm-archive.mts \
343+
OPENCLAW_SOURCE_PACK_PATH="$(node --experimental-strip-types /scripts/lib/reviewed-npm-archive.mts \
341344
--package-spec "openclaw@${OPENCLAW_VERSION}" --integrity "$EXPECTED_INTEGRITY" \
342345
--tarball-url "$EXPECTED_TARBALL" --label "OpenClaw ${OPENCLAW_VERSION}")"; \
343-
OPENCLAW_PACK_DIR="$(dirname "$OPENCLAW_PACK_PATH")"; \
346+
OPENCLAW_PACK_DIR="$(dirname "$OPENCLAW_SOURCE_PACK_PATH")"; \
347+
OPENCLAW_PACK_PATH="$OPENCLAW_SOURCE_PACK_PATH"; \
348+
if [ "$OPENCLAW_VERSION" = "2026.6.10" ]; then \
349+
OPENCLAW_PACK_PATH="$(node --experimental-strip-types /scripts/lib/openclaw-npm-remediation.mts \
350+
--archive "$OPENCLAW_SOURCE_PACK_PATH" --package-spec "openclaw@${OPENCLAW_VERSION}" \
351+
--working-directory "$OPENCLAW_PACK_DIR")"; \
352+
fi; \
344353
# npm 10's atomic-move install can hit EROFS on overlayfs when the prior
345354
# install spans image layers. Removing it first also prevents unreviewed
346355
# files from surviving a same-version reinstall.
@@ -353,6 +362,9 @@ RUN set -eu; \
353362
esac; \
354363
rm -rf "$OPENCLAW_PACK_DIR"; \
355364
fi; \
365+
if [ "$OPENCLAW_VERSION" = "2026.6.10" ]; then \
366+
npm ls -g --depth=1 openclaw @openclaw/fs-safe tar jszip >/dev/null; \
367+
fi; \
356368
if [ "$USE_REVIEWED_BASE_RUNTIME" = "1" ]; then \
357369
echo "INFO: Reusing reviewed base mcporter $CUR_MCPORTER_VER with exact lock provenance"; \
358370
else \

‎Dockerfile.base‎

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ ARG MCPORTER_0_7_3_TARBALL=https://registry.npmjs.org/mcporter/-/mcporter-0.7.3.
225225
COPY agents/openclaw/mcporter-runtime/package.json /usr/local/lib/nemoclaw/mcporter-runtime/package.json
226226
COPY agents/openclaw/mcporter-runtime/package-lock.json /usr/local/lib/nemoclaw/mcporter-runtime/package-lock.json
227227
COPY scripts/lib/reviewed-npm-archive.mts /scripts/lib/reviewed-npm-archive.mts
228+
COPY scripts/lib/openclaw-npm-remediation.mts /scripts/lib/openclaw-npm-remediation.mts
228229

229230
# Keep OpenClaw's jiti-generated source cache out of /tmp so provider marker
230231
# names do not persist in runtime snapshots or leak-scan inputs.
@@ -265,13 +266,21 @@ RUN --mount=type=bind,source=nemoclaw-blueprint/blueprint.yaml,target=/tmp/bluep
265266
if [ -z "$EXPECTED_INTEGRITY" ]; then \
266267
echo "Error: OpenClaw ${OPENCLAW_VERSION} has no committed npm integrity pin"; exit 1; \
267268
fi; \
268-
OPENCLAW_PACK_PATH="$(node --experimental-strip-types /scripts/lib/reviewed-npm-archive.mts \
269+
OPENCLAW_SOURCE_PACK_PATH="$(node --experimental-strip-types /scripts/lib/reviewed-npm-archive.mts \
269270
--package-spec "openclaw@${OPENCLAW_VERSION}" --integrity "$EXPECTED_INTEGRITY" \
270271
--tarball-url "$EXPECTED_TARBALL" --label "OpenClaw ${OPENCLAW_VERSION}")"; \
271-
if [ -z "$OPENCLAW_PACK_PATH" ] || [ ! -f "$OPENCLAW_PACK_PATH" ] || [ -L "$OPENCLAW_PACK_PATH" ]; then \
272+
if [ -z "$OPENCLAW_SOURCE_PACK_PATH" ] || [ ! -f "$OPENCLAW_SOURCE_PACK_PATH" ] || [ -L "$OPENCLAW_SOURCE_PACK_PATH" ]; then \
272273
echo "Error: reviewed OpenClaw archive path is empty or invalid"; exit 1; \
273274
fi; \
274-
OPENCLAW_PACK_DIR="$(dirname "$OPENCLAW_PACK_PATH")"; \
275+
OPENCLAW_PACK_DIR="$(dirname "$OPENCLAW_SOURCE_PACK_PATH")"; \
276+
OPENCLAW_PACK_PATH="$OPENCLAW_SOURCE_PACK_PATH"; \
277+
OPENCLAW_RECIPE='ignore-scripts+reviewed-lifecycle-v1'; \
278+
if [ "$OPENCLAW_VERSION" = "2026.6.10" ]; then \
279+
OPENCLAW_PACK_PATH="$(node --experimental-strip-types /scripts/lib/openclaw-npm-remediation.mts \
280+
--archive "$OPENCLAW_SOURCE_PACK_PATH" --package-spec "openclaw@${OPENCLAW_VERSION}" \
281+
--working-directory "$OPENCLAW_PACK_DIR")"; \
282+
OPENCLAW_RECIPE='ignore-scripts+reviewed-lifecycle+transitive-remediation-v1'; \
283+
fi; \
275284
npm install -g --ignore-scripts "$OPENCLAW_PACK_PATH" \
276285
&& case "$OPENCLAW_VERSION" in \
277286
2026.4.24|2026.6.10) node /usr/local/lib/node_modules/openclaw/scripts/postinstall-bundled-plugins.mjs ;; \
@@ -283,6 +292,9 @@ RUN --mount=type=bind,source=nemoclaw-blueprint/blueprint.yaml,target=/tmp/bluep
283292
&& if [ "$OPENCLAW_INSTALLED_VERSION" != "$OPENCLAW_VERSION" ]; then \
284293
echo "Error: Installed OpenClaw ${OPENCLAW_INSTALLED_VERSION:-unknown} does not match reviewed target ${OPENCLAW_VERSION}"; exit 1; \
285294
fi \
295+
&& if [ "$OPENCLAW_VERSION" = "2026.6.10" ]; then \
296+
npm ls -g --depth=1 openclaw @openclaw/fs-safe tar jszip >/dev/null; \
297+
fi \
286298
&& MCPORTER_EXPECTED_INTEGRITY="" \
287299
&& MCPORTER_EXPECTED_TARBALL="" \
288300
&& if [ "$MCPORTER_VERSION" = "0.7.3" ]; then MCPORTER_EXPECTED_INTEGRITY="$MCPORTER_0_7_3_INTEGRITY"; MCPORTER_EXPECTED_TARBALL="$MCPORTER_0_7_3_TARBALL"; fi \
@@ -310,7 +322,7 @@ RUN --mount=type=bind,source=nemoclaw-blueprint/blueprint.yaml,target=/tmp/bluep
310322
"package=openclaw@${OPENCLAW_VERSION}" \
311323
"integrity=${EXPECTED_INTEGRITY}" \
312324
"tarball=${EXPECTED_TARBALL}" \
313-
'recipe=ignore-scripts+reviewed-lifecycle-v1' \
325+
"recipe=${OPENCLAW_RECIPE}" \
314326
"mcporter-package=mcporter@${MCPORTER_VERSION}" \
315327
"mcporter-integrity=${MCPORTER_EXPECTED_INTEGRITY}" \
316328
"mcporter-tarball=${MCPORTER_EXPECTED_TARBALL}" \

‎agents/hermes/Dockerfile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,11 @@ COPY agents/hermes/host/managed-tool-gateway-matrix.json /opt/nemoclaw-hermes-co
107107
COPY src/lib/tool-disclosure.ts /src/lib/tool-disclosure.ts
108108
COPY src/lib/messaging/ /src/lib/messaging/
109109
COPY scripts/lib/reviewed-npm-archive.mts /scripts/lib/reviewed-npm-archive.mts
110+
COPY scripts/lib/openclaw-npm-remediation.mts /scripts/lib/openclaw-npm-remediation.mts
110111
RUN find /opt/nemoclaw-hermes-config -type d -exec chmod 755 {} + \
111112
&& find /opt/nemoclaw-hermes-config -type f -exec chmod 444 {} + \
112113
&& chmod 444 /src/lib/tool-disclosure.ts \
113-
&& chmod 444 /scripts/lib/reviewed-npm-archive.mts \
114+
&& chmod 444 /scripts/lib/reviewed-npm-archive.mts /scripts/lib/openclaw-npm-remediation.mts \
114115
&& chmod -R a+rX /src/lib/messaging
115116

116117
# Copy blueprint (shared infrastructure)

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

Lines changed: 32 additions & 1 deletion
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.",
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 two functional same-head PR runs that emitted the required local base-build reason. Its allowance is the maximum excess over the normal root-start or sandbox-phase budget plus the larger of 5 seconds or 10 percent, 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,37 @@
327327
"sandboxPhaseBudgetMs": 171000
328328
}
329329
},
330+
"authoritativeLocalBaseBuildAdjustment": {
331+
"validatedAt": "2026-07-21",
332+
"triggerOutput": "Building OpenClaw sandbox base image locally because no compatible published base image was found.",
333+
"adjustedMetrics": [
334+
"rootStartToFirstTurnCompletion",
335+
"nemoclaw.onboard.phase.sandbox"
336+
],
337+
"derivation": {
338+
"statistic": "maximum-budget-excess",
339+
"minimumHeadroomMs": 5000,
340+
"relativeHeadroomPercent": 10,
341+
"roundUpMs": 1000
342+
},
343+
"runs": [
344+
{
345+
"runId": 29806262836,
346+
"runUrl": "https://github.com/NVIDIA/NemoClaw/actions/runs/29806262836",
347+
"headSha": "6752f3e7918d588f53d5a3d3ebd37b8e7bf7aaab",
348+
"rootStartToFirstTurnCompletionMs": 247993,
349+
"sandboxPhaseMs": 196679
350+
},
351+
{
352+
"runId": 29806391548,
353+
"runUrl": "https://github.com/NVIDIA/NemoClaw/actions/runs/29806391548",
354+
"headSha": "6752f3e7918d588f53d5a3d3ebd37b8e7bf7aaab",
355+
"rootStartToFirstTurnCompletionMs": 248833,
356+
"sandboxPhaseMs": 196916
357+
}
358+
],
359+
"derivedAllowanceMs": 31000
360+
},
330361
"derivedBudgetsMs": {
331362
"rootStartToFirstTurnCompletionBudgetMs": 205000,
332363
"rootEndToFirstTurnCompletionBudgetMs": 14000,

‎ci/onboard-performance-budget.json‎

Lines changed: 2 additions & 1 deletion
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.",
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 the same-head 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,6 +13,7 @@
1313
"minPercent": 30
1414
},
1515
"fullE2eColdPath": {
16+
"authoritativeLocalBaseBuildAllowanceMs": 31000,
1617
"rootStartToFirstTurnCompletionBudgetMs": 228000,
1718
"rootEndToFirstTurnCompletionBudgetMs": 14000,
1819
"phaseBudgetsMs": {

0 commit comments

Comments
 (0)