Skip to content

26 switch to redis#27

Merged
KevinGruber2001 merged 13 commits intomainfrom
26-switch-to-redis
Feb 15, 2026
Merged

26 switch to redis#27
KevinGruber2001 merged 13 commits intomainfrom
26-switch-to-redis

Conversation

@KevinGruber2001
Copy link
Copy Markdown
Collaborator

No description provided.

@KevinGruber2001 KevinGruber2001 linked an issue Feb 15, 2026 that may be closed by this pull request
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 15, 2026

Warning

Rate limit exceeded

@KevinGruber2001 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 23 minutes and 30 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 26-switch-to-redis

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 15, 2026

📦 Chart Preview Ready

helm install test oci://ghcr.io/ls1intum/charts/theia-shared-cache --version 0.3.0-pr.27

Updated: c8b9e97

Copy link
Copy Markdown
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

This PR switches the cache server’s storage backend from MinIO/S3 to Redis and updates local (docker-compose) and Kubernetes (Helm) deployment assets to run Redis alongside the cache server, with expanded observability via Prometheus/Grafana and optional Reposilite.

Changes:

  • Replace MinIO storage implementation/config with a Redis-backed Storage implementation and new config fields (addr/password/db).
  • Update deployment manifests (docker-compose + Helm chart) to run Redis + redis-exporter and provision Prometheus/Grafana assets.
  • Adjust metrics histogram buckets for request latency and update docs to reflect the new architecture.

Reviewed changes

Copilot reviewed 27 out of 28 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
src/internal/storage/redis.go Adds Redis-backed storage implementation.
src/internal/storage/minio.go Removes MinIO storage implementation.
src/internal/middleware/metrics.go Adjusts request-duration histogram buckets and import ordering.
src/internal/config/config.go Updates storage config fields/defaults/env bindings/validation for Redis.
src/cmd/server/main.go Wires server startup to Redis storage instead of MinIO (removes bucket init).
src/configs/config.yaml Updates default config to Redis connection settings.
src/go.mod Swaps dependencies (drop MinIO, add go-redis; promotes some OTel deps).
src/go.sum Updates dependency lockfile for Redis + related transitive deps.
src/deployments/docker-compose.yaml Replaces MinIO with Redis + redis-exporter; adds Grafana + Reposilite.
src/deployments/prometheus.yaml Adds scrape jobs for Redis exporter and Reposilite; normalizes quoting.
src/deployments/reposilite/reposilite.shared.json Adds shared Reposilite proxy configuration.
src/deployments/grafana/provisioning/datasources/prometheus.yaml Adds provisioned Prometheus datasource.
src/deployments/grafana/provisioning/dashboards/dashboards.yaml Adds dashboard provisioning configuration.
src/deployments/grafana/dashboards/gradle-build-cache.json Adds a Grafana dashboard for cache/Redis metrics.
chart/Chart.yaml Bumps chart version to 0.3.0 (breaking change).
chart/values.yaml Replaces MinIO storage values with Redis DB/resources values.
chart/templates/_helpers.tpl Adds standard app.kubernetes.io/* label helpers.
chart/templates/configmap.yaml Updates rendered app config to point at Redis.
chart/templates/deployment.yaml Updates cache-server Deployment to wait for Redis and inject Redis secret.
chart/templates/service.yaml Switches Service labels/selectors to shared helper labels.
chart/templates/secrets.yaml Replaces MinIO creds secret with generated Redis password secret.
chart/templates/redis-deployment.yaml Adds Redis + redis-exporter Deployment.
chart/templates/redis-service.yaml Adds Redis Service exposing Redis and exporter ports.
chart/templates/minio-statefulset.yaml Removes MinIO StatefulSet.
chart/templates/minio-service.yaml Removes MinIO Service.
chart/templates/reposilite-shared-config.yaml Updates labels and formatting for Reposilite shared config.
chart/README.md Updates Helm chart documentation for Redis/Revosilite/monitoring.
README.md Updates repo-level documentation for Redis + monitoring stack.

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

KevinGruber2001 and others added 6 commits February 15, 2026 19:43
@KevinGruber2001 KevinGruber2001 merged commit 2708c59 into main Feb 15, 2026
4 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.

Switch to Redis

2 participants