fix: use user-defined NAMESPACE in script env#2653
Merged
Conversation
eddycharly
approved these changes
Mar 26, 2026
eddycharly
left a comment
Member
There was a problem hiding this comment.
Thanks @lzielezinska !
Was nice to meet you at contribfest 🙏
eddycharly
enabled auto-merge (squash)
March 26, 2026 07:54
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2653 +/- ##
==========================================
- Coverage 67.00% 66.99% -0.02%
==========================================
Files 149 149
Lines 5707 5708 +1
==========================================
Hits 3824 3824
- Misses 1623 1624 +1
Partials 260 260 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
eddycharly
disabled auto-merge
March 26, 2026 08:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation
This PR fixes a bug where a user-defined NAMESPACE in a script or command env block was being silently overwritten by the internal ephemeral namespace.
After this change, if a user sets NAMESPACE, their value is respected. The default namespace is only used when NAMESPACE is not provided.
Related issue
Fixes #2643
Proposed Changes
Checklist