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
rm: the Mac App Store build: every macOS build unsandboxed, its notices and branches gone - #1943
No actionable comments were generated in the recent review.
Walkthrough
macOS release configuration now uses unsandboxed entitlements, and the DMG release flow no longer selects a separate entitlement file. Migration handling and desktop capability checks are updated alongside the removal of App Store-specific behavior and documentation.
Release and Debug/Profile builds use unsandboxed entitlements, and the separate DMG entitlement file is removed. The release script no longer selects a separate entitlement file. Tests check the shared configuration. File reads no longer start or stop security-scoped access.
Desktop builds now include sandboxed macOS in legacy Documents import checks. The import-result notice remains, while the DMG-specific notice and setting are removed. Installation pages describe the retired App Store version and DMG data import on first launch. DMG-specific explanatory strings are removed from the localizations.
Local-shell and SSH availability no longer use macOS sandbox checks. Identity-file reads follow normal file-read handling, and ProxyCommand errors no longer append sandbox explanations. Tests cover command expansion and input validation. Related platform documentation and localized sandbox warnings are removed or updated.
Suggested reviewers:gt-610
Merge Risk: Minimal · up to a9724
This change removes the Mac App Store build and its special handling, so all macOS builds run unsandboxed and use one set of entitlements. No concrete merge-blocking risk was found. The migration path for existing App Store users is intentionally kept as a TODO for later removal.
- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Essentials
Run ID: 20b451d8-6d93-48e3-ad2c-49a187c772ca
Commits
Reviewing files that changed from the base of the PR and between b8b234a and a9724fe.
Files ignored due to path filters: 17
lib/generated/l10n/l10n.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_az.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_de.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_en.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_es.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_fa.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_fr.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_id.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_it.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_ja.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_ko.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_nl.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_pt.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_ru.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_tr.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_uk.dart is excluded by !**/generated/**
lib/generated/l10n/l10n_zh.dart is excluded by !**/generated/**
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
Source excerpt: **macOS ships a separate build for each architecture, selected exclusively by `ARCHS`.**
CodeRabbit inference engine (macos/CLAUDE.md)
Files:
macos/CLAUDE.md
macos/Runner/Configs/Release.xcconfig
macos/Runner/DebugProfile.entitlements
macos/Runner/Release.entitlements
Source excerpt: **In `lib/`, a page is `AppRoute.go`, `AppPageRoute` or `AppPage` (fl_lib), never a bare `MaterialPageRoute` / `MaterialPage`**: a predictive back (Android, and the iOS/macOS edge swipe) pops every route current in its own n...
CodeRabbit inference engine (CLAUDE.md)
Files:
lib/core/local/files.dart
lib/core/local/server.dart
lib/core/ssh/agent.dart
lib/core/ssh/proxy_command_socket.dart
lib/core/utils/sandbox_import.dart
lib/data/store/setting.dart
lib/view/page/home.dart
lib/view/page/notice/sandbox_import_notice.dart
lib/view/page/server/edit/widget.dart
Source excerpt: `test/unit/` is split by **feature** (`ssh/`, `terminal/`, `file/`, `server/`, `virt/`, `monitor/`, …); `store/` is storage infrastructure, `app/` what belongs to no feature.
CodeRabbit inference engine (CLAUDE.md)
Files:
test/unit/ssh/proxy_command_test.dart
LanguageTool
docs/src/content/docs/installation.mdx
[uncategorized] ~32-~32: Did you mean the proper noun “Apple Silicon”?
Context: ...ide ServerBox-<version>-arm64.dmg for Apple silicon and ServerBox-<version>-amd64.dmg for...
(APPLE_PRODUCTS)
Additional comments: 7
test/platform/macos_entitlements_test.dart: 1
50-50: Functional Correctness
The concern does not hold. The CI heredoc at .github/workflows/analysis.yml:554 rewrites DebugProfile.entitlements only inside the macosBuild job. That job runs only flutter build macos --debug and never runs macos_entitlements_test.dart. The test runs in the sharded test job, which checks out the repository separately. The workflow's own comment at lines 571-573 states that the test runs on a checkout the build step has not rewritten. The generated plist therefore cannot cause the new parity assertion to fail in CI.
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.
The macOS App Store version is no longer updated. SandboxImport stays (TODO) for users moving from it to the DMG.
Summary by CodeRabbit