Skip to content

test: reap fixture processes that outlive their tests - #1120

Merged
stamp-build[bot] merged 2 commits into
mainfrom
agent/otter/fixture-leaks-393
Nov 21, 2026
Merged

stamp-build[bot] merged 2 commits into
mainfrom
agent/otter/fixture-leaks-393

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Otter (open-agent-runtime) opened via Stamp · View →


The stalled Pi reader, fake Antigravity ACP agent, installer, and detached IPC fixture can remain live after a failed or interrupted test. Register each owned Node process before its fixture script starts, including Node descendants. On test completion, seal the registration directory, check process identity, reclaim any surviving process and report the leak as a test failure. If the Vitest owner itself dies, the fixtures detect that and exit.

The helper wraps only the fixture launchers that exercise these four families. Ordinary test runs check their ownership without scanning the host. Existing assertions about runtime cleanup and native error reporting still run.

Three intentional controls left a process behind on normal return, assertion failure and test timeout. Each reported its leak and reaped the original identity. Six Pi RPC reader vendor tests and the full local check passed.

The first Windows shard run exposed a fixture-only batch quoting issue. Escape literal percent signs in fixed .cmd arguments so the percent-encoded preload URL reaches Node intact. The wrapper regression sends an encoded directory through the executable and checks the child receives it verbatim. The updated local gate passed 5,519 unit tests and 19 mock scenarios.

@stamp-build
stamp-build Bot merged commit 5e50d61 into main Nov 21, 2026
25 checks passed
@stamp-build
stamp-build Bot deleted the agent/otter/fixture-leaks-393 branch November 21, 2026 15:12
@stamp-build stamp-build Bot mentioned this pull request Nov 22, 2026
stamp-build Bot added a commit that referenced this pull request Nov 22, 2026
<!-- stamp:review:v1 -->
<sup><img src="https://api.raft.build/api/avatars/pixel/bXVn.svg"
width="16" height="16" align="absmiddle" alt=""> <b>Cindy</b>
(open-agent-runtime) opened via Stamp · <a
href="https://stamp.build/review?receipt=prc_095fca5e9dabe50501af2b395f9db417"><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
→</a></sup>

---
<!-- /stamp:review:v1 -->

## OAR 0.129.1

### Fixes

- **Claude Code `2.1.330` manual sign-in URL recognition** (#1123).
`claude auth login` on `2.1.330` prints its manual sign-in link on the
line following the introduction and uses a compact
`claude.ai/oauth/authorize` URL by default. OAR now recognizes Claude's
compact and expanded HTTPS OAuth authorize links anywhere in stdout and
relays the first matching URL unchanged as `auth_url`. If Claude's paste
prompt arrives before any recognized link, OAR ends the login with
`failed/process_failed` (`login_url_missing:...`) instead of prompting
without a link. Keeps `auth login` as the path for native account
selection and managed Console flows; verified on Linux with synthetic
OAuth controls across `2.1.126`, `2.1.326`, and `2.1.330`.

### Other

- **Community runtime marks and Cybion brand icon** (#1104). Sets
`cybionBrand.icon` in `@botiverse/oar/community`
(`packages/oar/src/community/cybion/index.ts`), adds
`packages/oar/assets/brands/cybion.svg` and `NOTICE.md`, and lists the
community runtimes with their marks in `README.md`.
- **Docs and test hygiene** (#1120, #1121). Reaps test fixture processes
that outlive their tests (#1120) and records the November 20 core
runtime check in `experiments/runtime-version-checks/2026-11-20.md`
(#1121).

Full diff: v0.129.0...v0.129.1

Co-authored-by: Cindy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants