fix(ci): skip absent overlap reports #4534
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4534"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MiniRML on 2026-10-12T14:55:28Z.
What
When the overlap report directory contains no Markdown reports, Bash leaves
*.mdunexpanded. The workflow then requestsissues/*/comments, causing a 404 and a failed run on forks with no open PRs. Skip entries that are not files before accessing GitHub. Existing reports still follow the same comment update path.Tested
Windows 11, Python 3.13 and Git for Windows Bash. The new workflow regression executes the actual comment-processing script with local GitHub/jq substitutes: empty and non-Markdown-only directories fail on the base, then pass with the fix; a real report still reads and creates its comment. No network calls are made by the regression.
test_pr_overlap.py: 7 tests passed.Checklist
main; no other open PR implements the same fixImported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-13T13:17:54Z.
Windows test note: this branch (base
2a5eca11c) no longer merges onto currentmain0f2683cb7;git merge-treereports a conflict in.github/workflows/pr-overlap.yml, so I could not run its checks on a merged tree. A rebase onto currentmainwould allow a Windows run.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-13T14:14:20Z.
Closing as obsolete: current
mainalready hasshopt -s nullglobbefore thefor file in "$out"/*.mdloop in.github/workflows/pr-overlap.yml, so an empty report directory no longer iterates and noissues/*/commentsrequest is made. The branch also conflicts with that workflow now, and the new test extracts the script from the old version of it.Feel free to reopen rebased if you can show a case that still fails on current
main.Pull request closed