feat(jobs): add jobs.cleanup RPC + CLI for bulk-deleting codescaler jobs #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_issue_10_jobs_cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds an admin-gated mechanism for draining hero_proc state that
hero_codescalers has accumulated. Tagging was already in place via
build_tags(); this adds the operation that consumes the tags.
pushdown via JobFilter.tag), post-filters in Rust on
kind/target/actor/older_than_ms, deletes matching jobs (force=true),
then best-effort deletes unique action specs. Returns a structured
summary: jobs_deleted, actions_deleted, job_ids, action_ids, errors,
dry_run.
via openrpc_client! macro.
[--actor] [--older-than <Nms|s|m|h|d>] [--dry-run].
kind/target/actor narrowing, older_than_ms semantics, parse_duration_ms.
#10