Skip to content

fix(notify): wire Linux MCP configure onto navigation-none setup - #188

Draft
777genius wants to merge 5 commits into
cursor/uap-installer-linux-clock-6c84from
cursor/uap-installer-linux-configure-6c84
Draft

777genius wants to merge 5 commits into
cursor/uap-installer-linux-clock-6c84from
cursor/uap-installer-linux-configure-6c84

Conversation

@777genius

@777genius 777genius commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Stacks on #186. After Linux production D-Bus delivery and navigation-none installer, R0 auto/explicit --agent-notify must treat Linux as a supported MCP configure OS.

This does not fold Linux into #185 (macOS-only capability gate on #177) or into the Windows configure child of #187.

What changed

  • Cherry-picks the R0 capability-aware configure contract onto Linux P7.
  • agent_notify_platform_supported / agentNotifySetupSupported() accept Darwin or Linux.
  • Auto-default bootstrap and /init call configure on Linux (navigation=none).
  • Explicit --agent-notify on Linux is a real configure attempt.
  • Windows stays unsupported on this stack.
  • Includes the parent Ubuntu CI fixes: Linux none-setup configure e2e success, and a race-safe session-bus Notify count.

Tests

  • go test ./cmd/claude-notifications -count=1 -timeout 180s -run 'TestNotificationBootstrap|TestSetupCodexE2EConfigureNotifications'
  • go test ./internal/notifier -count=1 -race -run TestFreedesktopSessionBusSubmit
Open in Web Open in Cursor 

cursoragent and others added 2 commits September 14, 2026 18:00
Auto-default skips agent-notify MCP on unsupported OS or an old CLI and
keeps hooks-only success. Explicit --agent-notify and a failed configure
of a supported capability now return incomplete/nonzero without rolling
back committed hooks.

Co-authored-by: Илия <iliyazelenkog@gmail.com>
Linux is a supported agent-notify configure OS after the production
session-bus and navigation-none installer. Auto-default now calls
configure instead of skipping as unsupported_platform; explicit
--agent-notify no longer fails as an unsupported OS.

Co-authored-by: Илия <iliyazelenkog@gmail.com>
@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

cursoragent and others added 2 commits September 14, 2026 18:22
install_codex only passes --skip-agent-notify when the published CLI
help lists it. The inert test helper now prints that flag so Linux
auto MCP configure stays on the later bootstrap step, not setup-codex.

Co-authored-by: Илия <iliyazelenkog@gmail.com>
Co-authored-by: Илия <iliyazelenkog@gmail.com>
@codecov

codecov Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 8.33333% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.08%. Comparing base (0c4c170) to head (1cc5ad1).

Files with missing lines Patch % Lines
cmd/claude-notifications/setup_codex.go 8.33% 21 Missing and 1 partial ⚠️
Additional details and impacted files
@@                            Coverage Diff                            @@
##           cursor/uap-installer-linux-clock-6c84     #188      +/-   ##
=========================================================================
- Coverage                                  65.30%   65.08%   -0.22%     
=========================================================================
  Files                                        170      170              
  Lines                                      17333    17349      +16     
=========================================================================
- Hits                                       11319    11292      -27     
- Misses                                      4388     4432      +44     
+ Partials                                    1626     1625       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Linux auto-default now runs setup-notifications configure. The config
suite's mock Claude/Codex CLIs are not a valid MCP inventory, so
bootstrap failed closed with inventory_unknown. Keep this suite on
--skip-agent-notify; real MCP configure is covered by setup-codex e2e.

Co-authored-by: Илия <iliyazelenkog@gmail.com>
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.

2 participants