INNER CODE UNIT · Python

close_allowed

wolfSSL/wolfssl-examples · .github/scripts/ci_triage.py:627

    close_allowed = not (prev and total < 0.5 * prev)
    if not close_allowed:
        print(
            f"CIRCUIT BREAKER: {total} jobs vs {prev} last nightly (<50%). "
            "Refusing to close anything this run.",
            file=sys.stderr,
        )

    failing = [e for e, o in obs.items() if o in (store.REAL, store.UNCONFIRMED)]
    now = datetime.now(timezone.utc).strftime("%Y-%m-%d")

    ai_input = []
    for eid in failing:
        old = store.parse_state(issues.get(eid, {}).get("body", ""))
        ai_input.append(
            {
                "id": eid,
                "refs": fail_refs.get(eid, []),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…