Skip to content

feat(dry-run): implement dry-run output contract - #72

Open
mwaldheim wants to merge 1 commit into
mainfrom
feat/dry-run-contract
Open

mwaldheim wants to merge 1 commit into
mainfrom
feat/dry-run-contract

Conversation

@mwaldheim

Copy link
Copy Markdown
Contributor

Implements the SemRels dry-run contract for updater-python (SemRels/semrel#349):

  • Emit plugin_schema_version=1 and human-readable [dry-run] logs on stderr
  • Emit category-specific dry-run preview (diffs / content / commands / payloads / decisions) on stdout
  • Fail soft in dry-run when credentials are absent, without side effects
  • Declare "x-semrel-dry-run": true in schema/v1.json

Refs SemRels/semrel#349

Implement the SemRels dry-run contract (SemRels/semrel#349): emit human-readable
status logs on stderr, print dry-run diffs/content/payloads on stdout, fail soft
when credentials are absent in dry-run, declare x-semrel-dry-run in schema/v1.json,
and perform zero side effects.

Refs SemRels/semrel#349

Co-authored-by: GitHub Copilot <copilot@github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Markus Waldheim <mawa@if.de>
@github-actions github-actions Bot added the enhancement New feature or request label Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant