Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor(coderd/x/chatd): return PersistedStep directly from ExecuteLocalTools - #28359

Merged
jaaydenh merged 1 commit into
mainfrom
jaayden/codagt-928-stack-1-refactor-execute-local-tools
Aug 25, 2026
Merged

refactor(coderd/x/chatd): return PersistedStep directly from ExecuteLocalTools#28359
jaaydenh merged 1 commit into
mainfrom
jaayden/codagt-928-stack-1-refactor-execute-local-tools

Conversation

@jaaydenh

@jaaydenh jaaydenh commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Stack: #28359 (this PR)#28360#28361#28362

chatloop.ToolExecutionOutcome only wrapped a PersistedStep, so callers had to reach through outcome.Step for every field. ExecuteLocalTools now returns the PersistedStep directly and the wrapper type is deleted. No behavior change.

First of a four-PR stack that makes local tool execution count toward Coder Agent runtime (splitting #28211). This refactor keeps the rename noise out of the feature PRs.

Refs CODAGT-928 (https://linear.app/codercom/issue/CODAGT-928/track-local-tool-execution-for-agent-runtime).

@linear-code

linear-code Bot commented Aug 20, 2026

Copy link
Copy Markdown

CODAGT-928

@jaaydenh
jaaydenh force-pushed the jaayden/codagt-928-stack-1-refactor-execute-local-tools branch from e00443e to c226ac5 Compare August 20, 2026 09:11
@jaaydenh
jaaydenh requested a review from hugodutka August 20, 2026 09:13
@jaaydenh
jaaydenh marked this pull request as ready for review August 20, 2026 09:15
@jaaydenh
jaaydenh force-pushed the jaayden/codagt-928-stack-1-refactor-execute-local-tools branch 5 times, most recently from f79c392 to ac46178 Compare August 24, 2026 09:52
@jaaydenh
jaaydenh force-pushed the jaayden/codagt-928-stack-1-refactor-execute-local-tools branch 3 times, most recently from 9d1de01 to 4eaa046 Compare August 24, 2026 18:03
…ocalTools

ToolExecutionOutcome only wrapped a PersistedStep, so callers had to
reach through outcome.Step for every field. Returning the step directly
removes the wrapper with no behavior change.
@jaaydenh
jaaydenh force-pushed the jaayden/codagt-928-stack-1-refactor-execute-local-tools branch from 4eaa046 to dc6f8d0 Compare August 25, 2026 09:09
@jaaydenh
jaaydenh merged commit d44aae3 into main Aug 25, 2026
24 checks passed
@jaaydenh
jaaydenh deleted the jaayden/codagt-928-stack-1-refactor-execute-local-tools branch August 25, 2026 09:31
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 25, 2026
@jaaydenh jaaydenh added cherry-pick/v2.37 Cherry-pick PR targeting release/2.37 cherry-pick and removed cherry-pick/v2.37 Cherry-pick PR targeting release/2.37 labels Aug 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants