[
https://issues.apache.org/jira/browse/CAMEL-27159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-27159 started by Andrea Cosentino.
------------------------------------------------
> 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)