Enhance Nova version bump behavior and CLI warning handling#147
Merged
stiwicourage merged 6 commits intoApr 29, 2026
Merged
Conversation
- Maintain breaking-change bumps on the 0.y.z line for stable versions. - Plan the next minor version instead of jumping to 1.0.0. - Print guidance for manually setting 1.0.0 once the software is stable.
- Implemented Invoke-NovaCliBumpCommand to manage version bump warnings - Added Write-NovaCliCapturedWarning and Get-NovaCliReplayWarningMessage functions for warning message processing - Updated tests to verify major-zero advisory message formatting
- Implement tests for major-zero advisory messages during version bumps - Update CHANGELOG.md to reflect new warning behavior for stable 0.y.z bumps - Modify CLI output to include guidance on setting 1.0.0 once stable
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
- Simplify response start and end rules - Ensure consistent formatting across generated content
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
… handling - Implement test for Get-NovaVersionUpdateEffectiveLabel fallback behavior - Add test for Get-NovaCliReplayWarningMessage to handle non-warning records
There was a problem hiding this comment.
Gates Passed
6 Quality Gates Passed
See analysis details in CodeScene
Quality Gate Profile: Pay Down Tech Debt
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.
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
Update-NovaModuleVersion/% nova bumpso stable0.y.zprojects no longer auto-jump to1.0.0when commit history implies a breaking change.0.y.znow keep the detectedMajorlabel for reporting, plan the next minor version instead, and print guidance telling users to set1.0.0manually once the software is stable.-Previewbehavior, surface the advisory in both direct PowerShell and CLI output, and document the rule across help and docs.nova bump#146.Affected area
novaCLI or command routingproject.jsonhandlingREADME.md,CONTRIBUTING.md, repository workflow docs)docs/*.html)docs/NovaModuleTools/en-US/*.md)src/resources/example/package.json, workflow dependencies, release tooling)Review guidance
src/private/release/GetNovaVersionUpdateWorkflowContext.ps1, which now resolves an effective label for stable0.y.zmajor bumps and carries advisory metadata through the workflow context.src/private/release/InvokeNovaVersionUpdateWorkflow.ps1,src/private/release/WriteNovaVersionUpdateResultMessages.ps1, andsrc/public/UpdateNovaModuleVersion.ps1to see how the effective label is applied during writes and how warnings are emitted for direct cmdlet usage.src/private/cli/FormatNovaCliCommandResult.ps1for the CLI-facing advisory output andsrc/resources/cli/help/bump.psd1,docs/NovaModuleTools/en-US/Update-NovaModuleVersion.md,docs/versioning-and-updates.html,docs/commands.html, andREADME.mdfor the updated user guidance.tests/NovaCommandModel.BumpAndCli.Tests.ps1,tests/CoverageGaps.ReleaseInternals.Tests.ps1,tests/CoverageGaps.Cli.Tests.ps1,tests/NovaCommandModel.StandaloneCli.Tests.ps1, and the helper allowlist intests/ArchitectureGuardrails.Tests.ps1.0.y.zbumps are remapped only at the workflow boundary while-Previewbehavior remains unchanged.Validation
Invoke-NovaBuildTest-NovaBuild./scripts/build/Invoke-ScriptAnalyzerCI.ps1./scripts/build/ci/Invoke-NovaModuleToolsCI.ps1% nova build,% nova test,% nova merge,% nova deploy,% nova publish,% nova release,% nova update,% nova notification, or% nova initas relevant)Validation notes:
Documentation and release follow-up
README.mdreviewed and updated if contributor workflow, architecture, CI, release, or automation changedCONTRIBUTING.mdreviewed and updated if contribution expectations or review guidance changedCHANGELOG.mdreviewed and updated if the change matters to users, maintainers, or contributorsdocs/NovaModuleTools/en-US/help updated if a public command or CLI behavior changeddocs/*.htmlupdated if end-user workflows or examples changedsrc/resources/example/reviewed and updated if the real-world project layout, package model, or upload workflowchanged
Maintainability, compatibility, and risk
Risk, rollout, or rollback notes:
Important
Do not use a public pull request to disclose a vulnerability before coordinated handling.
Use the private reporting path in
SECURITY.mdfor new security issues.