Skip to content

fix(cli): reuse Docker metadata contracts during acceptance - #4512

Merged
yannickmonney merged 1 commit into
mainfrom
fix/deployment-acceptance-docker-shapes
Oct 8, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
fix/deployment-acceptance-docker-shapes

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Summary

tale deploy accept rejected an otherwise Ready deployment when Docker omitted the optional Config.Labels field on the third-party registry image. Reuse runtime preparation's existing image Config schema and runtime observation's RFC3339Nano timestamp validator, retaining exact Tale image source/version checks and final container identity rereads.

The actual missing-label case and valid offset timestamps are covered through acceptDeployment, with malformed metadata, missing Tale labels and changed start-time refusal controls.

Checklist

  • bun run check passes (format, lint, typecheck, all tests).
  • bun run lint:sast passes (Opengrep).
  • Translations: N/A — internal Docker wire-shape compatibility; no UI strings or error wording changed.
  • User docs: N/A — no CLI flag, configuration or receipt change; the manual automation reference documents the compatibility regression.
  • READMEs: N/A — no setup or external usage change.

Test plan

  • Actual omitted-label and offset timestamp regressions failed before the fix.
  • Runtime/acceptance suites: 179 passed, 912 assertions.
  • CLI lint/typecheck, manual references and changed-file formatting pass.
  • Pinned Bun 1.4.2 full check: 49/49 tasks (47 cached); CLI suite executed with 2,545 passed, 29 skipped, 0 failed.
  • Knip and full SAST pass (0 reported findings).

The failed v0.5.77 workflow remains failed. The fix still requires a coherent release and normal deployed acceptance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant