[firebase_core]: firebase_core for Windows requires lots of disk space and is too big to be compiled on an Azure Worker
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
調査の方向性
Issue にはファイルやテストが記載されていないため、まず firebase_core 3.9.0 を使用する Flutter アプリの Windows ビルドを再現し、Firebase C++ SDK アーカイブがどこにダウンロードされ、展開されるかを調査します。ビルドがターゲット構成に必要なライブラリだけを展開し、利用可能な Azure Worker のディスク容量内で完了すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is there an existing issue for this?
- I have searched the existing issues.
Which plugins are affected?
Core
Which platforms are affected?
Windows
Description
Our Windows version of the app stopped building after upgrading Firebase depencies, incl. updating firebase_core from 2.17.0 to 3.9.0
When building a Windows version of the app that includes firebase_core in its dependencies, the build folder grows by 8GB+ due to Firebase C SDK being downloaded and extracted with its whole content.
The zip file contains release and debug versions of all available libraries, for both x86 and x64 platforms - definitely more than is needed for compilation.
The size of the extracted libraries results in failed compilation on an Azure Worker as its typical disk space available for the user is around 12GB.
WIth previous version of firebase_core (2.17.0) version 11.4.2 of Firebase CPP SDK was used that resulted in extracting 4.6GB of libraries (still a lot). With CPP SDK 12.0.0, both the zip file and the exctracted folder grew significantly (by 200MB / 2900MB respectively).
Reproducing the issue
Build any Windows version of a Flutter app that depends on firebase_core
Firebase Core version
3.9.0
Flutter Version
3.24.5
Relevant Log Output
Flutter dependencies
Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.
Additional context and comments
I think the build command should be smart enough to extract from the zip file only portions that are relevant to the build of the app (e.g. Debug-x86), not the whole content of it.
- 主要言語
- Dart
- スター
- 9.3k
- フォーク
- 4.1k
- 平均マージ
- 1日 14時間
- マージ済み PR(30日)
- 78
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
firebase/flutterfire のほかの issue
-
Needs Attention type: bug
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
firebase/flutterfire#18888 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 75/100
firebase/flutterfire#18887 ·
メンテナーはふだん 1 日以内に返信
-
[cloud_firestore][Windows] transaction.get() after a transaction timeout uses a destroyed Transaction (Windows counterpart of #18666 / #18755)対応中かも @SelaseKay が 4 日前に担当しました。 オープンNeeds Attention platform: windows plugin: cloud_firestore reproduced type: bug
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
firebase/flutterfire#18883 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[firebase_messaging]: Android ANR during background service destruction — main thread blocked in releaseWakeLock対応中かも @SelaseKay が 10 日前に担当しました。 オープンNeeds Attention platform: android plugin: messaging reproduced type: bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
firebase/flutterfire#18866 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[firebase_storage] Windows native crash in upload progress callback, sink ownership and thread dispatch再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンblocked: flutter platform: windows plugin: storage reproduced type: bug
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
firebase/flutterfire#18664 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
firebase/flutterfire の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
chriskelly/wish-together#102 ·
メンテナーはふだん 1 日以内に返信
-
area/adaptivity kind/task priority/p1
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
spotiflacapp/SpotiFLAC-Mobile#783 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信