Commit graph

12 commits

Author SHA1 Message Date
Sebastian Herrlinger
5c11644089 test(codemode): record the boundary and configuration from the language runtime, drop the catalog and OpenAPI recordings 2026-11-19 01:53:46 +01:00
Sebastian Herrlinger
25d921550d test(codemode): record tool calls with invalid input from the reference
conformance/tools.ts records, next to valid, denied and failing calls, how a
call with invalid input settles against other jobs, its message, the
tool.before and tool.after hooks it runs (none), toolCalls (not listed) and
max_tool_calls (not counted). tests/tool_input.rs replays it; CI regenerates
it with the other recordings.
2026-11-18 18:56:12 +01:00
kommander
c851e00766 fix(codemode): keep the clock across round trips and make round-trip mode cheap
Round-trip mode lost the time between a save and the restored run, so timeouts never fired. It now keeps the run's start, leaves programs with a Suspender to their owner, and doubles the loop interval between round trips (64 up to 65536), so the whole workspace runs in it in seconds. The CI step reuses the debug build.
2026-11-18 18:56:10 +01:00
kommander
a5b41a572c feat(codemode): stream HTTP responses to programs through extensions
HostValue::Response carries a StreamingResponse whose body the host streams
through the HttpBody trait (poll_chunk, cancel), with no HTTP crate. The
program gets what the reference's fromHost makes of Extension.StreamingResponse:
the response fields, a live bodyUsed, text/json/bytes/arrayBuffer, and a body
with a live locked, cancel, getReader and async iteration. Reading, locking,
cancelling and json() follow the reference's host runtime, its error messages
included. Reads and cancels take effect where the reference starts queued
calls: at the next job or after a synchronous extension call.

Live accessors are a small Kind::Live hook: own, read-only, non-enumerable
and deletable, and otherwise an ordinary object. A snapshot keeps them only
while the run can reach them, and then the resume fails as in the reference;
reach.rs marks what is reachable. A lost host function now throws at the call
with its location, naming an unnamed one (anonymous).

conformance/streaming.ts records the reference with a fake streaming fetch,
since it has no tests of its own here; tests/streaming.rs replays it.
2026-11-18 18:56:10 +01:00
kommander
7a73a2442a chore(codemode): check Rust conformance in round-trip mode in CI 2026-11-18 18:56:10 +01:00
kommander
c199fd9118 chore(codemode): regenerate the catalog expectations in the conformance freshness check 2026-11-18 18:56:09 +01:00
kommander
920a575e41 chore(codemode): run the Rust checks in check-test's unit job 2026-11-18 18:54:08 +01:00
Dax Raad
342d8f1e3b chore(ci): gate a stable release on the linux browser suites
the windows playwright legs still fail on dev pushes often enough that a
release gate over them would stall shipping. unit tests and builds still cover
both OSes, and dev pushes and nightly runs still cover the windows browser
legs.
2026-11-10 21:47:12 -05:00
Dax Raad
bb87284a94 chore(ci): keep the heavy test tier off pull requests
pull requests now run the affected unit tests on linux only. the windows unit
tests, the compiled builds and the four playwright suites still run on every
push to dev and beta, on nightly runs, and as a release.yml gate before a
stable release publishes.
2026-11-10 21:35:46 -05:00
Dax
6996bbcd6d
ci: separate release builds from signing and publishing (#59046) 2026-10-26 14:21:29 -04:00
Luke Parker
ca7d60b663 chore: merge dev into beta 2026-10-26 09:35:44 +10:00
Dax
7b5b7a8020
ci: name workflows by kind (check-*, bot-*, triage-*) (#59077) 2026-10-25 22:38:40 +00:00
Renamed from .github/workflows/test.yml (Browse further)