Twitxy Saved

Masahiro Aoki

Verified account This account is verified. Learn more

@ma_freud

Building OpenCI for Flutter
Tokyo openci.org Joined May 2018
1.2K Following 3.1K Followers 4.3K Posts

Latest posts 5

Masahiro Aoki Verified account @ma_freud
こちらこそ、ご利用いただきありがとうございます!!
いまOpenCIにない機能も、私ががんばって対応しますので、FlutterのCIで悩んでいる方はぜひご連絡ください。めっちゃ安いですよ!
aq Verified account @aqhayami 6h
isshoのCI導入をOpenCIの青木さん(@ma_freud)にしていただきました!

OpenCIなら月10回アプリのアップデートするとして一回30分CI回してもたったの月200円(最初の100分無料)という安さ
openci.org

ちなみに複数のシミュレーターでBluetoothペアリングの動作確認をするE2E組んでいただきました。これからバリバリ活用していきます🙏
View quoted post on X
Masahiro Aoki Verified account @ma_freud
金曜日のやることリスト⚡

📋 事務作業
🏊‍♂️ プール 1km
🗣️ 技術顧問先のアプリ定例
🚀 アプリのリリースを楽にする機能を実装
🧹 リファクタリング
📦 毎週のリリース作成

Flutter アプリのリリース自動化や CI/CD の導入・移行・改善でお悩みの方がいれば、ぜひ気軽にお声がけください🙌(リプ・DM大歓迎です!)
#flutter #cicd
OpenCI Verified account @get_openci 9h
Friday's to-do list ⚡

📋 Admin work
🏊‍♂️ 1km swim
🗣️ Tech advisory weekly app sync
🚀 Build a feature to make app releases even easier
🧹 Refactoring
📦 Cut our weekly release

Wrapping up the week strong — let's get after it 🔥
#flutter #cicd
View quoted post on X
Masahiro Aoki Verified account @ma_freud
ついに 2台同時 iOS Simulator での仮想 BLE E2E テストを突破しました!

`openci_workflow` に仮想 GATT セッション(WebSocket + Bumble 仮想デバイス2台)を立ち上げる `startVirtualBle()` と、1回のビルドで2台の iOS Simulator に Patrol テストを走らせる `patrol.testWithVirtualBle()` を実装。
2ピア構成の Flutter サンプルアプリ(`openci_virtual_ble`)を作って、実際に OpenCI の CI 上で2台間の BLE 通信 E2E が通りました。

あわせて今日の OpenCI リポジトリ、たくさんの更新があります(`openci_workflow` 0.5.0 → 0.5.3):
🏷️ GitHub Release 公開で発火する `CITrigger.release(tag: 'v*')` を追加
🐦 OpenCI Dashboard 自体も Shorebird 化(リリース作成で TestFlight & Google Play 配信、`develop` push で Patch 自動配信)
🧩 型安全な `FlutterVersion` プリセットを SDK・Planner に追加
💬 CI 失敗時に PR コメントへ失敗レポートを自動投稿する機能を実装
💰 Dashboard のビルド一覧に月次 CI 利用額を表示
🔥 `firebase.functions.deploy()` SDK API 追加 & GitHub Release 連動の Functions / Planner 本番 CD を構築

また明日!おやすみなさい!
OpenCI Verified account @get_openci 16h
Finally cracked 2-simulator BLE E2E testing in CI! 🎉📡

Built virtual GATT sessions (loopback WebSocket + two Bumble devices) and `patrol.testWithVirtualBle()` directly into `openci_workflow`, built a standalone two-peer Flutter example (`openci_virtual_ble`), and got the full two-iOS-Simulator BLE round-trip passing on OpenCI itself!

Massive shipping day across the OpenCI repo too (`openci_workflow` 0.5.0 → 0.5.3):
🏷️ Added `CITrigger.release(tag: 'v*')` to trigger workflows on GitHub Releases
🐦 Wired up Shorebird releases (TestFlight & Google Play) + automated `develop` Shorebird patches for our own Dashboard
🧩 Exported typed `FlutterVersion` presets across SDK & planner
💬 Added automatic CI failure reports right inside PR conversations
💰 Added monthly CI spend right in the Dashboard build list
🔥 Added `firebase.functions.deploy()` SDK API & release-triggered production CD for our Functions + Dart planner

Exhausted, but what a day. Good night 😴🔥
View quoted post on X
Masahiro Aoki Verified account @ma_freud
木曜日のやることリスト⚡

📡 顧客の BLE E2E 支援
 ・iOS Simulator を2台同時に立ち上げて、仮想 BLE 通信をどうにか CI で検証できる形に持っていく
🐦 顧客の Shorebird CI/CD 対応の仕上げ
 ・Shorebird の Patch & リリース作成トリガーでの Release ワークフローをレビューしてマージ
🧪 別クライアントの E2E テスト拡充

今日もやり切る🔥
OpenCI Verified account @get_openci 1d
Thursday's to-do list ⚡

📡 Customer BLE E2E support
- Spin up 2 iOS Simulators at once & figure out a reliable way to verify virtual BLE communication
🐦 Wrap up a client's Shorebird CI/CD
- Review & merge the Shorebird patch + GitHub Release–triggered release workflow
🧪 Expand E2E test coverage for another client (starting with Priority A flows)

Another deep E2E & Shorebird day — let's get after it 🔥
#flutter #cicd
View quoted post on X
Masahiro Aoki Verified account @ma_freud
水曜日の振り返り⚡

今日のタスクリスト、顧客の BLE E2E 支援以外はすべて完了しました!

✅ OpenCI Dashboard の Patrol E2E:CI上の iOS Simulator でログインフローまでしっかり通して検証完了!
✅ 新規クライアントの CI・CD 両パイプラインを構築
✅ 既存クライアントの CI 更新 & Shorebird 対応も完了
🚧 顧客の BLE E2E 支援:ここだけ引き続き攻略中…!

📦 今日 OpenCI リポジトリに入ったアップデート(`openci_workflow` 0.4.8 までリリース):
・`patrol.test(env: [...])` で Patrol テストに Secret(認証情報など)を安全に渡せる機能を追加
・SDK に `dart.runBuildRunner()` API を追加
・日英両言語の公式ワークフロードキュメントを更新
・古い PR Webhook のハンドリング改善、M1 Mac ワーカーの VM 数チューニング、Secret クリーンアップのリトライ改善

かなり進んだ1日でした。残る BLE E2E も引き続きやり切ります🔥
OpenCI Verified account @get_openci 2d
Wednesday wrap-up ⚡

Knocked out everything on today's list except a customer's BLE E2E setup!

✅ OpenCI Dashboard Patrol E2E: got full email login flow running & verified on iOS Simulator in CI
✅ Set up both CI & CD pipelines for a new client
✅ Finished a client's CI update + Shorebird integration
🚧 Customer BLE E2E support: still working through this one

Also shipped in the OpenCI repo today (up to openci_workflow 0.4.8):
🔐 `patrol.test(env: [...])` support to pass CI Secrets safely into Patrol tests
🏗️ `dart.runBuildRunner()` SDK API
📚 Updated our English & Japanese workflow docs
⚙️ Smoother stale PR webhook handling, secret cleanup retries & M1 Mac worker VM tuning

Solid day — back at the BLE E2E challenge tomorrow 🔥
View quoted post on X