feat: Add adapted resource manifest generation#2461
Conversation
WalkthroughAdds DscResource.Authoring as a required module, wires adapted resource manifest generation into the build pipeline, and documents the change in the Unreleased section of CHANGELOG.md. ChangesBuild Configuration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@build.yaml`:
- Line 15: The build references a missing Invoke-Build task named
Create_DscResourceManifestsList which causes invocation to fail; either remove
the Create_DscResourceManifestsList entry from the build workflow or add a
corresponding task definition in an *.ib.tasks file (and export it from the
DscResource.Authoring module if required) so Invoke-Build can discover it—update
the build.yaml workflow to no longer call Create_DscResourceManifestsList if you
remove the task, or create a properly named Create_DscResourceManifestsList task
implementation and ensure it is exported/imported where tasks are loaded.
In `@CHANGELOG.md`:
- Around line 10-11: Update the Unreleased CHANGELOG.md entry for "SqlServerDsc"
by appending the related issue reference in the required Markdown format; modify
the entry "- Added adapted resource manifest generation to the build pipeline."
to include the issue link like "([issue
#<number>](https://github.com/dsccommunity/SqlServerDsc/issues/<number>))" so
the line reads with the issue reference at the end.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: a0757a1e-b725-48f4-b004-5c68063bd711
📒 Files selected for processing (3)
CHANGELOG.mdRequiredModules.psd1build.yaml
| - SqlServerDsc | ||
| - Added adapted resource manifest generation to the build pipeline. |
There was a problem hiding this comment.
Add an issue reference to this Unreleased entry.
Please append the related issue using the required format, e.g.
([issue #2461](https://github.com/dsccommunity/SqlServerDsc/issues/2461)).
As per coding guidelines: "Reference issues using format issue #<issue_number> in CHANGELOG.md".
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@CHANGELOG.md` around lines 10 - 11, Update the Unreleased CHANGELOG.md entry
for "SqlServerDsc" by appending the related issue reference in the required
Markdown format; modify the entry "- Added adapted resource manifest generation
to the build pipeline." to include the issue link like "([issue
#<number>](https://github.com/dsccommunity/SqlServerDsc/issues/<number>))" so
the line reads with the issue reference at the end.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2461 +/- ##
=====================================
Coverage 94% 94%
=====================================
Files 227 227
Lines 10803 10803
=====================================
Hits 10174 10174
Misses 629 629
🚀 New features to boost your workflow:
|
Pull Request (PR) description
This pull request adds a new task to create an adapted resource manifest (
*.dsc.manifests.json) after the build succeeds. This adapted manifest can be shipped alongside the module, so that Microsoft's DSC engine can find it using the PowerShell discovery extension.Note
For more information on the working, check out the excellent Wiki docs.
Task list
file CHANGELOG.md. Entry should say what was changed and how that
affects users (if applicable), and reference the issue being resolved
(if applicable).
This change is