Skip to content

Remove automatic crash issue reports - #333

Merged
krehel merged 1 commit into
mainfrom
remove_crash_reports
Nov 27, 2026
Merged

krehel merged 1 commit into
mainfrom
remove_crash_reports

Conversation

@MikeMcQuaid

Copy link
Copy Markdown
Member

Previous-launch prompts often produce issues without reproduction steps. Open the bug form from Help so people can describe what happened and include a crash report from macOS Console.

What and why

Validation

  • I followed the conventions and workflow, checked for duplicate PRs and kept this change focused.
  • I added regression coverage for bug fixes or explained why automated coverage is impractical, and reported the relevant validation above.

Screenshots

Before After

AI assistance

  • AI was used to generate or assist with generating this PR.

OpenAI Codex 6.2 Astra xhigh with local review.

Previous-launch prompts often produce issues without reproduction steps.
Open the bug form from Help so people can describe what happened and
include a crash report from macOS Console.
@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Bug Fixes

    • The “Report an Issue” link now opens the bug-report form. Reports can include a macOS Console crash report or an Activity Monitor sample for hangs.
  • Changes

    • Automatic crash-report collection and in-app crash-report prompts have been removed.
    • The Force Crash option has been removed from the debug menu.

The app’s crash-reporting package and interface were removed. The Report an Issue link now opens the bug-report template, which directs crash reporters to macOS Console. Related project, debug-menu, localisation, documentation, and test changes were made.

Changes: Crash reporting removal

Layer / File(s) Summary
Remove crash-reporting package
Sources/BrewCrashReporting/*, Tests/BrewCrashReportingTests/*, Package.swift
The crash-reporting models, parser, directory discovery, formatter, controller, and issue URL builder were removed, along with their tests and fixture. The package product, targets, and test resources were removed.
Remove app crash-report presentation
Homebrew.xcodeproj/project.pbxproj, Homebrew/BrewApp.swift, Homebrew/Features/CrashReporting/*, Homebrew/UITesting/BrewApp+UITesting.swift, Homebrew/Debug/*, Homebrew/Localizable.xcstrings
The app no longer creates a crash-report controller or presents a crash-report sheet. The related dialog, UI-testing helper, localisations, and Force Crash debug menu were removed.
Update issue-reporting guidance
Homebrew/BrewApp.swift, .github/ISSUE_TEMPLATE/*, ARCHITECTURE.md, Tools/BrewUILint/Tests/BrewUILintTests/LocalizedCopyRuleTests.swift
The Report an Issue link now opens the bug-report template. The template directs reporters to macOS Console for crash reports. The architecture text and route comment were updated, and the menu-label lint test now uses “Sort By”.
Merge Risk: Minimal · up to 9e3fd

This removes the automatic crash-report prompt and points reporters to the bug template and macOS Console instead. No concrete merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title says the PR removes automatic crash issue reports. The raw summary shows the removal of the BrewCrashReporting package, the crash report sheet and dialog, the controller, the issue URL build…
Description check Passed The description states that previous-launch prompts often produce issues without reproduction steps, and that the change opens the bug form from Help so users can include a macOS Console crash report.…
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.
Full details: Title check

Explanation

The title says the PR removes automatic crash issue reports. The raw summary shows the removal of the BrewCrashReporting package, the crash report sheet and dialog, the controller, the issue URL builder, and the launch-time crash report prompt. The bug template and Help link were also changed to point to the bug form, which matches the title's main point. The title is concise, specific, and accurate.

Full details: Description check

Explanation

The description states that previous-launch prompts often produce issues without reproduction steps, and that the change opens the bug form from Help so users can include a macOS Console crash report. This matches the summary's changes to the bug template, the config comment, BrewApp's Report an Issue link, and the removal of the crash reporting feature. The description is related to the changeset, though the validation section is left as template placeholders.

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between fb7efcc and 9e3fd41.

Files selected for processing: 24

  • .github/ISSUE_TEMPLATE/bug.yml
  • .github/ISSUE_TEMPLATE/config.yml
  • ARCHITECTURE.md
  • Homebrew.xcodeproj/project.pbxproj
  • Homebrew/BrewApp.swift
  • Homebrew/Debug/DebugCrash.swift
  • Homebrew/Debug/DebugMenuCommands.swift
  • Homebrew/Features/CrashReporting/CrashReportDialog.swift
  • Homebrew/Features/CrashReporting/CrashReportSheet.swift
  • Homebrew/Localizable.xcstrings
  • Homebrew/UITesting/BrewApp+UITesting.swift
  • Package.swift
  • Sources/BrewCrashReporting/CrashReport.swift
  • Sources/BrewCrashReporting/CrashReportController.swift
  • Sources/BrewCrashReporting/CrashReportIssue.swift
  • Sources/BrewCrashReporting/DiagnosticReport.swift
  • Sources/BrewCrashReporting/DiagnosticReportDirectory.swift
  • Sources/BrewCrashReporting/DiagnosticReportFormatter.swift
  • Tests/BrewCrashReportingTests/CrashReportControllerTests.swift
  • Tests/BrewCrashReportingTests/CrashReportIssueTests.swift
  • Tests/BrewCrashReportingTests/CrashReportTests.swift
  • Tests/BrewCrashReportingTests/DiagnosticReportTests.swift
  • Tests/BrewCrashReportingTests/Fixtures/stack-guard-sigsegv.ips
  • Tools/BrewUILint/Tests/BrewUILintTests/LocalizedCopyRuleTests.swift
Files with no reviewable changes: 18

  • Homebrew.xcodeproj/project.pbxproj
  • Homebrew/Debug/DebugCrash.swift
  • Homebrew/Features/CrashReporting/CrashReportDialog.swift
  • Homebrew/Features/CrashReporting/CrashReportSheet.swift
  • Homebrew/Localizable.xcstrings
  • Homebrew/UITesting/BrewApp+UITesting.swift
  • Package.swift
  • Sources/BrewCrashReporting/CrashReport.swift
  • Sources/BrewCrashReporting/CrashReportController.swift
  • Sources/BrewCrashReporting/CrashReportIssue.swift
  • Sources/BrewCrashReporting/DiagnosticReport.swift
  • Sources/BrewCrashReporting/DiagnosticReportDirectory.swift
  • Sources/BrewCrashReporting/DiagnosticReportFormatter.swift
  • Tests/BrewCrashReportingTests/CrashReportControllerTests.swift
  • Tests/BrewCrashReportingTests/CrashReportIssueTests.swift
  • Tests/BrewCrashReportingTests/CrashReportTests.swift
  • Tests/BrewCrashReportingTests/DiagnosticReportTests.swift
  • Tests/BrewCrashReportingTests/Fixtures/stack-guard-sigsegv.ips

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@krehel
krehel merged commit 406143d into main Nov 27, 2026
15 checks passed
@krehel
krehel deleted the remove_crash_reports branch November 27, 2026 15:56
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