This pull request introduces a new feature to the openci_runner project: the integration of Sentry for error tracking. The changes are mostly concentrated in the runner_command.dart file, where the command-line arguments have been updated to include Sentry's DSN and Firestore's database ID. The CHANGELOG.md and pubspec.yaml files have also been updated to reflect the new version and the addition of the Sentry package.
Main changes:
CHANGELOG.md: Updated the changelog with the new version (0.6.8) and the addition of the Sentry feature.
Updates to lib/src/features/runner/runner_command.dart:
Introduced a new AppConfig class that includes the Firebase project name, Firebase service account JSON, Firestore database ID, and Sentry DSN.
Updated the RunnerCommand class to replace flags with options for the Firebase project name and service account JSON. Also added options for the Sentry DSN and Firestore database ID.
Added a new initializeApp method to validate and initialize the application configuration.
Refactored the run method to use the new AppConfig class and initialize the Firebase Admin App and Firestore with the new configuration.
Added a process exit when the SIGINT signal is received.
This pull request introduces a new feature to the
openci_runner
project: the integration of Sentry for error tracking. The changes are mostly concentrated in therunner_command.dart
file, where the command-line arguments have been updated to include Sentry's DSN and Firestore's database ID. TheCHANGELOG.md
andpubspec.yaml
files have also been updated to reflect the new version and the addition of the Sentry package.Main changes:
CHANGELOG.md
: Updated the changelog with the new version (0.6.8) and the addition of the Sentry feature.Updates to
lib/src/features/runner/runner_command.dart
:AppConfig
class that includes the Firebase project name, Firebase service account JSON, Firestore database ID, and Sentry DSN.RunnerCommand
class to replace flags with options for the Firebase project name and service account JSON. Also added options for the Sentry DSN and Firestore database ID.initializeApp
method to validate and initialize the application configuration.run
method to use the newAppConfig
class and initialize the Firebase Admin App and Firestore with the new configuration.Removals:
lib/src/features/runner/runner_controller.dart
: Removed theRunnerController
class as it is no longer needed after the refactoring inrunner_command.dart
.Updates to
pubspec.yaml
:openci_runner
package to 0.6.8.