diff --git a/.github/workflows/release-kt-lib.yml b/.github/workflows/release-kt-lib.yml index bbb75dc2bb6..4e1f2336e57 100644 --- a/.github/workflows/release-kt-lib.yml +++ b/.github/workflows/release-kt-lib.yml @@ -195,10 +195,11 @@ jobs: # pending run per group and drops the older one, so a PR or a no-op push # sharing it silently cancelled a queued release. Scoped to this job so runs # that skip publishing never enter it. Dry-runs get a per-ref group instead - # and cancel their superseded builds. + # and cancel their superseded builds. `inputs.dry-run` is null outside + # workflow_call, and a null cancel-in-progress fails the job. concurrency: - group: release-kt-lib-${{ (github.event_name == 'pull_request' || inputs.dry-run) && github.ref || 'publish' }} - cancel-in-progress: ${{ github.event_name == 'pull_request' || inputs.dry-run }} + group: release-kt-lib-${{ (github.event_name == 'pull_request' || inputs.dry-run == true) && github.ref || 'publish' }} + cancel-in-progress: ${{ github.event_name == 'pull_request' || inputs.dry-run == true }} runs-on: ubuntu-latest # Maven and signing credentials live in the `publish` Environment, which # only protected refs can deploy to. A dry-run needs no secrets. diff --git a/quest/m0/ci/README.md b/quest/m0/ci/README.md index b90d81f7a0f..187674dfa74 100644 --- a/quest/m0/ci/README.md +++ b/quest/m0/ci/README.md @@ -132,7 +132,6 @@ The historical samples locate candidates; they are not controlled benchmarks. - [Verify the R2 Rust cache](/quest/m0/ci/mbx-r2-verify.md) - measure the hosted Nightly jobs' hits, restore time, and expiry once the bump lands - [Verify the Nix cache](/quest/m0/ci/nix-cache-verify.md) - confirm CI and releases use `nix.moq.dev` and retire Cachix - [Unify dependency features](/quest/m0/ci/hakari.md) - a cargo-hakari workspace-hack so every job compiles each dependency alike and mbx hits across jobs -- [First shared FFI release](/quest/m0/ci/nightly-ffi-reuse.md) - condition: the backport merges and the next `moq-ffi-v*` tag runs `Release FFI`; verify the wrappers - [Fewer BTreeMap instantiations](/quest/m0/ci/btree-keys.md) - moq-net shares BTreeMap key and value types, kept only if its CPU time drops - [Halve the slowest tests' CPU](/quest/m0/ci/slow-tests.md) - the slowest 1% of tests take under half their 289 CPU-seconds, with coverage kept - [tracing-test filter](/quest/m0/ci/tracing-filter.md) - moq-tokio's tests stop forcing every crate to format at TRACE diff --git a/quest/m0/ci/nightly-ffi-reuse.md b/quest/m0/ci/nightly-ffi-reuse.md deleted file mode 100644 index bad5eebc292..00000000000 --- a/quest/m0/ci/nightly-ffi-reuse.md +++ /dev/null @@ -1,31 +0,0 @@ -# [XS] First shared FFI release - -## Goal - -Verify the first `moq-ffi-v*` tag that runs `Release FFI`. Condition: the -backport [#6730](https://github.com/moq-dev/moq/pull/6730) has merged to -`release`, and a `moq-ffi-v*` tag cut after it has run `Release FFI`. Check the -tag with `git ls-tree .github/workflows/` and its runs with -`gh run list --workflow release-shared-ffi.yml --event push`. Then verify the -items below, fix or quest what fails, and delete this quest. - -## Plan - -`moq-ffi-v0.4.16` through `moq-ffi-v0.4.18` were cut from a `release` without -[#5549](https://github.com/moq-dev/moq/pull/5549), so they ran the per-language -workflows. #6730 backports #5549, the attempt-scoped publisher check from -[#5573](https://github.com/moq-dev/moq/pull/5573), and the wrapper gates from -[#6084](https://github.com/moq-dev/moq/pull/6084), without the Shipping sizes -and C++ parts `release` lacks. - -The Nightly side is verified: run 38897397428 covered the dry-run jobs (see -`.github/ffi.md`), and the Shipping sizes jobs of Nightlies 39779729461 and -40090959108 keep the `release/go-lib-/` keys, with the second compared -against the prior history (a changed artifact set fails the report). - -From the first shared tag: - -- Each wrapper (`release-go.yml`, `release-kt-lib.yml`, `release-swift-lib.yml`) - sees its publisher through the jobs API under the `workflow_run` token and - releases or skips as its own publisher did. -- The Go, Kotlin and Swift packages publish from the shared artifacts. diff --git a/quest/m2/cpp-ffi-reuse.md b/quest/m2/cpp-ffi-reuse.md index 76676a14b48..bdf5a550238 100644 --- a/quest/m2/cpp-ffi-reuse.md +++ b/quest/m2/cpp-ffi-reuse.md @@ -56,7 +56,3 @@ Keep this quest open for the published release input: Follow-up to [#5549](https://github.com/moq-dev/moq/pull/5549), which shared the default FFI build across Go, Kotlin and Swift. - -## Related - -- [First shared FFI release](/quest/m0/ci/nightly-ffi-reuse.md) - confirms the shared build in production first