mirror of
https://github.com/hansjone/netx.git
synced 2026-10-12 09:00:51 +08:00
Ship gated eye polish, fabric levels, and collection UI refresh.
Topology MCP adds pull/compact/bundle/suggest-hubs with a no-template skill path; API gains fabric level and NE collection policy; web list pages get paging and denser collect/network workflows. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
b1aee86701
commit
b81e5869a6
91 changed files with 10395 additions and 1513 deletions
|
|
@ -48,6 +48,12 @@ def finalize_collection_job(db: Session, job_id: str) -> None:
|
|||
job.ended_at = finish_at
|
||||
job.last_run_at = job.ended_at or finish_at
|
||||
db.commit()
|
||||
try:
|
||||
from .collection_policy import ensure_policy, history_keep_value, prune_collection_jobs
|
||||
|
||||
prune_collection_jobs(db, keep=history_keep_value(ensure_policy(db)))
|
||||
except Exception: # noqa: BLE001
|
||||
pass
|
||||
|
||||
|
||||
def reconcile_stale_collection_job(db: Session, job_id: str) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue