No description
Find a file
Virgil 10fc9559fa fix(api): make SSE drain wait for clients
Drain() now signals SSE clients to disconnect, closes the event stream under the broker lock, and waits for handler goroutines to exit before returning. Added a regression test to verify that active clients disconnect and the broker reaches zero client count.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 05:13:44 +00:00
.core feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
cmd/api chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
docs feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
pkg/provider chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
src/php fix(api): normalize remaining MCP and rate-limit error envelopes 2026-03-30 06:14:22 +00:00
.gitattributes feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
.gitignore chore: add .core/ and .idea/ to .gitignore 2026-03-15 10:17:49 +00:00
api.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
api_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
authentik.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
authentik_integration_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
authentik_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
authz_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
bridge.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
bridge_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
brotli.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
brotli_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
cache.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
cache_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
CLAUDE.md feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
codegen.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
codegen_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
composer.json feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
export.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
export_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
expvar_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
go.mod chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
go.sum chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
graphql.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
graphql_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
group.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
group_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
gzip_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
httpsign_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
i18n.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
i18n_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
LICENCE feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
location_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
middleware.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
middleware_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
modernization_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
norace_test.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
openapi.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
openapi_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
options.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
pprof_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
race_test.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
response.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
response_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
secure_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
sessions_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
slog_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
sse.go fix(api): make SSE drain wait for clients 2026-04-01 05:13:44 +00:00
sse_test.go fix(api): make SSE drain wait for clients 2026-04-01 05:13:44 +00:00
static_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
swagger.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
swagger_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
timeout_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
tracing.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
tracing_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00
websocket.go feat(api): merge go-api + php-api into polyglot repo 2026-03-14 10:03:29 +00:00
websocket_test.go chore: migrate to dappco.re vanity import path 2026-03-21 23:50:37 +00:00