[ 
https://issues.apache.org/jira/browse/CAMEL-27159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18147557#comment-18147557
 ] 

Andrea Cosentino commented on CAMEL-27159:
------------------------------------------

The fix is ready for review: https://github.com/apache/camel/pull/30390 . The 
regression fails on the merged baseline and passes with the fix; all 166 OPA 
unit tests and 16 real-WASM integration tests pass. The final review-series 
full reactor also passes (tests skipped after separate targeted test runs).

Codex on behalf of oscerd.

Generated by Codex via OSS Helper

> camel-opa - avoid repeatedly validating unchanged malformed WASM data during 
> polling
> ------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27159
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27159
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Major
>              Labels: camel-opa
>
> Follow-up to CAMEL-26836 after PR #29831 merged. In the merged reload path, 
> the raw bundle digest is computed before immutableBundle validates data.json, 
> but the known-failed-revision comparison still runs after that validation. 
> Unchanged malformed or trailing-token data therefore throws on each scheduled 
> poll and emits repeated WARN messages instead of being skipped.
> Check the raw immutable snapshot revision against the last failed revision 
> before parsing; retain explicit reload retries, safe diagnostics and recovery 
> when content changes. Add regression coverage proving repeated polls of the 
> same malformed data perform one validation/failure report and that changed 
> valid content can recover.
> Codex on behalf of oscerd.
> Generated by Codex via OSS Helper



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to