Repository navigation
test(qoder): bound fixture cleanup separately from behavior - #479
Merged
Merged
Conversation
This was referenced Oct 24, 2026
stamp-build
Bot
force-pushed
the
agent/otter/qoder-cleanup
branch
from
October 26, 2026 11:19
ab96298 to
5bfc552
Compare
stamp-build Bot
added a commit
that referenced
this pull request
Oct 26, 2026
<!-- stamp:review:v1 --> <sup><img src="https://cdn.slock.ai/avatars/6aabf32c-20bc-4cba-b55a-2aa72b60999b/8ba4452ceb890f1930886ef4286fdb99.webp" width="16" height="16" align="absmiddle" alt=""> <b>Otter</b> from open-agent-runtime opened this pull request through Stamp</sup><br><sup><a href="https://stamp.build/review?receipt=prc_8fe455f6c127a53446dab109ba21a9cd"><picture><source media="(prefers-color-scheme: dark)" srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg" width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp →</a></sup> --- <!-- /stamp:review:v1 --> Antigravity 1.4.3 changed native MCP tool titles from `Running <tool>` to `<server>_<tool>`. The existing strict test failed on those titles while tool execution succeeded. Update its expected names; OAR already preserves and projects the native frame correctly. An unchanged 1.4.1 control confirms the difference. The October 24 report and runtime pages also record Claude 2.1.310 and Grok 1.0.70. Antigravity MCP credentials still persist in its database and WAL, with permissions following umask, so the credential refusal remains. The report preserves the initial failure and distinguishes local-provider results from account and cross-platform coverage. No adapter, dependency pin or package version changes. Validation: Claude 53 native tests and 17 shared cases; Grok 15 native tests and 17 shared cases; Antigravity nine native tests after the title update and 15 shared cases. Linux login controls, reserved MCP names, Grok prompt options, Antigravity catalog replacement and both umask persistence probes passed. `CI=1 pnpm run check` passed (2,030 unit tests and the mock behavior suite), and `pnpm run build` passed. CI on `a3578f6`: 22 of 23 checks passed. [Windows Qoder failed](https://github.com/botiverse/oar/actions/runs/40086550777/job/120850561540) with two explicit 30-second initialization timeouts. Native logs show continuing startup, including 19 to 25 seconds spent initializing built-in plugins. A third, resume-case assertion masks the original exception; its native log shows the four-message history restored and initialization received, without a response before termination. This run contains no cleanup failure. The job log and native artifacts are retained. That failed run has not been retried. The branch now incorporates the merged #476 initialization correction and #479 cleanup correction. Rebased onto main `3ffe7a7` as `7c6920f`. The test change is unchanged; experiment-index conflicts preserve the newer October 25 observations alongside the October 24 report. The complete local check passed again (2,033 unit tests and 19 mock behavior cases). CI is running for this head. Co-authored-by: Otter <[email protected]>
stamp-build Bot
added a commit
that referenced
this pull request
Oct 26, 2026
<!-- stamp:review:v1 --> <sup><img src="https://cdn.slock.ai/avatars/6aabf32c-20bc-4cba-b55a-2aa72b60999b/8ba4452ceb890f1930886ef4286fdb99.webp" width="16" height="16" align="absmiddle" alt=""> <b>Otter</b> from open-agent-runtime opened this pull request through Stamp</sup><br><sup><a href="https://stamp.build/review?receipt=prc_b5866e2eecb0a33d3ca75eaa203ffbaf"><picture><source media="(prefers-color-scheme: dark)" srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg" width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp →</a></sup> --- <!-- /stamp:review:v1 --> Qoder sessions expose `steer` through the native `priority: next` input path. An input sent while a tool is running joins the current query after the tool result; an input sent during a text-only response can become a following query. Enable native user-message replay so both paths preserve the submitted input ID, and reject launch arguments that would override that protocol setting before spawning. The native probe compares `now` and `next` during streaming and a blocked MCP call, with both successful completion and deliberate replay exhaustion that captures the next model request. All eight Linux Qoder 1.1.78 controls passed. `now` reports the original query aborted, including while the MCP handler remains blocked, so it is not used for steering. No paid provider or existing login was used. Two native vendor regressions pin the public OAR path: echoed input identity, completed outcomes, and one turn end at the tool boundary versus two for text-only streaming. They failed before enabling steering and passed afterward. Three unit cases reject replay-flag overrides without starting a process. The adapter uses the existing shared projection; acceptance remains a write receipt, not proof of model consumption. The runtime and spec documentation explain the echo and turn-wait boundary. Validation: complete local check (2,036 unit tests), build, all eight Qoder native regressions and the shared Qoder behavior suite passed. The eight raw priority controls also passed after enabling user-message replay. All eight native regressions and the shared suite passed on Windows with the cleanup hook at `b239c35` ([job](https://github.com/botiverse/oar/actions/runs/40053017848/job/120749644261)); initialized HOME removal still took 21 to 53 seconds outside the unchanged behavior-test deadlines. All 23 CI checks passed at `b239c35`, including the [macOS Qoder job](https://github.com/botiverse/oar/actions/runs/40053017848/job/120749644019), which passed the shared suite and all eight native regressions. The raw eight-control `now`/`next` matrix was run only on Linux; the two OAR steering regressions now have Linux, Windows and macOS evidence. The two steering regressions also passed on Windows in [the initial CI run](https://github.com/botiverse/oar/actions/runs/40050232565/job/120741056271). That original Windows job failed an existing effort test at its 45-second whole-test bound: its recorded turn had completed and the native process had exited with code 0 beforehand. The revision lacks fixture cleanup timing, so the remaining cost is not established. This branch includes #476 and #479; all eight native cases, including the new steering cases, now use the bounded cleanup hook. The new steering tests still close their MCP server and dispose their session in the original test body, with the original assertions and deadlines. Both dependencies have now merged. Arbitrary external-tool cancellation and successful remote-provider behavior are not established by the local replay. After #476 and #479 merged, this PR was rebased onto main `3ffe7a7`. The implementation and tests are unchanged; the experiment index conflict retains the newer Qwen observation. The latest commit only updates the runtime page and experiment README with those macOS results and preserves the original failure and verification limits. No adapter, fixture or test changed. The complete local check passed again (2,036 unit tests and the mock suite). All 23 checks also passed on the final documentation head `81b95f5` ([CI run](https://github.com/botiverse/oar/actions/runs/40058079802)); exact-head review remains pending. Current head: `d946c6d`. Current-head CI and final approval supersede the prior head's gate; the earlier native results and initial failure above are retained. --------- Co-authored-by: Otter <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Qoder native resume test can reach its 90-second deadline after both native processes have successfully exited. Windows cleanup measurements show fixture HOME deletion taking 21 to 43 seconds, versus 12 to 34 milliseconds for log copying. A later failure again completed all native turns before timing out, but that revision lacks cleanup timers, so its exact remaining cost is not established.
Use a vendor-test fixture that registers log copying and HOME removal with Vitest's
onTestFinished, under a separate 90-second bound. Cleanup runs for successful and failed tests, and a rejection or hook timeout still fails CI. All original native behavior assertions, test-body deadlines and session disposal remain unchanged. The fixture is unavailable for manual cleanup in the test body, avoiding accidental double ownership.Validation: complete local check (2,033 unit tests), build and all six existing native Qoder cases passed. The local run retained both cleanup phases for every fixture. The Windows CI job also passed the shared suite and all six native cases. Initialized HOME removal still took 21 to 46 seconds, now under the separate cleanup hook. All 23 checks at the prior head
ab96298passed, including the macOS Qoder job.After #476 merged, this PR was rebased onto main
ef54cd6as5bfc552. The cleanup patch is unchanged; the only additional files compared with the tested prior tree are the five Markdown files from #484. The complete local check passed again before rebasing, including 2,033 unit tests and all 19 mock behavior cases. CI is running for the new head; final review will be requested once it passes. This PR makes no additional product change.