aguschin / art-guide

Your guide in the world of art
MIT License
7 stars 2 forks source link

Create a script checking that telegram bot works #50

Open aguschin opened 11 months ago

aguschin commented 11 months ago

To monitor telegram bot health, we need an external way to make sure we get notified when something is broken.

As a first step, I suggest creating a test script that will take some images from reference database, send them to the telegram bot and check that the responses are correct. This should check whether:

Basically, this is a simple end-to-end test that can be enhanced later: like send an alert to us (a message in telegram) stating that the bot is down. To interact with out bot from Python runtime, we need to use something like https://docs.telethon.dev/en/stable/basic/quick-start.html

dinma-daniel commented 10 months ago

Basic script checker created, waiting for approval to be merged in main. Currently on bot-status branch.

aguschin commented 9 months ago

Script was created, but we were unable to run it with GH actions since some authorization is required.