>_
.issue.db
/highway-workflow-engine
Dashboard
Issues
Memory
Lessons
Audit Log
New Issue
Edit Issue #529
Update issue details
Title *
Description
**Files:** - api/middleware/validators.py:123 - valid_statuses list - api/blueprints/v1/apps.py:158-167 - valid_categories list - api/blueprints/v1/tasks.py:23 - QUEUES list **Problem:** Mutable lists used for immutable constants with membership testing. O(n) lookup instead of O(1). **Fix:** ```python VALID_STATUSES = frozenset({"pending", "running", "sleeping", "completed", "failed"}) VALID_CATEGORIES = frozenset({"communication", "integration", "utility", "storage", ...}) QUEUES = frozenset({"highway_default", "highway_internal", "highway_activity"}) ``` **Impact:** O(1) membership test, immutability guarantee.
Priority
Low
Medium
High
Critical
Status
Open
In Progress
Closed
Won't Do
Due Date (YYYY-MM-DD)
Tags (comma separated)
Related Issues (IDs)
Enter IDs of issues related to this one. They will be linked as 'related'.
Update Issue
Cancel