fix(image): build platform-agent FROM live platform-tenant base (unblocks concierge identity) #2982
Reference in New Issue
Block a user
Delete Branch "fix/platform-agent-base-on-tenant"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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).
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>