Skip to content

feat(platform): Run local workspace git on a pinned runtime as a configured committer - #978

Draft
roychying wants to merge 1 commit into
mainfrom
chenghan.ying/runway-git-merger-workspace
Draft

roychying wants to merge 1 commit into
mainfrom
chenghan.ying/runway-git-merger-workspace

Conversation

@roychying

Copy link
Copy Markdown
Contributor

Why?

The gitworkspace contract leaves git identity and global options to the backend, but the local backend runs git from PATH with the caller's environment and has no committer. The git merger can't move onto a workspace until the local backend runs git the way the merger does today.

What?

  • local.Params gains Runtime and CommitterName/CommitterEmail. git commands then run on the pinned runtime with the scrubbed environment and the injected committer. A zero Runtime keeps today's behavior.
  • NewFactory returns an error for an invalid runtime or a half-set committer. The orchestrator's Tango workspace is updated for the new signature.

Test Plan

bazel test //platform/extension/gitworkspace/... //service/submitqueue/orchestrator/server/...

Issue

@roychying
roychying added this pull request to stack #980 October 28, 2026 22:01

This branch has not been deployed

No deployments
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