Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .agents/skills/write-tests/references/tofu-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# `tofu test` Patterns

These apply to OpenTofu 1.12, the version the bundle pins.
These apply to OpenTofu 1.13, the version the bundle pins.

## Harness

Expand Down
6 changes: 3 additions & 3 deletions .github/actions/release-assessment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ runs:
run: |
tool="$RUNNER_TEMP/grype-tool"
mkdir "$tool" "$RUNNER_TEMP/grype-home"
gh release download v0.121.0 --repo anchore/grype --pattern grype_0.121.0_linux_amd64.tar.gz --dir "$tool"
printf '%s %s\n' 64e07133d3486115de647a66581461dccf5c732748a0a3119077395565f15519 "$tool/grype_0.121.0_linux_amd64.tar.gz" | sha256sum --check --strict > /dev/null
tar -xzf "$tool/grype_0.121.0_linux_amd64.tar.gz" -C "$tool" grype
gh release download v0.121.3 --repo anchore/grype --pattern grype_0.121.3_linux_amd64.tar.gz --dir "$tool"
printf '%s %s\n' e9da18cc1429e786722e32161288103600efffd8e483c90761f90485bd1bec85 "$tool/grype_0.121.3_linux_amd64.tar.gz" | sha256sum --check --strict > /dev/null
tar -xzf "$tool/grype_0.121.3_linux_amd64.tar.gz" -C "$tool" grype
env -i PATH=/usr/bin:/bin HOME="$RUNNER_TEMP/grype-home" GRYPE_DB_CACHE_DIR="$RUNNER_TEMP/grype-db" GRYPE_DB_AUTO_UPDATE=false GRYPE_CHECK_FOR_APP_UPDATE=false "$tool/grype" db update > "$RUNNER_TEMP/grype-db-update.log" 2>&1
# Anchore publishes about once a day, often more than 24 hours apart.
- name: Freshly assess the exact release inputs and reviewed policy
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
- name: Set up Node for Fern
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "24.22.2"
node-version: "26.13.1"
package-manager-cache: false
- name: Install reviewed npm
uses: NVIDIA/NemoClaw/.github/actions/setup-reviewed-npm@4e9f579183477b984c009cce0f47a1361e5eddef
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/brev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
cargo images fetch
mkdir candidate-image
docker buildx create --name brev --driver docker-container \
--driver-opt image=moby/buildkit@sha256:28a898719c18a33f4e8000685287fa36fd0dd9560c6440227d3a732d79bb41d8
--driver-opt image=moby/buildkit@sha256:aa632b921ef07411d2cb77292cd34213d4f7b384001d6fceef1e1f25bf9752bb
docker buildx bake --builder brev openclaw \
--set 'openclaw.output=type=oci,dest=candidate-image/image.tar' \
--metadata-file candidate-image/metadata.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
if: inputs.run && inputs.push && steps.packages.outputs.ready == 'true'
uses: anchore/sbom-action/download-syft@66cbf4bc1f1c0d2edc94016e65bc221b6bb0ad6c # v0.24.3
with:
syft-version: v1.55.0
syft-version: v1.57.1
- name: Push the checked images for this commit
if: inputs.run && inputs.push && steps.packages.outputs.ready == 'true'
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
id: syft
uses: anchore/sbom-action/download-syft@66cbf4bc1f1c0d2edc94016e65bc221b6bb0ad6c # v0.24.3
with:
syft-version: v1.55.0
syft-version: v1.57.1
# The image builds' pinned sources, as CI / Images saved them.
- name: Restore the verified image sources
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
Expand All @@ -139,7 +139,7 @@ jobs:
# image store, and rejects it with unpack=false in the containerd
# one), so a pinned BuildKit in a container pushes them instead.
docker buildx create --name runtimes --driver docker-container \
--driver-opt image=moby/buildkit@sha256:28a898719c18a33f4e8000685287fa36fd0dd9560c6440227d3a732d79bb41d8
--driver-opt image=moby/buildkit@sha256:aa632b921ef07411d2cb77292cd34213d4f7b384001d6fceef1e1f25bf9752bb
output='type=image,push=true,rewrite-timestamp=true'
docker buildx bake --builder runtimes runtimes \
--set "vllm.tags=$CI_PACKAGE:vllm-$tag" --set "vllm.output=$output" \
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
id: syft
uses: anchore/sbom-action/download-syft@66cbf4bc1f1c0d2edc94016e65bc221b6bb0ad6c # v0.24.3
with:
syft-version: v1.55.0
syft-version: v1.57.1
- name: List the release images
id: images
env:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/v1-vulnerability-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ jobs:
run: |
tool="$RUNNER_TEMP/grype-tool"
mkdir "$tool" "$RUNNER_TEMP/grype-home"
gh release download v0.121.0 --repo anchore/grype --dir "$tool" \
--pattern grype_0.121.0_linux_amd64.tar.gz
printf '%s %s\n' 64e07133d3486115de647a66581461dccf5c732748a0a3119077395565f15519 \
"$tool/grype_0.121.0_linux_amd64.tar.gz" | sha256sum --check --strict
tar -xzf "$tool/grype_0.121.0_linux_amd64.tar.gz" -C "$tool" grype
gh release download v0.121.3 --repo anchore/grype --dir "$tool" \
--pattern grype_0.121.3_linux_amd64.tar.gz
printf '%s %s\n' e9da18cc1429e786722e32161288103600efffd8e483c90761f90485bd1bec85 \
"$tool/grype_0.121.3_linux_amd64.tar.gz" | sha256sum --check --strict
tar -xzf "$tool/grype_0.121.3_linux_amd64.tar.gz" -C "$tool" grype
timeout 10m env -i PATH=/usr/bin:/bin HOME="$RUNNER_TEMP/grype-home" \
GRYPE_DB_CACHE_DIR="$RUNNER_TEMP/grype-db" GRYPE_DB_AUTO_UPDATE=false \
GRYPE_CHECK_FOR_APP_UPDATE=false "$tool/grype" db update \
Expand Down
48 changes: 30 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ rustix = { version = "1", features = ["fs", "termios"] }
zip = { version = "9.0", default-features = false, features = ["deflate"] }
flate2 = "1.1"
schemars = "=1.2.3"
jsonschema = { version = "=0.56.0", default-features = false }
jsonschema = { version = "=0.61.2", default-features = false }
pulldown-cmark = { version = "=0.13.6", default-features = false }
pulldown-cmark-to-cmark = "=23.0.1"
crossterm = "0.29"
Expand Down
2 changes: 1 addition & 1 deletion crates/nemoclaw-build/src/release_assessment/policy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ mod tests {
publication_authorized: false,
scanner: Some(ScannerEvidence {
name: "grype".into(),
version: "0.121.0".into(),
version: "0.121.3".into(),
sha256: "a".repeat(64),
configuration_sha256: "b".repeat(64),
}),
Expand Down
2 changes: 1 addition & 1 deletion crates/nemoclaw-build/src/release_assessment/release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ mod tests {
publication_authorized: false,
scanner: Some(ScannerEvidence {
name: "grype".into(),
version: "0.121.0".into(),
version: "0.121.3".into(),
sha256: "e".repeat(64),
configuration_sha256: "f".repeat(64),
}),
Expand Down
8 changes: 4 additions & 4 deletions crates/nemoclaw-build/src/release_assessment/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ mod tests {
publication_authorized: false,
scanner: Some(ScannerEvidence {
name: "grype".into(),
version: "0.121.0".into(),
version: "0.121.3".into(),
sha256: "scanner-checksum".into(),
configuration_sha256: "configuration-checksum".into(),
}),
Expand Down Expand Up @@ -177,7 +177,7 @@ mod tests {
assert!(report.contains("one platform assessment failed"));
assert!(report.contains("Repair verification"));
assert!(report.contains("Publication is not authorized"));
assert!(report.contains("Scanner version: 0.121.0"));
assert!(report.contains("Scanner version: 0.121.3"));
assert!(report.contains("Database SHA-256: database-checksum"));
assert!(report.contains("Database age (seconds): 3600"));
}
Expand Down Expand Up @@ -219,14 +219,14 @@ mod tests {
assessment.problems[0] = AssessmentError::Input {
reason: "failed\rAssessment passed".into(),
};
assessment.scanner.as_mut().unwrap().version = "0.121.0\nforged".into();
assessment.scanner.as_mut().unwrap().version = "0.121.3\nforged".into();
let report = text(&assessment);
assert!(report.starts_with("Assessment incomplete\n"));
assert!(!report.contains('\u{1b}'));
assert!(!report.contains('\r'));
assert!(!report.contains('\u{202e}'));
assert!(!report.contains("\nAssessment passed"));
assert!(report.contains("image\\nAssessment passed\\u{1b}[2J"));
assert!(report.contains("Scanner version: 0.121.0\\nforged"));
assert!(report.contains("Scanner version: 0.121.3\\nforged"));
}
}
4 changes: 2 additions & 2 deletions crates/nemoclaw-build/src/release_assessment/sarif.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ mod tests {
publication_authorized: false,
scanner: Some(ScannerEvidence {
name: "grype".into(),
version: "0.121.0".into(),
version: "0.121.3".into(),
sha256: "a".repeat(64),
configuration_sha256: "b".repeat(64),
}),
Expand Down Expand Up @@ -275,7 +275,7 @@ mod tests {
);
assert!(location.get("region").is_none());
assert_eq!(run["artifacts"][0]["hashes"]["sha-256"], "e".repeat(64));
assert_eq!(run["properties"]["scanner"]["version"], "0.121.0");
assert_eq!(run["properties"]["scanner"]["version"], "0.121.3");
assert_eq!(run["properties"]["database"]["sha256"], "c".repeat(64));
assert!(
run["tool"]["driver"]["rules"]
Expand Down
2 changes: 1 addition & 1 deletion crates/nemoclaw-build/src/release_assessment/scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use std::{
};
use time::{OffsetDateTime, format_description::well_known::Rfc3339};

const VERSION: &str = "0.121.0";
const VERSION: &str = "0.121.3";
const OUTPUT_LIMIT: u64 = 128 << 20;
const DATABASE_LIMIT: u64 = 8 << 30;

Expand Down
4 changes: 2 additions & 2 deletions crates/nemoclaw-build/src/run_ci/kind_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
use super::*;
use serde_json::{Value, json};

// Docker Official Image registry:3, resolved 2026-10-17. Test dependency only.
const IMAGE: &str = "docker.io/library/registry@sha256:ddf754342cfc8acc51a56d5d0ab6af06826461864460636d8bd5c546dab2a7b8";
// Docker Official Image registry:3, resolved 2026-11-16. Test dependency only.
const IMAGE: &str = "docker.io/library/registry@sha256:82f6ff4a7f982960c8aa51617fea3aabc485df6e55cce80d22deb1de36f1bc3c";
// Public fixture credentials, valid only in a run's own registry.
pub(super) const USER: &str = "nemoclaw-registry-fixture";
pub(super) const PASSWORD: &str = "fixture-password-for-nemoclaw-tests-only";
Expand Down
2 changes: 1 addition & 1 deletion crates/nemoclaw-build/tests/changes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ fn local_execution_skips_bundle_and_lifecycle_but_keeps_ordinary_checks() {
"cargo",
r#"#!/bin/sh
if [ "$1" = metadata ]; then exec "$REAL_CARGO" "$@"; fi
if [ "$1 $2" = 'nextest --version' ]; then echo 'cargo-nextest 0.9.151'; exit 0; fi
if [ "$1 $2" = 'nextest --version' ]; then echo 'cargo-nextest 0.9.152'; exit 0; fi
printf '%s\n' "$*" >> "$CHECK_LOG"
if [ "$1" = build ]; then
mkdir -p target/debug
Expand Down
6 changes: 3 additions & 3 deletions crates/nemoclaw-build/tests/ci_lifecycle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl Fixture {
"cargo",
r#"#!/bin/sh
if [ "$1 $2" = 'nextest --version' ]; then
printf 'cargo-nextest 0.9.151\n'
printf 'cargo-nextest 0.9.152\n'
exit 0
fi
printf '%s\n' "$@" > arguments
Expand Down Expand Up @@ -324,7 +324,7 @@ fi
"dist/linux_arm64/bin/nemoclaw",
"dist/linux_arm64/libexec/tofu",
".tools/protoc-36.2/bin/protoc",
".tools/nextest-0.9.151/cargo-nextest",
".tools/nextest-0.9.152/cargo-nextest",
"target/debug/terraform-provider-openshell",
"target/debug/terraform-provider-fabric",
"target/debug/terraform-provider-vllm",
Expand Down Expand Up @@ -468,7 +468,7 @@ fn archive_packages_tools_and_the_ssh_relay_but_leaves_providers_to_the_bundle_a
assert!(!unpacked.path().join(&path).exists(), "{path}");
}
for path in [
".tools/nextest-0.9.151/cargo-nextest",
".tools/nextest-0.9.152/cargo-nextest",
"target/debug/nemoclaw-fixture-ssh",
] {
let file = unpacked.path().join(path);
Expand Down
4 changes: 2 additions & 2 deletions crates/nemoclaw-build/tests/release_assessment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ fn fixture_image(root: &Path, variant: &str) -> Value {
}

#[test]
#[ignore = "requires verified Syft 1.55.0, Grype 0.121.0, and a prepared advisory database"]
#[ignore = "requires verified Syft 1.57.1, Grype 0.121.3, and a prepared advisory database"]
fn real_image_catalogs_retain_four_ecosystems_and_targeted_fixes() {
let syft = std::env::var("NEMOCLAW_TEST_SYFT").unwrap();
let grype = std::env::var("NEMOCLAW_TEST_GRYPE").unwrap();
Expand All @@ -192,7 +192,7 @@ fn real_image_catalogs_retain_four_ecosystems_and_targeted_fixes() {
assert!(version.status.success());
assert_eq!(
serde_json::from_slice::<Value>(&version.stdout).unwrap()["version"],
"1.55.0"
"1.57.1"
);
let root = tempfile::tempdir().unwrap();
let mut reports = Vec::new();
Expand Down
Loading
Loading