Keep runtimes up to date
Each app runs its own runtime version, and versions install side by side on a server, so apps there can run different ones. A version stays on the server once an app needs it. Newer patches don't arrive by themselves, so you move each app up from its page.
See what an app runs
The Runtime section of the app's page shows the version the app runs, where that version came from, and whether it still gets fixes. It came from one of these:
- the repository, such as
composer.jsonasking for^8.4 - a version you picked on the page
- Coresmith's recommended version, when the repository doesn't ask for one
Apps that also use a runtime to build, such as Node.js for a Laravel app's assets, show it on a second row.
Update an app to the newest patch
When a newer patch is out, such as PHP 8.4.25 for 8.4.1, the Runtime section offers Update to 8.4.25.
- Choose Update to 8.4.25.
- Choose Update and deploy.
Coresmith installs the patch beside the version the app runs now, then deploys the app on it. The section says it's installing until the patch is in. A patch rarely changes how an app behaves, but it can break one. The deploy is checked before it goes live, so if it fails, the release that's live now keeps serving. Commits on the branch that aren't live yet go out with the deploy.
Other apps on the server that run the old patch move up the next time they deploy.
Apps that stay on their version
An app whose repository asks for one exact version, such as 8.4.1 in .tool-versions, stays on it. The Runtime section names the file, so change the version there and deploy.
Move to a new version line
A patch keeps the same version line, such as 8.4. Moving to another line, such as 8.4 to 8.5, changes more: choose Change version in the app's Runtime section. Change an app.
A version that no longer gets security fixes is marked End of life. Move its apps to a supported line.
See what a server has
Open the server's Apps tab. The Runtimes card lists each version installed there, the apps that run on it, and whether it still gets fixes. Apps you can't see are counted but not named.
Remove a version nothing uses
When no app runs on a version and no kept release was built on it, its row on the Runtimes card offers Remove. Confirm, and Coresmith deletes the version from the server. If an app asks for it again, its next deploy installs it again.
A version that a kept release was built on stays until that release is gone, so a rollback still has what it needs. The card says which app keeps it.
Who can do this
Anyone who can change and deploy an app can update its runtime. Owners and Admins can remove a version, and so can Developers on the servers they added. Everyone who can see the server sees the Runtimes card.