Giter Site home page Giter Site logo

Comments (9)

Lawouach avatar Lawouach commented on May 16, 2024

This should be discussed as part of the API I think http://chaostoolkit.org/reference/api/journal/#format

from chaostoolkit.

ksolie avatar ksolie commented on May 16, 2024

Will this affect how the notifications work? I'm assuming there will need to be a change to the event filter to something like run-weakness instead of run-failed

from chaostoolkit.

Lawouach avatar Lawouach commented on May 16, 2024

Hey @ksolie, that's a good catch.

I'm tempted to consider the wording @russmiles is considering to be about the narrative of the log output. Event wise, I'm not sure we can emit an event that says "weakness found", but certainly something saying "didn't go according to plan" which I thought failed would convey better.

thoughts?

from chaostoolkit.

ksolie avatar ksolie commented on May 16, 2024

After looking at it closer I agree with you

from chaostoolkit.

Lawouach avatar Lawouach commented on May 16, 2024

We have been talking about this and we have settled for "deviated" rather than "failed".

Looking at the code, there is a risk of breaking compatibility here. The displayed text comes from the status we set in the journal. While we could add a if-statement when we are ine "failed" mode so that we display "deviated" instead (not pretty but easy enough). We would also change the wording entirely in the journal but there is a risk that we start confusing downstreams when they anticipated failed and we return deviated (vice versa).

So my take is to remain simple here and we can enhance our specification in the future to accomodate those differences.

from chaostoolkit.

Lawouach avatar Lawouach commented on May 16, 2024

Hey @ksolie, would you mind having a look at the following PRs as well please, since you were interested in this issue:

chaostoolkit/chaostoolkit-lib#56
#78

Cheers

from chaostoolkit.

Lawouach avatar Lawouach commented on May 16, 2024

I think the changes are backwrad compatible and are only additive.

from chaostoolkit.

ksolie avatar ksolie commented on May 16, 2024

They LGTM

from chaostoolkit.

Lawouach avatar Lawouach commented on May 16, 2024

Thanks!

from chaostoolkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.