There are more users having the EAGAIN error when they run make validate. There was a fix already made using async functions,I have been working in this possible solution, it slows the validation process. Take a look to it
Changes
Exec function usage: Switched from exec to spawn for better control.
Asynchronous handling: Improved asynchronous operations using async and await.
Error handling: Enhanced error management in child processes.
Multiple child processes: Introduced delay between child process creations.
Logging: Replaced console.debug with console.log for better logging.
Promise handling: Improved promise management with await.
Execution delay: Introduced an index based delay replacing setTimeout.
Error exit: Removed process.exit(1) and incorporated error handling.
Functions modified:
validatePayloadCodecs: Redesigned for better async handling, control, error management, and prevention of EAGAIN errors.
requireImageDecode: Swapped exec with spawn for improved control and error handling. Errors are now propagated via promises.
vendors.vendors.forEach: Refined loop with async/await for improved promise handling and graceful error management.
Summary
There are more users having the
EAGAIN
error when they runmake validate
. There was a fix already made using async functions,I have been working in this possible solution, it slows the validation process. Take a look to itChanges
Functions modified:
Notes for Reviewers
...
Release Notes