-
-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Tech Debt
From vibe-check review on PR #134:
-
Python version requirement:
Path.is_relative_to()(used in pipeline layers) requires Python 3.9+. Dockerfile uses 3.11 so no issue, but should be documented inrequirements.txtorpyproject.tomlfor anyone running outside Docker. -
DB connection pattern documentation:
get_db()returns a new connection each time (standard Flask-SQLite). Multipleget_db()calls in the same function scope are safe but could confuse future contributors. Consider adding a brief comment inworker.pyexplaining the pattern. -
api_stats()query complexity: The queue count query now has a JOIN + filters. A comment explaining why (matchingprocess_queuefilters) would help future maintainers.
Low priority - none of these cause runtime issues.