Skip to content

feat: add sse redis app#206

Merged
officialasishkumar merged 2 commits intomainfrom
sse-redis-app
Feb 24, 2026
Merged

feat: add sse redis app#206
officialasishkumar merged 2 commits intomainfrom
sse-redis-app

Conversation

@officialasishkumar
Copy link
Member

@officialasishkumar officialasishkumar commented Feb 24, 2026

This pull request introduces a new minimal Go application, sse-redis-app, designed as a test fixture for Keploy's streaming test-case support. The changes provide the full application scaffold, including documentation, Docker Compose setup for Redis, Go module dependencies, and a shell script to generate comprehensive test traffic. The main themes are documentation, environment setup, and test automation.

Documentation and Usage:

  • Added a comprehensive README.md describing the application's purpose, endpoints, streaming formats, test recording/replay workflow with Keploy, noise configuration, and project structure.

Environment and Dependency Setup:

  • Added docker-compose.yml with a Redis 7 service and healthcheck for local development and testing.
  • Introduced go.mod specifying Go 1.21, core dependencies (github.com/google/uuid, github.com/redis/go-redis/v9), and indirect dependencies.

Test Automation:

  • Added request.sh, a shell script to automate firing HTTP requests against all streaming endpoints, clearing/creating messages, and performing health checks to generate Keploy test cases.

Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Copilot AI review requested due to automatic review settings February 24, 2026 06:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new standalone Go sample app under sse-redis/ that uses Redis-backed message storage and exposes multiple streaming response formats intended for Keploy record/replay fixtures.

Changes:

  • Introduces a Go HTTP server with Redis persistence and streaming endpoints (SSE, NDJSON, multipart, plain text).
  • Adds a helper script (request.sh) to generate traffic and record Keploy test cases.
  • Adds supporting module/config files (go.mod, go.sum, docker-compose.yml) plus a README for usage.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 13 comments.

Show a summary per file
File Description
sse-redis/main.go Implements Redis-backed message creation/clearing plus multiple streaming endpoints.
sse-redis/request.sh Script to drive the app endpoints and generate recorded interactions.
sse-redis/README.md Documents setup, endpoints, and intended Keploy usage/noise configuration.
sse-redis/docker-compose.yml Provides a Redis service for local runs.
sse-redis/go.mod Defines the module and direct dependencies (uuid, go-redis).
sse-redis/go.sum Adds dependency checksums for reproducible builds.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@officialasishkumar officialasishkumar merged commit cd0ed29 into main Feb 24, 2026
37 checks passed
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.

3 participants