Skip to content

feat(platform): Add gitworkspace extension for pluggable git command execution - #765

Merged
behinddwalls merged 3 commits into
mainfrom
manjari/gitworkspace-extension
Oct 2, 2026
Merged

behinddwalls merged 3 commits into
mainfrom
manjari/gitworkspace-extension

Conversation

@manjari25

Copy link
Copy Markdown
Contributor

Why?

Today, each merger backend (OSS git CLI, alternative deployments) reimplements the same orchestration logic with its own git execution layer. Workspace extracts that layer into a pluggable contract so the merger can be written once. The local subprocess implementation follows in a separate PR.

What?

Adds platform/extension/gitworkspace/ — a Workspace interface for executing batched git commands in a stateful environment, with a Factory to create per-repo instances. Includes generated mock.

Test Plan

  • make check-gazelle — BUILD files in sync
  • bazel build //platform/extension/gitworkspace:go_default_library — interface compiles
  • Mock generates and compiles (consumer tests come with the local impl and merger refactor PRs)

Issue

@manjari25
manjari25 requested review from a team, behinddwalls and sbalabanov as code owners October 1, 2026 23:13
@manjari25
manjari25 enabled auto-merge October 1, 2026 23:13
@manjari25
manjari25 marked this pull request as draft October 1, 2026 23:23
auto-merge was automatically disabled October 1, 2026 23:23

Pull request was converted to draft

@manjari25
manjari25 marked this pull request as ready for review October 1, 2026 23:29
@manjari25
manjari25 enabled auto-merge October 1, 2026 23:38
@behinddwalls
behinddwalls disabled auto-merge October 2, 2026 01:09
@behinddwalls
behinddwalls merged commit b46e38a into main Oct 2, 2026
16 checks passed
@behinddwalls
behinddwalls deployed to stack-rebase October 2, 2026 01:09 — with GitHub Actions Active
@behinddwalls
behinddwalls deleted the manjari/gitworkspace-extension branch October 2, 2026 01:09

This branch was successfully deployed

1 active deployment
stack-rebase — a0ca5108 Deployed Oct 2, 2026 by behinddwalls via Rebase Stack #551
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.

2 participants