infra: drop predictions container (HOL-19) - #99
Merged
Conversation
Predictions was a Flask ML sidecar that scored sessions for upstream Highlight's SaaS dashboard. The .NET backend never called into it (zero references in src/dotnet/), so it's been spinning idle on port 5001 doing nothing useful for self-hosted deployments. Removed: - predictions service from compose.yml - predictions from start-infra.sh service list - packages/predictions/ directory (Flask app + Dockerfile + poetry.lock) - "predictions" mention in infra/docker/README.md Not touched (out of scope): - src/backend/alerts/predictions/, src/backend/jobs/metric-alerts/, src/backend/private-graph/graph/schema.resolvers.go — these live in the inactive Go backend. The Go code is dead in our deployments (.NET is the runtime path) but tearing it out cleanly would touch gqlgen schema regeneration. Separate cleanup ticket if Go ever fully goes away. Verified: docker compose ps shows one fewer service, smoke test (ingest pipeline + ClickHouse verification) still passes. Subtask of HOL-17. Closes HOL-19. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
Summary
Predictions was a Flask ML sidecar that scored sessions for upstream Highlight's SaaS dashboard. The .NET backend never calls it (zero refs in
src/dotnet/), so it's been spinning idle on port 5001 doing nothing useful for our self-hosted deployments. Drop it.Removed
predictionsservice fromcompose.ymlpredictionsfromstart-infra.shservice listpackages/predictions/directory (Flask app + Dockerfile + poetry.lock + main.py + test.json)infra/docker/README.mdNot touched (out of scope)
src/backend/alerts/predictions/,src/backend/jobs/metric-alerts/,src/backend/private-graph/graph/schema.resolvers.go— these live in the inactive Go backend. The Go code is dead in our deployments (.NET is the runtime path) but tearing it out would touch gqlgen schema regeneration. Separate cleanup ticket if Go is ever fully retired.Verified
docker compose ps: one fewer service running./infra/docker/smoke-test-ingest.sh): still passes end-to-endSubtask of HOL-17. Closes HOL-19.
🤖 Generated with Claude Code