fix(rest-api): Remove OS scope drop migration to ensure compatibility, fix type enum - #4214
Conversation
|
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:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (5)
💤 Files with no reviewable changes (1)
🚧 Files skipped from review as they are similar to previous changes (3)
Summary by CodeRabbit
WalkthroughThe canonical templated iPXE identifier changes from ChangesOperating system identifier alignment
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ast-grep (0.45.0)rest-api/docs/index.htmlast-grep timed out on this file Comment |
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
🔐 TruffleHog Secret Scan✅ No secrets or credentials found! Your code has been scanned for 700+ types of secrets and credentials. All clear! 🎉 🕐 Last updated: 2026-07-27 20:21:17 UTC | Commit: ad99f03 |
f6e04e1 to
a4ce573
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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 `@rest-api/openapi/oasdiff-breaking-changes-ignore.txt`:
- Around line 13-14: Remove the entries for the deleted bmc-reset route and the
removed “Templated iPXE” query enum from oasdiff-breaking-changes-ignore.txt so
these compatibility breaks are reported. If the API changes are intentional,
mark the release as breaking and add the required versioning, migration
guidance, and deprecation documentation; otherwise retain or deprecate the
legacy behavior.
🪄 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: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: bf7aa687-3ad6-4b34-8676-818fcd7ebcdb
⛔ Files ignored due to path filters (1)
rest-api/sdk/standard/api_site_explorer.gois excluded by!rest-api/sdk/standard/api_*.go
📒 Files selected for processing (5)
rest-api/db/pkg/db/model/operatingsystem.gorest-api/db/pkg/migrations/20260717190000_drop_operating_system_ipxe_os_scope.gorest-api/docs/index.htmlrest-api/openapi/oasdiff-breaking-changes-ignore.txtrest-api/openapi/spec.yaml
💤 Files with no reviewable changes (1)
- rest-api/db/pkg/migrations/20260717190000_drop_operating_system_ipxe_os_scope.go
🚧 Files skipped from review as they are similar to previous changes (1)
- rest-api/db/pkg/db/model/operatingsystem.go
49df42d to
8a1af04
Compare
…or enum fix Signed-off-by: Patrice Breton <pbreton@nvidia.com>
Signed-off-by: Patrice Breton <pbreton@nvidia.com>
8a1af04 to
3bf1438
Compare
Ensure the obsolete column stays for now to ensure compatibility during components deployment.
Follow convention for enum name.
Type of Change
Breaking Changes
Testing