Repository navigation
fix(list): report the stored row count as size with STORE - #42
Merged
Malaydewangan09 merged 2 commits intoOct 27, 2026
Merged
Conversation
…th FileSerde in the test
Member
|
Thanks, the fix is right. I checked that the new test fails on main. I made a few changes on top. I pushed these tweaks. |
Malaydewangan09
approved these changes
Oct 27, 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.
What changes are being made and why?
Closes #37.
Every List task in the plugin returned
size: 0withfetchType: STORE, even though the rows were written to the stored file andtotalwas right.toPageOutputinAbstractDigitalOceanTasktook the size fromrowsorrow, and both are empty withSTORE. It showed up in the QA report on #25 (8 rows stored,size: 0).With
STORE,sizeis now the number of rows written to the file, as it is withFETCH.FETCH,FETCH_ONEandNONEare unchanged.How the changes have been QAed?
droplet.ListTest: two droplets withSTOREgivesize: 2,total: 2, norows, and two lines in the stored file. It fails onmain(was <0>) and passes with the fix. The full suite passes and./gradlew javadocis clean.baseUrlpointed to the mock; drop it to hit the real API):Before / after
Before:
size=0 total=3After:
size=3 total=3Contributor Checklist ✅