Skip to content
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

fix: enhance rulebook validation during project import #702

Merged
merged 2 commits into from
Mar 6, 2024

Conversation

bzwei
Copy link
Collaborator

@bzwei bzwei commented Mar 1, 2024

Validate db model required fields exist in the rulebook. Skip such rulebook and log a warning.

Also fix some selected exceptions prevent the import_state from changing to failed.
AAP-20868: Project import hangs when importing malformed rulebook

@bzwei bzwei requested a review from a team as a code owner March 1, 2024 21:41
AAP-20868: Project import hangs when importing malformed rulebook
@bzwei bzwei merged commit 84dc11c into ansible:main Mar 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants