Skip to content

test(agent): stop the app tests opening Notion in the browser - #1495

Merged
AnthonyRonning merged 1 commit into
masterfrom
codex-nonotion-maple
Nov 7, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
codex-nonotion-maple

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Deletes an_app_with_nothing_to_ask_starts_straight_away, added in #1488. It clicked Connect on Notion against the real test backend, so every run of the app tests reached mcp.notion.com, registered a client and opened Notion's sign-in page in the default browser. Anyone running the app suite on a Mac, including pre-commit hooks, got a Notion tab.

an_apps_usual_address_is_tried_before_asking already checks that Connect starts a sign-in without asking for anything first, so no coverage is lost.

Evidence

The macOS unified log shows maple_agent-<hash> test binaries asking LaunchServices to open a URL once per run from 09:12 PT on Nov 7, starting about 20 minutes after #1488 merged.

Testing

  • Full app test binary on macOS: 1318 passed, 0 failed. The unified log shows no LaunchServices launch from that test process.
  • Committed with MAPLE_HOOK_SKIP=1 to get this up quickly; the full app suite and cargo fmt --check above were run by hand, and CI runs the rest.

Not covered

The Home Assistant tests in the same file also start real sign-ins, at http://homeassistant.local:8123 and http://192.168.1.20:8123. They open nothing unless an MCP server answers at one of those addresses.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

`an_app_with_nothing_to_ask_starts_straight_away` clicked Connect on
Notion against the real test backend. Every app test run reached
mcp.notion.com and opened Notion's sign-in page in the default
browser. Delete it: `an_apps_usual_address_is_tried_before_asking`
already checks that Connect starts a sign-in without asking first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AnthonyRonning
AnthonyRonning merged commit 22d6be2 into master Nov 7, 2026
20 checks passed
@AnthonyRonning
AnthonyRonning deleted the codex-nonotion-maple branch November 7, 2026 18:41
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