Skip to content

API changes (ForceUpgrade flag) for #1343 - #1366

Merged
efiacor merged 2 commits into
kptdev:mainfrom
Nordix:fix-1308-api-change
Nov 12, 2026
Merged

efiacor merged 2 commits into
kptdev:mainfrom
Nordix:fix-1308-api-change

Conversation

@JamesMcDermott

@JamesMcDermott JamesMcDermott commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Description


Related Issue(s)


Type of Change

  • Bug fix
  • New feature
  • Enhancement
  • Refactor
  • Documentation
  • Tests
  • Other: ________

Checklist

  • Code follows project style guidelines
  • Self-reviewed changes
  • Tests added/updated
  • Documentation added/updated
  • All tests and gating checks pass

AI Disclosure

  • I have used AI in the creation of this PR.

- flag to skip upgrade package name validation introduced in kptdev#1343

Signed-off-by: James McDermott <james.j.mcdermott@ericsson.com>
@JamesMcDermott
JamesMcDermott requested review from a team and a balanced review from Copilot November 11, 2026 11:29
@netlify

This comment was marked as off-topic.

This comment was marked as resolved.

Signed-off-by: James McDermott <james.j.mcdermott@ericsson.com>
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The webhook ignores forceUpgrade-only changes, allowing source immutability validation and the Draft-only restriction for subpackage upgrades to be bypassed.

1 open issue
2 resolved since last review

Review effort: Balanced

Comment thread api/porch/v1alpha2/source_types.go Resolved
@efiacor
efiacor merged commit 47a8e14 into kptdev:main Nov 12, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants