Repository navigation
feat(cli): observe retained deployments without applying changes - #4648
Merged
Merged
Conversation
tale-code-bot
added a commit
that referenced
this pull request
Nov 1, 2026
v0.5.82 was published from 81ef78d under notes written for it. Its tag then moved twice, to e6fb962 and to 0381bc4, 25 merges later, and a Release run for each rebuilt its images under the same notes; the CLI binaries attached to it come from the last. The only identity check compared the tag with the run's commit, after the images were written, and nothing compared a run's commit with the commit a published release came from. tools/cli/scripts/release-source.ts decides whether a Release run may publish its commit as its version: only when each tag of the version (vX.Y.Z and X.Y.Z) names that commit and no published release of the version came from another. A release's commit is its target_commitish, the full SHA Create release passes as --target; a release published against a branch, as v0.5.84 and older were, names no commit and refuses every source. Prepare decides before anything is built, and Manifest, Create release and Trigger CLI build decide again just before they write, since a failed-jobs re-run keeps Prepare's outputs and a tag can move while the images build. A refused commit is released as the next version. The v0.5.82 notes now cover what 0381bc4 ships over 81ef78d, name the commit and runs its tag, images and CLI binaries come from, and say they were corrected after publication. They credit tale deploy observe (#4648) to v0.5.81, which shipped it. release-notes.test.ts accepts them against the release's contents and what v0.5.81 already ships. The published release body is left to the release owner (#4741). Refs #4741
tale-review-bot
pushed a commit
that referenced
this pull request
Nov 1, 2026
v0.5.82 was published from 81ef78d under notes written for it. Its tag then moved twice, to e6fb962 and to 0381bc4, 25 merges later, and a Release run for each rebuilt its images under the same notes; the CLI binaries attached to it come from the last. The only identity check compared the tag with the run's commit, after the images were written, and nothing compared a run's commit with the commit a published release came from. tools/cli/scripts/release-source.ts decides whether a Release run may publish its commit as its version: only when each tag of the version (vX.Y.Z and X.Y.Z) names that commit and no published release of the version came from another. A release's commit is its target_commitish, the full SHA Create release passes as --target; a release published against a branch, as v0.5.84 and older were, names no commit and refuses every source. Prepare decides before anything is built, and Manifest, Create release and Trigger CLI build decide again just before they write, since a failed-jobs re-run keeps Prepare's outputs and a tag can move while the images build. A refused commit is released as the next version. The v0.5.82 notes now cover what 0381bc4 ships over 81ef78d, name the commit and runs its tag, images and CLI binaries come from, and say they were corrected after publication. They credit tale deploy observe (#4648) to v0.5.81, which shipped it. release-notes.test.ts accepts them against the release's contents and what v0.5.81 already ships. The published release body is left to the release owner (#4741). Refs #4741 Task: TALE-142
tale-code-bot
added a commit
that referenced
this pull request
Nov 1, 2026
v0.5.82 was published from 81ef78d under notes written for it. Its tag then moved twice, to e6fb962 and to 0381bc4, 25 merges later, and a Release run for each rebuilt its images under the same notes; the CLI binaries attached to it come from the last. The only identity check compared the tag with the run's commit, after the images were written, and nothing compared a run's commit with the commit a published release came from. tools/cli/scripts/release-source.ts decides whether a Release run may publish its commit as its version: only when each tag of the version (vX.Y.Z and X.Y.Z) names that commit and no published release of the version came from another. A release's commit is its target_commitish, the full SHA Create release passes as --target; a release published against a branch, as v0.5.84 and older were, names no commit and refuses every source. Prepare decides before anything is built, and Manifest, Create release and Trigger CLI build decide again just before they write, since a failed-jobs re-run keeps Prepare's outputs and a tag can move while the images build. A refused commit is released as the next version. The v0.5.82 notes now cover what 0381bc4 ships over 81ef78d, name the commit and runs its tag, images and CLI binaries come from, and say they were corrected after publication. They credit tale deploy observe (#4648) to v0.5.81, which shipped it. release-notes.test.ts accepts them against the release's contents and what v0.5.81 already ships. The published release body is left to the release owner (#4741). Refs #4741 Task: TALE-142
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
tale deploy observeso existing deployments can report retained identity/configuration, image provenance, migration inventories and corpus/disk facts before a rollout. The command reuses existing identity authentication and native release verification, without provisioning, compiling retained packs, applying configuration, migrating, restarting or pruning. Incomplete evidence remains a structured report with exit 3; observation never grants Ready acceptance or cutover permission.The transport binds the admitted host, local Docker daemon, exact containers, executable source/bytes and retained private custody, then rechecks them. Only bounded temporary tooling and existing authentication sessions may be created; both have independent cleanup budgets. Private input is explicit and bounded, failures redact underlying values, and proxy variables are cleared for loopback native verification. The command is excluded from automatic CLI version alignment.
Also pins source-hashed CI snapshots to LF on Windows-style checkouts, preserving strict production hashes. A regression materializes an
autocrlf=truecheckout and proves removing the attributes breaks byte custody. EN/DE/FR operator docs, automated coverage registration and v0.5.81 notes describe the new command.Validation on main
f87e5f67c845b603569027c6c7bc15072211a2b4:No claim of a full repository check, actual Windows host execution, rendered documentation preview or live deployment observation. Relevant borrowed dependency provenance was checked; complete lockfile equivalence is not claimed. The installed release artifact and observation-only Ops workflow still need their normal target execution and evidence collection.