Repository navigation
Conversation
This was referenced Dec 4, 2026
There was a problem hiding this comment.
Code Review
This pull request introduces runtime configuration management and Google Cloud KMS integration for the dummy_ci service, including a fake KMS implementation for testing and updated documentation. The review feedback highlights a compilation error in dummy_ci_config.dart where uri.hasQuery is used instead of uri.query.isNotEmpty, a logical gap in fake_cloud_kms_service.dart where signHandler bypasses key existence checks, and a potential unhandled exception when accessing uri.host with a malformed authority.
ievdokdm
force-pushed
the
197798-3-dummy-ci-kms-config
branch
from
December 4, 2026 00:37
76b9f4a to
6f96dd5
Compare
ievdokdm
force-pushed
the
197798-2-dummy-ci-ed25519-jwk
branch
from
December 4, 2026 00:37
22bf631 to
485ea5f
Compare
ievdokdm
force-pushed
the
197798-2-dummy-ci-ed25519-jwk
branch
from
December 4, 2026 01:07
485ea5f to
2011823
Compare
ievdokdm
force-pushed
the
197798-3-dummy-ci-kms-config
branch
from
December 4, 2026 01:07
6f96dd5 to
037a6f7
Compare
ievdokdm
force-pushed
the
197798-2-dummy-ci-ed25519-jwk
branch
from
December 5, 2026 00:09
2011823 to
1139f52
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
CloudKmsService,FakeCloudKmsService, andDummyCiConfigtodummy_ci, mirroring Cocoon PR #5197.Summary
googleapis(^19.0.0),googleapis_auth(^2.3.6), andhttptodummy_ci/pubspec.yamland updatesdummy_ci/pubspec.lock.dummy_ci/lib/src/service/cloud_kms_service.dart(listEnabledEd25519KeyVersionNames,getPublicKeyPem,asymmetricSign,selectLatestKeyVersionNamecomparing version IDs numerically, strict CryptoKey / CryptoKeyVersion regex validation, and ADC factory).dummy_ci/lib/src/config/dummy_ci_config.dartwith environment variable parsing, HTTPS validation, derived endpoint URLs (/webhook,/status,/complete-run,/logs/<uid>/<test>), and defaults forflutter-dashboard-dev.dummy_ci/lib/src/fakes/fake_cloud_kms_service.dartexported viadummy_ci/lib/testing.dart.dummy_ci/test/service/cloud_kms_service_test.dartanddummy_ci/test/config/dummy_ci_config_test.dart.dummy_ci/README.mdwith Cloud KMS keyring/key provisioning, rotation, and IAM binding commands.Stack
dummy_ciCloud Run app, Dockerfile, and CIEd25519PublicJwkmodel and SPKI PEM/JWK parserCloudKmsService,FakeCloudKmsService, andDummyCiConfigGET /api/v1/jwksendpoint, server wiring, and local dev serverPOST /webhookGET /statusAPI and mockGET /logsendpointPOST /complete-runworker, OIDC auth, Ed25519 KMS signer, and Cocoon callbackTesting
dart pub get,dart format --set-exit-if-changed .,dart analyze --fatal-infos,dart test --test-randomize-ordering-seed=random --reporter expandeddart --enable-asserts analyze.dartanddart run dev/cocoon_code_health/bin/check.dartTowards flutter/flutter#197798