test(ptc): include program approval scenario in host type checking

This commit is contained in:
Tianyi Cui committed 2026-09-12 15:03:02 +08:00
1 parent c05e0953ef
commit a29991144a
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -108,11 +108,11 @@ function controlParameters(runtime: CodeRuntime | undefined) {
// Catalog readers have no mounted runtime; real model assembly requires one.
if (runtime === undefined) return RUN_CODE_CONTROLS
return {
...runtime?.timeout === undefined ? {} : {
...runtime.timeout === undefined ? {} : {
timeoutMs: { ...RUN_CODE_CONTROLS.timeoutMs,
description: `Positive elapsed-time budget in milliseconds, including nested tool and approval waits. Default ${runtime.timeout.defaultMs}; capped at ${runtime.timeout.maxMs}. Zero does not disable the deadline.` },
},
...runtime?.sandboxMode === undefined ? {} : {
...runtime.sandboxMode === undefined ? {} : {
sandbox_permissions: RUN_CODE_CONTROLS.sandbox_permissions,
justification: RUN_CODE_CONTROLS.justification,
},
+1
View File
@@ -54,6 +54,7 @@
"apps/web/tests/rail-search-expand.e2e.ts",
"apps/web/tests/conversation-column-overflow.e2e.ts",
"apps/web/tests/ptc-round.e2e.ts",
"apps/web/tests/ptc-escalation.e2e.ts",
"apps/web/tests/present.e2e.ts",
"apps/web/tests/present-svg.e2e.ts",
"apps/web/tests/composer-draft-scroll.e2e.ts",