Repository navigation
ci: report Experimental Tests and Python Compatibility to Discussions, with step summaries (#2030) - #2071
Conversation
|
GOOD TO GO at Security
Behaviour
Summaries: 400 fuzzed runs (multi-byte text, Unverified until a live post: a summary containing |
|
Coverage: 91.52% (unit tier, Python 3.15,
Per-file detail: the |
|
Ready to merge at |
…, with step summaries (#2030) util/check_suite_report.py now writes the check-suite report coverage-comment.yml's discussion job wrote inline, and ci-reports.yml, a workflow_run relay, runs the same steps for Experimental Tests and Python Compatibility, so none of the three gains a write scope. - Push runs: an annotation counts only on a (KTLO) or (experimental) leg, or one titled (KTLO, non-blocking); a passing blocking job's no longer posts. Scheduled runs count every annotation and still post every run. - pip's 'Retrying ... after connection' lines never count, on any leg. - A run whose gated legs all skipped (current or changes.code false) posts nothing. - Each job's summary is copied to job-summary.md (util/_actions.py's JOB_SUMMARY_COPY, or tee), named and uploaded on always(); the report folds each into a <details> block, trimmed to fit with a link to the run.
da6a4a3 to
d1103d7
Compare
|
Rebased onto |
make pylint,make mypy,make isort)make testpasses, and a test case covers the changeWhat is the purpose of your pull request?
ci— changes to CI configuration files and scriptsDescription of your pull request and other information
For #2030, per the rulings there.
util/check_suite_report.pyreplacescoverage-comment.yml's inline Write the run report. Unit Tests keeps itsdiscussionjob. The newci-reports.ymlrelays Experimental Tests and Python Compatibility throughworkflow_run, with the same steps; a test holds the two identical. The three tested workflows gain no write permission.$RUNNER_TEMP(through_actions,JOB_SUMMARY_COPYortee). A final pair ofalways()steps uploads it asjob-summary-<job>-<index>. The reporter folds each into a<details>block, trimmed to fit the comment limit with a link to the run.(KTLO)or(experimental)leg. Scheduled runs still post every run, and the recovery post is unchanged.Retrying … after connectionis ignored on every leg.main's inline step: a passing job's warning and a pip retry now givesuccess. A KTLO warning still giveswarning.Two choices to confirm. I recommend keeping both.
(KTLO, non-blocking)also count as non-blocking. That covers the KTLO cells inside the blockingEngines (…)jobs, which would otherwise go silent on push.coverage-comment.yml, rather than moving all three intoci-reports.yml.Not verifiable before a live run:
gh run download --patternlayout,actions: readsufficing for the relay, and how<details>renders.