Commit Graph

36 Commits

Author SHA1 Message Date
shiftinv b5dac6c415 feat: also handle `delete` events 2022-09-30 15:05:38 +02:00
shiftinv a852836a30 feat: handle branch/tag creation 2022-09-30 14:59:30 +02:00
shiftinv 5adc6d8e3a fix: add lock around redis commands
not locking these seems to make the library run into state issues, and since the rtt is currently <50ms this shouldn't cause significant delays
2022-09-08 00:04:37 +02:00
shiftinv c95b6fd5a3 fix: manually connect instead of forcing connect through ping 2022-09-07 21:44:22 +02:00
shiftinv 0cc27e4bed feat: check redis net permissions
seems like the redis lib retries on deno permission errors, which will never succeed, so let's just check beforehand
2022-09-07 15:47:52 +02:00
shiftinv 75ba80e63c feat: make redis optional, fall back to less consistent local cache 2022-09-07 15:28:25 +02:00
shiftinv 6027c8271d feat: use redis to fix state sync issues 2022-09-06 21:21:40 +02:00
shiftinv 188aadf638 feat: set metadata headers on all responses 2022-09-06 04:16:06 +02:00
shiftinv f3bfaf54ec feat: add github event ID to log messages 2022-09-06 03:56:57 +02:00
shiftinv 9cc31baa58 fix: add review comment debug logs again
need to debug this a bit more, seems to not work 100% of the time

This reverts commit cd2affbaaa.
2022-09-05 21:18:22 +02:00
shiftinv aecaf409e6 feat: add event action types to filter reasons 2022-09-05 00:18:12 +02:00
shiftinv 28dfe8c61a fix: cloudflare uses seconds for `retry-after` 2022-09-04 16:28:52 +02:00
shiftinv 4d2eeb52b3 feat: add metadata headers to response 2022-09-04 15:34:59 +02:00
shiftinv 61a49ceb32 fix: add () to reason 2022-09-04 15:34:59 +02:00
shiftinv 1ee1e857a3 feat: improve retry logging 2022-09-04 15:34:59 +02:00
shiftinv 51799813da fix: update retry logic to not wait after last retry 2022-09-04 15:34:59 +02:00
shiftinv cd2affbaaa chore: remove review comment debug logs 2022-09-04 15:34:59 +02:00
shiftinv 9b22ac70b7 feat: add redirect to root 2022-09-04 15:34:59 +02:00
shiftinv ff98d3c9a0 feat: make url signing optional 2022-09-04 15:34:58 +02:00
shiftinv 533ab24b2a feat: improve config.get typing 2022-09-04 14:35:05 +02:00
shiftinv 2021afd969 chore: change util import 2022-09-03 20:14:57 +02:00
shiftinv c60a5ad871 feat: log filter reason 2022-09-03 20:13:06 +02:00
shiftinv 31b66eb01a chore: move webhook function to new module 2022-09-03 20:11:04 +02:00
shiftinv 37cc5f16de feat: handle ratelimits (kinda) 2022-09-03 18:03:51 +02:00
shiftinv 2c35c57c58 feat: filter burst PR review comments 2022-09-03 17:31:40 +02:00
shiftinv 28a478f12d fix: don't use global interface typedefs 2022-09-03 16:59:38 +02:00
shiftinv 32d7b66dad chore: add more comments 2022-09-03 16:48:28 +02:00
shiftinv 1dfa4a6306 fix: improve filter reason strings 2022-09-03 16:09:11 +02:00
shiftinv 15729dc61f fix: improve empty PR comment filter 2022-09-03 16:08:20 +02:00
shiftinv 5fb5a26209 feat: filter empty reviews 2022-09-03 03:31:48 +02:00
shiftinv b9ce7c7fd4 feat: filter more events 2022-09-03 02:49:51 +02:00
shiftinv 85288ae4aa fix: use correct offsets for branch filter 2022-09-03 02:30:04 +02:00
shiftinv 5d4732072a chore: reorder some functions 2022-09-03 02:19:54 +02:00
shiftinv 1738aa0f67 chore: move filter code into separate module 2022-09-03 02:19:54 +02:00
shiftinv 2a651bd3f9 feat: add `hideTags` option 2022-09-03 02:19:54 +02:00
shiftinv 7ed47af8bc Initial commit 2022-09-03 02:19:53 +02:00