Skip to content

fix(core-sync): the downgrade mirror keeps an unsettled waiting value out of its marks and held by id - #4814

Merged
datlechin merged 1 commit into
mainfrom
core-mirror-unsettled-approval-rows
Dec 1, 2026
Merged

datlechin merged 1 commit into
mainfrom
core-mirror-unsettled-approval-rows

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

Follow-up to #4812, from its second Codex round.

  • cloudkit/legacy/export.rs: a personal approval row a build before 0114 left, which the pass could not settle yet (the store refused the write or cannot read the copy), keeps its value out of the mirror's dirty marks and goes to the previous stable as a change held by id. Before this, the mirror marked the store's old value dirty against the pulled base, so the previous stable after a downgrade could send it over the newer value.
  • Once the leftover lands, no row is left and the mirror writes what the engine applied, as feat(core-sync): only a team's changes wait for approval, and rows older builds left settle #4812 has it.

Test plan

  • cloudkit legacy::mirror::rows_an_earlier_build_left_that_cannot_land_yet_go_to_the_previous_stable_as_held_changes: fails with the mask removed (the record is marked dirty), passes here.
  • cargo nextest run -p tablepro-sync: 1224 passed. cargo clippy -p tablepro-sync --all-targets -- -D warnings clean, cargo fmt --all -- --check clean.

@datlechin datlechin added the backport release/0.89 Merged into main; pick onto release/0.89 label Dec 1, 2026
@datlechin
datlechin merged commit 4568bc3 into main Dec 1, 2026
2 checks passed
@datlechin
datlechin deleted the core-mirror-unsettled-approval-rows branch December 1, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport release/0.89 Merged into main; pick onto release/0.89

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant