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

Improve builtin plugin sandbox #1380

Merged
merged 5 commits into from
Feb 26, 2024
Merged

Conversation

lovromazgon
Copy link
Member

Description

In this PR we change the behavior of the builtin plugin sandbox. Plugin functions are now run in a goroutine so we can detach from the call in case it blocks forever (e.g. a plugin bug). We add tests to confirm that this behavior matches the behavior in standalone plugins.

Quick checks:

  • I have followed the Code Guidelines.
  • There is no other pull request for the same update/change.
  • I have written unit tests.
  • I have made sure that the PR is of reasonable size and can be easily reviewed.

@lovromazgon lovromazgon requested a review from a team as a code owner February 13, 2024 14:38
@lovromazgon lovromazgon enabled auto-merge (squash) February 26, 2024 16:32
@lovromazgon lovromazgon merged commit f95c941 into main Feb 26, 2024
3 checks passed
@lovromazgon lovromazgon deleted the lovro/connector-plugin-sandbox branch February 26, 2024 16:36
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.

3 participants