-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem 1: Ruff lint errors (CI)
The Code Quality CI step is failing with 460 ruff errors. Key issues:
F821Undefined names:FidelityTemporalStrategy,Timepoint(used in string type annotations inworkflows/temporal_agent.py)F841Unused variables:cycle_lengthinworkflows/temporal_agent.py:674- 460 total errors, 214 have available unsafe fixes
Run: https://github.com/timepointai/timepoint-pro/actions/runs/22907503403
Fix options
- Add missing imports or use
from __future__ import annotationsto make string annotations lazy - Run
ruff check --fixfor auto-fixable issues,ruff check --fix --unsafe-fixesfor the rest (review carefully) - If some rules are too strict for this codebase, update
pyproject.toml[tool.ruff]to exclude or ignore specific rules
Problem 2: Railway health check failing
The latest Railway deployment has been stuck in INITIALIZING for 33+ hours. The /health endpoint never responds within the 30-second health check window.
Build logs show the Docker build succeeds (torch, sentence-transformers, langgraph all install fine in ~502s), but the service doesn't respond in time at startup.
Likely causes
- torch + sentence-transformers import is slow on cold start
- Missing env var causing crash before server binds
- Server binding to wrong port
Fix options
- Check Railway env vars match what the app expects
- Increase health check timeout in Railway service settings (try 120s)
- Add startup logging before and after heavy imports to identify the bottleneck
- Consider lazy-loading torch/sentence-transformers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels