This is my personal gitlab instance. Feel free to browse my stuff: https://gitlab.greeson.xyz/users/highsaltlevels/projects

Send multiple messages if the message length is too large

David Greeson requested to merge fixups into main

Summary

Max Message Issue

I finally figured out the max cap on discord messages which is 2000 characters. So when we hit 1800 characters when building the message, start building a 2nd message.

ConfigMap Update Issue

So every 24 hours, all configmaps generate resync events that the informer picks up on. Since the code expects all configmap events to be indicative of an actual change, we should ignore updates where the resourceVersion doesn't change as this is definitely a resync event.

Testing

I started adding a few tests as well as a test runner script.

Merge request reports