Trim internal fallback details from ATVM notes

This commit is contained in:
2026-03-27 16:12:14 -04:00
parent 86e89ab9f1
commit 9024d5cadb
4 changed files with 3 additions and 13 deletions

View File

@@ -1031,8 +1031,6 @@ def evaluate_subrun(
notes.append("This categorized sub-run ended but no host results were detected.")
return "UNKNOWN", host_results, start_ts, end_ts, currents_url, notes
notes.append("Categorized sub-run completed and the next grouped run was launched.")
if check_end:
notes.append("Final `check-xml-files.ts` validation passed.")
state = "FAILED" if any(result.failures for result in host_results.values()) else "COMPLETED"
return state, host_results, start_ts, end_ts, currents_url, notes
@@ -1061,11 +1059,6 @@ def evaluate_subrun(
if host_results:
notes.append("Run completed after the parent runner exited.")
if check_end:
notes.append("Final `check-xml-files.ts` validation passed.")
latest_artifact_note = "Host result details were derived from the latest matching host reporter artifact written before final validation."
if latest_artifact_note not in notes and all(result.tests == 0 for result in host_results.values()):
notes.append(latest_artifact_note)
state = "FAILED" if any(result.failures for result in host_results.values()) else "COMPLETED"
return state, host_results, start_ts, end_ts, currents_url, notes
@@ -1168,14 +1161,8 @@ def discover_categorized_subruns(
elif check_ts or raw_display_name != current_subrun_build or not parent_active:
state = "FAILED" if any(result.failures for result in host_results.values()) else "COMPLETED"
notes = [f"Categorized sub-run discovered from reporter file `{xml_path.name}`."]
if check_ts:
notes.append("Final `check-xml-files.ts` validation passed.")
if summary and host_results:
notes.append("Host result details were derived from the parent categorized run log summary.")
elif host_results and check_ts:
notes.append("Host result details were derived from matching per-host reporter artifacts written before grouped finalization.")
if inferred_host:
notes.append(f"Grouped sub-run host scope was inferred as `{inferred_host}` from the categorized build id.")
elif check_ts and not host_results and parent_active:
notes.append("Grouped reporter XML arrived before the parent run log exposed the final host summary; waiting to post until host details are available.")
if display_name != raw_display_name: