generated from coulomb/repo-seed
finish(STATE-WP-0064): cut over scheduler and split sweep errors from failures
STATE-WP-0064 cutover (state-hub only): - Retire local custodian-sync.timer; archive units under infra/systemd/archived/ - Mark workplan finished; update infra/README, cron-migration, runbook, AGENTS.md - Point activity-core-delegation at the consistency-sweep runbook Consistency engine — automation error vs assessment failure: - C-00 is an automation error; C-01..C-23 assessment failures are recorded for follow-up but no longer fail --remote --all scheduled sweeps (exit 0) - Skip workplans/README.md in the workplan glob (human index, not a workplan) - Progress events and compare script expose automation_error and assessment_failures separately from exit_code
This commit is contained in:
@@ -59,7 +59,10 @@ def main(argv: list[str] | None = None) -> int:
|
||||
"events": len(details),
|
||||
"completed": sum(1 for detail in details if not detail.get("lock_skipped")),
|
||||
"lock_skipped": sum(1 for detail in details if detail.get("lock_skipped")),
|
||||
"hard_fail_exit": sum(1 for detail in details if detail.get("exit_code") == 1),
|
||||
"automation_error": sum(1 for detail in details if detail.get("automation_error")),
|
||||
"assessment_failures": sum(
|
||||
detail.get("assessment_failures", 0) for detail in details
|
||||
),
|
||||
"repos_processed": sum(len(detail.get("repos_processed") or []) for detail in details),
|
||||
"budget_skipped_repos": sum(len(detail.get("skipped_budget") or []) for detail in details),
|
||||
"exit_codes": dict(Counter(detail.get("exit_code") for detail in details)),
|
||||
@@ -76,7 +79,8 @@ def main(argv: list[str] | None = None) -> int:
|
||||
print(f" events: {stats['events']}")
|
||||
print(f" completed: {stats['completed']}")
|
||||
print(f" lock_skipped: {stats['lock_skipped']}")
|
||||
print(f" hard_fail_exit: {stats['hard_fail_exit']}")
|
||||
print(f" automation_error: {stats['automation_error']}")
|
||||
print(f" assessment_fail: {stats['assessment_failures']}")
|
||||
print(f" repos_processed: {stats['repos_processed']}")
|
||||
print(f" budget_skipped: {stats['budget_skipped_repos']}")
|
||||
print(f" exit_codes: {stats['exit_codes']}")
|
||||
|
||||
Reference in New Issue
Block a user