Skip to content

fix(mcpx): exclude internal/e2e from the nix check phase - #16919

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
felix/16914-mcpx-nix-check-e2e
Nov 29, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
felix/16914-mcpx-nix-check-e2e

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #16914

Diagnosis (run 46283163683, head a16a08a, read firsthand)

The basic: nix build job fails in the mcpx derivation's checkPhase, not in the build: every package passes except internal/e2e, which fails three tests — TestRestartReportsAServerThatDoesNotComeBack (supervisor did not attach within 20s), TestTemplatesListedColdIncludeTheServers (cold-start listing raced the daemon), TestInprocRunnerLsStartsRealDaemon (daemon still alive 30s after stop). That is the daemon-lifecycle cluster #16797 — the same failures are red in the e2e suite's own CI on main (all shards since 2026-11-28; see #8465), and the workflow has failed on every recent main run. Sibling work on the cluster is in flight (e.g. PR #16910, the supervisor-log diagnostic).

Fix

Add internal/e2e to checkExclude in pkgs/mcpx/package.nix, following the exact precedent of internal/cli (#2686: drives real daemons/subprocesses in the build sandbox; runs in CI on main instead). The exclusion comment — the convention internal/buildcheck enforces — names what the sandbox lacks (a process environment where supervised daemon spawns meet their wall-clock attach/cleanup waits), names the owning cluster #16797, and states the re-entry condition: remove the entry when #16797 closes and the suite is green in its own CI.

This does not mute the failure: the e2e suite keeps running (and stays red until the cluster lands) in mcpx-test.yml on main. What it un-breaks is this workflow's actual purpose — narrow package-build verification (#297: the only CI build of the package; it catches stale vendorHash) — which the e2e suite's ~15 sandbox minutes were also crowding out of the job's 30m budget.

Verification

Dispatched mcpx-nixbuild.yml (workflow_dispatch) against this branch — the exact failing job on the fixed tree; the run also exercises internal/buildcheck's checkExclude guard, which is part of the non-excluded check set. Run id recorded on #16914 when it starts; verdict to follow from its log.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-29T17:48:50Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "010b47d1c4cecdcd1b7d6ea260b7c9b0a61fb89e"
    },
    "auth_subject": "felix",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

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

The e2e suite spawns real daemons/supervisors and waits on wall-clock
attach (20s) and cleanup (30s) inside the build sandbox; those waits
fail under the daemon-lifecycle cluster #16797, which is red in the
suite's own CI on main and is being fixed there. The failures have
kept the mcpx nix build workflow red on every recent main run and
crowd its 30m job budget (the e2e package alone took ~15m in run
46283163683). Same pattern as the internal/cli exclusion (#2686):
the suite runs in CI on main instead. Re-entry: remove the entry
when #16797 closes and the suite is green there.
@coderabbitai

coderabbitai Bot commented Nov 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8412dba4-64a0-4366-9d99-8b3d68bb326e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

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.

main-broken: developing-today/code mcpx nix build @a16a08a — basic: nix build

0 participants