ci(push): Optimize chunk counting to avoid empty chunks#12295
Conversation
👋 Hello lucasssvaz, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description of Change
This pull request updates the chunking logic in the
set_ci_outputfunction within.github/scripts/get_affected.pyto better distribute sketches across CI chunks. The new approach ensures that chunks are created only as needed, preventing empty chunks and aligning with the logic used insketch_utils.sh.Improvements to CI chunk calculation:
Test Scenarios
Tested locally