Skip to content

test: Add test to validate progress reporting to API#21116

Merged
erezrokah merged 4 commits intomainfrom
test/remote_progress
Jul 24, 2025
Merged

test: Add test to validate progress reporting to API#21116
erezrokah merged 4 commits intomainfrom
test/remote_progress

Conversation

@erezrokah
Copy link
Copy Markdown
Member

Summary

Follow up to #21108.

This was a bit tricky as we need to list and download plugins from the real API, and mock the progress reporting endpoint as we don't really have a sync run to report progress for.

@erezrokah erezrokah requested a review from a team as a code owner July 24, 2025 14:20
@erezrokah erezrokah requested a review from dcelasun July 24, 2025 14:20
@erezrokah erezrokah requested a review from disq July 24, 2025 14:21
@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Jul 24, 2025
@erezrokah
Copy link
Copy Markdown
Member Author

This test discovered another data race will fix it too

@erezrokah erezrokah force-pushed the test/remote_progress branch from 20ff480 to 1eef07d Compare July 24, 2025 15:39
@erezrokah erezrokah removed the automerge Automatically merge once required checks pass label Jul 24, 2025
@erezrokah
Copy link
Copy Markdown
Member Author

Needs #21117 for the new test to pass (cherry picked 1eef07d to test)

kodiakhq bot pushed a commit that referenced this pull request Jul 24, 2025
#### Summary

Should fix the data race in #21116. Instead of using the `Done()` channel we can call the debounced function one last time.

The data race is a known issue in the package, see vnteamopen/godebouncer#28
@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Jul 24, 2025
@erezrokah erezrokah merged commit d10f957 into main Jul 24, 2025
20 of 22 checks passed
@erezrokah erezrokah deleted the test/remote_progress branch July 24, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants