test: extend cross-collection maturity-conflict coverage#2219
Open
PratikWayase wants to merge 2 commits into
Open
test: extend cross-collection maturity-conflict coverage#2219PratikWayase wants to merge 2 commits into
PratikWayase wants to merge 2 commits into
Conversation
…Collections.Tests.ps1
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2219 +/- ##
==========================================
+ Coverage 81.29% 81.38% +0.09%
==========================================
Files 129 119 -10
Lines 19068 19016 -52
Branches 12 0 -12
==========================================
- Hits 15501 15477 -24
+ Misses 3564 3539 -25
+ Partials 3 0 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 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.
Description
Follow-up bundle from the
owasp-dockerremoval /maturity: removedrefactor. This PR extends the validation logic and test coverage to prevent silent maturity drift as more themed collections adopt thematurity: removedmarker at the collection YAML level.Test Coverage (
Validate-Collections.Tests.ps1):removedvsstable,removedvsdeprecated,deprecatedvsexperimental) with clear error message assertions.hve-core-allcollection is explicitly excluded from the new collection-level conflict detection.Implementation (
Validate-Collections.ps1):Related Issue(s)
Closes #1446
Type of Change
Select all that apply:
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
prompt-builderagent and addressed all feedback.github/instructions/*.instructions.md).github/prompts/*.prompt.md).github/agents/*.agent.md).github/skills/*/SKILL.md).github/hooks/*/*.json)evals/)Other:
.ps1,.sh,.py)Testing
Ran the Pester test suite locally using
Invoke-Pester -Path "scripts/tests/collections/Validate-Collections.Tests.ps1". All 63 tests pass successfully, including:hve-core-allexclusion regression guard).Checklist
Required Checks
AI Artifact Contributions
/prompt-analyzeto review contributionprompt-builderreviewRequired Automated Checks
The following validation commands must pass before merging:
npm run lint:mdnpm run spell-checknpm run lint:frontmatternpm run validate:skillsnpm run lint:md-linksnpm run lint:psnpm run eval:lint:schemanpm run plugin:generatenpm run docs:testSecurity Considerations
Additional Notes
None.