Skip to content

feat: default pcu release prlog commit to ci-skip#1006

Open
gortavoher wants to merge 1 commit into
mainfrom
feat/release-defaults-skip-ci
Open

feat: default pcu release prlog commit to ci-skip#1006
gortavoher wants to merge 1 commit into
mainfrom
feat/release-defaults-skip-ci

Conversation

@gortavoher

Copy link
Copy Markdown
Collaborator

What

pcu release now skips CI on its prlog update commit by default. The
negation flags are unchanged in mechanism — --no-skip-ci opts back into
validation, --skip-ci is the (now redundant) explicit form, last-wins via
overrides_with — but the default flips from validate to skip.

Why a different default from pcu pr

pcu pr defaults to validate and is skipped only when the toolkit forces
--skip-ci. The release path runs a different command (pcu release --update-prlog), and the toolkit's own release runs on an older dogfood orb
that passes no skip flag. For the post-release prlog skip to take effect there
— and specifically so the toolkit's own release (which pulls unreleased pcu
from main
via update_pcu) produces a marker-bearing prlog commit — the
default has to live in the release command itself. That marker on the
workspace v* commit is what lets us observe whether the tag push still
triggers the orb-publish pipeline.

The release work itself was already validated, so re-validating the one-line
PRLOG edit is redundant; skipping it by default matches the post-merge
update_prlog convention.

How

  • New Release::should_skip_ci() returns !no_skip_ci (skip unless explicitly
    opted out); consumed at the --update-prlog commit instead of the raw field.
  • Flag doc comments updated to state skip-by-default.
  • --no-skip-ci is required by orb repos whose v* tag triggers the publish
    (the marker must not reach the tagged commit) and by multi-crate flows that
    validate once at the prlog.

RED/GREEN: the negation test now asserts default-skip via should_skip_ci().

🤖 Generated with Claude Code

The release command now skips CI on its prlog update commit by default;
--no-skip-ci opts back into validation. Mirrors the `pcu pr` negation
mechanism but flips the default: the release work itself was validated,
so the one-line post-release prlog commit need not be revalidated.

Unlike `pr` (whose skip is forced by the toolkit), `release` owns this
default so the skip takes effect even when the orb passes no flag — e.g.
the toolkit's own release pulling unreleased pcu from main via update_pcu,
which lets it observe whether the v* tag still triggers the orb publish.

Effective decision computed by Release::should_skip_ci (!no_skip_ci),
relying on the flags' overrides_with for last-wins. RED/GREEN.

Signed-off-by: Jeremiah Russell <jerry@jrussell.ie>
@gortavoher gortavoher requested a review from jerusdp as a code owner June 27, 2026 08:58
@jerus-bot

Copy link
Copy Markdown
Contributor

✅ Commit Signature Verification - Success

All commits have been verified successfully.

Summary

  • Commits checked: 1
  • Trusted verified: 1
  • External contributors: 0

No impersonation attempts detected.

@sonarqubecloud

Copy link
Copy Markdown

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