Skip to content

Conversation

@philippthun
Copy link
Member

@philippthun philippthun commented Dec 12, 2025

Instead of modifying global state that potentially effects other jobs, a Proc is used to determine if a job should be executed inline. In order to be run immediately a job needs to define a method inline? and return true.

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

Instead of modifying global state that potentially effects other jobs, a
Proc is used to determine if a job should be executed inline. In order
to be run immediately a job needs to define a method 'inline?' and
return 'true'.
@philippthun philippthun marked this pull request as ready for review December 15, 2025 11:38
@philippthun philippthun merged commit ab19ce6 into cloudfoundry:main Dec 15, 2025
16 of 17 checks passed
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request Dec 15, 2025
Changes in cloud_controller_ng:

- Better mechanism for running delayed jobs inline
    PR: cloudfoundry/cloud_controller_ng#4700
    Author: Philipp Thun <philipp.thun@sap.com>
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.

2 participants