-
Notifications
You must be signed in to change notification settings - Fork 6.5k
fix(discovery): add missing lua syntax and return to discovery (fixes #24257) #24262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(discovery): add missing lua syntax and return to discovery (fixes #24257) #24262
Conversation
…oVertex, Pipeline and InterStepBufferService. Added discovery tests Signed-off-by: jan-mrm <[email protected]>
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
maybe @dpadhiar and @joshuase96 you can help to answer this? Or we leave it open since its whats been implemented. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #24262 +/- ##
==========================================
+ Coverage 60.13% 60.18% +0.04%
==========================================
Files 348 348
Lines 59905 59905
==========================================
+ Hits 36025 36053 +28
+ Misses 20982 20972 -10
+ Partials 2898 2880 -18 ☔ View full report in Codecov by Sentry. |
|
In the meantime, can you open cherry-picks for the relevant version(s) for this fix? |
…rgoproj#24257) (argoproj#24262) Signed-off-by: jan-mrm <[email protected]> (cherry picked from commit b20fd43)
cool, thanks. no worries. was just something I came across while adding the test. Might be intended, might not 🙂
As far as I can see its only in 3.1 so here is that PR but I might have messed something up... #24268 |
You're right, |
…rgoproj#24257) (argoproj#24262) Signed-off-by: jan-mrm <[email protected]> Signed-off-by: Mangaal <[email protected]>
…rgoproj#24257) (argoproj#24262) Signed-off-by: jan-mrm <[email protected]>
…rgoproj#24257) (argoproj#24262) Signed-off-by: jan-mrm <[email protected]>
…rgoproj#24257) (argoproj#24262) Signed-off-by: jan-mrm <[email protected]>
of MonoVertex, Pipeline and InterStepBufferService. Added discovery tests
fixes #24257
PR #22835 introduced broken lua code in the discovery of
Checklist:
One open question that I came across is whether the
specis right here or should be removed:Added by this PR #24036
I'm talking about this line and some more around that:
argo-cd/resource_customizations/numaflow.numaproj.io/MonoVertex/actions/discovery.lua
Line 31 in 1c5d7f1
obj.spec.metadata.annotations["numaflow.numaproj.io/allowed-resume-strategies"] == "fast"vs
obj.metadata.annotations["numaflow.numaproj.io/allowed-resume-strategies"] == "fast"The spec of the resource actually defines
spec.metadata.annotationshere but the tests have themetadata.annotationsset and notspec.metadata.annotations:argo-cd/resource_customizations/numaflow.numaproj.io/MonoVertex/actions/testdata/monovertex-paused.yaml
Lines 12 to 13 in 1c5d7f1