Skip to content

Conversation

@ChrisJBurns
Copy link
Collaborator

The GET endpoint for workloads was not returning the tools_override field even though it was being stored and applied correctly. This was because the runConfigToCreateRequest function was missing the logic to copy the ToolsOverride field from RunConfig to the API response.

Added conversion logic to map runConfig.ToolsOverride to the API's toolsOverride format in the runConfigToCreateRequest function, along with a test case to ensure it works correctly.

Fixes #2385

The GET endpoint for workloads was not returning the tools_override
field even though it was being stored and applied correctly. This was
because the runConfigToCreateRequest function was missing the logic to
copy the ToolsOverride field from RunConfig to the API response.

Added conversion logic to map runConfig.ToolsOverride to the API's
toolsOverride format in the runConfigToCreateRequest function, along
with a test case to ensure it works correctly.

Fixes #2385

Co-authored-by: Chris Burns <ChrisJBurns@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Oct 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.33%. Comparing base (88435a3) to head (d651879).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2386      +/-   ##
==========================================
+ Coverage   54.29%   54.33%   +0.03%     
==========================================
  Files         260      260              
  Lines       24925    24933       +8     
==========================================
+ Hits        13534    13548      +14     
+ Misses      10100    10089      -11     
- Partials     1291     1296       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@blkt blkt merged commit 9ea21cf into main Oct 30, 2025
29 checks passed
@blkt blkt deleted the claude/issue-2385-20251030-1527 branch October 30, 2025 16:06
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.

Tools override are not returned from the GET of the workload

3 participants