Skip to content

Partially switch to atomic multi-branch push#29

Merged
dimikot merged 1 commit intomainfrom
grok/dimikot/partially-switch-to-atomic-multi-branch-push-to-main-b4e5
Apr 14, 2025
Merged

Partially switch to atomic multi-branch push#29
dimikot merged 1 commit intomainfrom
grok/dimikot/partially-switch-to-atomic-multi-branch-push-to-main-b4e5

Conversation

@dimikot
Copy link
Owner

@dimikot dimikot commented Apr 13, 2025

Summary

Adding an engine which is able to push multiple branches (commits) atomically. For now, it still does most of the pushes sequentially, but using the parallel engine (with commits list size 1).

The problem is that multi-branch push can only be used safely when no commits reordering happened in the stack (otherwise, GitHub may mark some of intermediate PRs as merged prematurely, and there is no way out of it). That's why in the current PR, we do not utilize it much yet. It will be treated in the next PRs.

How was this tested?

CI.

PRs in the Stack

(The stack is managed by git-grok.)

@dimikot dimikot mentioned this pull request Apr 13, 2025
dimikot added a commit that referenced this pull request Apr 13, 2025
@dimikot dimikot force-pushed the grok/dimikot/partially-switch-to-atomic-multi-branch-push-to-main-b4e5 branch from b4e5b68 to 3ad5f06 Compare April 13, 2025 09:54
dimikot added a commit that referenced this pull request Apr 13, 2025
## Summary

Several naming improvements in the code, plus debug logs improvement.

## How was this tested?

CI.

## PRs in the Stack
- #29
- ➡ #28

(The stack is managed by
[git-grok](https://github.com/dimikot/git-grok).)
Base automatically changed from grok/dimikot/nits-and-renames-to-main-8c41 to main April 13, 2025 10:02
dimikot added a commit that referenced this pull request Apr 13, 2025
@dimikot dimikot force-pushed the grok/dimikot/partially-switch-to-atomic-multi-branch-push-to-main-b4e5 branch from 3ad5f06 to 1047d7e Compare April 13, 2025 10:04
@dimikot dimikot force-pushed the grok/dimikot/partially-switch-to-atomic-multi-branch-push-to-main-b4e5 branch from 1047d7e to 40112b9 Compare April 14, 2025 06:01
@dimikot dimikot merged commit 4c783fa into main Apr 14, 2025
2 checks passed
@dimikot dimikot deleted the grok/dimikot/partially-switch-to-atomic-multi-branch-push-to-main-b4e5 branch April 14, 2025 10:25
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