File tree Expand file tree Collapse file tree
plugins/trace-claude-code/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ workflow_dispatch :
8+
9+ jobs :
10+ trace-claude-code :
11+ name : trace-claude-code bash tests
12+ runs-on : ubuntu-24.04
13+ timeout-minutes : 30
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
18+ # jq, curl, uuid-runtime (uuidgen), python3 are all preinstalled on
19+ # ubuntu. Confirm they're available so failures are obvious.
20+ - name : Verify runtime dependencies
21+ run : |
22+ set -e
23+ echo "bash: $(bash --version | head -1)"
24+ echo "jq: $(jq --version)"
25+ echo "curl: $(curl --version | head -1)"
26+ echo "uuidgen: $(uuidgen)"
27+ echo "python3: $(python3 --version)"
28+
29+ - name : Run trace-claude-code tests
30+ run : make test
31+ env :
32+ # Force non-color output so logs in GitHub Actions are readable.
33+ NO_COLOR : " 1"
34+
35+ - name : Show hook log on failure
36+ if : failure()
37+ run : |
38+ if [ -f "$HOME/.claude/state/braintrust_hook.log" ]; then
39+ echo "=== hook log ==="
40+ cat "$HOME/.claude/state/braintrust_hook.log"
41+ fi
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ _setup_default_stubs() {
2424}
2525
2626# ---------------------------------------------------------------------------
27- describe " e2e : simple session with one turn and two tools"
27+ describe " full pipeline : simple session with one turn and two tools"
2828# ---------------------------------------------------------------------------
2929
3030t_e2e_simple_session () {
@@ -144,7 +144,7 @@ it "spans form correct session > turn > tool hierarchy" t_e2e_span_hierarchy
144144it " multiple turns produce correctly-parented spans" t_e2e_multi_turn
145145
146146# ---------------------------------------------------------------------------
147- describe " e2e : no tool spans dropped under sequential PostToolUse"
147+ describe " full pipeline : no tool spans dropped under sequential PostToolUse"
148148# ---------------------------------------------------------------------------
149149
150150# This is the regression test for the missing-spans class of bugs. We fire
You can’t perform that action at this time.
0 commit comments