Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

build(macos): ship the unsigned build without the App Sandbox (ReleaseUnsigned.entitlements)

オープン
#1,592 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
dart, github-actions, macos, sqlite

調査の方向性

Read release.yml, the Xcode project settings, and the existing macos/Runner/Release.entitlements and ReleaseSigned.entitlements files. First determine how the no-secrets build currently selects entitlements; the issue leaves the sandbox decision open. Done means adding and wiring the chosen unsigned entitlements for CI and local release builds, then verifying Keychain, SQLite reopen, extensions, MCP endpoint, and updater behavior on a Mac.

索引モデルが issue の本文から書いたものです。

説明

enhancement P1 stability

Problem

When the MACOS_* signing secrets are absent (forks, local builds, unsigned releases) the macOS app is built with ad-hoc signing and Release.entitlements, i.e. App Sandbox on. That is a different program from the signed build (ReleaseSigned.entitlements, no sandbox). Inside the sandbox:

  • HOME is ~/Library/Containers/com.queryahub.queryaDesktop/Data; ~/.querya/extensions and themes land in the container, not the real home.
  • Saved SQLite paths are not reopenable after restart (no security-scoped bookmarks); ~/.ssh keys and known_hosts are unreachable.
  • sandbox-exec for extensions cannot be applied from an already sandboxed process.
  • The MCP endpoint file is written to the container's Library/Caches/Querya, while querya-mcp started by an MCP client reads the real ~/Library/Caches/Querya.
  • The in-app updater cannot write to /Applications (see #1587; the app quits and never comes back).
  • Keychain access fails (#1586).

Proposal (recommended)

Add macos/Runner/ReleaseUnsigned.entitlements without the App Sandbox (same hardened-runtime-free set as needed for ad-hoc signing) and use it for the no-secrets path in release.yml and in local release builds, so an unsigned build differs from the signed one only by Gatekeeper.

Alternative: support the sandbox properly (bookmarks, bundled querya-mcp, explicit capability errors). Much more work.

Tasks

  • Decide sandbox vs no sandbox for unsigned builds.
  • New entitlements file and wiring in release.yml / Xcode project (CI step without secrets passes it via CODE_SIGN_ENTITLEMENTS).
  • Verify on a Mac: Keychain, SQLite reopen, extensions, MCP endpoint, updater.

Depends on / relates to #1586, #1587, #1591.

主要言語
Dart
スター
23
フォーク
1
平均マージ
31分
マージ済み PR(30日)
570

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

QueryaHub/Querya-Desktop のほかの issue

QueryaHub/Querya-Desktop の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。