The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(ci): add ignored TinyJuice tool-output regression test to CI pipeline
Steven Enamakel2bea08bd4979
diff --git a/.github/workflows/ci-lite.yml b/.github/workflows/ci-lite.ymlindex 19dcad38da..5a69155ff3 100644--- a/.github/workflows/ci-lite.yml+++ b/.github/workflows/ci-lite.yml@@ -724,6 +724,15 @@ jobs:env:CARGO_BUILD_JOBS: "1"+ - name: Run ignored TinyJuice tool-output regression+ run: >-+ bash scripts/ci-cancel-aware.sh cargo test -p openhuman --lib+ --features modules+ agent::tinyagents::middleware_tool_output_compaction_tests::tool_output_tabulates_a_large_graph_for_a_non_exempt_tool+ -- --ignored --exact --test-threads=1+ env:+ CARGO_BUILD_JOBS: "1"+- name: Run complete root Rust suite with cargo llvm-covrun: bash scripts/ci/rust-coverage.shenv:diff --git a/scripts/__tests__/module-test-runner.test.mjs b/scripts/__tests__/module-test-runner.test.mjsindex 5e589272fd..6f9b757e61 100644--- a/scripts/__tests__/module-test-runner.test.mjs+++ b/scripts/__tests__/module-test-runner.test.mjs@@ -27,7 +27,7 @@ printf '%s\n' one two`#!/usr/bin/env bashprintf '%s\n' "$*" >> "${log}"if [[ "$*" == *"--list"* ]]; then- printf '%s\n' 'openhuman::memory::tests::one: test' 'openhuman::memory::tests::two: test'+ printf '%s\n' 'openhuman::memory::tests::one: test' 'openhuman::memory::tests::one_extra: test' 'openhuman::memory::tests::two: test'fi`,{ mode: 0o755 },@@ -42,6 +42,7 @@ fiassert.match(result.stdout, /skipped: 0/);assert.match(calls, /--ignored --list/);assert.match(calls, /openhuman::memory::tests::one -- --ignored --exact --test-threads=1/);+ assert.doesNotMatch(calls, /openhuman::memory::tests::one_extra -- --ignored/);assert.match(calls, /openhuman::memory::tests::two -- --ignored --exact --test-threads=1/);});diff --git a/scripts/ci/run-module-gated-tests.sh b/scripts/ci/run-module-gated-tests.shindex 291ae294e4..46c756a135 100755--- a/scripts/ci/run-module-gated-tests.sh+++ b/scripts/ci/run-module-gated-tests.sh@@ -16,11 +16,15 @@ if [ "${#TEST_NAMES[@]}" -eq 0 ]; thenexit 1fi+for name in "${SKIPPED_NAMES[@]}"; do+ echo "module-gated Rust test skipped: $name (tinydocs artifact is not staged in this lane)"+done+bash scripts/ci-cancel-aware.sh cargo test -p openhuman --lib --features "$FEATURES" -- --ignored --list >"$LIST_OUTPUT"run_count=0for name in "${TEST_NAMES[@]}"; do- matches="$(sed -n 's/: test$//p' "$LIST_OUTPUT" | grep -F "::${name}" || true)"+ matches="$(sed -n 's/: test$//p' "$LIST_OUTPUT" | grep -F "::${name}" | grep -E "::${name}$" || true)"match_count="$(printf '%s\n' "$matches" | sed '/^$/d' | wc -l | tr -d ' ')"if [ "$match_count" -eq 0 ]; thenecho "::error::module-gated test '$name' resolved to $match_count tests" >&2