fix: accept rendered network trace label

This commit is contained in:
Codex
2026-05-25 02:57:33 +08:00
parent dda60e30ca
commit 3b87dc172e
+1 -1
View File
@@ -742,7 +742,7 @@ test("local external network fixture renders GitHub blocker with trace and witho
assert.equal(blockerCheck.observations.ui.failedMessageHasTrace, true);
assert.equal(blockerCheck.observations.ui.retryInputPreserved, true);
assert.equal(blockerCheck.observations.ui.retryInputValue, "访问一下github看看");
assert.match(blockerCheck.observations.ui.traceText, /network:started/u);
assert.match(blockerCheck.observations.ui.traceText, /network[: ]started/u);
assert.match(blockerCheck.observations.ui.traceText, /tool:external\.network\.check:blocked/u);
assert.equal(blockerCheck.observations.ui.noMainAttributionNoise, true);
assert.equal(blockerCheck.observations.prompt.response.error.code, "external_network_blocked");