Update shared-actions pins to 2f90d10 - #528
Conversation
Advance every `leynos/shared-actions` reference from the two in-tree pins (`4d696e7` and `18bed1c`) to `2f90d10`, so the workflows pick up the CodeScene coverage-gate skip for pull requests whose base is not the analysed default branch. The intervening changes to the consumed actions are additive: `setup-rust` gains an optional `rustflags` input defaulting to the previous `-D warnings` behaviour, `generate-coverage` gains an optional `language` input defaulting to the existing manifest-based detection, and `upload-codescene-coverage` short-circuits its check mode with a warning instead of failing when the gate cannot apply. No caller-side input changes are required. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
Summary
WalkthroughChangesWorkflow pin refresh
Possibly related PRs
Suggested reviewers: Poem
Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error, 1 warning, 2 inconclusive)
✅ Passed checks (16 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates all leynos/shared-actions workflow references under .github/workflows/ to a single new pinned SHA, aligning build, coverage, release, Dependabot, mutation testing, and Netsukefile workflows to the same upstream revision that relaxes CodeScene coverage gating for non-default-branch PRs. Sequence diagram for updated upload-codescene-coverage behavior in CIsequenceDiagram
actor Developer
participant GitHubActions
participant generate-coverage
participant upload-codescene-coverage
participant CodeScene
Developer->>GitHubActions: push pull_request
GitHubActions->>generate-coverage: run generate-coverage
generate-coverage-->>GitHubActions: lcov.info
GitHubActions->>upload-codescene-coverage: run upload-codescene-coverage mode check
upload-codescene-coverage->>CodeScene: upload coverage
CodeScene-->>upload-codescene-coverage: coverage result
alt base is default branch
upload-codescene-coverage-->>GitHubActions: fail job on gate violation
else base is not default branch
upload-codescene-coverage-->>GitHubActions: emit warning annotation
upload-codescene-coverage-->>GitHubActions: succeed job
end
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary
Advances every
leynos/shared-actionsreference in.github/workflows/from the two pins previously in tree (4d696e7and18bed1c) to the single SHA2f90d1041ea108148be0620e3bbcc1fa80ac03e4. That upstream commit is "Skip inapplicable CodeScene coverage checks and surface diagnostics (#395) (#399)", which stops the changed-line coverage gate from failing on pull requests whose base is not the analysed default branch — stacked pull requests, most notably.Files touched
build-and-package.ymlrust-build-release,stage-release-artefacts,linux-packages,windows-package,macos-packageci.ymlsetup-rust(×2),generate-coverage,upload-codescene-coveragecoverage-main.ymlsetup-rust,generate-coverage,upload-codescene-coveragedependabot-automerge.ymldependabot-automerge.ymlreusable workflowmutation-testing.ymlmutation-cargo.ymlreusable workflownetsukefile-test.ymlsetup-rustrelease.ymldetermine-release-modes,ensure-cargo-version,export-cargo-metadata,upload-release-assetsCompatibility
The intervening upstream changes to the consumed action definitions are additive, so no caller-side input changes are needed:
setup-rustgains an optionalrustflagsinput defaulting to-D warnings, matching the behaviour the previous pin hard-coded.generate-coveragegains an optionallanguageinput defaulting toauto, which preserves the existing manifest-based detection, and hardens its artefact-upload step against empty artefact names.upload-codescene-coverageshort-circuits itscheckmode with a warning annotation, rather than a failure, when the pull request base is not the repository default branch. This is the behaviour change motivating the bump.Verification
make test-workflow-contracts— 6 passed. This is the gate that asserts the mutation-testing caller matches the reusable workflow contract.leynos/shared-actionsvia the GitHub API.References
🤖 Generated with Claude Code
Summary by Sourcery
CI: