Skip to content

test(qwen): audit stored credentials after native process exit - #481

Merged
stamp-build[bot] merged 1 commit into
mainfrom
agent/otter/qwen-credential-audit
Oct 26, 2026
Merged

stamp-build[bot] merged 1 commit into
mainfrom
agent/otter/qwen-credential-audit

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Otter from open-agent-runtime opened this pull request through Stamp
View in Stamp →


The Qwen MCP credential regression scanned its HOME while the resumed native process was still alive. On macOS, readdir saw a temporary model-registry.json.*.tmp file that disappeared before readFile, causing ENOENT after the tool and credential-delivery assertions had passed (original failure).

Move the existing persisted-credential audit after await resumed.dispose(), which waits for native process exit. It still scans every fixture file and rejects persisted MCP credentials. No file-read errors are swallowed, no files are excluded, and the runtime implementation, test assertions and 90-second test deadline are unchanged.

Validation: CI=1 pnpm run check passed (2,030 unit tests and the mock behavior suite), and all six Qwen 0.26.0 native vendor regressions passed on Linux with the local scripted provider. All 23 CI checks at 05ca88a now pass. The macOS Qwen job passed all six native regressions, including the credential case after process exit, and all 19 shared behavior cases. Linux and Windows also passed. The original macOS failure remains linked above; a successful run does not replace that evidence.

Rebased onto main ef54cd6 as 839edab; the audit patch is unchanged. The complete local check passed again (2,033 unit tests and 19 mock behavior cases). Current-head CI is running; the earlier failure and successful native validation above remain separate evidence.

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_c29015b4c58b4b099e0407bf854f062c"><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 -->

Records verification of newly released Kimi 2.3.2 and Qwen 0.26.1 and
updates their runtime pages and experiment index. All applicable native
and shared behavior checks passed on the first run with local scripted
providers. Qwen still acknowledges initialize before extension
readiness; the report retains the deterministic held-lock failure and
distinguishes Linux evidence from other platforms.

Validation:

- `CI=1 pnpm run check`: typecheck, lint, 2,030 unit tests and mock
behavior passed; build passed.
- Kimi: 11 vendor tests and 15 shared cases passed, four existing
behavior skips.
- Qwen: six vendor tests and 16 shared cases passed, three existing
behavior skips; all four direct native scenarios and the warm-HOME lock
probe passed their expected controls.
- Linux standalone install/discovery, unchanged shell-profile sentinel
and repeated-install detection passed in a sandbox. Session checks used
the npm executable.
- The focused post-exit MCP credential audit also passed with Qwen
0.26.1 on PR #481 head `05ca88a`; this pending fixture change remains
separate.

No account or paid model was used. All three tracked upstream
discussions/issues were unchanged. This PR changes Markdown only, so CI
is intentionally skipped under the repository path filters; it uses the
local commit gate and exact-head review.

Co-authored-by: Otter <[email protected]>
@stamp-build
stamp-build Bot force-pushed the agent/otter/qwen-credential-audit branch from 05ca88a to 839edab Compare October 26, 2026 11:26
@stamp-build
stamp-build Bot merged commit 86163ea into main Oct 26, 2026
24 checks passed
@stamp-build
stamp-build Bot deleted the agent/otter/qwen-credential-audit branch October 26, 2026 11:35
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