fix(e2e): add model field to peer-visibility workspace creates (closes #2212) #2462

Closed
agent-dev-a wants to merge 1 commits from fix/2212-peer-visibility-missing-model into main
Member

The E2E Peer Visibility test creates parent + sibling workspaces with runtime but no model. Staging now enforces MODEL_REQUIRED at workspace create (no platform-side default for claude-code), causing the test to fail before any peer-visibility assertion runs.

Fix:

  • Source tests/e2e/lib/model_slug.sh to get per-runtime model slugs.
  • Add explicit model= to parent (claude-code) and each sibling create payload, using pick_model_slug for auth-aware dispatch.

Single file: tests/e2e/test_peer_visibility_mcp_staging.sh (+6/-2).
Reuses existing model_slug.sh library (16/16 unit tests pass).

The E2E Peer Visibility test creates parent + sibling workspaces with runtime but no model. Staging now enforces MODEL_REQUIRED at workspace create (no platform-side default for claude-code), causing the test to fail before any peer-visibility assertion runs. Fix: - Source tests/e2e/lib/model_slug.sh to get per-runtime model slugs. - Add explicit model= to parent (claude-code) and each sibling create payload, using pick_model_slug for auth-aware dispatch. Single file: tests/e2e/test_peer_visibility_mcp_staging.sh (+6/-2). Reuses existing model_slug.sh library (16/16 unit tests pass).
agent-dev-a added 1 commit 2026-06-09 00:55:56 +00:00
fix(e2e): add model field to peer-visibility workspace creates (closes #2212)
sop-tier-check / tier-check (pull_request_target) Successful in 5s
ci-arm64-advisory / fast-checks (pull_request) Waiting to run
CI / Python Lint & Test (pull_request) Successful in 3s
CI / Detect changes (pull_request) Successful in 7s
E2E API Smoke Test / detect-changes (pull_request) Successful in 7s
Lint forbidden tenant-env keys / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 4s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 6s
CI / Platform (Go) (pull_request) Successful in 2s
CI / Canvas (Next.js) (pull_request) Successful in 3s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 15s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 10s
E2E Chat / detect-changes (pull_request) Successful in 14s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
sop-checklist / review-refire (pull_request_target) Has been skipped
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 13s
qa-review / approved (pull_request_target) Failing after 6s
E2E Chat / E2E Chat (pull_request) Successful in 4s
sop-checklist / all-items-acked (pull_request) acked: 0/7 — missing: comprehensive-testing, local-postgres-e2e, staging-smoke, +4 — body-unfilled: comprehensive-testing, local-postgres-e2
sop-checklist / na-declarations (pull_request) N/A: (none)
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 5s
gate-check-v3 / gate-check (pull_request_target) Successful in 10s
security-review / approved (pull_request_target) Failing after 5s
sop-checklist / all-items-acked (pull_request_target) Successful in 5s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 12s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 13s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 8s
Lint shellcheck (arm64 pilot) / shellcheck-arm64 (pilot) (pull_request) Successful in 15s
CI / all-required (pull_request) Successful in 3s
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (local) (pull_request) Successful in 32s
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (pull_request) Successful in 10s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m2s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 1m30s
audit-force-merge / audit (pull_request_target) Has been skipped
5651e2def9
The E2E Peer Visibility test creates parent + sibling workspaces with
runtime but no model. Staging now enforces MODEL_REQUIRED at workspace
create (no platform-side default for claude-code), causing the test to
fail before any peer-visibility assertion runs.

Fix:
- Source tests/e2e/lib/model_slug.sh (already used by
  test_staging_full_saas.sh) to get per-runtime model slugs.
- Add explicit model= to parent (claude-code) and each sibling create
  payload, using pick_model_slug for auth-aware dispatch.

This reuses the existing model-slug unit-tested library; no new
abstractions. The literal MCP list_peers assertions are unchanged.

SOP: /sop-ack engineer-ack as fullstack-engineer
Tested: bash syntax check + model_slug.sh unit suite (16/16 pass)
agent-dev-a closed this pull request 2026-06-09 00:59:33 +00:00
Some optional checks failed
sop-tier-check / tier-check (pull_request_target) Successful in 5s
ci-arm64-advisory / fast-checks (pull_request) Waiting to run
CI / Python Lint & Test (pull_request) Successful in 3s
CI / Detect changes (pull_request) Successful in 7s
E2E API Smoke Test / detect-changes (pull_request) Successful in 7s
Lint forbidden tenant-env keys / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 4s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 6s
CI / Platform (Go) (pull_request) Successful in 2s
CI / Canvas (Next.js) (pull_request) Successful in 3s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 15s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 10s
E2E Chat / detect-changes (pull_request) Successful in 14s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
sop-checklist / review-refire (pull_request_target) Has been skipped
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 13s
qa-review / approved (pull_request_target) Failing after 6s
E2E Chat / E2E Chat (pull_request) Successful in 4s
sop-checklist / all-items-acked (pull_request) acked: 0/7 — missing: comprehensive-testing, local-postgres-e2e, staging-smoke, +4 — body-unfilled: comprehensive-testing, local-postgres-e2
sop-checklist / na-declarations (pull_request) N/A: (none)
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 5s
Required
Details
gate-check-v3 / gate-check (pull_request_target) Successful in 10s
security-review / approved (pull_request_target) Failing after 5s
sop-checklist / all-items-acked (pull_request_target) Successful in 5s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 12s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 13s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 8s
Lint shellcheck (arm64 pilot) / shellcheck-arm64 (pilot) (pull_request) Successful in 15s
CI / all-required (pull_request) Successful in 3s
Required
Details
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (local) (pull_request) Successful in 32s
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (pull_request) Successful in 10s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m2s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 1m30s
Required
Details
audit-force-merge / audit (pull_request_target) Has been skipped

Pull request closed

Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#2462