test(8249): DELIBERATE BREAK, plan minted, kind filter sent as "", empty judged block, sync ledger ignored
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 15s
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / Python tests (push) Failing after 2m4s
CI & Build / integration (push) Failing after 2m44s
CI & Build / Build & push image (push) Skipped
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 15s
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / Python tests (push) Failing after 2m4s
CI & Build / integration (push) Failing after 2m44s
CI & Build / Build & push image (push) Skipped
This commit is contained in:
@@ -139,7 +139,7 @@ async def list_tasks(
|
|||||||
is_task=True,
|
is_task=True,
|
||||||
status=status or None,
|
status=status or None,
|
||||||
project_id=project_id or None,
|
project_id=project_id or None,
|
||||||
task_kind=kind or None,
|
task_kind=kind, # DELIBERATE BREAK
|
||||||
limit=max(1, min(limit, 100)),
|
limit=max(1, min(limit, 100)),
|
||||||
offset=max(0, offset),
|
offset=max(0, offset),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -592,6 +592,7 @@ def minted_kind(kind: str) -> str:
|
|||||||
if kind in MINTABLE_KINDS:
|
if kind in MINTABLE_KINDS:
|
||||||
return kind
|
return kind
|
||||||
if kind == "plan":
|
if kind == "plan":
|
||||||
|
return kind # DELIBERATE BREAK
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"kind='plan' is retired — plans are milestones. Call "
|
"kind='plan' is retired — plans are milestones. Call "
|
||||||
"start_planning(project_id, title) to begin one. Existing "
|
"start_planning(project_id, title) to begin one. Existing "
|
||||||
|
|||||||
@@ -1457,7 +1457,7 @@ async def build_write_path_hint(
|
|||||||
|
|
||||||
top_k = cfg["top_k"]
|
top_k = cfg["top_k"]
|
||||||
excluded = set(exclude_ids or [])
|
excluded = set(exclude_ids or [])
|
||||||
sync_excluded = set(exclude_sync_ids or [])
|
sync_excluded = set() # DELIBERATE BREAK
|
||||||
scope_project = project_id or None
|
scope_project = project_id or None
|
||||||
|
|
||||||
# --- the sync class, and arm 1 by place ---
|
# --- the sync class, and arm 1 by place ---
|
||||||
|
|||||||
@@ -1835,7 +1835,7 @@ async def retrieval_summary(
|
|||||||
# `_system_usage`'s reason — a failure flags itself rather than printing
|
# `_system_usage`'s reason — a failure flags itself rather than printing
|
||||||
# an empty block, which reads as "nothing judged".
|
# an empty block, which reads as "nothing judged".
|
||||||
try:
|
try:
|
||||||
out["judged"] = await judged_block(user_id, since, until)
|
out["judged"] = (await judged_block(user_id, since, until)) or {"empty": True} # DELIBERATE BREAK
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.warning("judged block read failed", exc_info=True)
|
logger.warning("judged block read failed", exc_info=True)
|
||||||
out["judged"] = {"judged_failed": True}
|
out["judged"] = {"judged_failed": True}
|
||||||
|
|||||||
Reference in New Issue
Block a user