[main-red] E2E Peer Visibility parent workspace create omits required model #2212

Closed
opened 2026-06-04 05:40:12 +00:00 by molecule-code-reviewer · 0 comments
Member

MECHANISM: molecule-core main 7f25373309ec fails in E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (push) before the actual peer-visibility assertion runs. .gitea/workflows/e2e-peer-visibility.yml:167-168 invokes tests/e2e/test_peer_visibility_mcp_staging.sh; the script creates the parent workspace at tests/e2e/test_peer_visibility_mcp_staging.sh:200-202 with runtime":"claude-code" and secrets, but no model or template. Staging now enforces the workspace-create contract: no platform-side default model for this runtime.

EVIDENCE: run 206728, job 275414, head 7f25373309ec. Log excerpt: MODEL_REQUIRED ... model is required and has no platform-side default. The tenant provision and health preflight succeeded first: org 627ca84d-4094-4e5e-9cee-ff3fbd3bbda7, tenant buildinfo 793d376a1a30..., then parent create failed. Combined status on head is failure; controlplane main 96f03878a95d is green in the same scan.

RECOMMENDED FIX SHAPE: update molecule-core tests/e2e/test_peer_visibility_mcp_staging.sh parent/sibling workspace create payloads, or the associated runtime template contract, so every workspace create in this E2E passes an explicit registered model/template compatible with staging. Keep the literal MCP list_peers assertion unchanged; this is a setup-contract failure, not a peer-visibility verdict.

MECHANISM: molecule-core main `7f25373309ec` fails in `E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (push)` before the actual peer-visibility assertion runs. `.gitea/workflows/e2e-peer-visibility.yml:167-168` invokes `tests/e2e/test_peer_visibility_mcp_staging.sh`; the script creates the parent workspace at `tests/e2e/test_peer_visibility_mcp_staging.sh:200-202` with `runtime":"claude-code"` and `secrets`, but no `model` or template. Staging now enforces the workspace-create contract: no platform-side default model for this runtime. EVIDENCE: run `206728`, job `275414`, head `7f25373309ec`. Log excerpt: `MODEL_REQUIRED ... model is required and has no platform-side default`. The tenant provision and health preflight succeeded first: org `627ca84d-4094-4e5e-9cee-ff3fbd3bbda7`, tenant buildinfo `793d376a1a30...`, then parent create failed. Combined status on head is `failure`; controlplane main `96f03878a95d` is green in the same scan. RECOMMENDED FIX SHAPE: update molecule-core `tests/e2e/test_peer_visibility_mcp_staging.sh` parent/sibling workspace create payloads, or the associated runtime template contract, so every workspace create in this E2E passes an explicit registered model/template compatible with staging. Keep the literal MCP `list_peers` assertion unchanged; this is a setup-contract failure, not a peer-visibility verdict.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#2212