fix(image): build platform-agent FROM live platform-tenant base (unblocks concierge identity) #2982

Merged
core-devops merged 1 commits from fix/platform-agent-base-on-tenant into main 2026-06-16 02:22:30 +00:00
Member

Fixes the last blocker: the concierge identity image never built because Dockerfile.platform-agent built FROM molecule-ai/platform, dead since 2026-05-15. Repoints the build to FROM platform-tenant (the LIVE workspace-server image concierges already run; it has /entrypoint.sh that the platform-agent wrapper chains to), ordered after the tenant build, and marks the orphaned molecule-ai/platform base build continue-on-error. After merge: build produces molecule-platform-agent → #2979 auto-promotes the pin → concierges roll → identity live. Verified by template-delivery-e2e (#2971).

Fixes the last blocker: the concierge identity image never built because Dockerfile.platform-agent built FROM molecule-ai/platform, dead since 2026-05-15. Repoints the build to FROM platform-tenant (the LIVE workspace-server image concierges already run; it has /entrypoint.sh that the platform-agent wrapper chains to), ordered after the tenant build, and marks the orphaned molecule-ai/platform base build continue-on-error. After merge: build produces molecule-platform-agent → #2979 auto-promotes the pin → concierges roll → identity live. Verified by template-delivery-e2e (#2971).
core-devops added 1 commit 2026-06-16 02:18:03 +00:00
fix(image): build platform-agent FROM the live platform-tenant base (concierge identity image was failing on a dead base)
CI / Python Lint & Test (pull_request) Successful in 5s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 6s
E2E Peer Visibility (literal MCP list_peers) / detect-changes (pull_request) Successful in 7s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 6s
Lint forbidden tenant-env keys / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 5s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 8s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 6s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 11s
lint-required-workflows-docker-host-pinned / Lint docker-host pin on docker-touching workflows (pull_request) Successful in 7s
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (local) (pull_request) Has been skipped
E2E API Smoke Test / detect-changes (pull_request) Successful in 16s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 6s
E2E Chat / detect-changes (pull_request) Successful in 18s
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (pull_request) Successful in 5s
sop-checklist / review-refire (pull_request_target) Has been skipped
qa-review / approved (pull_request_target) Failing after 8s
CI / Detect changes (pull_request) Successful in 20s
Lint publish-runner timeout-minutes / Lint publish-runner timeout-minutes (pull_request) Successful in 16s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 2s
lint-no-coe-on-required / lint-no-coe-on-required (pull_request) Successful in 18s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 2s
PR Diff Guard / PR diff guard (pull_request) Successful in 14s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 3s
E2E Chat / E2E Chat (pull_request) Successful in 3s
gate-check-v3 / gate-check (pull_request_target) Failing after 13s
security-review / approved (pull_request_target) Failing after 7s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 2s
CI / Platform (Go) (pull_request) Successful in 3s
reserved-path-review / reserved-path-review (pull_request_target) Failing after 9s
CI / Canvas (Next.js) (pull_request) Successful in 2s
sop-checklist / na-declarations (pull_request) N/A: (none)
sop-checklist / all-items-acked (pull_request_target) Successful in 9s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 20s
CI / Canvas Deploy Status (pull_request) Successful in 1s
Lint pre-flip continue-on-error / Verify continue-on-error flips have run-log proof (pull_request) Successful in 29s
CI / all-required (pull_request) Successful in 3s
Lint workflow YAML (Gitea-1.22.6-hostile shapes) / Lint workflow YAML for Gitea-1.22.6-hostile shapes (pull_request) Successful in 26s
lint-continue-on-error-tracking / lint-continue-on-error-tracking (pull_request) Failing after 33s
lint-setup-go-cache / lint-setup-go-cache (pull_request) Successful in 29s
Local Provision Lifecycle E2E / Local Provision Lifecycle E2E (stub) (pull_request) Successful in 36s
lint-required-context-exists-in-bp / lint-required-context-exists-in-bp (pull_request) Successful in 53s
Local Provision Lifecycle E2E / Local Provision Lifecycle E2E (real image + MiniMax LLM, advisory) (pull_request) Successful in 37s
sop-checklist / all-items-acked (pull_request) Compensated by status-reaper (non-required pull_request/pull_request_review governance shadow overridden by successful pull_request_target status; see .gitea/scripts/status-reaper.py)
audit-force-merge / audit (pull_request_target) Successful in 8s
24dd2779d9
Root cause the concierge identity image never built: Dockerfile.platform-agent
built FROM molecule-ai/platform, but that base image has not built since
2026-05-15 (orphaned) — so BASE_IMAGE=molecule-ai/platform:staging-<sha> never
existed and the platform-agent build failed. Meanwhile the LIVE image concierges
actually run is platform-tenant (Dockerfile.tenant), which has /entrypoint.sh
(entrypoint-tenant.sh) — exactly what the platform-agent wrapper chains to.

Changes (publish-workspace-server-image.yml):
- Build the platform-agent image AFTER the tenant build, FROM
  ${TENANT_IMAGE_NAME}:${TAG_SHA} (the live workspace-server image) — NOT the
  dead molecule-ai/platform. Fresh builder + clean failure.
- Mark the orphaned molecule-ai/platform base build continue-on-error so its
  failure can never block the tenant + platform-agent builds (it has no
  consumers left after this repoint).

Net: a main publish now builds the concierge image on the current code (incl.
#2966 model + #2955 identity), so #2979's auto-promote can roll it to concierges.
Verified end-to-end by template-delivery-e2e (#2971).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
core-devops merged commit f82504c5f4 into main 2026-06-16 02:22:30 +00:00
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#2982