fix: bump gitlab-ai-provider to 5.3.3 for DWS tool approval support#19185
Merged
rekram1-node merged 4 commits intoanomalyco:devfrom Mar 26, 2026
Merged
fix: bump gitlab-ai-provider to 5.3.3 for DWS tool approval support#19185rekram1-node merged 4 commits intoanomalyco:devfrom
rekram1-node merged 4 commits intoanomalyco:devfrom
Conversation
Contributor
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
Contributor
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Kizunad
pushed a commit
to Kizunad/opencode
that referenced
this pull request
Mar 26, 2026
kitlangton
pushed a commit
that referenced
this pull request
Mar 26, 2026
Andres77872
pushed a commit
to Andres77872/opencode
that referenced
this pull request
Mar 26, 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.
Issue for this PR
Closes #19186
Type of change
What does this PR do?
Bumps
gitlab-ai-providerfrom 5.3.2 to 5.3.3 to fix workflow model tools being silently cancelled.DWS has a multi-layered tool approval system. The server only pre-approves certain privilege groups (
read_write_files,read_only_gitlab), while tools inrun_commands,run_mcp_tools,use_git, andread_write_gitlabrequire explicit approval. The provider was missingtool_approval_for_session_enabled: truein workflow metadata, so DWS silently discarded the client-sidepreapproved_toolslist. When DWS then sentTOOL_CALL_APPROVAL_REQUIREDcheckpoints, the provider didn't handle them, causing the stream to hang indefinitely.Changes in gitlab-ai-provider 5.3.3:
tool_approval_for_session_enabled: trueto workflow metadata so DWS respects client-side preapproved toolsTOOL_CALL_APPROVAL_REQUIREDto theprocessCheckpointstatus allowlistTOOL_CALL_APPROVAL_REQUIRED/PLAN_APPROVAL_REQUIREDhandling in the WebSocket client to prevent stream hangsHow did you verify your code works?
Checklist