Commit e75024e
fix: prevent sticky disk commit after buildkitd SIGKILL
Add an in-memory _sigkillUsed flag alongside the existing core.saveState
persistence. This ensures getSigkillUsed() returns true within the same
process even if the GitHub Actions state mechanism has issues during
post-action cleanup.
Also log a warning (instead of the misleading 'gracefully') when
buildkitd was actually terminated with SIGKILL.
Co-authored-by: Codesmith <codesmith@blacksmith.sh>1 parent 6078dc1 commit e75024e
4 files changed
Lines changed: 11 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
707 | 707 | | |
708 | 708 | | |
709 | 709 | | |
710 | | - | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
711 | 715 | | |
712 | 716 | | |
713 | 717 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
46 | | - | |
| 49 | + | |
47 | 50 | | |
0 commit comments