oscerd opened a new pull request, #25386: URL: https://github.com/apache/camel/pull/25386
Backport of #25352 (merged on `main`); the camel-4.18.x backport is #25380. The `google-calendar-stream` consumer moved its `updatedMin` cursor to the local clock on a poll that returned nothing — skipping every event modified in between — and one second past the newest event otherwise, dropping anything modified within that second. The cursor is now the update time of the newest event actually delivered, with the ids seen at that instant remembered so the inclusive `updatedMin` filter does not deliver them twice. Also replaces the unbounded `return poll()` recursion on an invalid sync token with a single full re-sync, and guards a null item list. Cherry-picked cleanly; the only auto-merged hunk is the `pom.xml` test-dependency block (`camel-test-junit5` here vs `-junit6` on main). The new test does not use `CamelTestSupport`, so it needed no adaptation. Module tests and the full reactor build are green on this branch. _Claude Code on behalf of oscerd_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
