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

Ensure Job#serialized_params are immutable #218

Merged
merged 1 commit into from
Mar 1, 2021

Conversation

bensheldon
Copy link
Owner

The ActiveJob data within an individual GoodJob::Job record should be immutable.

Within #215, there is evidence that serialized_params['exception_executions'] was being modified because the object-within-an-object was being mutated from within the the ActiveJob::Base job instance. (Alternative would be to deep_dup the object, but that seems more heavy-handed).

@bensheldon bensheldon added the bug Something isn't working label Feb 28, 2021
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.

1 participant