fix: support host storage paths and clean up cancelled deployments

Allow validated host file and directory mounts outside resource directories
while protecting external paths from deletion.

Clean up cancelled deployment containers and clear tracked process IDs.
Preserve legacy KeyDB and Dragonfly password parsing, accept server backup
paths without extension restrictions, and allow Compose variable proxy ports.
This commit is contained in:
Andras Bacsai
2026-10-05 11:08:52 +02:00
parent 774e6bf178
commit 554bd354bf
94 changed files with 2922 additions and 357 deletions
@@ -0,0 +1,22 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('github_runner_executions', function (Blueprint $table) {
$table->boolean('is_pull_request')->default(false)->after('labels');
});
}
public function down(): void
{
Schema::table('github_runner_executions', function (Blueprint $table) {
$table->dropColumn('is_pull_request');
});
}
};
@@ -0,0 +1,31 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;
return new class extends Migration
{
/**
* ScheduledJobDeliveryService::ENQUEUED_STALE_AFTER_MINUTES when this migration was written.
*/
private const STALE_AFTER_MINUTES = 60;
/**
* v4.3.23 left dropped overlapping jobs enqueued; stale recovery would report them as missed runs.
*/
public function up(): void
{
DB::table('scheduled_job_deliveries')
->where('status', 'enqueued')
->where('enqueued_at', '<', now()->subMinutes(self::STALE_AFTER_MINUTES))
->update([
'status' => 'skipped',
'updated_at' => now(),
]);
}
public function down(): void
{
//
}
};