Add backwards-compat alias for CONFIG singleton#2351
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2351 +/- ##
==========================================
- Coverage 90.66% 90.59% -0.07%
==========================================
Files 75 75
Lines 5022 5030 +8
==========================================
+ Hits 4553 4557 +4
- Misses 469 473 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Hi thanks for the quick fix but in our use case it's still not working (looks like some field |
|
One difference is that config vars are now validated on assignment, whereas before they were not, so likely you have some error in your config somewhere that has only just raised its head. By eye, it looks like only sortable should be added (I'm not sure if this metadata is even used anywhere, without looking) -- could you try again following my last commit? If that fails we can just remove the validation of provider field config for now, but an example of one of your provider fields would be helpful. |
|
I'm not entirely sure because I didn't touch this part in NOMAD, but still got similar validation error: We could pin |
|
Ok I see the issue (sortable is being provided as a bool but the type hint expects a string). There's no need for us to validate this so closely, so I've disabled it. If you could just check one more time then I'll merge and release this PR tonight. |
|
I think some logger must have be renamed also, could be an issue from nomad side because logger shouldn't be considered public (I would look into this tomorrow)? |
|
|
Thanks for the fix @fekad would get back to you a bit later as I'm not familiar with this part ;) |
Attempts to address backwards compat issue originally posted by @DanielYang59 in #2313 (comment)_