Repository navigation
feat(cargo-anvil): add opt-in release-profile validation - #358
Draft
martinhavelka (wukchung) wants to merge 1 commit into
Draft
martinhavelka (wukchung) wants to merge 1 commit into
martinhavelka (wukchung) wants to merge 1 commit into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: ec0fdc71-26be-4825-b1c4-3515da730fca
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #358 +/- ##
=======================================
- Coverage 99.5% 99.4% -0.1%
=======================================
Files 351 350 -1
Lines 64328 63881 -447
=======================================
- Hits 64029 63560 -469
- Misses 299 321 +22
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖
Summary
Adds an opt-in
anvil-release-profilegroup for repositories that need full-workspace Clippy, nextest, and doctest validation under Cargo's release profile. The group stays outside the default PR, scheduled, and full tiers, so existing adopters keep their current cost and behavior.Generated ADO support publishes results through
PublishTestResults@2. GitHub gets a manual/reusable Linux and Windows workflow, and the shared group action retains JUnit artifacts after success or failure. The catalog and generated files move to cargo-anvil 0.26.0.Evidence
cargo +1.99.1 test -p cargo-anvil --all-features: passed.just anvil-pr-fast: passed.just anvil-release-profilerun: release Clippy passed and JUnit recorded 1,506 tests, including two existing unrelatedcargo-aprz-libfailures. The same failures block the fulljust anvil-prrun.Risk Assessment
Door: Two-way
The generated catalog and workflows can be reverted without migrating stored data.
Blast Radius: Consumers
Only repositories that invoke the new group or workflow execute it. The main risk is backend orchestration or result publication differing between ADO and GitHub.
WI: https://dev.azure.com/O365Exchange/O365%20Core/_workitems/edit/8181002