Skip to content

FR: Drift Detection: one issue per project / stack #1129

@thiagowfx

Description

@thiagowfx

Describe the feature

w.r.t. https://docs.terrateam.io/governance/drift-detection/#github-issues:

Feature request: add the ability to file exactly one issue per Terrateam-managed project / stack.

Why is this feature important?

Currently, we get one of these two issue types whenever drift is detected:

  1. "Drift output too large to display. See action logs here."
Image

This is not very useful, because we do not know which projects are affected until we click the link.

Also, the link opens the github actions log viewer, which is not great, to put it in a nice way. It would be much nicer if it opened the corresponding Terrateam console diff instead.

  1. Multiple projects in a single issue

This is useful and much nicer, and we can see diffs right from the github issue description.

However, there's one outstanding developer usability issue.

Let's say that, as part of this issue, I ended up addressing the first drift. It no longer exists.

The next logical action for me is to mark it as "completed" / "done", by closing the issue.

Buuuut, I wouldn't like to close it just yet. The other drifts are still around!

If we had individual issues per directories/stacks, then I would be able to close that issue after addressing the drift. It maps naturally to a developer workflow. See also, relatedly: #924

Quick-win alternative: Add checkboxes to each bullet point, like this:

  • foo
  • bar

Then it becomes easier to mark each individual drift as done.

Image

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions