Skip to main content

One-click filter to all runs started from a commit hash

I would like to be able to jump to a page showing all runs in spacelift triggered by a single commit hash.

Workaround
Problem
Status: 🔭 Discovery2 comments

Log in to comment and vote

Comments2

  • Natalia Gazda

    Team•

    Oct 27

    Hey @Tom Milligan thanks for the request! Could you give me a bit more context on it:

    1. From which pages do you usually want to navigate to that view? Where would you need the button to navigate there?

    2. Also what do you mean by the “"all runs started from a commit hash" request:

      • same commit across stacks: show every run whose commit is this SHA, on all stacks that track the repo

      • dependency chain: show the runs this commit started, plus the runs of its dependencies

    3. How often do you need it, and what are the most common situations where such view would be useful for you?

    Thank!

    • Harlequin Meteorite

      •

      Oct 28

      The context for me is “I’ve just merged this thing in Github - show me all the runs that I now need to go an review/approve/care about”.

      The current way I do this is either:

      • Open the Spacelift dashboard and see what’s running/unconfirmed. But this includes a lot of other people’s changes.

      • Click through the github status checks on the commit to find a link to each run. This is annoying if there are many runs triggered by a single commit.

      Both of these are a proxy to filter to thing “I” have authored, even though of course in most cases it’s not me, it’s part of our CI pipeline.

      To answer your specific questions:

      1. I suppose from the homepage/some sort of generic landing page? Potentially the search bar? I agree this is not very clear.

      2. I was originally thinking of your first option - all directly triggered runs. I agree maybe dependency chain is useful as well, but we don’t really use dependency chains in our org so I don’t really care about that :)

      3. Generally when I’m merging a change that:

        1. Will trigger more than one stack

        2. I’m not sure which stacks need to be approved or not

        3. Is queued behind someone else’s change and I want to come back to later (essentially, this is like a little mini rollout dashboard just for my changes)

      I would say I’ve wanted this most days using my usual development flow, but can workaround it easily using the current ways I outlined above.

      I find using the filter view which I posted as a screenshot above too tricky to be worth it.

      Thanks!