devonfw / IDEasy

Tool to automate the setup and updates of a development environment for any project (Successor of devonfw-ide).
Apache License 2.0
7 stars 18 forks source link

Add monitoring and check to ide-urls #126

Open CREITZ25 opened 8 months ago

CREITZ25 commented 8 months ago

As a user, I want to check the repository ide-urls so that there are consistent informations.

For example, if there is a release configured, the URL files for all three environments should also be available, as well as the associated checksum files.

Input from https://github.com/devonfw/ide/issues/1219

Our github action update-urls.yml logs errors if downloads fail (including download verification) but continues successfully also on such errors. We should add a mechanism to count errors in a structured way and then send a notification with an error report. If there is no error also no notification should be send. My suggestion would be to use an email notification. If we use a public distribution list and want to avoid spam, we can configure it as github secret. To collect the errors, we we should create a structured error state object and count the errors per tool and edition. We should then also count the success so we could e.g. determine and error rate (e.g. gradle 100% error vs. gradle 1% errors). My first draft suggestion:

FYI: I pointed that example also to point out a potential division by zero issue before implementation :)

hohwille commented 7 months ago

See devonfw/ide#1219

hohwille commented 7 months ago

Also we should add our a state as a badge in our README.asciidoc.

I will remove this from the story as the badge is already in our README for a long time so IMHO this point is already solved.