Skip to main content

Runs triggered against specific commit sha show in the UI whether the sha is in the tracked branch

Currently, when a run is triggered from a specific sha, the Spacelift UI does not show the branch, falling back instead to - . I asked this in the past in a Github issue and this is due to the difficulties of finding out the branch, as a commit can be in many branches.

However, what Spacelift knows, is whether the commit sha is in the tracked branch (and that is exposed to the policies via commit_exist_on_tracked_branch .

I would like that the UI of a commit sha triggered run in Spacelift does one of the following things:

  1. Either if commit_exist_on_tracked_branch is true, show the tracked branch name instead of -

  2. Or in the same line that the branch, sha, triggerer, etc information is shown, it show that the run is in a commit that belong to the tracked branch

I would favour 1, but 2 would be aceptable.

Workaround
Problem
Status: ➡️ Planned

Log in to comment and vote

No comments yet

Be the first to share your thoughts.