Skip to content

fix(git): make project branch workflows reliable#2213

Merged
thomaspblock merged 4 commits into
mainfrom
fix/project-dangling-head-branch
Jul 21, 2026
Merged

fix(git): make project branch workflows reliable#2213
thomaspblock merged 4 commits into
mainfrom
fix/project-dangling-head-branch

Conversation

@thomaspblock

Copy link
Copy Markdown
Contributor

Summary

  • resolve dangling repository HEADs to real published branches and default fresh repositories to main
  • preserve local and newly created branches in the desktop selector, including legacy first-push alignment and eventual relay synchronization
  • allow verified owners to manage repositories created by their managed agents and improve branch-action guidance

Test plan

  • Run desktop branch helper unit tests, typecheck, formatting, and file-size checks
  • Run native first-push, empty-clone, and remote create/delete tests
  • Run relay Git policy tests, published-HEAD tests, and Clippy
  • Run focused desktop smoke tests for branch creation/persistence, deletion safeguards, and local branch publication
  • Run the repository pre-push checks

Let project members create remote branches and safely delete non-default branches without leaving the Projects workflow.
Keep relay, local checkout, and desktop branch selection aligned to a real published branch so empty repositories do not expose phantom master refs.
Keep local and newly published branches visible across refreshes, repair legacy first-push checkouts, and authorize verified owners of agent-created repositories.
@thomaspblock
thomaspblock requested a review from a team as a code owner July 21, 2026 10:28
@thomaspblock
thomaspblock merged commit 166f27b into main Jul 21, 2026
32 checks passed
@thomaspblock
thomaspblock deleted the fix/project-dangling-head-branch branch July 21, 2026 10:58
tlongwell-block pushed a commit that referenced this pull request Jul 21, 2026
* origin/main:
  fix(desktop): keep project branches after reload (#2214)
  fix(git): make project branch workflows reliable (#2213)
  feat(desktop): manage project branches (#2212)
  fix(acp): honor relay rate limits and pace resubscribes on bad links (#2199)
  chore(lefthook): add CI-style path filtering to hooks (#2211)
  feat(cli): manage repository protection rules (#2193)
  feat(cli): filter archived instances from --template roster resolution (#2207)
  chore(release): release Buzz Desktop version 0.4.21 (#2209)
  fix(desktop): clarify data deletion action (#2208)
  feat: brand authentication complete page (#2192)
  fix(buzz-acp,buzz-agent): surface stall duration and fate (#2204)
  fix(desktop): resolve activity feed showing channel UUID instead of message content (#2201)
  feat(cli): add agents archive/unarchive/archived subcommands (#2173)
  chore(acp): strip stale finding-number references from comments (#2202)
  chore(release): release Buzz Mobile version 0.4.9 (#2200)
  Simplify first-community onboarding choices (UI only) (#2194)
  fix(mobile): sanitize Android image uploads (#2188)
  fix(cli): paginate channel directory queries (#2181)

Semantic resolutions in crates/buzz-acp/src/lib.rs:
- kept lazy_pool startup + pool_ready select guard from this branch,
  adopted main's comment cleanup (#2202)
- dropped this branch's duplicated steer_renewal_tests module: #2204 moved
  those tests to queue.rs on main

Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
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