shangeyao opened a new pull request, #4387: URL: https://github.com/apache/streampark/pull/4387
## Summary - Add per-application `WATCH_IN_FLIGHT` single-flight guard in Flink and Spark HTTP watchers - Skip enqueueing a new watch task when the previous poll is still running - Remove in-flight markers when an app stops being watched Fixes #4386 ## Test plan - [ ] Start a Flink app and verify state updates still work - [ ] Under slow REST responses, confirm watcher does not pile up executor tasks --- **AI Disclosure** - Model: Claude Opus 4.6 - Platform/Tool: Cursor - Human Oversight: partially reviewed - Prompt Summary: Implement watcher deduplication from dev branch optimization scan Made with [Cursor](https://cursor.com) -- 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]
