So the caching worked, but I found I was using a wrong logic there. For reference:
2025-09-09 16:06:09.636785 | TASK [fedpkg-build-cleanup : Check post-run variables] 2025-09-09 16:06:09.688079 | task_id = 136951410 2025-09-09 16:06:09.688268 | koji_task_returned = not defined 2025-09-09 16:06:09.688298 | zuul_success = False 2025-09-09 16:06:09.693438 | 2025-09-09 16:06:09.693525 | TASK [fedpkg-build-cleanup : Get the current state of Koji task] 2025-09-09 16:06:09.955851 | container | skipping: Conditional result was False
task_id = 136948519 koji_task_returned = True zuul_success = True (post-run skipped)
task_id = 136948028 koji_task_returned = True zuul_success = False (the conditional passed here, but there were other parts that skipped the cancellation)
Build succeeded. https://fedora.softwarefactory-project.io/zuul/buildset/f43afe6e29e44990b1e1d35ac55a3710
Metadata Update from @mvadkert: - Pull-request tagged with: gateit
Build succeeded (gate pipeline). https://fedora.softwarefactory-project.io/zuul/buildset/0b85a4a630e142a58e80a5add6aa7ff6
Pull-Request has been merged by zuul
So the caching worked, but I found I was using a wrong logic there. For reference: