Skip to content

feat(platform): Add local subprocess implementation of gitworkspace.Workspace - #766

Merged
behinddwalls merged 1 commit into
mainfrom
manjari/gitworkspace-local
Oct 2, 2026
Merged

behinddwalls merged 1 commit into
mainfrom
manjari/gitworkspace-local

Conversation

@manjari25

Copy link
Copy Markdown
Contributor

Why?

The unified merger needs a concrete Workspace for OSS deployments. This implementation runs git commands against a local clone, which is what the OSS git merger does today. Alternative deployments provide their own implementation wrapping their backend's exec API.

What?

Adds platform/extension/gitworkspace/local/ — an implementation of gitworkspace.Workspace that executes command batches as local subprocesses, with skip-on-failure semantics matching the interface contract.

Test Plan

  • bazel test //platform/extension/gitworkspace/local:go_default_test — 8 tests covering success, multi-command batches, skip-after-failure, state persistence across calls, stdin, stderr, invalid binary, and empty batch
  • make check-gazelle — BUILD files in sync

Issue

@manjari25
manjari25 requested review from a team, behinddwalls and sbalabanov as code owners October 1, 2026 23:20
@manjari25
manjari25 force-pushed the manjari/gitworkspace-local branch 2 times, most recently from f7b5d56 to 5adce59 Compare October 1, 2026 23:35
@behinddwalls
behinddwalls force-pushed the manjari/gitworkspace-local branch from 5adce59 to 93d97db Compare October 2, 2026 01:09
@behinddwalls
behinddwalls changed the base branch from manjari/gitworkspace-extension to main October 2, 2026 01:09
@behinddwalls
behinddwalls merged commit d873a7a into main Oct 2, 2026
3 of 16 checks passed
@behinddwalls
behinddwalls deployed to stack-rebase October 2, 2026 01:10 — with GitHub Actions Active
@behinddwalls
behinddwalls deleted the manjari/gitworkspace-local branch October 2, 2026 01:10

This branch was successfully deployed

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