Skip to content

stream push and publish progress (knit) - #176

Merged
marc-merino merged 1 commit into
mainfrom
knit/stream-push-and-publish-progress
Aug 29, 2026
Merged

stream push and publish progress (knit)#176
marc-merino merged 1 commit into
mainfrom
knit/stream-push-and-publish-progress

Conversation

@marc-merino

@marc-merino marc-merino commented Aug 29, 2026

Copy link
Copy Markdown
Collaborator

Knit Bundle

This PR is part of Knit bundle stream-push-and-publish-progress.

See the other review objects in this bundle:

Bundle id: stream-push-and-publish-progress
Bundle title: stream push and publish progress

knit push and knit publish create spawned one worker per repo but joined
every worker before printing anything, so with many repos and one slow
origin the commands sat silent until the slowest push finished and then
printed everything at once - which reads as a hang.

Workers now report over a channel and the main thread prints each line
the moment it happens: a 'pushing/publishing N repo(s)…' header, one
'pushed' line per repo as its branch reaches origin (publish emits this
before it looks up or creates the review object), and a muted (done/total)
tail on each repo's final line. The artifact publish path streams the same
way. Bundle mutation is split from reporting because the workers still
borrow the bundle while results arrive.

Knit-Group: kg_20260829_6a92a7
Knit-Bundle: stream-push-and-publish-progress
@marc-merino
marc-merino merged commit 86a0ee2 into main Aug 29, 2026
6 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.

1 participant