[CU-86bar2y9c] Support platform admins (no namespace) for global workflow creates#179
Merged
Merged
Conversation
…flow creates • get_workflow_client now takes global_action; when set with no namespace it uses a "global" placeholder path segment and skips the users/me lookup that fails for namespace-less platform admins (workflow-service ignores the path ns for global ops) • Forward global_action from the 5 POST-create commands: workflow, version, defaults, transformation, dependency • Make WorkbenchUser.default_namespace Optional so accountless-namespace users no longer crash pydantic on a null default_namespace • Add unit tests for the getter global/explicit/default branches and the model change • Scope note: delete/update (etag pre-fetch GET), PUT updates, and read/list global are intentionally NOT included — they require back-end changes (see design doc + follow-up ticket) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #179 +/- ##
==========================================
+ Coverage 59.59% 59.98% +0.39%
==========================================
Files 180 181 +1
Lines 11056 11124 +68
==========================================
+ Hits 6589 6673 +84
+ Misses 4467 4451 -16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
angelo-DNAStack
approved these changes
Jul 3, 2026
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.
• get_workflow_client now takes global_action; when set with no namespace it uses a
"global" placeholder path segment and skips the users/me lookup that fails for
namespace-less platform admins (workflow-service ignores the path ns for global ops)
• Forward global_action from the 5 POST-create commands: workflow, version, defaults,
transformation, dependency
• Make WorkbenchUser.default_namespace Optional so accountless-namespace users no longer
crash pydantic on a null default_namespace
• Add unit tests for the getter global/explicit/default branches and the model change
• Scope note: delete/update (etag pre-fetch GET), PUT updates, and read/list global are
intentionally NOT included — they require back-end changes (see design doc + follow-up ticket)
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com