Repository navigation
Do not record ignored build failures as successful - #4944
Aschenbath wants to merge 1 commit into
Conversation
Assisted-by: OpenAI Codex Signed-off-by: Nash Aschenbath <[email protected]>
|
It's not a perfect fit, but I added the |
|
Also - this is a test pass. Appveyor completed all green, but somehow GitHub missed the notification and still shows it as pending. |
|
Took me a while to be able to comment on this, as taskmaster sure isn't my space. This looks okay to me. My hesitation isn't the change, it's that the docstring of |
After a builder writes partial output and returns an error,
scons -icurrently records that output as successfully built. The next invocation reports it as up to date; with--cache-force, the failed output also enters the shared cache.Finish ignored failures using the Taskmaster path that updates scheduling state without calling the successful-build callbacks. Dependent tasks and shared side effects can continue, while the failed action does not save a successful signature or force its output into CacheDir.
The new end-to-end regression runs repeated real builds with
-i,--ignore-errors --cache-force, and-i -j 2 --cache-force. It checks retries with outputs present and removed, multiple outputs, dependent and independent tasks, successful cache reuse, and failure after a previously successful build. The manual and release notes describe the behavior. Partial files are retained; this does not add the delete-on-error feature discussed in #4747.Validation on Windows / Python 3.12.12:
bin/docs-update-generated.py. Generated files are excluded from the change as requested by the repository guide.git diff --checkpasses. Existing diagnostics are unchanged from an independent baseline checkout: 54 Ruff findings inMain.py, and 1,353 mypy errors across the repository.Contributor checklist:
CHANGES.txtandRELEASE.txt; readREADME.rst.Developed and tested with substantial AI assistance (OpenAI Codex), disclosed in the commit trailer as well.
Fixes #1332.