Skip to content

infra: drop predictions container (HOL-19) - #99

Merged
BrewingCoder merged 1 commit into
mainfrom
issue-19-drop-predictions
May 9, 2026
Merged

infra: drop predictions container (HOL-19)#99
BrewingCoder merged 1 commit into
mainfrom
issue-19-drop-predictions

Conversation

@BrewingCoder

Copy link
Copy Markdown
Owner

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

  • predictions service from compose.yml
  • predictions from start-infra.sh service list
  • packages/predictions/ directory (Flask app + Dockerfile + poetry.lock + main.py + test.json)
  • "predictions" mentions 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 would touch gqlgen schema regeneration. Separate cleanup ticket if Go is ever fully retired.

Verified

  • docker compose ps: one fewer service running
  • Smoke test (./infra/docker/smoke-test-ingest.sh): still passes end-to-end
  • No 'connection refused localhost:5001' in backend logs (because nothing in .NET ever called it)

Subtask of HOL-17. Closes HOL-19.

🤖 Generated with Claude Code

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>
@BrewingCoder
BrewingCoder merged commit 9fd8850 into main May 9, 2026
8 of 9 checks passed
@BrewingCoder
BrewingCoder deleted the issue-19-drop-predictions branch May 9, 2026 14:38
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.

1 participant