Repository navigation
Lead installed templates to their app in the catalog - #260
Merged
Merged
Conversation
A one-click or CLI template install records the template and its commit on the app, with the deployment that installs it. The template list marks the template as installed, and its page offers Open instead of Install.
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
widefleet-docs | 63907da | Nov 21 2026, 11:16 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The template catalog offers Install even when the organization already installed the template. Nothing recorded which template an app came from, and the app name is no reliable link: it defaults to the template ID but can be changed.
Change
Record the origin. A template install, from the page or with
widefleet catalog templates install, stores the template ID and its commit on the app (app.template_id,app.template_commit, migration0035). They are written once the install's deployment was accepted, and only while it is the app's only deployment. A rejected deployment, for example by Cloudflare in hosted installations, or an app someone else deployed meanwhile is not marked. Later deployments keep the record.Show it.
installedAppIdon template list entries and template details carries the newest such app the caller manages.catalog templates showandlistinclude it. Template frontmatter cannot set it.Apps installed before this change have no record and keep showing Install. Installing again under another name stays available through the CLI (
--name). There is no update from a newer template version.Screenshots
Synthetic fixture: a GitHub app with the template favicon, recorded as installed from the
githubtemplate in the After run. Rendered frommainand this branch with an app builder configured.Template page
Template list
Tests
installedAppIdis rejected.pnpm check, control plane tests and theRUN_CLI_TESTS=1suite pass locally.

Confidence Score: 5/5
The PR appears safe to merge; rejected hosted deployments no longer leave an installed-template record.Summary
Records which template and commit an app came from, then leads catalog users to an app they manage.
Reviews (5) · Last reviewed commit: "Record a template install once its deplo..." · Reviewed by Greptile