You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nimma has been introduced in #1136. It provides a more performant way to perform JsonPath based lookups.
However it may need some more refinements (cf. #1260 for instance).
In order to move forward and make nimma the default, we'd need more use cases and wider tests.
The proposal would be to add a switch to the CLI params (--nimma-double-run-opt-in for instance) and to request some help from Spectral users so that they run Spectral with this switch on.
When activated, this would run everything twice (with AND without nimma), fail the run and report a very explicit message if anything differs.
This would be easy to setup for the users
But may take up to twice the time to run (but mostly on CI)
The generated message should provide everything that's needed to help us fix the issue (mostly the JsonPath expressions that generated different outputs, I believe...) in a templated message the user could copy and paste while creating the issue in this tracker.
We may need an additional switch (eg do-not-fail-on-nimma-regressions) that users that have run into a nimma regression could temporarily activate while we're fixing it.
This switch would be dropped once nimma is considered stable and the default JsonPath lookup engine.
The text was updated successfully, but these errors were encountered:
Nimma has been introduced in #1136. It provides a more performant way to perform JsonPath based lookups.
However it may need some more refinements (cf. #1260 for instance).
In order to move forward and make nimma the default, we'd need more use cases and wider tests.
The proposal would be to add a switch to the CLI params (
--nimma-double-run-opt-in
for instance) and to request some help from Spectral users so that they run Spectral with this switch on.When activated, this would run everything twice (with AND without nimma), fail the run and report a very explicit message if anything differs.
The generated message should provide everything that's needed to help us fix the issue (mostly the JsonPath expressions that generated different outputs, I believe...) in a templated message the user could copy and paste while creating the issue in this tracker.
We may need an additional switch (eg
do-not-fail-on-nimma-regressions
) that users that have run into a nimma regression could temporarily activate while we're fixing it.This switch would be dropped once nimma is considered stable and the default JsonPath lookup engine.
The text was updated successfully, but these errors were encountered: