kestra-io / kestra

:zap: Workflow Automation Platform. Orchestrate & Schedule code in any language, run anywhere, 500+ plugins. Alternative to Zapier, Rundeck, Camunda, Airflow...
https://kestra.io
Apache License 2.0
13.1k stars 1.15k forks source link

feat(*): add namespace as a parameter of the internal storage #6022

Closed loicmathieu closed 1 day ago

sonarcloud[bot] commented 1 day ago

Quality Gate Failed Quality Gate failed

Failed conditions
39.1% Coverage on New Code (required ≥ 80%)
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

loicmathieu commented 1 day ago

Breaking Change

For plugin developer or users having custom plugin, the internal storage now take a namespace parameter on all its methods. This is mandatory to be passed by a plugin but can be safely set as null in tests that directly use the internal storage. Plugins are normally not affected if the use the runContext().storage() method that has been updated to automatically use the execution namespace.