Skip to content

Issue 5808 - #5816

Open
Premkumar-2004 wants to merge 3 commits into
rspamd:masterfrom
Premkumar-2004:issue-5808
Open

Premkumar-2004 wants to merge 3 commits into
rspamd:masterfrom
Premkumar-2004:issue-5808

Conversation

@Premkumar-2004

Copy link
Copy Markdown
Contributor

added comments also please check it out

@vstakhov

vstakhov commented Jan 3, 2026

Copy link
Copy Markdown
Member

I don't think it's right. If we have no symbol result, it means there is no match. The assumption of score 0 is wrong.

@Premkumar-2004

Copy link
Copy Markdown
Contributor Author

to clarify we're not assuming score 0, but rather that it may have been evaluated before dependencies were ready:

@Premkumar-2004

Copy link
Copy Markdown
Contributor Author

added the comments in code,
Added re-evaluation logic: when a nested composite was checked but didn't match, and a parent needs it, we re-evaluate because it may have been evaluated before its dependencies were ready.

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.

2 participants