Skip to content

release list: map older deploy records to releases by commit and artifact digest, as a derived link #4068

Open

Description

@lex00

Follow-up from #4034 and #4043 (INTENTIUS/behold#678 epic).

Deploy records written before 0.124.29, and plain run --components runs since, carry no releaseDigest. So release list shows no environment running such a release, and #4033's revoked-release flag can't mark such a deploy. Add a reader-side join in joinRelease, and from there release list and workspace status.

Requirements

  1. A deploy record derives a release when its gitSha equals the release's commit, its env is one of the release's targets, and its component and digest equal an artifactDigests entry of that release.
  2. The link is marked derived: true with the fields it matched on, is never written to a ledger line, and an explicit releaseDigest always wins.
  3. A deploy matching more than one release, or a component with no artifact entry, derives nothing.
  4. The docs say a derived link means the same build was deployed, not that the same templates were (a plain run --components compiles templates at deploy time).

Acceptance

Activity

  1. added
    enhancement
    area:lifecycle
    on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:lifecycleenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions