Description and Error Message
Deleting a newly created but not-yet-configured GitHub App source succeeds, but the Livewire UI then surfaces an error similar to:
Attempt to read property "name" on null
The affected path is the GitHub App setup screen before app_id has been configured. Change::delete() deletes the model, sets $this->github_app = null, and redirects. The modal performs a Livewire refresh/morph around the delete action, so the component view can render once with a null model.
PR #11105 addressed this general post-delete re-render problem by guarding authorization checks and clearing the deleted model. However, the current GitHub source Blade still contains unguarded model dereferences:
{{ $github_app->name ?: 'GitHub App' }}
and, in the not-yet-configured branch:
@js($github_app->only(['organization', 'html_url']))
That second dereference makes the problem especially reproducible when deleting a source before completing GitHub setup. The source is removed correctly; the error is surfaced during the transient post-delete render.
Expected Behavior
- Deleting an unused, partially configured GitHub App source completes without a server or Livewire rendering error.
- The user is redirected to the Sources list.
- The deleted source no longer appears.
- The Blade view remains safe if
$github_app is temporarily null during the redirect lifecycle.
Steps to Reproduce
- Open Sources in a self-hosted Coolify instance.
- Create a new GitHub App source and enter a name/organization.
- Before completing GitHub registration and before setting
app_id or installation credentials, open the source's delete action.
- Confirm the GitHub App source name and permanently delete it.
- Observe that the source is deleted, but the UI surfaces an error concerning the
name property on null during the post-delete render.
- Refresh or return to Sources and confirm the deletion itself succeeded.
Example Repository URL
Not repository-specific; no application repository needs to be connected.
Coolify Version
v4.3.23. The same unguarded Blade dereferences are also present on current main and next as of September 25, 2026.
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Host operating system does not appear relevant; the failure occurs in the Livewire component render lifecycle.
Screenshots / Visuals
No screenshot available. The deletion succeeds and the transient error references the name field/property.
Additional Information
Related prior work:
The equivalent GitLab source Blade uses the component's scalar $name property for the page title, which is safe during this transient state. A minimal fix is to use $name for the GitHub page title and guard or snapshot the values used by the setup script before the model is cleared. A regression test should delete an incomplete GitHub App through the Livewire component and assert a redirect without an exception during rendering.
Description and Error Message
Deleting a newly created but not-yet-configured GitHub App source succeeds, but the Livewire UI then surfaces an error similar to:
The affected path is the GitHub App setup screen before
app_idhas been configured.Change::delete()deletes the model, sets$this->github_app = null, and redirects. The modal performs a Livewire refresh/morph around the delete action, so the component view can render once with a null model.PR #11105 addressed this general post-delete re-render problem by guarding authorization checks and clearing the deleted model. However, the current GitHub source Blade still contains unguarded model dereferences:
and, in the not-yet-configured branch:
That second dereference makes the problem especially reproducible when deleting a source before completing GitHub setup. The source is removed correctly; the error is surfaced during the transient post-delete render.
Expected Behavior
$github_appis temporarily null during the redirect lifecycle.Steps to Reproduce
app_idor installation credentials, open the source's delete action.nameproperty on null during the post-delete render.Example Repository URL
Not repository-specific; no application repository needs to be connected.
Coolify Version
v4.3.23. The same unguarded Blade dereferences are also present on current
mainandnextas of September 25, 2026.Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Host operating system does not appear relevant; the failure occurs in the Livewire component render lifecycle.
Screenshots / Visuals
No screenshot available. The deletion succeeds and the transient error references the
namefield/property.Additional Information
Related prior work:
name on nullfailure on an application's Git Source tab.$github_appwithout a null guard.The equivalent GitLab source Blade uses the component's scalar
$nameproperty for the page title, which is safe during this transient state. A minimal fix is to use$namefor the GitHub page title and guard or snapshot the values used by the setup script before the model is cleared. A regression test should delete an incomplete GitHub App through the Livewire component and assert a redirect without an exception during rendering.