You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is no escalation mechanism in case CI build fails in the master branch.
In order to notify the team members of such events, a Google Chat bot should be implemented.
Supported functionality
Every hour the bot should review the status of the latest builds in master branches of Spine libraries:
base
time
core-java
web
gcloud-java
bootstrap
money
jdbc-storage
In case the latest master branch build is failed, the bot should create a new thread in the "Spine Developers" room in the Google Chat. The message should list
The message stating the build has failed and the name of the library.
The link to the build.
The time since when the build has been broken.
The title of the latest commit.
In case the build is not fixed in an hour, the bot sends the corresponding message to the same thread again.
If the build is fixed, the bot notifies the group via the same thread that the issue is now resolved.
Hard reset
As an optional step, the bot may be configured to perform the hard reset to the latest successful commit to the master. Such a drastic measure may be taken if the build does not get a fix in 12 hours since the initial issue discovery.
However, such an operation is a risky action, as the commit history may be lost. So the hard reset option needs to be discussed additionally, perhaps, with an inclusion of a repository backup procedure (i.e. an upload of the whole repository along with its history to the Google Storage).
Implementation
The chat bot application should be written in Spine. Once done, it will be hosted in the Google Cloud.
The codebase for the chat bot should reside in the distinct SpineEventEngine/chat-bot repository.
The text was updated successfully, but these errors were encountered:
@alexander-yevsyukov
That's because we don't have any broken builds on Travis. We are pretty accurate with that.
We'll have to discuss how to act in case one of GH Actions runs fails. For instance, our Windows-based builds aren't very stable, and what we really need for them is to restart first. And if it fails again, then report.
Currently there is no escalation mechanism in case CI build fails in the
master
branch.In order to notify the team members of such events, a Google Chat bot should be implemented.
Supported functionality
master
branches of Spine libraries:base
time
core-java
web
gcloud-java
bootstrap
money
jdbc-storage
master
branch build is failed, the bot should create a new thread in the "Spine Developers" room in the Google Chat. The message should listIn case the build is not fixed in an hour, the bot sends the corresponding message to the same thread again.
If the build is fixed, the bot notifies the group via the same thread that the issue is now resolved.
Hard reset
As an optional step, the bot may be configured to perform the hard reset to the latest successful commit to the
master
. Such a drastic measure may be taken if the build does not get a fix in 12 hours since the initial issue discovery.However, such an operation is a risky action, as the commit history may be lost. So the hard reset option needs to be discussed additionally, perhaps, with an inclusion of a repository backup procedure (i.e. an upload of the whole repository along with its history to the Google Storage).
Implementation
The chat bot application should be written in Spine. Once done, it will be hosted in the Google Cloud.
The codebase for the chat bot should reside in the distinct
SpineEventEngine/chat-bot
repository.The text was updated successfully, but these errors were encountered: