Skip to content

Update Fleet-maintained apps - #47034

Closed
fleet-release wants to merge 1 commit into
mainfrom
fma-2606071227
Closed

Update Fleet-maintained apps#47034
fleet-release wants to merge 1 commit into
mainfrom
fma-2606071227

Conversation

@fleet-release

@fleet-release fleet-release commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Automated ingestion of latest Fleet-maintained app data.

Summary by CodeRabbit

  • Chores
    • Updated version information for Comet macOS app
    • Updated Kitty macOS app version to 0.47.2 with new installer package and checksum

Generated automatically with cmd/maintained-apps.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@coderabbitai

coderabbitai Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

This PR updates version metadata for two maintained macOS applications in the Fleet repository. The Comet entry is bumped to version 145.2.7632.4581 with corresponding patched query adjustments. The Kitty entry is bumped to version 0.47.2, including updates to the patched query threshold, installer URL for the v0.47.2 DMG release, and the associated sha256 checksum verification. Both changes follow the same maintained-app update pattern without modifications to installation/uninstallation script references or other configuration.

Possibly related PRs

  • fleetdm/fleet#44921: Updates ee/maintained-apps/outputs/*/darwin.json entries by changing app version and aligning the queries.patched version_compare(...) threshold.
  • fleetdm/fleet#46586: Data-only updates to ee/maintained-apps/outputs/*/darwin.json entries, bumping app version and updating patched query thresholds with installer URL and checksum changes.
  • fleetdm/fleet#47027: Updates the Comet macOS manifest version and corresponding queries.patched SQL threshold in the same file.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The description is extremely brief and vague, providing minimal detail about the actual changes beyond a generic statement about automated ingestion. Expand the description to specify which apps were updated, their new versions, and any relevant testing or validation performed for these version changes.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title "Update Fleet-maintained apps" accurately summarizes the main change—updating version data for Fleet-maintained applications in the output files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fma-2606071227

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 and usage tips.

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@ee/maintained-apps/outputs/comet/darwin.json`:
- Line 4: Update the "version" value in the Comet darwin.json from
"145.2.7632.4581" to "148.0.7778.1016" so the patched check using
version_compare(bundle_short_version, "148.0.7778.1016") correctly identifies
installs older than the intended stable installer (installer_url redirecting to
the 148.0.7778.1016 DMG); ensure the "version" key and any version_compare
usages reference "148.0.7778.1016" consistently.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: bb5dee42-8093-4fe0-b96a-430e80040c46

📥 Commits

Reviewing files that changed from the base of the PR and between fbabd07 and 2d1c978.

📒 Files selected for processing (2)
  • ee/maintained-apps/outputs/comet/darwin.json
  • ee/maintained-apps/outputs/kitty/darwin.json

"versions": [
{
"version": "148.0.7778.1016",
"version": "145.2.7632.4581",

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.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify the latest Comet version from Perplexity's download endpoint

# Check the actual download to see version metadata or filename
curl -sL -D - "https://www.perplexity.ai/rest/browser/download?channel=stable&platform=mac_arm64" -o /tmp/comet_check.dmg 2>&1 | head -20

# Check if we can extract version info from the DMG
if [ -f /tmp/comet_check.dmg ]; then
  file /tmp/comet_check.dmg
  ls -lh /tmp/comet_check.dmg
fi

Repository: fleetdm/fleet

Length of output: 1691


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Show the relevant portion of the target JSON with line numbers
nl -ba ee/maintained-apps/outputs/comet/darwin.json | sed -n '1,80p'

# Also search for any other version mentions in the same file
rg -n '"version"|bundle_short_version|145\.2\.7632\.4581|148\.0\.7778\.1016' ee/maintained-apps/outputs/comet/darwin.json

Repository: fleetdm/fleet

Length of output: 100


🏁 Script executed:

#!/bin/bash
set -euo pipefail

nl -ba ee/maintained-apps/outputs/comet/darwin.json | sed -n '1,120p'

rg -n '"version"|bundle_short_version|145\.2\.7632\.4581|148\.0\.7778\.1016' ee/maintained-apps/outputs/comet/darwin.json

Repository: fleetdm/fleet

Length of output: 100


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Print the beginning of the JSON with line numbers (nl is unavailable in this sandbox)
cat -n ee/maintained-apps/outputs/comet/darwin.json | sed -n '1,120p'

# Search for version strings in the file
rg -n '"version"|bundle_short_version|145\.2\.7632\.4581|148\.0\.7778\.1016' ee/maintained-apps/outputs/comet/darwin.json

Repository: fleetdm/fleet

Length of output: 7076


🏁 Script executed:

#!/bin/bash
set -euo pipefail

rg -n "version_compare\s*\(" -S . | head -50

Repository: fleetdm/fleet

Length of output: 11047


🏁 Script executed:

#!/bin/bash
set -euo pipefail

rg -n "func\s+version_compare|version_compare" -S ee server internal cmd . | head -50

Repository: fleetdm/fleet

Length of output: 11547


🏁 Script executed:

#!/bin/bash
set -euo pipefail
rg -n "version_compare\s*\(" -S . | head -80

Repository: fleetdm/fleet

Length of output: 17984


🏁 Script executed:

#!/bin/bash
set -euo pipefail
rg -n "version_compare" -S . | head -80

Repository: fleetdm/fleet

Length of output: 18040


🏁 Script executed:

#!/bin/bash
set -euo pipefail
rg -n "version_compare\s*\(" -S . | head -80

Repository: fleetdm/fleet

Length of output: 17864


🏁 Script executed:

#!/bin/bash
set -euo pipefail
rg -n "version_compare" -S . | head -120

Repository: fleetdm/fleet

Length of output: 27278


🏁 Script executed:

#!/bin/bash
set -euo pipefail
rg -n "version_compare\s*\(" -S . | head -80

Repository: fleetdm/fleet

Length of output: 18167


🏁 Script executed:

#!/bin/bash
set -euo pipefail
rg -n "version_compare" -S . | head -120

Repository: fleetdm/fleet

Length of output: 27359


🌐 Web query:

osquery version_compare semantics return value negative positive when comparing versions

💡 Result:

In osquery, the version_compare(left_version, right_version, [compare_flavor]) function returns the following integer values based on the comparison of the two provided version strings [1][2]: - -1: Returned if the left_version is less than the right_version [1][2]. - 0: Returned if the left_version and right_version are equal [1][2]. - 1: Returned if the left_version is greater than the right_version [1][2]. The optional compare_flavor argument allows for specific package manager versioning logic (e.g., ARCH, DPKG, or RHEL); if omitted, it defaults to semantic versioning [1][2].

Citations:


Major: Comet version in darwin.json appears to be a rollback vs the stable “latest” binary.

ee/maintained-apps/outputs/comet/darwin.json sets "version": "145.2.7632.4581" and the patched query marks the app as patched when bundle_short_version is not < 145.2.7632.4581 (version_compare(..., ...) < 0 is true only when the installed version is lower). This would prevent updates from reaching the newer 148.0.7778.1016 on hosts where Comet is already at (or above) 148.

The installer_url (.../rest/browser/download?channel=stable&platform=mac_arm64) redirects to a DMG path containing 148.0.7778.1016/comet_latest.dmg, so the desired version/version_compare target should match 148.0.7778.1016 rather than 145.2.7632.4581.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ee/maintained-apps/outputs/comet/darwin.json` at line 4, Update the "version"
value in the Comet darwin.json from "145.2.7632.4581" to "148.0.7778.1016" so
the patched check using version_compare(bundle_short_version, "148.0.7778.1016")
correctly identifies installs older than the intended stable installer
(installer_url redirecting to the 148.0.7778.1016 DMG); ensure the "version" key
and any version_compare usages reference "148.0.7778.1016" consistently.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Closing in favor of #47035.

@github-actions github-actions Bot closed this Jun 7, 2026
@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Closing in favor of #47036.

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.

2 participants