Skip to content

fix: Keep checkpoint order for unchanged state values - #2638

Merged
kodiakhq[bot] merged 1 commit into
mainfrom
fix/checkpoint-unchanged-state-values
Oct 20, 2026
Merged

kodiakhq[bot] merged 1 commit into
mainfrom
fix/checkpoint-unchanged-state-values

Conversation

@disq

@disq disq commented Oct 20, 2026

Copy link
Copy Markdown
Member

Summary

With checkpoints, setting a key to the value it already had recorded nothing if the key had no pending change. A later value of the key could then reach the stream before the rows of the resolver that set the unchanged value, so the CLI could save a cursor past rows it never received. SetKey now records the caller's resources for unchanged values in checkpoint mode, and still skips them when it writes to the backend directly. The same issue was found and fixed in the Python SDK in cloudquery/plugin-sdk-python#419.

@disq
disq requested a review from a team as a code owner October 20, 2026 15:04
@disq
disq requested review from alonnoga and erezrokah October 20, 2026 15:04
@disq disq added the automerge label Oct 20, 2026
@kodiakhq
kodiakhq Bot merged commit 20adf2d into main Oct 20, 2026
10 checks passed
@kodiakhq
kodiakhq Bot deleted the fix/checkpoint-unchanged-state-values branch October 20, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants