Commit Graph

19 Commits

Author SHA1 Message Date
c384ef968f ci: TestFlight opt-in toggle + Xcode 27 build fixes (#54)
* ci: gate TestFlight behind opt-in toggle + Xcode 27 build fixes

TestFlight is now opt-in (default OFF). A workflow_dispatch boolean
`enable_testflight` (or the `ENABLE_TESTFLIGHT` repo variable) drives a
`prepare.outputs.testflight_enabled` flag that gates the macOS
app-store-pkg build leg and both testflight_ios/testflight_macos upload
legs. Missing Apple signing secrets no longer fail the normal DMG/IPA
release path (package-macos-app-store-pkg.sh hard-exits without them).

Xcode 27 build compatibility:
- Align Apple deployment targets so no pod sits below the app minimum
  (Xcode 27 rejects this): macOS pods + RunnerTests -> 15.6, iOS pods
  -> 15.5 to match the Runner targets.
- Add a `lipo` shim (scripts/xcode-tools/lipo) wired onto PATH in the
  iOS/macOS build phases; Xcode 27 only accepts one `-verify_arch`
  architecture per call while Flutter passes them all at once.
- macOS project hygiene: correct PrivacyInfo.xcprivacy path, set app
  display name + LSApplicationCategoryType.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* test: make temp-dir cleanup resilient to concurrent-write races

The assistant execution target tests deleted their temp HOME/workspace
dirs with a raw recursive delete in addTearDown. A background flush
(e.g. controller dispose still persisting state) can keep writing into
the dir while the delete walks it, so the delete races and fails with
"Directory not empty" (errno 39), failing the test on CI.

Route all unguarded teardown deletes through the existing
_resilientDelete helper (re-check existence + retry), and harden that
helper so its final fallback never re-throws — a temp-dir cleanup
failure must never fail a test.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Haitao Pan <manbuzhe2009@qq.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 07:29:23 +08:00
f87c029e2b
ci: wire macOS profile from Vault (#51)
Co-authored-by: Haitao Pan <manbuzhe2009@qq.com>
2026-06-29 22:15:08 +08:00
Haitao Pan
09352b35a0 chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00
Haitao Pan
1e0d79532b chore: add ios release verification assets 2026-05-25 08:54:48 +08:00
Haitao Pan
5ab79c7398 Remove bundled app helper binaries 2026-04-11 14:45:50 +08:00
Haitao Pan
4763e7853b chore: suppress noisy macos third-party build warnings 2026-04-11 09:28:00 +08:00
Haitao Pan
f5a3826be8 Fix macOS project shell phase ordering for go-core helper embed 2026-04-06 09:39:47 +08:00
Haitao Pan
e109e43d99 Bundle go-core helper with macOS app and drop external CLI fallback 2026-04-06 09:39:16 +08:00
Haitao Pan
88786e2310 Fix macOS archive symbols and packaging settings 2026-03-27 16:32:23 +08:00
Haitao Pan
03c7e2776d Refine macOS Xcode entrypoint and CocoaPods SDK refs 2026-03-27 16:15:27 +08:00
Haitao Pan
de010bab5e Refine desktop agent launch policy 2026-03-27 15:31:46 +08:00
Haitao Pan
e118106ce5 fix(macos): guard Flutter Assemble phase against direct xcodeproj launch
Prevents build failure when opening Runner.xcodeproj directly instead of
Runner.xcworkspace by checking WORKSPACE_DIR at build time and reporting
actionable error message.
2026-03-27 14:56:27 +08:00
Haitao Pan
2e9e82540b Refactor macOS status bar background runtime 2026-03-26 19:13:05 +08:00
Haitao Pan
70db3fae34 chore: commit remaining workspace changes 2026-03-25 14:25:24 +08:00
Haitao Pan
df61476416 fix(release): align export compliance flag and backfill missing framework dsyms 2026-03-25 11:55:50 +08:00
Haitao Pan
144428f054 fix(release): harden apple app store distribution 2026-03-23 17:28:54 +08:00
Haitao Pan
e954af8468 feat: complete gateway-driven assistant baseline 2026-03-11 23:01:47 +08:00
Haitao Pan
fd27158f88 chore: prepare for v0.1 release 2026-03-11 21:21:49 +08:00
Haitao Pan
9720b1fc65 Initial Flutter workspace shell 2026-03-11 07:32:52 +08:00