Commit graph

35 commits

Author SHA1 Message Date
Tommy Chow
0937a1c5ad
build(deps): bump Flutter to 3.47.0 and Android Gradle stack (#590)
* build(deps): bump Flutter pin to 3.47.0 and Android Gradle stack

Pin Flutter 3.47.0 (Dart 3.13) as the CI source of truth and move the
Android toolchain to the 3.47 template versions: Gradle 9.3.1, AGP 9.1.0,
Kotlin 2.4.0.

App Gradle script matches the 3.47 template (drop kotlin-android /
kotlinOptions, use compilerOptions). Keep android.builtInKotlin=false and
android.newDsl=false so plugins that still apply KGP keep building.

AGP 9 requires libraries to compile against their dependencies' compileSdk;
force plugin modules to 36 via finalizeDsl. Ignore android/build/, which
AGP 9 now writes a problems report into.

analyze, test, and a release APK all passed. 16 KB zip alignment verified.

iOS UIScene is not in this commit: AppDelegate is customized
(CookieExtractorPlugin), so Flutter will not auto-migrate.

* ci: drop unused Claude Code GitHub Actions

Remove the PR review workflow and the @claude mention bot. Neither is
used anymore; the review job just failed this PR on an expired OAuth
token.

* feat(ios): adopt UIScene lifecycle for Flutter 3.47

Adopt UIApplicationSceneManifest and FlutterImplicitEngineDelegate in AppDelegate to support the UIScene lifecycle requirement on iOS.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 14:51:05 -07:00
Tommy Chow
a21cf192eb ci: drop the dry-run failure notifier and run it monthly
Reverts the tracking-issue job from 601088b: a single maintainer watching
the Actions tab doesn't need a bot filing issues at them, and GitHub
already emails on scheduled workflow failure.

Also moves the heartbeat from weekly to monthly. Nothing it watches --
cert expiry, secret rotation, dependency drift -- moves on a weekly
timescale, and a dispatch run before cutting a release is the check that
actually matters.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-08 16:15:52 -07:00
Tommy Chow
601088b5c6 ci: bump ruby to 3.3 and report scheduled dry-run failures
fastlane warns on every run that it will soon require Ruby 3.3.0 or
newer; both release workflows pinned 3.2. Bumping now means that break
lands on a quiet commit instead of mid-release. fastlane 2.234 already
supports 3.3 and no gem in either lockfile is version-sensitive, so this
stands alone — the lockfiles are unchanged.

Also gives the weekly dry-run somewhere to report. It broke on the
release after 5.1.0 and stayed red for weeks without surfacing, which is
the failure mode of any heartbeat nobody reads: it looks green by
default. Scheduled failures now open a tracking issue, or comment on the
existing one for each week it stays red. Dispatched runs are excluded —
those are already in front of whoever started them.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-08 16:04:15 -07:00
Tommy Chow
c939dc2790 ci: give the release dry-run an unused android version code
Play rejects a version code it has already seen, and between releases
pubspec's code is by definition already published — so every scheduled
dry-run died on "Version code 69 has already been used" before reaching
any of the credential, signing, or store validation it exists to check.
It has been failing on that since 5.1.0 shipped.

Overrides the build number with epoch seconds, which is always unused and
always increasing. The bundle is validate_only, never published, so the
value is discarded. Only downside is the dry-run can no longer catch a
forgotten version bump, which the real release catches anyway.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-08 15:43:51 -07:00
Tommy Chow
2cdd3e9fda build: pin exact flutter version in pubspec as single source of truth
- add `flutter: 3.44.2` to environment so `flutter pub get` fails locally
  the moment the SDK drifts (was already drifting: local 3.44.2 vs the
  3.44.1 pinned in CI)
- point all 8 workflow pins at `flutter-version-file: pubspec.yaml` so CI
  reads the same field; bumping Flutter is now a one-line pubspec edit
  instead of editing 5 workflow files

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 19:52:09 -04:00
Tommy Chow
03e4198fdd ci: fail on stale generated files
run build_runner in both ci.yml (push to main) and pr-check.yml (PRs),
then fail if git status is dirty. catches forgetting to regenerate a
.g.dart after editing a MobX store or @JsonSerializable model, which
analyze/test/build all miss (as #576 did).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 18:51:11 -04:00
Tommy Chow
d19ac38d6b ci(workflows): align xcode setup and refresh locks 2026-06-13 15:52:15 -07:00
Tommy Chow
7f4abdefea ci: add release dry-run workflow and release-mode compile checks
Add a weekly + manual release-dryrun workflow that exercises the full store
pipeline without publishing: Android validates the AAB against Google Play
(validate_only), iOS builds a fully signed archive via match (readonly) and
skips the App Store upload. Both Fastlane lanes gain a dry_run option that
reuses the real release path so the dry-run stays faithful to it.

Also add release-mode compile checks (flutter build apk/ios --release) to CI
and PR checks to catch release-only breakage, pinning the JDK to match the
release toolchain. Trim ci.yml from a redundant 3-OS matrix to two
purpose-built jobs (analyze/test once on Linux, iOS build on macOS).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 23:15:38 -07:00
Tommy Chow
29c4f74ef5 ci: pin flutter to 3.44.1 in all workflows
Workflows used subosito/flutter-action with no version, silently tracking
GitHub's latest stable. When stable rolled to 3.44.1 it broke the build with
no code change. Pin explicitly so builds are reproducible and Flutter upgrades
are a deliberate bump rather than a surprise.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 22:33:24 -07:00
Tommy Chow
2b81f2cb31
Add Claude Code GitHub Workflow (#534)
* "Claude PR Assistant workflow"

* "Claude Code Review workflow"
2026-03-15 01:54:26 -04:00
Tommy Chow
86927b4cfc add release notes extraction for GitHub draft releases 2026-01-06 21:25:18 -05:00
dependabot[bot]
4ea878a7f0
ci: bump actions/checkout from 4 to 6 in the actions group (#478)
Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 01:28:44 -05:00
Tommy Chow
19641313bd update GitHub Actions and add Dependabot config 2026-01-02 01:22:11 -05:00
Tommy Chow
6a0342b652 fix ios build issue 2025-05-26 13:29:07 -07:00
Tommy Chow
af99a97c04 revert ruby version in actions 2024-12-26 16:55:20 -05:00
Tommy Chow
58da3a116c bump actions versions 2024-12-25 03:37:37 -05:00
Tommy Chow
2a5a23ef2c Revert "Delete LC_ALL and LANG from action"
This reverts commit 455be46554.
2023-11-21 04:34:03 -05:00
Tommy Chow
455be46554 Delete LC_ALL and LANG from action 2023-11-21 04:19:49 -05:00
Tommy Chow
5c217b1d65 Remove main branch push action 2023-11-21 00:20:40 -05:00
Tommy Chow
cb3c5e4dc7 Use environments for actions 2023-11-21 00:15:14 -05:00
Tommy Chow
26c5bb2437 Upgrade actions/checkout 2023-10-29 17:17:47 -04:00
Tommy Chow
80a9cbb047 Upgrade Ruby version in actions 2023-10-29 17:16:07 -04:00
Tommy Chow
4b1c638e9e Upgrade Java version in actions 2023-10-28 22:32:58 -04:00
Tommy Chow
e7085b187f Update GitHub actions 2023-04-30 17:40:03 -04:00
Tommy
e369a77115
Migrate to Firebase for crash logs & analytics (#263)
* Remove Sentry Flutter

* Install and configure firebase

* Install and configure firebase crashlytics

* Install firebase performance monitoring

* Install firebase analytics

* Remove Sentry from github actions

* Update iOS configs

* Update setting toggle for firebase
2023-04-30 00:07:43 -04:00
Tommy Chow
3bd3beb0f3 Fix path in draft release action
[skip ci]
2022-08-07 21:30:52 -04:00
Tommy Chow
cc7862f9b2
Update ci.yml 2022-08-05 23:07:57 -04:00
Tommy Chow
899a31d208
Create pr-check.yml
[skip ci]
2022-08-05 23:07:38 -04:00
Tommy Chow
d2c57921b8
Setup GitHub Actions and fastlane (#174) 2022-08-04 23:47:08 -04:00
Tommy Chow
e5bf6ecccc
Update release.yml 2022-08-03 00:35:37 -04:00
Tommy Chow
85b985392c
Update release.yml
[skip ci]
2022-08-02 14:39:52 -04:00
Tommy Chow
0d4a30f15a
Create release.yml
[skip ci]
2022-08-02 05:04:24 -04:00
Tommy Chow
60cd76c997 Bump checkout action version 2022-06-11 21:23:22 -04:00
Tommy Chow
3df76c9390 Bump Flutter action version 2022-06-11 21:17:10 -04:00
Tommy
83d227d1fa
Create main.yml 2021-09-03 02:56:52 -04:00