8000 Restrict range modifications on schema defined number pools by ogenstad · Pull Request #6608 · opsmill/infrahub · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Restrict range modifications on schema defined number pools #6608

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

ogenstad
Copy link
Contributor
@ogenstad ogenstad commented Jun 3, 2025

No description provided.

@github-actions github-actions bot added the group/backend Issue related to the backend (API Server, Git Agent) label Jun 3, 2025
Copy link
codspeed-hq bot commented Jun 3, 2025

CodSpeed Performance Report

Merging #6608 will not alter performance

Comparing pog-restrict-range-update-IFC-1560 (af08ed6) with release-1.3 (989a354)

Summary

✅ 10 untouched benchmarks

@ogenstad ogenstad marked this pull request as ready for review June 3, 2025 16:09
@ogenstad ogenstad requested a review from a team as a code owner June 3, 2025 16:09
):
raise ValidationError(
input_value="start_range or end_range can't updated on schema defined pools, update the schema in the default branch instead"
)
Copy link
Contributor

Choose a reason for hiding this comment

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

is this too late? if super().mutate_update(...) has already run, isn't the object already updated and saved?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No since it's executed within a transaction any changes will be rolled back. We use this in a few places.

@ogenstad ogenstad force-pushed the pog-restrict-range-update-IFC-1560 branch from cf320eb to af08ed6 Compare June 3, 2025 17:48
@ogenstad ogenstad merged commit 1d8afbc into release-1.3 Jun 3, 2025
31 checks passed
@ogenstad ogenstad deleted the pog-restrict-range-update-IFC-1560 branch June 3, 2025 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0