Skip to content

Fix setWorkflowTags to send PUT - #176

Merged
ling-senpeng13 merged 1 commit into
mainfrom
lpeng/fix-set-workflow-tags-method
Oct 8, 2026
Merged

ling-senpeng13 merged 1 commit into
mainfrom
lpeng/fix-set-workflow-tags-method

Conversation

@ling-senpeng13

Copy link
Copy Markdown
Contributor

TagsResource.setWorkflowTags sent a GET, so it returned the current tags and changed nothing. The server's endpoint is PUT /metadata/workflow/{name}/tags, which setTaskTags already uses.

MetadataClientTests.tagWorkflow set the tag the workflow already had, so it passed either way. It now replaces the tag with a different one; it fails with GET and passes with PUT against a local Orkes server.

@ling-senpeng13
ling-senpeng13 marked this pull request as ready for review October 7, 2026 23:19
@ling-senpeng13
ling-senpeng13 merged commit 914dc6e into main Oct 8, 2026
4 checks passed
@ling-senpeng13
ling-senpeng13 deleted the lpeng/fix-set-workflow-tags-method branch October 8, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants