You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(server): run the agent image built from the same commit as the server (#1500)
Derives the agent sandbox image reference from the deployment's own IMAGE_TAG instead of defaulting to the agent-pi:latest release channel, so the sandbox and the application server are built from one commit by construction. A reference naming a moving tag is refused at startup. Also fixes the release workflow asserting node --version against an image that no longer ships Node.
| grep -vE '^\./(MIGRATION\.md|docs/admin/agent-image-digests\.md|docs/decisions/0031-.*\.md|server/src/test/java/de/tum/cit/aet/hephaestus/agent/sandbox/AgentImageReferenceGuardTest\.java):' ; then
385
+
echo "::error::A release-channel agent image tag resolves to another release's image (ADR 0031). Leave the reference unset so it follows this deployment's image tag, or pin a digest."
386
+
exit 1
387
+
fi
388
+
373
389
- name: Assert no legacy agent-image-pin.env references
echo "::error::agent-pi implements runtime contract '${declared:-<none>}' but the released server stages for v${expected} — refusing to publish a pin for an unmatched pair."
0 commit comments