Revert the deliberate break: the kind filter and the planning route are back
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Successful in 2m6s
CI & Build / integration (push) Successful in 2m28s
CI & Build / Build & push image (push) Successful in 18s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Successful in 2m6s
CI & Build / integration (push) Successful in 2m28s
CI & Build / Build & push image (push) Successful in 18s
The break (a16a0ef) went red exactly where it should, in CI run 11227:
- test_routes_planning::test_starting_a_plan_is_routed_on_the_app;
- test_integration_task_kind_list [issue] and [work]; the all-kinds case
stayed green, as it must.
Nothing else failed (unit 1 failed / 3771 passed, database 2 failed / 478
passed).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -156,7 +156,7 @@ async def create_task_route():
|
|||||||
return jsonify(out), 201
|
return jsonify(out), 201
|
||||||
|
|
||||||
|
|
||||||
# DELIBERATE BREAK (#8249), reverted next commit
|
@tasks_bp.route("/planning", methods=["POST"])
|
||||||
@login_required
|
@login_required
|
||||||
async def start_planning_route():
|
async def start_planning_route():
|
||||||
uid = get_current_user_id()
|
uid = get_current_user_id()
|
||||||
|
|||||||
@@ -499,7 +499,7 @@ async def list_notes(
|
|||||||
query = query.where(Note.parent_id == parent_id)
|
query = query.where(Note.parent_id == parent_id)
|
||||||
count_query = count_query.where(Note.parent_id == parent_id)
|
count_query = count_query.where(Note.parent_id == parent_id)
|
||||||
|
|
||||||
if task_kind is not None and False: # DELIBERATE BREAK (#8249), reverted next commit
|
if task_kind is not None:
|
||||||
query = query.where(Note.task_kind == task_kind)
|
query = query.where(Note.task_kind == task_kind)
|
||||||
count_query = count_query.where(Note.task_kind == task_kind)
|
count_query = count_query.where(Note.task_kind == task_kind)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user