Skip to content

fix: map remote template git params#330

Draft
cursor[bot] wants to merge 3 commits into
mainfrom
cursor/harness-mcp-v2-bug-resolution-30dd
Draft

fix: map remote template git params#330
cursor[bot] wants to merge 3 commits into
mainfrom
cursor/harness-mcp-v2-bug-resolution-30dd

Conversation

@cursor

@cursor cursor Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes v0 remote template get/create/update requests so public snake_case Git params are translated into the Harness API query params. Remote template updates now send branch, repository details, file path, commit metadata, Harness Code flags, and update conflict IDs instead of dropping them before client.request().

Adds focused Registry.dispatch() request-shape tests for v0 template remote get, create, and update.

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other

Checklist

  • Tests pass
  • Typecheck passes

Verification: pnpm build, pnpm docs:generate, pnpm docs:check, pnpm typecheck, pnpm exec vitest run tests/registry/templates.test.ts, pnpm test, git diff --check.

Open in Web View Automation 

cursoragent and others added 2 commits June 11, 2026 13:33
Co-authored-by: Rohan Gupta <thisrohangupta@users.noreply.github.com>
Co-authored-by: Rohan Gupta <thisrohangupta@users.noreply.github.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Co-authored-by: Rohan Gupta <thisrohangupta@users.noreply.github.com>
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