Repository navigation
Desktop: show Fusion workers' files on the Changed files card (ATO-1702) - #1760
Closed
sosidudku1 wants to merge 1 commit into
Closed
sosidudku1 wants to merge 1 commit into
sosidudku1 wants to merge 1 commit into
Conversation
…ard (ATO-1702) A fusion.delegate tool_result frame carries diffstats, a list of the files its workers changed. The card and the Results tab now add each checked row, next to the single diffstat a write or edit carries.
Collaborator
Author
|
Merged into |
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.
Reported in Discord: after a Fusion turn the desktop showed no Changed files card and no worker files in Results.
What changed
changedFilesOfFrameinchanged-files.jsreturns every change atool_resultframe carries: the singlediffstatof a write or edit, then each checked row ofdiffstats(the files afusion.delegatecall's workers changed). A broken row is skipped and the rest stay.Needs the agent side (ATO-1700, ATO-1701) on main; with an older agent nothing changes.
Tests
desktop/test/changed-files.test.mjs: a frame with two good rows and broken ones gives two rows; write/edit frames still give their one file; the renderer uses the new reader.Verification
Not yet checked on the second Mac.