spec icon indicating copy to clipboard operation
spec copied to clipboard

Propose new event, "Artifact.flagged"

Open dan-han-101 opened this issue 2 years ago • 2 comments

Currently, an "artifact" has the following predicates: packaged, published, and signed.

In #143 - there is a discussion on adding

  • artifact.pulled
  • deleted
  • scanned

And in #144 - there is a discussion for adding

  • artifact.pushed

In this Issue, I'd like to propose adding another event, artifact.flagged.

Our use case

We run tests that create messages like testSuiteRun.finished and testSuiteRun.finished. These tests ultimately are intended to validate whether some other system-under-test is in a healthy state. When a test completes, we would like to post a message, saying that a given "artifact" has been "flagged" with a passing or failing test.

Alternatives

While, internally, we have been using the rather generic name of "flagged", for our purposes, it would be fine with us to go to a more granular level and have the message instead be "Artifact.tested".

Message details

Roughly, we envision something that has identifers for the artifact, and identifiers for the test with its associated status (failed/passed/etc...)

dan-han-101 avatar Sep 11 '23 21:09 dan-han-101

@dan-han-101 , this artifact.flagged event, do you think it is the same use case as the confidence label or maturity level terms I mentioned in my comment on this issue: https://github.com/cdevents/spec/issues/143#issuecomment-1840733305 ?

e-backmark-ericsson avatar Dec 05 '23 12:12 e-backmark-ericsson

@e-backmark-ericsson - Yes, I think this issue is similar to a confidence label or maturity level .

I also saw someone mention artifact.quarantined - I think is close to what I was looking for.

I'm Ok to close this issue if existing issues already overlap. And I can just follow and add comments to the other ones.

dan-han-101 avatar Jan 02 '24 21:01 dan-han-101