An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(upgrade): explain manual reload fallback
Andras Bacsai719942853fc7
diff --git a/resources/views/livewire/upgrade.blade.php b/resources/views/livewire/upgrade.blade.phpindex eb6c601363..f93c7bcea7 100644--- a/resources/views/livewire/upgrade.blade.php+++ b/resources/views/livewire/upgrade.blade.php@@ -101,6 +101,10 @@class="font-semibold text-coollabs dark:text-warning"></span>seconds…</p>+ <p class="text-center text-[11px] leading-4"+ style="color: var(--coollabs-subtle)">+ If the page does not reload automatically, reload it manually.+ </p><x-forms.button @click="reloadNow()" type="button" isHighlighted>Reload now</x-forms.button>diff --git a/tests/Unit/CoolifyUpgradeStatusTest.php b/tests/Unit/CoolifyUpgradeStatusTest.phpindex b57afe5d22..a00283615f 100644--- a/tests/Unit/CoolifyUpgradeStatusTest.php+++ b/tests/Unit/CoolifyUpgradeStatusTest.php@@ -149,6 +149,12 @@ it('finishes after health recovers from observed downtime for older target relea->toContain('return;');});+it('tells users to reload manually if the automatic reload does not happen', function () {+ $upgradeView = file_get_contents(__DIR__.'/../../resources/views/livewire/upgrade.blade.php');++ expect($upgradeView)->toContain('If the page does not reload automatically, reload it manually.');+});+it('starts the upgrade after the Livewire response so status polling is not blocked', function () {$upgradeComponent = file_get_contents(__DIR__.'/../../app/Livewire/Upgrade.php');