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: fix issue in modifying plugins associated with an entrypoint #641

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

keithmanville
Copy link
Collaborator

This commit fixes an issue when appending or deleting a plugin from an entrypoint. The services were re-using EntrypointPluginFile and EntrypointParameter ORM objects when creating new Entrypoint snapshots. This led to consistency errors in the database. The service implementations were corrected to construct new ORM objects to attach to the new Entrypoint snapshot

@keithmanville keithmanville added the bug Something isn't working label Sep 12, 2024
@keithmanville keithmanville force-pushed the fix-modify-entrypoint-plugins branch 2 times, most recently from 988ffa9 to d8ca8fd Compare September 12, 2024 18:39
This commit fixes an issue when appending or deleting a plugin from an entrypoint. The services
were re-using EntrypointPluginFile and EntrypointParameter ORM objects when creating new Entrypoint
snapshots. This led to consistency errors in the database. The service implementations were
corrected to construct new ORM objects to attach to the new Entrypoint snapshot
Copy link
Collaborator

@jkglasbrenner jkglasbrenner left a comment

Choose a reason for hiding this comment

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

LGTM, I'm going to also propagate this change to main since its a straightforward fix.

@jkglasbrenner jkglasbrenner merged commit a2fcac8 into dev Oct 4, 2024
11 checks passed
@jkglasbrenner jkglasbrenner deleted the fix-modify-entrypoint-plugins branch October 4, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants