Skip to content

Dev v5.8.0 to Staging #1196

Merged
sbenedicadb merged 34 commits intostagingfrom
dev-v5.8.0
Feb 18, 2026
Merged

Dev v5.8.0 to Staging #1196
sbenedicadb merged 34 commits intostagingfrom
dev-v5.8.0

Conversation

@akhiljain1907
Copy link
Copy Markdown
Contributor

Description

Related Issue

Motivation and Context

How Has This Been Tested?

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.

sbenedicadb and others added 25 commits September 19, 2025 14:00
Staging to main for v5.7.0
…ore-ios into feat/ReEvaluation

# Conflicts:
#	API/AEPCore-ios.json
#	API/AEPCore-tvos.json
…terceptor instead of passing the original event
Added reEvaluation support for rules engine
Copy link
Copy Markdown
Member

@sbenedicadb sbenedicadb left a comment

Choose a reason for hiding this comment

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

a couple very small requests

@@ -0,0 +1,42 @@
/*
Copyright 2020 Adobe. All rights reserved.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

new file copyrights must include the current year. please change to 2026

Comment on lines +22 to +27
static let reevaluableConsequenceTypes: Set<String> = ["schema"]

/// Indicates whether this rule should trigger re-evaluation when matched.
/// Reads from `meta["reEvaluate"]`, defaults to `false` if not present.
public var reevaluable: Bool {
return meta?["reEvaluate"] as? Bool ?? false
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: move both of these magic strings to the constants file

Comment on lines +18 to +29
public protocol RuleReevaluationInterceptor: AnyObject {
/// Called when reevaluable rules match an event
/// - Parameters:
/// - event: The event that triggered the rules
/// - reevaluableRules: Rules marked as reevaluable
/// - completion: Call when done to trigger re-evaluation
func onReevaluationTriggered(
event: Event,
reevaluableRules: [LaunchRule],
completion: @escaping () -> Void
)
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: would prefer having this protocol defined in its own file.

…reference in reevaluationInterceptor and removed AnyCodable from reEvaluation public protocol, also addressed PR comments and updated tests.
Added boolean in completion of onReEvaluationTriggered.
@akhiljain1907 akhiljain1907 removed the request for review from praveek February 18, 2026 09:01
@sbenedicadb sbenedicadb merged commit fe74d66 into staging Feb 18, 2026
17 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