Gitmoji: 馃┖ for Healthchecks

Created on 30 Dec 2020  路  5Comments  路  Source: carloscuesta/gitmoji

Hello @carloscuesta :sunglasses:!

  • Emoji: :stethoscope:
  • Code: :stethoscope:
  • Description: When healthchecks have been added or updated.


I already submitted PR #667 for this.

emoji

Most helpful comment

Thanks for your feedback!

But I'm a little bit worried about the specificity of it

I agree it's a very backendish thing.

and I don't see this being used more than once 馃

It's not uncommon to have multiple health checks or adding more checks over time. Usually there is one common endpoint, which is only created once; that's right. But there might actually be more than one check that is run when calling the health check endpoint. Think of, for example:

  • check that the database is up and running
  • check that the redis is up and running
  • check that credentials for various third party services (external API, mail server...) are correct
  • check that environment variable required for feature xyz is set.

So I wouldn't say it's a "once a in project lifetime" commit emoji as basically a lot of features could come with their own health check that needs to be written and registered. For these commit emoji would imho be useful.

All 5 comments

Hey @hf-kklein 馃憢 Thanks for the proposition.

What do you mean with the term healthchecks in programmation? 馃 Do you have an example for it?

What do you mean with the term healthchecks in programmation?

A health check is an endpoint used in Web APIs. It allows to easily check if a system is up and running, e.g. by testing if the database credentials are ok. See e.g.

I really like the concept behind the emoji! But I'm a little bit worried about the specificity of it

I'm personally not a huge fan of commits that you only use once in the project, and I don't see this being used more than once :thinking:

Thanks for your feedback!

But I'm a little bit worried about the specificity of it

I agree it's a very backendish thing.

and I don't see this being used more than once 馃

It's not uncommon to have multiple health checks or adding more checks over time. Usually there is one common endpoint, which is only created once; that's right. But there might actually be more than one check that is run when calling the health check endpoint. Think of, for example:

  • check that the database is up and running
  • check that the redis is up and running
  • check that credentials for various third party services (external API, mail server...) are correct
  • check that environment variable required for feature xyz is set.

So I wouldn't say it's a "once a in project lifetime" commit emoji as basically a lot of features could come with their own health check that needs to be written and registered. For these commit emoji would imho be useful.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

johannchopin picture johannchopin  路  15Comments

kevin-dedaniya-rcrm picture kevin-dedaniya-rcrm  路  11Comments

DanielHilton picture DanielHilton  路  13Comments

Tydax picture Tydax  路  29Comments

matejdro picture matejdro  路  16Comments