Skip to content

Regenerate Fleet Desktop FMA manifests for v1.4.0 - #50674

Merged
allenhouchins merged 1 commit into
mainfrom
fma-fleet-desktop-1.4.0-regen
Aug 6, 2026
Merged

Regenerate Fleet Desktop FMA manifests for v1.4.0#50674
allenhouchins merged 1 commit into
mainfrom
fma-fleet-desktop-1.4.0-regen

Conversation

@allenhouchins

@allenhouchins allenhouchins commented Aug 6, 2026

Copy link
Copy Markdown
Member

Related issue: NA — follow-up to #49910

What changed

Regenerates api/fleet-desktop.json and outputs/fleet-desktop/darwin.json for Fleet Desktop v1.4.0. No cask changes.

Why

#49910 bumped Casks/fleet-desktop.rb to 1.4.0 but never ran regenerate.sh or the ingester, so the generated manifests — the files Fleet actually serves — were still on 1.3.4 and still pointed at the old allenhouchins/fleet-desktop GitHub release URL. That release feed is stale (it stops at v1.3.4); 1.4.0 is hosted at download.fleetdm.com. The .rb bump had no effect in production, and nothing in CI catches this kind of drift.

This was found during a routine custom-tap maintenance pass. All four casks (druva-insync, fleet-desktop, xcreds, zoom-rooms) are at their latest upstream versions, so this is the only change needed:

Cask Version Upstream
druva-insync 8.1.3,110967 inSync-8.1.3r110967 current
fleet-desktop 1.4.0 1.4.0 (1.4.1 → 404) manifests were stale
xcreds 5.9,9148 tag-5.9(9148) current
zoom-rooms 7.1.5.13403 cdn.zoom.us/prod/7.1.5.13403/ current

Notes for reviewers

Verified the 1.4.0 installer against the cask stanzas before regenerating:

  • sha256 of the downloaded pkg matches the cask's c920b983…
  • receipt id com.fleetdm.fleet-desktop (from PackageInfo) matches both the pkgutil: and quit: stanzas
  • CFBundleShortVersionString is 1.4.0, matching the cask version — so the patched query won't produce a perpetual false "Update available"
  • the pkg stanza filename fleet_desktop-v1.4.0.pkg matches the downloaded filename

regenerate.sh rebuilds all four api JSONs; only fleet-desktop changed, so there was no brew schema drift to absorb on the others. The install_script_ref changes (5d021f750341b271) only because the pkg filename inside the script changed; uninstall_script_ref is unchanged.

Unrelated, not addressed here: brew emits a deprecation warning on three casks for depends_on macos: ">= :ventura" (string comparison) vs depends_on macos: :ventura. It doesn't affect the generated JSON.

Checklist for submitter

  • QA'd all new/changed functionality manually

fleetd/orbit/Fleet Desktop

  • If the change applies to only one platform, confirmed that runtime.GOOS is used as needed to isolate changes

This is a macOS-only FMA manifest regeneration — no Go code, no schema, no fleetd/orbit runtime changes. The remaining template sections (changes file, SQL/input validation, timeouts, automated tests, migrations, config settings, fleetd compatibility/auto-update) don't apply; prior custom-tap bumps (#49563, #50651) likewise carry no changes file.

Summary by CodeRabbit

  • Updates
    • Updated Fleet Desktop for macOS to version 1.4.0.
    • Updated download links, installer filenames, and verification checksums for the new release.
    • Updated upgrade requirements to recognize version 1.4.0 and newer.
    • Updated the homepage and release-checking configuration.

PR #49910 bumped Casks/fleet-desktop.rb to 1.4.0 but never ran
regenerate.sh or the ingester, so api/fleet-desktop.json and
outputs/fleet-desktop/darwin.json were still on 1.3.4 and still
pointed at the old allenhouchins/fleet-desktop GitHub release URL.
The .rb bump therefore had no effect on what Fleet serves.

Regenerate both from the existing cask. No cask changes.

Verified the 1.4.0 installer against the cask stanzas: sha256
matches c920b983..., receipt id com.fleetdm.fleet-desktop matches
both the pkgutil: and quit: stanzas, and CFBundleShortVersionString
is 1.4.0 (so the patched query won't report a perpetual update).
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Script Diff Results

ee/maintained-apps/outputs/fleet-desktop/darwin.json

=== Install // 5d021f75 -> 0341b271 ===

--- /tmp/old.w3gI0W	2026-08-06 13:59:39.988333976 +0000
+++ /tmp/new.Zwpvcp	2026-08-06 13:59:39.988333976 +0000
@@ -96,5 +96,5 @@
 
 # install pkg files
 quit_and_track_application 'com.fleetdm.fleet-desktop'
-sudo installer -pkg "$TMPDIR/fleet_desktop-v1.3.4.pkg" -target / || exit $?
+sudo installer -pkg "$TMPDIR/fleet_desktop-v1.4.0.pkg" -target / || exit $?
 relaunch_application 'com.fleetdm.fleet-desktop'

=== Uninstall Script (no changes) ===

@allenhouchins
allenhouchins marked this pull request as ready for review August 6, 2026 15:05
Copilot AI lite review requested due to automatic review settings August 6, 2026 15:05
@allenhouchins
allenhouchins merged commit ec59e20 into main Aug 6, 2026
18 checks passed
@allenhouchins
allenhouchins deleted the fma-fleet-desktop-1.4.0-regen branch August 6, 2026 15:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Fleet’s generated Fleet-maintained app (FMA) manifests for Fleet Desktop macOS v1.4.0, ensuring the served installer URL, version checks, and checksums match the current release (and no longer reference the stale GitHub release feed).

Changes:

  • Regenerated the Fleet Desktop output manifest (outputs/.../darwin.json) to v1.4.0 (version, patched query, installer URL, sha256, install script ref).
  • Regenerated the Homebrew API JSON (inputs/.../api/fleet-desktop.json) to v1.4.0 (homepage/url/version/sha256/pkg filename, and livecheck skip metadata).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
ee/maintained-apps/outputs/fleet-desktop/darwin.json Updates the served macOS manifest to Fleet Desktop 1.4.0, including the new download.fleetdm.com installer URL and matching checksum/script ref.
ee/maintained-apps/inputs/homebrew/custom-tap/api/fleet-desktop.json Regenerates the Homebrew-derived API JSON so Fleet Desktop 1.4.0 metadata (URL/version/sha/pkg) matches the cask and upstream distribution.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: a549ef3d-a82b-4cbc-9b93-5f01ab7fb667

📥 Commits

Reviewing files that changed from the base of the PR and between 479c4da and 2d57c7b.

📒 Files selected for processing (2)
  • ee/maintained-apps/inputs/homebrew/custom-tap/api/fleet-desktop.json
  • ee/maintained-apps/outputs/fleet-desktop/darwin.json

Walkthrough

Updated Fleet Desktop from version 1.3.4 to 1.4.0 in the Homebrew cask and macOS app definitions. Updated release URLs, installer filenames, install script references, version conditions, and SHA-256 checksums. The Homebrew metadata now uses the Fleet repository homepage and disables livecheck. Uninstall references and existing install-script behavior remain unchanged.

Possibly related PRs

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fma-fleet-desktop-1.4.0-regen

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants