Skip to content

feat: add SSE testing endpoint /io/server-events/{count}#90

Merged
animator merged 6 commits into
foss42:mainfrom
anushkagupta200615-jpg:main
Jun 21, 2026
Merged

feat: add SSE testing endpoint /io/server-events/{count}#90
animator merged 6 commits into
foss42:mainfrom
anushkagupta200615-jpg:main

Conversation

@anushkagupta200615-jpg

Copy link
Copy Markdown
Contributor

Description

This PR introduces a dedicated SSE testing endpoint (/io/server-events/{count}) to the APIDash backend.

Currently, the better_networking tests in the apidash frontend rely on external third-party services (like sse.dev which is currently down). By hosting this endpoint natively on api.apidash.dev, we gain 100% control over test reliability and eliminate external network dependencies.

The endpoint uses FastAPI's StreamingResponse to precisely stream the requested {count} of events at 1-second intervals, flawlessly satisfying the existing test conditions.

@anushkagupta200615-jpg

anushkagupta200615-jpg commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

@animator please review my pr

@animator

Copy link
Copy Markdown
Member

Thanks

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.

2 participants