Skip to content

plumbing: transport/upload_pack multi round bugs#2016

Merged
pjbgf merged 2 commits into
go-git:mainfrom
manland:upload_pack_bugs
May 1, 2026
Merged

plumbing: transport/upload_pack multi round bugs#2016
pjbgf merged 2 commits into
go-git:mainfrom
manland:upload_pack_bugs

Conversation

@manland
Copy link
Copy Markdown
Contributor

@manland manland commented Apr 24, 2026

if client/server concensus need multi round

  • deadlock was caused by not listening to writec
  • final ack was not send if it was found in previous round

related to #1796

if client/server concensus need multi round
- deadlock was caused by not listening to writec
- final ack was not send if it was found in previous round
@pjbgf
Copy link
Copy Markdown
Member

pjbgf commented Apr 25, 2026

@aymanbagabas any thoughts on this one?

@aymanbagabas
Copy link
Copy Markdown
Member

@pjbgf Looks legit. @manland Could you write a test for this to avoid future regressions?

Exercise stateful multi_ack negotiation across two have rounds to ensure
upload-pack completes and sends the terminal ACK for a common object found
before the final done.

Signed-off-by: Paulo Gomes <[email protected]>
Assisted-by: OpenAI Codex <[email protected]>
Copy link
Copy Markdown
Member

@pjbgf pjbgf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@manland thanks for working on this. 🙇

I added a test to avoid future regressions.

@pjbgf pjbgf merged commit 1131d6a into go-git:main May 1, 2026
15 of 16 checks passed
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.

3 participants