mirror of
https://github.com/Z3Prover/z3
synced 2026-08-02 12:13:25 +00:00
The clang-tidy warning fixer depended on `download_workflow_run_artifact` to fetch the warning report from the producer workflow. That path is blocked here, so the fixer could discover the run but not access the warning contents it needs to analyze. - **Fixer input path** - Update `/home/runner/work/z3/z3/.github/workflows/build-warning-fixer.md` to consume the triggering run via `list_workflow_jobs` + `get_job_logs` - Remove the artifact-download flow from the workflow instructions - Parse warning and status data from the build job log, with a grep fallback if the structured summary is missing - **Producer log contract** - Update `/home/runner/work/z3/z3/.github/workflows/clang-tidy-warning-report.yml` to emit a stable, marker-delimited summary block at the end of the build job log - Include both build status and the extracted warning subset in that block - Leave artifact upload in place as optional output rather than a required dependency - **Workflow behavior** - Make the fixer operate entirely from Actions logs, avoiding cross-run artifact retrieval as part of its primary path - Preserve the existing warning extraction model while shifting the producer/consumer contract to log output Example of the emitted log shape: ```text CLANG_TIDY_WARNING_REPORT_BEGIN CLANG_TIDY_STATUS_BEGIN configure_status=0 build_status=0 CLANG_TIDY_STATUS_END CLANG_TIDY_WARNINGS_BEGIN 123: warning: ... CLANG_TIDY_WARNINGS_END CLANG_TIDY_WARNING_REPORT_END ``` Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| actions | ||
| agents | ||
| aw | ||
| prompts | ||
| scripts | ||
| skills | ||
| workflows | ||
| CI_MIGRATION.md | ||
| CI_TESTING.md | ||
| copilot-instructions.md | ||
| dependabot.yml | ||
| mcp.json | ||