Update CI uv handling and runner changes

This commit is contained in:
Nick Sweeting
2026-03-23 13:27:23 -07:00
parent e1eb5693c9
commit 39450111dd
14 changed files with 73 additions and 146 deletions

View File

@@ -725,19 +725,6 @@ class Binary(ModelWithHealthStats, ModelWithStateMachine):
since installations are foreground, but included for consistency).
"""
# Kill any background binary installation hooks using Process records
# (rarely used since binary installations are typically foreground)
running_hooks = Process.objects.filter(
binary=self,
process_type=Process.TypeChoices.HOOK,
status=Process.StatusChoices.RUNNING,
)
for process in running_hooks:
killed_count = process.kill_tree(graceful_timeout=2.0)
if killed_count > 0:
print(f"[yellow]🔪 Killed {killed_count} binary installation hook process(es)[/yellow]")
# Clean up .pid files from output directory
output_dir = self.output_dir
if output_dir.exists():