Shipping Flutter Web to Firebase When Your GitHub Actions Budget Hits Zero
Post · https://dev.to/gde/shipping-flutter-web-to-firebase-when-your-github-actions-budget-hits-zero-2mi5
On October 18, right in the middle of shipping a multi-feature audit and a supplement tracker...
First seen by Oriel on .
AI summary
The author describes reducing GitHub Actions usage for a Flutter Web app by running verification locally while keeping staging and production deployments in CI, triggered on demand.
- A local gate runs formatting, Flutter analysis and tests, Python CLI tests, and a release web build in about 29.3 seconds, compared with about 4 minutes 34 seconds on GitHub Actions.
- Python Firestore tools validate collection schemas and use update masks to protect browser-owned fields; cached access tokens and a 15-second timeout reduced sync latency by 80%.
- Flutter repositories decode Firestore documents independently, logging and skipping malformed records so one bad document does not break a collection stream.
- A single WriteBatch replaces 14 sequential writes for multi-day edits, while bundling CanvasKit and fonts and using a 3.5-second network-first service worker supports offline use.
- CI runs for pull requests and manually triggered deployments; staging can target any branch, while live deployment uses repository secrets to build reproducibly.
#flutter web #firebase #cloud firestore #github actions
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Reactions
Total public reactions reported by the source; distinct from points and likes.
- DEV Community: 10, latest observation ; +2 over observed period since
Comments
Comment count reported by the source.
- DEV Community: 7, latest observation ; +1 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| DEV Community | 4926659 | https://dev.to/gde/shipping-flutter-web-to-firebase-when-your-github-actions-budget-hits-zero-2mi5 Read discussion |