Skip to content

ci: Backport stable CI parity updates - #342

Merged
scouten-adobe merged 3 commits into
stablefrom
stable-ci-update
Sep 22, 2026
Merged

scouten-adobe merged 3 commits into
stablefrom
stable-ci-update

Conversation

@scouten-adobe

@scouten-adobe scouten-adobe commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

Backports the stable-compatible #339 test fix and updates the stable release line to use the current main CI/PR-title setup.

Why this combines the fixture fix with the CI update: current stable CI is too old to validate the fixture-only backport by itself (it still passes c2pa dependency features to c2patool). Including the CI update here gives the stable branch a self-validating prerequisite before the c2pa 0.91.0 bump in #340.

Changes:

  • fixes the trust-sidecar test fixture path from the old workspace layout (../../cli/...) to the standalone repo path (../tests/...);
  • replaces stable's old single-job Tier 1A workflow with main's current Tier 1A matrix/jobs (format, clippy, docs, lockfile, WASI, cargo-deny, OS/MSRV unit tests, Codecov upload gating);
  • adds PR title validation workflow and .commitlintrc.yml;
  • updates deny.toml to match main;
  • adds Cargo.lock to the stable line so the new locked-build check has a committed lockfile;
  • backports main's target-conditional c2pa dependency split so WASI uses rust_native_crypto instead of OpenSSL;
  • skips the atomic_write_file_writes_and_replaces test on WASI, where std::process::id() is unsupported.

Validation:

  • workflow YAML parses (ci.yml, pr_title.yml)
  • cargo check --locked
  • cargo +nightly-2026-07-12 test --target wasm32-wasip2 -- --no-capture (with the workflow WASI runner/env)

Backport-of: #339

Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com

scouten-adobe and others added 2 commits September 21, 2026 20:56
Backports the stable-compatible part of #339: the test fixture now uses the
standalone repository path instead of the old workspace path. The stronger
trust.anchors assertion from main depends on c2pa 0.91+, so stable keeps the
existing trust_anchors assertion until the release-line dependency bump lands.

(cherry picked from commit f316b90)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Backport the current main Tier 1A workflow shape and PR title validation to
stable so release-line PRs run the same format, clippy, docs, lockfile,
WASI, audit, and cross-platform unit checks as main.

Add Cargo.lock to stable so the new locked-build check has a committed
lockfile to validate.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@scouten-adobe
scouten-adobe changed the base branch from backport-339-trust-sidecar to stable September 22, 2026 04:13
@codecov

codecov Bot commented Sep 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (stable@fbabc2e). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             stable     #342   +/-   ##
=========================================
  Coverage          ?   72.53%           
=========================================
  Files             ?        4           
  Lines             ?     1045           
  Branches          ?        0           
=========================================
  Hits              ?      758           
  Misses            ?      287           
  Partials          ?        0           

☔ 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.

Backport the target-conditional c2pa dependency split from main so stable's
new WASI job uses rust_native_crypto instead of the OpenSSL backend.

Also keep the stable-compatible trust fixture path fix in this CI prerequisite
PR and skip the atomic write replacement unit test on WASI, where
std::process::id is unsupported.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@scouten-adobe
scouten-adobe merged commit c032a54 into stable Sep 22, 2026
18 checks passed
@scouten-adobe
scouten-adobe deleted the stable-ci-update branch September 22, 2026 04:37
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant