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
4 changes: 4 additions & 0 deletions .github/workflows/code-map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
# The pins' tests read history: a commit's parent, and the first
# commit, which holds no pins.
fetch-depth: 0

- name: Free disk space
# Three indexes build their build scripts for three targets. The
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ dsm_client/frontend/.next/
dsm-mcp/dist/
packages/dsm-mcp/dist/
*.log
# Real `cargo test` runs the evidence pins' tests read (ci/test_intent_pins.py).
!ci/fixtures/board-logs/*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
Expand Down
23 changes: 23 additions & 0 deletions ci/fixtures/board-logs/failed.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
$ cargo test --locked --release -p dsm_sdk --lib -- --exact --nocapture --test-threads=1 handlers::token_routes::tests::bytes_that_are_not_a_token_policy_are_not_published
warning: dsm@0.1.0-beta.3: Prost compilation succeeded
warning: dsm_sdk@0.1.0-beta.3: dsm@0.1.0: Using vendored protoc
warning: dsm_sdk@0.1.0-beta.3: dsm@0.1.0: Using vendored protoc include
warning: dsm_sdk@0.1.0-beta.3: Sanitized generated proto file to avoid clippy ICE
Finished `release` profile [optimized] target(s) in 0.52s
Running unittests src/lib.rs (target/release/deps/dsm_sdk-d5cfe22b5eeb2106)

running 1 test
test handlers::token_routes::tests::bytes_that_are_not_a_token_policy_are_not_published ...
thread 'handlers::token_routes::tests::bytes_that_are_not_a_token_policy_are_not_published' (52615699) panicked at dsm_client/deterministic_state_machine/dsm_sdk/src/test_support/nodes.rs:53:44:
DSM_TEST_DATABASE_URL must name a Postgres database: the SDK's tests run storage nodes on the store the fleet runs, and skipping them would report a green board that never executed it: NotPresent
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FAILED

failures:

failures:
handlers::token_routes::tests::bytes_that_are_not_a_token_policy_are_not_published

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 1027 filtered out; finished in 0.01s

error: test failed, to rerun pass `-p dsm_sdk --lib`
11 changes: 11 additions & 0 deletions ci/fixtures/board-logs/killed.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
$ cargo test --locked --release -p dsm_sdk --lib -- --exact --nocapture --test-threads=1 handlers::node_e2e_tests::a_sofi_trade_executes_end_to_end
Blocking waiting for file lock on build directory
warning: dsm@0.1.0-beta.3: Prost compilation succeeded
warning: dsm_sdk@0.1.0-beta.3: dsm@0.1.0: Using vendored protoc
warning: dsm_sdk@0.1.0-beta.3: dsm@0.1.0: Using vendored protoc include
warning: dsm_sdk@0.1.0-beta.3: Sanitized generated proto file to avoid clippy ICE
Finished `release` profile [optimized] target(s) in 5.15s
Running unittests src/lib.rs (target/release/deps/dsm_sdk-d5cfe22b5eeb2106)

running 1 test
test handlers::node_e2e_tests::a_sofi_trade_executes_end_to_end ...
9 changes: 9 additions & 0 deletions ci/fixtures/board-logs/not-run.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
$ cargo test --locked --release -p dsm --lib -- --exact --nocapture --test-threads=1 route_chain::tests::an_unread_leader_is_missing_and_no_other_seat_stands_in_renamed
warning: dsm@0.1.0-beta.3: Prost compilation succeeded
Finished `release` profile [optimized] target(s) in 0.44s
Running unittests src/lib.rs (target/release/deps/dsm-21e99b2d3e0a1bc3)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1356 filtered out; finished in 0.00s

10 changes: 10 additions & 0 deletions ci/fixtures/board-logs/passed.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
$ cargo test --locked --release -p dsm --lib -- --exact --nocapture --test-threads=1 route_chain::tests::an_unread_leader_is_missing_and_no_other_seat_stands_in
warning: dsm@0.1.0-beta.3: Prost compilation succeeded
Finished `release` profile [optimized] target(s) in 0.44s
Running unittests src/lib.rs (target/release/deps/dsm-21e99b2d3e0a1bc3)

running 1 test
test route_chain::tests::an_unread_leader_is_missing_and_no_other_seat_stands_in ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 1355 filtered out; finished in 0.00s

Loading
Loading