Skip to content

test(mcpx): align cold template oracle with warm policy - #16930

Merged
developing-today-fleet[bot] merged 2 commits into
mainfrom
oc-code-08/3016-templates-cold
Nov 29, 2026
Merged

developing-today-fleet[bot] merged 2 commits into
mainfrom
oc-code-08/3016-templates-cold

Conversation

@developing-today-fleet

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

Copy link
Copy Markdown
Contributor

Summary

  • Keep the daemon.warm=false opt-out contract: it deliberately suppresses startup and opportunistic schema reads.
  • Remove that opt-out from the first-request template listing oracle, so it tests the documented default cold-catalog rescue instead of asserting that a disabled warm populates templates.
  • Keep TestDaemonWarmReadsTheServersAtStartupFromTheEnvironment as the oracle for the opt-out behavior.

Refs #3016

Evidence

  • Before (nightly run 46282003994, seed 5172597009717563986): TestTemplatesListedColdIncludeTheServers failed 3/3 on ubuntu and 3/3 on macOS; response contained only mcpx://artifacts/{id}.
  • Before (local, at origin/main): cd pkgs/mcpx && go test ./internal/e2e/ -run '^TestTemplatesListedColdIncludeTheServers$' -count=1 -v failed with the same empty-upstream-template symptom.
  • After (local, commit 2fa4cb8): cd pkgs/mcpx && go test ./internal/e2e/ -run '^(TestTemplatesListedOnFirstRequest|TestResourcesListOmitsTemplates|TestUpstreamListMetadataSurvives)$' -count=3 -v passed 3/3.
  • Remote race/shuffle verification request was rejected by Fleet dispatch (HTTP 403); PR CI remains authoritative and pending.

Merge Danger

Low: test-only correction; production behavior is unchanged.

{
  "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-29T18:32:57Z",
    "session_id": "ses_e5dd7a68e15ffeP4t2yOvSuoXE",
    "lane": null,
    "host": "amd",
    "worktree": "/tmp/opencode/wt-3016",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/tmp/opencode/wt-3016",
      "repo": "developing-today/code",
      "branch": "oc-code-08/3016-templates-cold",
      "sha": "2fa4cb8f0a4355fd33ede2e5290947a2a1380e9c"
    },
    "auth_subject": "oc-code-08",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

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

@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: ff1c9aba-5060-4403-b6b2-e74c1eb05b82

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.

0 participants