Skip to content

[dummy_ci 1/7] Scaffold standalone dummy_ci Cloud Run app with blank root page, Dockerfile, and CI - #5229

Open
ievdokdm wants to merge 3 commits into
mainfrom
197798-1-dummy-ci-scaffold
Open

ievdokdm wants to merge 3 commits into
mainfrom
197798-1-dummy-ci-scaffold

Conversation

@ievdokdm

@ievdokdm ievdokdm commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Scaffolds dummy_ci, a standalone Dart Cloud Run Partner CI reference application implementing RFC 610.0002: Flutter Pluggable CI Design.

Summary

  • Creates standalone package dummy_ci/ (not part of the root Pub workspace and with zero path dependencies on repo packages), including committed pubspec.lock, analysis_options.yaml, and .gitignore.
  • Adds a minimal Cloud Run Shelf server (bin/server.dart, lib/src/server.dart) using google_cloud and google_cloud_shelf (createLoggingMiddleware, serveHandler) serving:
    • GET / — minimal blank HTML document (200 OK)
    • GET /healthz — health probe returning {"status":"ok"} (200 OK)
  • Adds multi-stage dummy_ci/Dockerfile and dummy_ci/.dockerignore for Cloud Run native GitHub Continuous Deployment (flutter-dashboard-dev, us-central1).
  • Adds .github/workflows/dummy_ci_tests.yaml and registers dummy_ci in dev/cocoon_code_health/bin/check.dart.
  • Adds initial dummy_ci/README.md with Cloud Run deployment and local development instructions.

Stack

Testing

  • dart pub get, dart format --set-exit-if-changed ., dart analyze --fatal-infos, dart test --test-randomize-ordering-seed=random --reporter expanded
  • dart compile exe bin/server.dart (verifies Dockerfile build step)
  • dart --enable-asserts analyze.dart, dart run dev/cocoon_code_health/bin/check.dart, and license header verification

Towards flutter/flutter#197798

@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Dec 4, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces dummy_ci, a standalone Dart web application implementing a Partner CI service conforming to Flutter Pluggable CI Design. It includes a basic shelf server with health check endpoints, Docker configuration, and unit tests. The review feedback suggests improving the robustness of _resolveProjectId in dummy_ci/bin/server.dart by checking standard GCP environment variables first and catching all exceptions during project ID resolution to prevent startup crashes in offline environments.

Comment thread dummy_ci/bin/server.dart Resolved
Comment thread .github/workflows/dummy_ci_tests.yaml Resolved
Comment thread .github/workflows/dummy_ci_tests.yaml Resolved
Comment thread dummy_ci/README.md Resolved
Comment thread dummy_ci/bin/server.dart Resolved
Comment thread dummy_ci/Dockerfile Resolved
Comment thread dummy_ci/Dockerfile Resolved
Comment thread dummy_ci/README.md Resolved
ievdokdm added a commit that referenced this pull request Dec 4, 2026
@ievdokdm
ievdokdm requested a review from jtmcdole December 4, 2026 21:54
@ievdokdm
ievdokdm force-pushed the 197798-1-dummy-ci-scaffold branch from 1fa4682 to 36bdcd3 Compare December 4, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CICD Run CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants