Stop the reporter naming a path that no longer exists #2
Reference in New Issue
Block a user
Delete Branch "fix/reporter-self-reference"
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?
The comment
report_job_log.pyposts said:Since weblib-archive#44 there is no such file in any consuming repo — the
script lives here. So it pointed a reader at a path they cannot find, at the
one moment they are already hunting for the cause of a failure. Now links here.
How it was found, because the method matters more than the fix. I added the
reporter to weblib-fs (#31 there) and did not merge on green: a green run never
executes
if: failure(), so merging would have shipped an untested failurepath — the same shape as a skip reading as a pass. So I deliberately broke that
build, watched the reporter post, and reverted. The stale path was visible only
in that posted comment.
Also notes in the module docstring that this script is consumed from other
repos, so its output must not name paths inside the repo it is reporting on.