Skip to content

fix(sync): ask the remote which records unsent statements need - #182

Open
PiquelChips wants to merge 1 commit into
fix/publish-revisions-under-the-push-lockfrom
fix/ask-the-remote-which-records-unsent
Open

PiquelChips wants to merge 1 commit into
fix/publish-revisions-under-the-push-lockfrom
fix/ask-the-remote-which-records-unsent

Conversation

@PiquelChips

Copy link
Copy Markdown
Member

A push sent a statement only once everything it needs was either in the push or on the remote among the records of the pushed changes. A statement that supersedes or promotes a statement about some other change stayed behind, and the push reported that the remote lacked it, even when the remote had it.

When statements are left waiting, the push now looks up the changes their missing dependencies belong to and asks the remote what it holds of those changes (one inventory request per round). It then sends whatever now has everything it needs.

The existing push test now also pushes the other change, then checks that the statement that waited goes out.

Part of #166.

Note

Written by Claude Opus 5.5 in Claude Code (via T3 Code)

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 86db0a04-2892-4b36-b64b-3f241d184b58

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@PiquelChips
PiquelChips added this pull request to stack #185 November 22, 2026 20:21
@PiquelChips
PiquelChips removed this pull request from stack #185 November 22, 2026 20:22
A push sent a statement only once what it needs was in the push, or on
the remote among the records of the changes pushed. One superseding, or
promoting, a statement about another change stayed behind, and the push
said the remote lacked it, even when the remote had it. Now the push
asks the remote what it holds of those other changes, and sends what
then has everything it needs.
@PiquelChips
PiquelChips force-pushed the fix/publish-revisions-under-the-push-lock branch from c4e7bcc to b957dc2 Compare November 22, 2026 20:22
@PiquelChips
PiquelChips force-pushed the fix/ask-the-remote-which-records-unsent branch from 70461fc to 1ae0690 Compare November 22, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant