Skip to content

feat: Backport remaining release infrastructure to stable - #344

Merged
scouten-adobe merged 4 commits into
stablefrom
backport-release-infra-to-stable
Sep 22, 2026
Merged

scouten-adobe merged 4 commits into
stablefrom
backport-release-infra-to-stable

Conversation

@scouten-adobe

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #342, which brought stable's Tier 1A CI gate up to date with
main. This PR backports the rest of the CI/release infrastructure that was
out of scope there:

  • Release automation: release-pr.yml, release.yml, release-plz.toml
    (release-plz's publish pipeline, previously entirely absent on stable)
  • Branch governance: upstream-first-check.yml, check-no-patch-deps.yml
  • Process docs: docs/release-process.md, docs/support-tiers.md
  • A real release-binary bug fix: c2patool-release.yml and Makefile
    still referenced a cli/ subdirectory (cd cli && make release,
    ../target/...) left over from before this repo's cli/ subdirectory was
    removed. Every release build has been silently failing past that step.
  • beta-preflight.yml: restores the full Rust-beta preflight job set
    (tests-cli, docs-private, cargo-check, clippy_check) to match ci.yml's
    Tier 1A job set.
  • dependabot.yml: re-enables the config main already restored
    (cosmetic only — Dependabot reads this file from the default branch, main)

Deliberately left out (main-only by trigger type — schedule/workflow_dispatch
workflows only run from the default branch, or pull_request_target keyed to
base.ref == 'main'): backport.yml, reconciliation.yml,
c2pa-release-bump.yml, release-rc.yml, release-train-cut.yml,
track-c2pa-rs-main.yml, promote.yml, labels.yml (workflow + data file).

Test plan

  • All modified/added YAML validated with YAML.load_file
  • release-plz.toml validated as TOML
  • CI passes on this PR (Tier 1A / beta-preflight)
  • Confirm RELEASE_PLZ_ORG_TOKEN / CRATES_IO_ORG_TOKEN secrets referenced
    by release-pr.yml/release.yml are available on stable (should be,
    since they're already used by main's copies, but worth a one-time check
    before merge since this is release-pr.yml/release.yml's first run on
    this branch)

🤖 Generated with Claude Code

scouten-adobe and others added 4 commits September 22, 2026 09:57
Ports main's release-plz publish pipeline (release-pr.yml, release.yml,
release-plz.toml) and the upstream-first governance checks
(upstream-first-check.yml, check-no-patch-deps.yml) onto stable, plus the
docs describing the model (docs/release-process.md,
docs/support-tiers.md). #342 brought stable's Tier 1A CI gate up to date but
left the release-automation and branch-governance layer out of scope.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
c2patool-release.yml still did cd cli && make release / cd cli && cargo
sbom, and the Makefile's release targets all referenced ../target, both
leftover from when this crate lived in a cli/ subdirectory. It now lives at
the repo root, so cd cli no longer exists (silently failing every step
after it) and ../target would resolve outside the repo entirely once that
cd is removed. Drop the cd cli prefix and point the Makefile at target
directly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Ports main's current beta-preflight.yml (Rust-beta preflight variant of
Tier 1A: tests-cli, docs-private, cargo-check, clippy_check) onto stable,
matching the Tier 1A job set #342 already restored in ci.yml.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Restores the cargo and github-actions update configs main already
re-enabled, excluding c2pa (stable picks up new c2pa releases via
c2pa-release-bump.yml instead). Dependabot only reads this file from the
default branch (main), so this is purely for consistency between branches.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@codecov

codecov Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.58%. Comparing base (2ac6e4f) to head (98642ee).
⚠️ Report is 1 commits behind head on stable.

Additional details and impacted files
@@           Coverage Diff           @@
##           stable     #344   +/-   ##
=======================================
  Coverage   72.58%   72.58%           
=======================================
  Files           4        4           
  Lines        1047     1047           
=======================================
  Hits          760      760           
  Misses        287      287           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@scouten-adobe scouten-adobe added the upstream-first-verified Attests an adapted cherry-pick is already on main (exempts the upstream-first check) label Sep 22, 2026
@scouten-adobe
scouten-adobe merged commit 6004dc3 into stable Sep 22, 2026
20 of 21 checks passed
@scouten-adobe
scouten-adobe deleted the backport-release-infra-to-stable branch September 22, 2026 17:09
This was referenced Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upstream-first-verified Attests an adapted cherry-pick is already on main (exempts the upstream-first check)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant