Skip to content

Add Config updates via SSE#1064

Open
timokoessler wants to merge 1 commit into
mainfrom
config-sse
Open

Add Config updates via SSE#1064
timokoessler wants to merge 1 commit into
mainfrom
config-sse

Conversation

@timokoessler

@timokoessler timokoessler commented Jun 19, 2026

Copy link
Copy Markdown
Member

Extracted from #984

Summary by Aikido

⚠️ Security Issues: 2 🔍 Quality Issues: 7 ✅ Resolved Issues: 1

🚀 New Features

  • Implemented SSE-based config updates with connection and parsing

⚡ Enhancements

  • Probed realtime endpoint and fell back to polling when unreachable

🔧 Refactors

  • Extended poll/getConfigLastUpdatedAt APIs to accept realtime URL
  • Adjusted Undici tests to wait for realtime probe before assertions
  • Made test helper match accept variadic arguments and forward them

More info

Comment thread library/agent/realtime/probeRealtimeURL.ts
Comment thread library/helpers/eventsource-parser/parse.ts
Extracted from #984

Co-Authored-By: Hans Ott <3886384+hansott@users.noreply.github.com>
Comment thread library/agent/realtime/listenForConfigUpdates.ts
Comment thread library/agent/realtime/listenForConfigUpdates.ts
Comment thread library/agent/realtime/connectToSSE.ts
Comment thread library/helpers/eventsource-parser/errors.ts
Comment thread library/helpers/eventsource-parser/parse.ts
Comment thread library/agent/realtime/connectToSSE.ts
@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant