Skip to content

Adds optional SSE notifications for live query and carve updates - #1053

Merged
javuto merged 1 commit into
developfrom
efficient-frontend-api-0
Sep 12, 2026
Merged

Adds optional SSE notifications for live query and carve updates#1053
javuto merged 1 commit into
developfrom
efficient-frontend-api-0

Conversation

@javuto

@javuto javuto commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds optional SSE notifications for live query and carve updates. REST remains authoritative, and existing polling continues as fallback.

  • Distributes notifications across API/TLS replicas through Redis Pub/Sub.
  • Enforces environment permissions and revalidates authentication on open streams.
  • Bounds queues and connections, with reconnect recovery and shutdown cleanup.
  • Shares frontend subscriptions and refreshes only affected query caches.
  • Adds configuration, documentation, OpenAPI definitions, and regression tests.

Disabled by default. Enable --events-enabled on API and TLS with the same deployment-specific --events-namespace.

Validation

  • Full Go test suite
  • 407 frontend tests
  • TypeScript checking and production frontend build
  • Focused race checks
  • Redis fan-out, namespace isolation, and reconnect tests
  • OpenAPI consistency check

Follow-up

Result-readiness guarantees, reduced polling, console/file-explorer integration, browser E2E, and load testing remain pending.

@javuto javuto added osctrl-api osctrl-api related changes ⚡️ performance Performance related issues ⭐️ frontend Frontend related issues labels Sep 12, 2026
@javuto
javuto merged commit b551065 into develop Sep 12, 2026
8 checks passed
@javuto
javuto deleted the efficient-frontend-api-0 branch September 12, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⭐️ frontend Frontend related issues osctrl-api osctrl-api related changes ⚡️ performance Performance related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant