Skip to content
Open
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
286 changes: 283 additions & 3 deletions apps/maple-agent/Cargo.lock

Large diffs are not rendered by default.

397 changes: 370 additions & 27 deletions apps/maple-research/frontend/src-tauri/Cargo.lock

Large diffs are not rendered by default.

815 changes: 798 additions & 17 deletions proxy/Cargo.lock

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion scripts/ci/build-sdk-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ import subprocess
import sys

root, stage = map(Path, sys.argv[1:])
tracked = subprocess.check_output(["git", "-C", str(root), "ls-files", "-z", "sdk"])
# The Rust SDK tests compare their embedded trust inputs with these copies.
trust_anchors = [
"scripts/ci/opensecret-release/dev-signing-key.pem",
"scripts/ci/opensecret-release/trusted_root.json",
]
tracked = subprocess.check_output([
"git", "-C", str(root), "ls-files", "-z", "sdk", *trust_anchors,
])
for raw in tracked.split(b"\0"):
if not raw:
continue
Expand Down
5 changes: 4 additions & 1 deletion scripts/ci/lanes.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,11 @@ def deny(manifest: str, component: str) -> str:
"sdk/LICENSE.md", "scripts/ci/build-sdk-publish.sh",
"scripts/ci/check-sdk-package-consumers.py"),
runner=GITHUB, run='./scripts/ci/build-sdk-publish.sh npm "$(mktemp -d)"', hook="sdk_ts"),
# The SDK tests compare their embedded trust inputs with these reviewed copies.
Lane("sdk-rust", ("sdk/rust/**", "sdk/rust-toolchain.toml", "sdk/flake.*", "scripts/ci/build-sdk-publish.sh",
"scripts/ci/sdk_crates_upload.py"),
"scripts/ci/sdk_crates_upload.py",
"scripts/ci/opensecret-release/dev-signing-key.pem",
"scripts/ci/opensecret-release/trusted_root.json"),
runner=GITHUB, flake=".#pages", run=SDK_CRATE, hook="sdk_rust"), # .#pages: a Python with tomllib
Lane("proxy", ("proxy/**", "!proxy/Dockerfile"), also=RUST_SDK, runner=GITHUB, flake="./proxy",
workdir="proxy", run='just check && RUSTDOCFLAGS="-D warnings" cargo doc --locked --no-deps --all-features'
Expand Down
7 changes: 7 additions & 0 deletions scripts/ci/test_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,13 @@ def test_typescript_sdk_selects_research_because_it_links_the_sdk(self):
# SDK tests are not Research build inputs.
self.assertNotIn("research-web", selected(["sdk/src/lib/test/ai.test.ts"], PR))

def test_reviewed_release_trust_inputs_select_the_rust_sdk(self):
for path in ("scripts/ci/opensecret-release/dev-signing-key.pem",
"scripts/ci/opensecret-release/trusted_root.json"):
for event in (PR, PUSH):
with self.subTest(path=path, event=event):
self.assertIn("sdk-rust", selected([path], event))

def test_release_metadata_and_publisher_inputs_select_the_repo_lane(self):
for path in ("apps/maple-research/frontend/package.json", "apps/maple-research/frontend/src-tauri/Cargo.toml",
"apps/maple-research/frontend/src-tauri/tauri.conf.json", "proxy/justfile", ".github/CODEOWNERS",
Expand Down
Loading
Loading