Skip to content

[Web UI] Split Monaco chunk, reduce idle list polling, fix axios cancel key#4407

Closed
shangeyao wants to merge 1 commit into
apache:devfrom
shangeyao:fix/webapp-polling-and-monaco-chunk
Closed

[Web UI] Split Monaco chunk, reduce idle list polling, fix axios cancel key#4407
shangeyao wants to merge 1 commit into
apache:devfrom
shangeyao:fix/webapp-polling-and-monaco-chunk

Conversation

@shangeyao

Copy link
Copy Markdown
Contributor

Summary

  • Split monaco-editor into a dedicated Rollup chunk in vite.config.ts
  • Poll Flink/Spark app lists every 5s when idle, 2s while start/stop/release is pending
  • Include serialized query params in axios duplicate-request cancel keys

Fixes #4406

Test plan

  • pnpm build produces separate monaco-editor chunk
  • App list still refreshes quickly after start/stop
  • Idle list polling interval drops to ~5s

AI Disclosure

  • Model: Claude Opus 4.6
  • Platform/Tool: Cursor
  • Human Oversight: partially reviewed
  • Prompt Summary: Frontend performance optimizations from dev branch scan

Made with Cursor

Use adaptive 5s/2s polling on Flink and Spark app lists, split monaco-editor
into its own chunk, and include query params in axios cancel keys.

Generated-by: Cursor
Co-authored-by: Cursor <cursoragent@cursor.com>
@shangeyao

Copy link
Copy Markdown
Contributor Author

Closing this PR because the StreamPark Console frontend is about to undergo a major refactor. These console-side changes would likely conflict with or require rework after the refactor. Will revisit relevant improvements once the new frontend architecture is in place.

@shangeyao shangeyao closed this Jun 30, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Web UI] Split Monaco chunk, reduce idle list polling, fix axios cancel key

1 participant