Merged
Conversation
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Contributor
There was a problem hiding this comment.
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>
khareyash05
approved these changes
Feb 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
README.mddescribing the application's purpose, endpoints, streaming formats, test recording/replay workflow with Keploy, noise configuration, and project structure.Environment and Dependency Setup:
docker-compose.ymlwith a Redis 7 service and healthcheck for local development and testing.go.modspecifying Go 1.21, core dependencies (github.com/google/uuid,github.com/redis/go-redis/v9), and indirect dependencies.Test Automation:
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.