Skip to content

[v3-1-test] Make prek cache restoration resilient to corrupted tarballs (#63684)#63685

Merged
potiuk merged 1 commit into
v3-1-testfrom
backport-20486bb-v3-1-test
Mar 16, 2026
Merged

[v3-1-test] Make prek cache restoration resilient to corrupted tarballs (#63684)#63685
potiuk merged 1 commit into
v3-1-testfrom
backport-20486bb-v3-1-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Previously, a missing or corrupted cache tarball would hard-fail the
entire static checks job even when stash-hit reported true. Now the
extraction is wrapped in error handling: if the tarball is missing or
tar fails, it gracefully falls through to a clean prek install-hooks
instead of aborting.
(cherry picked from commit 20486bb)

Co-authored-by: Jarek Potiuk jarek@potiuk.com

…ls (#63684)

Previously, a missing or corrupted cache tarball would hard-fail the
entire static checks job even when stash-hit reported true. Now the
extraction is wrapped in error handling: if the tarball is missing or
tar fails, it gracefully falls through to a clean prek install-hooks
instead of aborting.
(cherry picked from commit 20486bb)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@potiuk potiuk marked this pull request as ready for review March 16, 2026 00:28
@potiuk potiuk merged commit 7bb0507 into v3-1-test Mar 16, 2026
5 checks passed
@potiuk potiuk deleted the backport-20486bb-v3-1-test branch March 16, 2026 00:28
vatsrahul1001 pushed a commit that referenced this pull request Mar 25, 2026
…ls (#63684) (#63685)

Previously, a missing or corrupted cache tarball would hard-fail the
entire static checks job even when stash-hit reported true. Now the
extraction is wrapped in error handling: if the tarball is missing or
tar fails, it gracefully falls through to a clean prek install-hooks
instead of aborting.
(cherry picked from commit 20486bb)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant