INNER CODE UNIT · Python
report
wolfSSL/wolfssl-examples · .github/scripts/ci_triage.py:612
def report(attempt, retry_note):
results = merged_results(RUN_ID, attempt)
obs, fail_refs, targets = classify(RUN_ID, attempt, retry_note)
logs = defaultdict(str)
for r in results:
if r["status"] == "fail" and r.get("log"):
logs[r["id"]] += r["log"]
issues = {store.parse_fp(i.get("body", "")): i for i in open_issues()}
issues.pop(None, None)
urls = job_urls(RUN_ID)
total = len(all_jobs(RUN_ID))
prev = previous_job_count()
close_allowed = not (prev and total < 0.5 * prev)
if not close_allowed:
print(