|author||William Hesse <email@example.com>||Wed Apr 01 08:13:11 2020 +0000|
|committer||William Hesse <firstname.lastname@example.org>||Wed Apr 01 08:13:11 2020 +0000|
[cloud functions] Add error handling to Firestore requests This adds error handlers to all Firestore requests, that record information about that request and all other pending Firestore requests to the thrown exception. They also track how long requests have been pending for, and how many documents are read and written. This information is available on all executions, not just failing runs. Change-Id: I818a2e7676f88a4bef3b553a32dba0738d2b2c8f Reviewed-on: https://dart-review.googlesource.com/c/dart_ci/+/141861 Reviewed-by: Karl Klose <email@example.com>
The repository is based at dart.googlesource.com/dart_ci. It is mirrored to github.com/dart-lang/dart_ci. Do not land pull requests on Github.
The results feed is an angular Dart application that displays changed results from the CI and from CQ runs (tryjobs). The code is in the results_feed directory. It is deployed to ci.dart.dev, using Firebase hosting.
The automated testing of Dart on the CI and CQ publishes results to Cloud Pubsub, and cloud functions triggered by those Pubsub messages process the data and store it in Firestore. These functions are located in the functions directory, and are deployed on the dart-ci Google Cloud project.
Internal users get automatic notifications of new GitHub issues created in certain repositories, by subscribing to issue labels on those repositories. This tool provides a UI for internal users to subscribe to their chosen issue labels. That UI is hosted at dart-github-label-notifier.firebaseapp.com. It also defines cloud functions that are triggered by GitHub webhooks and use the issue label subscriptions to send email notifications using SendGrid.