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

Add workaround for rails infected error classes #1216

Merged
merged 1 commit into from
Feb 2, 2021

Conversation

mbj
Copy link
Owner

@mbj mbj commented Feb 2, 2021

Fix exception serialization form rails infected code bases.
This case can happen when the killfork terminates abnormal,
and the resulting exception in the worker has to be propagated to
the main process for reporting.
On "normal" Ruby the exceptions are dump/loadable but rails and
its core extensions break this invariant. Hence mutant now
captures the essence of the exception in an attribute copy for
propagation.

@mbj mbj force-pushed the fix/exception-serialization branch 3 times, most recently from 958e19c to 86ad3c4 Compare February 2, 2021 03:05
@mbj mbj self-assigned this Feb 2, 2021
@mbj mbj force-pushed the fix/exception-serialization branch from 86ad3c4 to 30aacc3 Compare February 2, 2021 03:14
@mbj mbj merged commit 3c51af8 into master Feb 2, 2021
@mbj mbj deleted the fix/exception-serialization branch February 2, 2021 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant