Skip to content

Commit b4d8838

Browse files
committed
feat: Bump support for cloudflare agents
1 parent 753d396 commit b4d8838

15 files changed

Lines changed: 576 additions & 2 deletions
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"braintrust": minor
3+
---
4+
5+
feat: Bump support for cloudflare agents

‎e2e/config/pr-comment-scenarios.json‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@
6969
{
7070
"variantKey": "cloudflare-agents-v0-32-latest",
7171
"label": "v0.32 latest"
72+
},
73+
{
74+
"variantKey": "cloudflare-agents-v0-33",
75+
"label": "v0.33 pinned"
76+
},
77+
{
78+
"variantKey": "cloudflare-agents-v0-33-latest",
79+
"label": "v0.33 latest"
7280
}
7381
]
7482
},

‎e2e/scenarios/cloudflare-agents-instrumentation/__snapshots__/cloudflare-agents-v0-33-auto.span-tree.json‎

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
span_tree:
2+
└── cloudflare-agents-e2e-root [task]
3+
metadata: {
4+
"instrumentationMode": "auto",
5+
"scenario": "cloudflare-agents-instrumentation",
6+
"testRunId": "<run:1>"
7+
}
8+
├── DeterministicToolAgent [tool]
9+
│ input: {
10+
│ "case": "concurrent-a",
11+
│ "delayMs": 0,
12+
│ "value": "allowed-a"
13+
│ }
14+
│ output: {
15+
│ "case": "concurrent-a",
16+
│ "echoed": "allowed-a"
17+
│ }
18+
├── DeterministicToolAgent [tool]
19+
│ input: {
20+
│ "case": "concurrent-b",
21+
│ "delayMs": 0,
22+
│ "value": "allowed-b"
23+
│ }
24+
│ output: {
25+
│ "case": "concurrent-b",
26+
│ "echoed": "allowed-b"
27+
│ }
28+
├── DeterministicToolAgent [tool]
29+
│ input: {
30+
│ "case": "error",
31+
│ "delayMs": 0,
32+
│ "value": "allowed-error"
33+
│ }
34+
│ error: "deterministic child failure"
35+
└── DeterministicToolAgent [tool]
36+
input: {
37+
"case": "success",
38+
"delayMs": 0,
39+
"value": "allowed-success"
40+
}
41+
output: {
42+
"case": "success",
43+
"echoed": "allowed-success"
44+
}

‎e2e/scenarios/cloudflare-agents-instrumentation/__snapshots__/cloudflare-agents-v0-33-latest-auto.span-tree.json‎

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
span_tree:
2+
└── cloudflare-agents-e2e-root [task]
3+
metadata: {
4+
"instrumentationMode": "auto",
5+
"scenario": "cloudflare-agents-instrumentation",
6+
"testRunId": "<run:1>"
7+
}
8+
├── DeterministicToolAgent [tool]
9+
│ input: {
10+
│ "case": "concurrent-a",
11+
│ "delayMs": 0,
12+
│ "value": "allowed-a"
13+
│ }
14+
│ output: {
15+
│ "case": "concurrent-a",
16+
│ "echoed": "allowed-a"
17+
│ }
18+
├── DeterministicToolAgent [tool]
19+
│ input: {
20+
│ "case": "concurrent-b",
21+
│ "delayMs": 0,
22+
│ "value": "allowed-b"
23+
│ }
24+
│ output: {
25+
│ "case": "concurrent-b",
26+
│ "echoed": "allowed-b"
27+
│ }
28+
├── DeterministicToolAgent [tool]
29+
│ input: {
30+
│ "case": "error",
31+
│ "delayMs": 0,
32+
│ "value": "allowed-error"
33+
│ }
34+
│ error: "deterministic child failure"
35+
└── DeterministicToolAgent [tool]
36+
input: {
37+
"case": "success",
38+
"delayMs": 0,
39+
"value": "allowed-success"
40+
}
41+
output: {
42+
"case": "success",
43+
"echoed": "allowed-success"
44+
}

‎e2e/scenarios/cloudflare-agents-instrumentation/__snapshots__/cloudflare-agents-v0-33-latest-wrapped.span-tree.json‎

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
span_tree:
2+
└── cloudflare-agents-e2e-root [task]
3+
metadata: {
4+
"instrumentationMode": "wrapped",
5+
"scenario": "cloudflare-agents-instrumentation",
6+
"testRunId": "<run:1>"
7+
}
8+
├── DeterministicToolAgent [tool]
9+
│ input: {
10+
│ "case": "concurrent-a",
11+
│ "delayMs": 0,
12+
│ "value": "allowed-a"
13+
│ }
14+
│ output: {
15+
│ "case": "concurrent-a",
16+
│ "echoed": "allowed-a"
17+
│ }
18+
├── DeterministicToolAgent [tool]
19+
│ input: {
20+
│ "case": "concurrent-b",
21+
│ "delayMs": 0,
22+
│ "value": "allowed-b"
23+
│ }
24+
│ output: {
25+
│ "case": "concurrent-b",
26+
│ "echoed": "allowed-b"
27+
│ }
28+
├── DeterministicToolAgent [tool]
29+
│ input: {
30+
│ "case": "error",
31+
│ "delayMs": 0,
32+
│ "value": "allowed-error"
33+
│ }
34+
│ error: "deterministic child failure"
35+
└── DeterministicToolAgent [tool]
36+
input: {
37+
"case": "success",
38+
"delayMs": 0,
39+
"value": "allowed-success"
40+
}
41+
output: {
42+
"case": "success",
43+
"echoed": "allowed-success"
44+
}

0 commit comments

Comments
 (0)