Repository navigation
Conversation
Signed-off-by: Afloat <ShuffleMonkey@163.com>
chrisknvidia
left a comment
There was a problem hiding this comment.
I reproduced this on main with the PR's tests: a worker exception before the child CLI runs, and a worker that exits abruptly, both end with exit code 1 and no catalog-summary.json, so the members that had already validated lose their links too. At this head both cases write the summary with every member present: the failed ones carry a reason and no report link, the completed ones keep their exact report, the GitHub annotation stream still names the failure, and the command still exits 1. Row order is unchanged (entries follow discovery order and failures are sorted as before), and the serial path already handled this, so nothing else moves. The catalog, discovery, commands and GitHub reporter suites are the same between main and this head, and the new tests passed three repeated runs here.
One nit inline about the reason string: it drops the exception message and is also long enough that the console scoreboard truncates it. I reverted each of the two guards on its own as well; the submit guard is needed for the broken-pool case and the result guard for both, so both new tests earn their place.
Signed-off-by: Afloat <ShuffleMonkey@163.com>
Signed-off-by: Afloat <ShuffleMonkey@163.com>
Summary
Parallel catalog validation loses its fleet summary when a worker raises outside the child CLI invocation or exits before returning a result.
future.result()aborts the parent, and a broken pool can also reject later submissions before completed results are collected. CI then has nocatalog-summary.json, even when other members already produced valid reports.Associate every submitted future with its catalog member. Record submission and result exceptions as execution failures, then write the normal fleet summary and annotations. Completed members retain their exact report links; members without a returned result have a failure reason and no claimed report. The command still exits with code 1 when any member fails.
Verification
ProcessPoolExecutorworkers: a missing working directory raises before child validation, and an abruptly exiting disposable worker breaks the pool and rejects the next submission.git diff --check.make build; wheel and source distribution built successfully.uv sync --all-extras --locked --python 3.12:make lint,make test, andmake build, using the checkout’s.venv/bin/python. Full validation run checked exact contribution heada623df6104e622b9ec32cfb4e53f362256e136b8; pytest reported 45,541 passed, 338 skipped, 19 deselected. Skips and marker exclusions are the repository’s existing defaults; no new skips or filters were added.Review follow-up validation
The current head
ca241aae5f60116d9f26bb9b49a6135968960157preserves the concurrent review update and redacts both worker submission and result exception details through the existing bounded diagnostic redactor. Four real-process regression cases verify credential masking and diagnostic size bounds, while the original worker failure cases still verify that healthy skills finish and a failed run exits nonzero.At that exact head, a fresh Ubuntu 24.04 runner with Python 3.12 and all locked project extras passed
make lint, the fullmake test(45,545 passed, 338 existing skips, 19 existing deselections), andmake build(wheel and sdist). Full validation run · job and original logs. These are the fork preflight results; upstream PR workflow approval/results are separate.Release Impact
CHANGELOG.md.