Skip to content

fix(mcp): avoid runtime flake resolution - #51

Merged
ErikBPF merged 2 commits into
mainfrom
fix/nix-mcp-startup
Oct 4, 2026
Merged

ErikBPF merged 2 commits into
mainfrom
fix/nix-mcp-startup

Conversation

@ErikBPF

@ErikBPF ErikBPF commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Outcome

Launch the pinned mcp-nixos 2.4.3 executable from the realized Home Manager closure instead of resolving a flake during MCP initialization. Preserve the shared V1-compatible configuration consumed by V2.

Validation

  • Regression assertion observed failing before implementation.
  • Full just check-full passes after reconciliation with current main.
  • V1 1.18.30 and V2 2.0.21 isolated connections passed with the same legacy MCP entry.
  • Current remote package updates preserved; no history rewriting.

Rollout

Publish and verify FlakeHub artifact first. Consumer pins it before Endeavour-only Home Manager activation; separate field-preserving V2 snapshot refresh retains unrelated settings.

Recovery

Revert this change and publish a replacement artifact; consumer rollback retains its narrow V2 refresh activation and restores prior input pin.

Realize the pinned mcp-nixos closure with Home Manager so network cache retries cannot consume the MCP startup budget. Keep the shared V1-compatible configuration that V2 normalizes.
@ErikBPF
ErikBPF enabled auto-merge (squash) October 4, 2026 21:55
@ErikBPF
ErikBPF merged commit 526625e into main Oct 4, 2026
6 checks passed
@ErikBPF
ErikBPF deleted the fix/nix-mcp-startup branch October 4, 2026 21:59
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