Skip to content

Conversation

@jeremystretch
Copy link
Member

Closes: #18224

Invoke all context managers listed in registry['request_processors'] when running a custom script background job.

@jeremystretch jeremystretch merged commit 0b9ead3 into develop Dec 16, 2024
6 checks passed
@jeremystretch jeremystretch deleted the 18224-script-processors branch December 16, 2024 16:55
# Add the current request as a property of the script
script.request = request

# Execute the script. If commit is True, wrap it with the event_tracking context manager to ensure we process
Copy link
Contributor

Choose a reason for hiding this comment

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

Given the removed code line below, is the comment now obsolete? ("If commit is True, wrap it with the event_tracking context manager...")

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Apply all registered request processors when running custom scripts

4 participants