Open japerry911 opened 1 month ago
@smunteankestra hey Stefan, could you have a look and try to reproduce first? Jack also shared the info: "It's invalidating everything that uses plugin defaults for the ee.batch
region. Flows work fine though, just validation issues"
indeed something going wrong with pluginDefaults
here. I'm able to reproduce. When putting the region
prop in the taskRunner directly the validate command is successful. cc @smunteankestra
(command to run the validate command without full infra ./kestra flow validate flows/test.yml --local
)
sorry just rereading, @Ben8t , do you comment adding --local at the end of my command for GitHub Actions Kestra workflows validations?
@japerry911 adding --local
flag is only useful to validate Kestra Flow on the client side; so you don't have to provider server url and/or auth. Convenient for quick validation π
@japerry911 do you use a Kestra EE image for the CLI or a Kestra image? Namespace plugin defaults is an EE feature so if you use an image which is not EE it cannot use them.
@loicmathieu FYI I reproduced on EE image on my side π
With --local
it cannot work as namespace config would not be available
Ok I see, I reproduced with pluginDefault
at the flow level... so still something to elucidate
I utilize image kestra/kestra:v0.18.6
Any update on this? Also I realized that it's using the GitHub action validate - https://github.com/kestra-io/validate-action
so using whatever image is in there
Jack for transparency this is on 0.20 scope so we'll investigate after the release on Tuesday and if you need it soon, we can try to ship it in a bugfix release
@anna-geller , 0.20 is totally ok, no worries. It's technically still working, it just fails on those, but it still checks everything else, which is all I need. Thank you for heads up π
Describe the issue
Execute:
Result:
Workflow YAML:
Plugin Defaults in root namespace:
I think it does not validate well when plugin_defaults is present for ee.batch region.
Let me know your all's thoughts, or if you need me to do anything debug-wise.
Thank you team π π
Environment