News for hackers. Stuff that matters.
Re:Feature Flags in a CI Pipeline by mo_po2 on Wednesday January 18, 2023 @01:55AM (#34424112)
Flagon's exit codes are as follows:

0 the flag queried is on (true) 1 the flag queried is off (false) 1 an error occurred querying the flag

I think that it would be nice that error and false had different exit codes.

Re:Feature Flags in a CI Pipeline by pondidum on Wednesday January 18, 2023 @02:54AM (#34424411)
It actually does have different error codes; I think I just forgot to update the docs:

0 - flag on 1 - flag off 2 - error

I'll update the docs soon!