feat(sdk): support ephemeral merge previews - #51
Open
necolas wants to merge 2 commits into
Open
Conversation
Expose source and target namespace flags in all three SDKs. Preserve explicit false values and omit absent query parameters.
…params' into necolas/preview-merge-ephemeral-sdk
fat
approved these changes
Sep 4, 2026
Contributor
|
lgtm! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
previewMergein TypeScript, Python, and Go.source_is_ephemeralandtarget_is_ephemeralto the existing merge preview endpoint.falsevalues and omit absent values.Stack
This PR is stacked on #47. Merge #47 first, then retarget this PR to
main.This PR does not include #50. It also does not change
.versionor the monorepo package catalog. A release PR owns those changes.Compatibility gate
The TypeScript and Python changes are additive. The Go change adds exported fields to
PreviewMergeOptions. It preserves documented keyed literals, but external unkeyed literals can stop compiling. The release owner must decide whether the SDK supports unkeyed option literals before publication.Verification
pnpm exec vitest --run: 218 tests passed.pnpm build: passed../venv/bin/pytest -v: 193 tests passed../venv/bin/ruff check pierre_storage: passed../venv/bin/ruff format --check pierre_storage: passed../venv/bin/mypy pierre_storage: passed.go test ./...: passed.gofmt -d *.go: no diff.moon :test: passed for all three SDK packages.git diff --check, the conflict marker check, and the secret-pattern scan passed.