You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fleet-maintained apps: stop GoAnywhere OpenPGP Studio (Windows) before installing - #57881
GoAnywhere OpenPGP Studio's install4j installer exits 1 when OpenPGPStudio.exe is running. Fleet installs as SYSTEM, outside the user's session, so it can't ask the app to close. The install script now stops any process running from the GoAnywhere OpenPGP Studio install directory before it runs setup, the same way the uninstall script already stops the app. Unsaved work in the app is lost, the same as in other Windows FMAs that stop the app first (for example Beyond Compare).
The Windows open query also guessed goanywhere openpgp studio.exe, which never matches, so the app always looked closed to the patch-when-closed gate. The winget input now sets open_process_names to the real process, openpgpstudio.exe.
Checklist for submitter
Timeouts are implemented and retries are limited to avoid infinite loops (Wait-Process -Timeout 30)
Testing
QA'd all new/changed functionality manually
Ran as SYSTEM in a Windows 11 ARM64 VM (Parallels) against the real 1.2.3 installer (SHA-256 matches the output). The app was launched as the signed-in user in session 1.
Step
Result
Install with the shipped script, app not running
exit 0. ARP: GoAnywhere OpenPGP Studio / Fortra / 1.2.3, in C:\Program Files\Fortra\GoAnywhere OpenPGP Studio
Queries with the app installed and closed
exists 1 row, patched 1 row, patched with the version bumped to 1.2.4: 0 rows, new open query 1 row
Launch OpenPGPStudio.exe as the user
new open query 0 rows (open). Old open query 1 row (wrongly reports closed)
Shipped install script over the running app
exit 1, OpenPGPStudio.exe still running with the same PID (reproduces the issue)
Fixed install script over the running app
"Stopping OpenPGPStudio (PID 11128)", exit 0, no process left; exists 1, patched 1, open 1
Fixed install script, app not running (reinstall over an existing install)
exit 0
go test ./pkg/patch_policy/... ./ee/maintained-apps/... passes. Regenerating the output changed only the install script ref and the open query; the version stayed at 1.2.3.
AI
AI: Claude Code (claude-opus-5-5)
Summary by CodeRabbit
Bug Fixes
Windows now detects GoAnywhere OpenPGP Studio using its executable name, improving recognition of the app’s running state.
Before installation, the installer closes running GoAnywhere OpenPGP Studio processes and waits up to 30 seconds for them to exit. Existing installer options and error handling remain unchanged.
…e installing
The install4j installer exits 1 when OpenPGPStudio.exe is running, and Fleet runs as SYSTEM so it can't ask the app to close. The install script now stops processes under the install directory first, like the uninstall script already does.
The open query guessed 'goanywhere openpgp studio.exe'; the app's process is OpenPGPStudio.exe, so add an open-query override.
The app definition now identifies openpgpstudio.exe for open-process detection. Before installation, the script finds processes with executable paths matching the GoAnywhere OpenPGP Studio directory, force-stops them, and waits up to 30 seconds. Installer arguments, exit-code handling, and error handling remain unchanged.
Possibly related PRs
fleetdm/fleet#57347: Stops running Windows app processes before installer setup.
fleetdm/fleet#57936: Adds open_process_names to Winget manifests and generates Windows open queries from that field.
Severity of issue fixed: Medium
Merge Risk: Minimal · up to f629b
The change makes reinstalling GoAnywhere OpenPGP Studio while it is open stop the app first and then install, as the linked issue requested. Unsaved work in the app is lost by design. If the app cannot be stopped, the install fails with the installer's exit code as before. It is safe to merge.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title clearly identifies the main change: stopping GoAnywhere OpenPGP Studio before installing it on Windows.
Linked Issues check
Issue #57659 requires installation to close GoAnywhere OpenPGP Studio first or complete while it remains open. The install script now finds and force-stops processes whose executable path is under the…
Out of Scope Changes check
All changes relate to issue #57659. The install-script update addresses the failed install, the process-name override corrects the app-open query, and the generated Windows output carries those change…
Description check
The description identifies the related issue, explains the installer failure and both changes, and reports manual QA and automated test results. It includes the applicable timeout checklist item and t…
Full details: Linked Issues check
Explanation
Issue #57659 requires installation to close GoAnywhere OpenPGP Studio first or complete while it remains open. The install script now finds and force-stops processes whose executable path is under the app's install directory, then waits up to 30 seconds before starting the installer. The generated Windows catalog output reflects the script change. The input manifest also names the actual process, openpgpstudio.exe, for the open query. The PR reports passing the relevant Go tests and manual installation checks.
Full details: Out of Scope Changes check
Explanation
All changes relate to issue #57659. The install-script update addresses the failed install, the process-name override corrects the app-open query, and the generated Windows output carries those changes into the catalog. No unrelated changes appear in the whole-PR diff.
Full details: Description check
Explanation
The description identifies the related issue, explains the installer failure and both changes, and reports manual QA and automated test results. It includes the applicable timeout checklist item and the required AI section. Other template items are not relevant to this Windows app-catalog change.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
The reason will be displayed to describe this comment to others. Learn more.
🟢 Approval recommended
There are no active review issues for the GoAnywhere OpenPGP Studio installation and running-app detection changes.
No open issues 🎉
What changed in this PR
Addresses #57659 by stopping GoAnywhere OpenPGP Studio before Windows installation and correcting running-app detection for patch-when-closed policies.
Changes:
Stops processes in the app’s install directory and waits up to 30 seconds before launching setup.
Uses openpgpstudio.exe for Windows running-app detection.
Regenerates the app manifest with the updated script and query, retaining version 1.2.3.
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.54%. Comparing base (1787123) to head (8ddbe90). ⚠️ Report is 18 commits behind head on main.
Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.
Do not start setup while a matching process still runs.
If Stop-Process fails or Wait-Process reaches its 30-second timeout, the script suppresses the non-terminating error and starts setup anyway. Setup can then encounter the same running-app condition that this change addresses. Check for surviving processes before Start-Process, and report a failure if any remain. (learn.microsoft.com)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 0 remain after this review.
…lling it (Windows) (#58392)
**Related issue:** Fixes#58043
Burp Suite Community Edition's install4j setup (12.0.2) exits 1 while
`BurpSuiteCommunity.exe` is running, so installing or updating it from
Fleet over an open app fails and leaves the old version running. Fleet
installs as SYSTEM, outside the user's session, so the installer can't
ask the user to close the app. The install script now stops Burp before
it runs setup: the `BurpSuiteCommunity.exe` launcher (which hosts the
JVM in-process) and Burp's bundled Chromium browser
(`burpbrowser\<version>\chrome.exe`, about a dozen processes when it's
open). The uninstall script already stops Burp. Unsaved work in Burp is
lost, the same as in other Windows FMAs that stop the app first
(GoAnywhere OpenPGP Studio in #57881, also install4j; Tableau Prep
Builder in #58355).
It looks in `%ProgramFiles%\BurpSuiteCommunity` and in the
`InstallLocation` of every machine-wide `Burp Suite Community*` /
PortSwigger uninstall entry, because existing installs aren't always in
the directory the script passes to `-dir` (the one in the test VM
wasn't). In each directory it matches only Burp's own files:
`BurpSuiteCommunity.exe`, `jre\`, `burpbrowser\`, and `.install4j\`. So
a Burp install in a shared folder can't pull in unrelated processes.
The Windows open query also guessed `burp suite community edition.exe`,
which never matches, so the app always looked closed to the
patch-when-closed gate. The winget input now sets `open_process_names`
to the real process, `burpsuitecommunity.exe` (the process the soak saw
still running).
Burp Suite Professional (#58021) has the same gap in its own script and
isn't changed here.
# Checklist for submitter
- [x] Timeouts are implemented and retries are limited to avoid infinite
loops (`Wait-Process -Timeout 30`)
## Testing
- [x] QA'd all new/changed functionality manually
- Downloaded the 2026.3.3 x64 installer: SHA-256 matches the output
(`74ba1537…`). It's an install4j 12.0.2 launcher, the same framework as
GoAnywhere OpenPGP Studio, whose identical exit 1 over a running app was
fixed by stopping it first (verified as SYSTEM in #57881).
- Regenerating the output changed only the install script ref and the
open query; the version stayed at 2026.3.3.
- `go test ./ee/maintained-apps/... ./cmd/maintained-apps/...
./pkg/patch_policy/...` passes.
Ran as SYSTEM (`prlctl exec`, the context fleetd uses) in a Windows 11
ARM64 VM (Parallels) against the real 2026.3.3 installer. Burp and its
browser were launched as the signed-in user in session 1.
| Step | Result |
|---|---|
| Fixed script, app not running (reinstall) | exit 0. ARP: `Burp Suite
Community Edition 2026.3.3` / `PortSwigger Web Security` / `2026.3.3` |
| Queries with the app installed and closed | exists 1 row, patched 1
row, patched with the version bumped to 2026.3.4: 0 rows, new open query
1 row |
| Launch Burp and its browser as the user | 12 processes:
`BurpSuiteCommunity.exe` plus 11 `chrome.exe` under `burpbrowser\`; no
separate `java.exe`. New open query **0 rows** (open). Old open query 1
row (wrongly reports closed) |
| Shipped install script over the running app | **exit 1** after 16 s,
`BurpSuiteCommunity.exe` still running with the same PID (reproduces the
issue) |
| Fixed install script over the running app | "Stopping …" for all 12
processes, **exit 0** after 56 s, nothing left running; exists 1,
patched 1, open 1 |
The x64 validator passed on the earlier commits (install, `Found app:
'Burp Suite Community Edition 2026.3.3'`, uninstall).
## AI
**AI:** Claude Code (claude-opus-5-5)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **Bug Fixes**
* Burp Suite Community’s running application is now detected more
reliably across supported installation locations.
* Before an installation begins, running Burp components are stopped,
and the installer waits for them to exit. This helps avoid conflicts
when updating an installation that is still running.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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
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.
Related issue: Resolves #57659
GoAnywhere OpenPGP Studio's install4j installer exits 1 when
OpenPGPStudio.exeis running. Fleet installs as SYSTEM, outside the user's session, so it can't ask the app to close. The install script now stops any process running from theGoAnywhere OpenPGP Studioinstall directory before it runs setup, the same way the uninstall script already stops the app. Unsaved work in the app is lost, the same as in other Windows FMAs that stop the app first (for example Beyond Compare).The Windows open query also guessed
goanywhere openpgp studio.exe, which never matches, so the app always looked closed to the patch-when-closed gate. The winget input now setsopen_process_namesto the real process,openpgpstudio.exe.Checklist for submitter
Wait-Process -Timeout 30)Testing
Ran as SYSTEM in a Windows 11 ARM64 VM (Parallels) against the real 1.2.3 installer (SHA-256 matches the output). The app was launched as the signed-in user in session 1.
GoAnywhere OpenPGP Studio/Fortra/1.2.3, inC:\Program Files\Fortra\GoAnywhere OpenPGP StudioOpenPGPStudio.exeas the userOpenPGPStudio.exestill running with the same PID (reproduces the issue)go test ./pkg/patch_policy/... ./ee/maintained-apps/...passes. Regenerating the output changed only the install script ref and the open query; the version stayed at 1.2.3.AI
AI: Claude Code (claude-opus-5-5)
Summary by CodeRabbit