Skip to content

Reevaluation Changes for core Launch Rules Engine#797

Merged
sagar-sharma-adobe merged 28 commits intostagingfrom
dev-v3.6.0
Feb 12, 2026
Merged

Reevaluation Changes for core Launch Rules Engine#797
sagar-sharma-adobe merged 28 commits intostagingfrom
dev-v3.6.0

Conversation

@sagar-sharma-adobe
Copy link
Contributor

@sagar-sharma-adobe sagar-sharma-adobe commented Feb 4, 2026

Adding Meta Object parsing and Reevaluation support in LaunchRulesEngine.
LaunchRule now also have meta object which allows it to take logical decisions about rule execution if needed. Currently we are parsing reevaluation flag only.

Extensions implementing the LuanchRulesEngine can now register a 'RuleReevaluationIneterceptor' which pauses execution of rules which are allowed to be reevaluable. For now only 'schema' type rules can be made reevaluable.

All rules containing schema type consequences are held back if any of the rules is reevaluable to make sure of consistency of the consequence and behaviour and are executed together.

Once interceptor is triggered the calling extension will get a callback for it and execution is continued once extension triggers 'onComplete'.

Related Issue

Here is the epic for the same : https://jira.corp.adobe.com/browse/MOB-24354

Motivation and Context

This flag enables Extensions to make sure that the rules are up to date before triggering the consequence for a sensitive rule. In case of Messaging this is used to make sure the in app messages shown are up to date and eligible for customer.

How Has This Been Tested?

The changes have been tested by creating campaigns with variations as described in this wiki: https://wiki.corp.adobe.com/display/adms/Bug+Bash%3A+InApp+Re-evaluation+Feature

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@sagar-sharma-adobe
Copy link
Contributor Author

/rerun

@sagar-sharma-adobe sagar-sharma-adobe changed the base branch from main to staging February 12, 2026 06:21
@sagar-sharma-adobe sagar-sharma-adobe merged commit daa09ba into staging Feb 12, 2026
20 of 21 checks passed
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