Skip to content

test(cli): exercise MCP grant on local retained daemon - #301

Merged
0thernet merged 1 commit into
mainfrom
codex/mcp-grant-local-regression-20261009
Oct 9, 2026
Merged

0thernet merged 1 commit into
mainfrom
codex/mcp-grant-local-regression-20261009

Conversation

@0thernet

@0thernet 0thernet commented Oct 9, 2026

Copy link
Copy Markdown
Member

Change

Run the existing MCP grant boundary regression with retained local daemon sockets instead of binding the unrelated public peer listener. Poll readiness with a bounded sleep and startup budget. The test still checks the granted room, denied cross-room/admin requests, no credential/other-room leakage, and rejection after restart.

Checks

  • cargo +1.98.1 fmt --all -- --check — passed.
  • CARGO_HOME=$PWD/.xcb-cargo-home CARGO_NET_OFFLINE=true cargo +1.98.1 test -p vhalla-cli --bin vhalla --all-features --locked headless::mcp::tests:: -- --nocapture — 12 passed.
  • CARGO_HOME=$PWD/.xcb-cargo-home CARGO_NET_OFFLINE=true cargo +1.98.1 clippy -p vhalla-cli --bin vhalla --all-features --tests --locked -- -D warnings — passed.
  • git diff --cached --check — passed.
  • The focused socket-backed grant test cannot run in the native workspace runner: it denies /private/tmp writes and local Unix socket binds (EPERM). It must pass in the PR's required Linux CLI suite; no headless/live qualification claim is made here.

Only crates/vhalla-cli/src/headless/commands_tests.rs is committed; local Cargo cache and validation log are untouched.

@vercel

vercel Bot commented Oct 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
valhalla Ready Ready Preview Oct 9, 2026 9:08pm UTC

Request Review

@0thernet
0thernet enabled auto-merge (squash) October 9, 2026 21:08
@0thernet
0thernet merged commit 05202c4 into main Oct 9, 2026
67 of 69 checks passed
@0thernet
0thernet deleted the codex/mcp-grant-local-regression-20261009 branch October 9, 2026 21:29

This branch was successfully deployed

1 active deployment
Preview — b51dc7c0 Deployed Oct 9, 2026 by vercel[bot]
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.

1 participant