diff --git a/app/Jobs/ContainerStatusJob.php b/app/Jobs/ContainerStatusJob.php index 0d4028f8f..3b995d721 100644 --- a/app/Jobs/ContainerStatusJob.php +++ b/app/Jobs/ContainerStatusJob.php @@ -159,6 +159,9 @@ class ContainerStatusJob implements ShouldQueue, ShouldBeEncrypted if ($applicationId) { $pullRequestId = data_get($labels, 'coolify.pullRequestId'); if ($pullRequestId) { + if (str($applicationId)->contains('-')) { + $applicationId = str($applicationId)->before('-'); + } $preview = ApplicationPreview::where('application_id', $applicationId)->where('pull_request_id', $pullRequestId)->first(); if ($preview) { $foundApplicationPreviews[] = $preview->id; diff --git a/app/Models/Service.php b/app/Models/Service.php index 6aaa126e7..a1fa4b4ba 100644 --- a/app/Models/Service.php +++ b/app/Models/Service.php @@ -395,6 +395,7 @@ class Service extends BaseModel $key = Str::of($variableName); $value = Str::of($variable); } + // TODO: here is the problem if ($key->startsWith('SERVICE_FQDN')) { if ($isNew || $savedService->fqdn === null) { $name = $key->after('SERVICE_FQDN_')->beforeLast('_')->lower(); diff --git a/config/sentry.php b/config/sentry.php index 7f4dd8d43..3a9aa3df6 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -7,7 +7,7 @@ return [ // The release version of your application // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) - 'release' => '4.0.0-beta.121', + 'release' => '4.0.0-beta.122', // When left empty or `null` the Laravel environment will be used 'environment' => config('app.env'), diff --git a/config/version.php b/config/version.php index 67d47e548..5a47704b8 100644 --- a/config/version.php +++ b/config/version.php @@ -1,3 +1,3 @@