Commit Graph

59 Commits

Author SHA1 Message Date
Karol Wypchło 0c0be50e89
accounts health checks and testing improvements (#717)
* add account health check

* circular dep resolution

* error cannot be undefined
2021-05-05 14:18:10 +02:00
Karol Wypchlo 2a4b5f7a07 remove random image check that fails strict validation - weird upload 2021-04-30 16:22:57 +02:00
Karol Wypchlo 7eb6d15d4b fixed errorMessage reporting 2021-04-29 16:59:05 +02:00
Karol Wypchlo 7fab576e6a atomic writes 2021-04-29 16:56:53 +02:00
Karol Wypchlo bdd0b8d6c6 drop superagent 2021-04-29 16:43:17 +02:00
Karol Wypchlo cd7dac5b7e verbose => extended 2021-04-29 13:43:40 +02:00
Karol Wypchło 209a12ccad remove unused line 2021-04-29 13:29:11 +02:00
Karol Wypchlo cedef4f1bb improve health checks 2021-04-29 13:29:10 +02:00
Karol Wypchlo 568a032d84 remove body parser 2021-04-16 12:10:16 +02:00
Karol Wypchlo 2c1ccd0557 prune state.json 2021-01-29 23:17:43 +01:00
Karol Wypchlo 2d91181843 add uncensored files checks 2021-01-29 11:31:16 +01:00
Karol Wypchlo edb7ca9404 update uncensored library skylink test 2021-01-29 11:16:26 +01:00
Karol Wypchlo a002b21dac add handshake redirect test 2021-01-27 15:11:03 +01:00
Karol Wypchlo 2f1ec00e29 fix code style 2021-01-26 17:00:13 +01:00
Karol Wypchlo 7b6bf6664f fix health-check for upload 2021-01-26 12:44:34 +01:00
Karol Wypchlo 8a44499ceb replace cronjs with crontab 2021-01-26 12:18:40 +01:00
Karol Wypchlo 127483f823 fix issue with health-checks 2021-01-23 18:59:03 +01:00
Karol Wypchlo ae3df177cb improve health checks 2021-01-23 17:45:31 +01:00
Karol Wypchlo c7cfff728d comment out uniswap links from health-check 2020-11-18 16:08:03 +01:00
Karol Wypchlo 0cce11ddd4 rename description to name to fix the logs 2020-11-03 19:39:14 +01:00
Karol Wypchlo 7037700ad3 replace node-schedule with cron to fix cpu usage spikes 2020-10-13 12:26:19 +02:00
Karol Wypchlo 6228671048 add a undefined JSON replacer for diff 2020-10-10 16:04:13 +02:00
Karol Wypchło e58752571e
add response content to health check failures (#437) 2020-09-30 16:20:55 +02:00
Karol Wypchlo 745e9b0add prettier --write 2020-09-18 16:59:46 +02:00
Karol Wypchlo 392cde2464 update db before reading it in api 2020-09-18 13:40:14 +02:00
Karol Wypchlo c561f3e568 fix require paths 2020-09-18 12:40:49 +02:00
Matthew Sevey 781e71464d Merge branch 'master' into sevey/add-skapps-to-health-checl 2020-09-11 11:35:48 -04:00
Karol Wypchlo cd051c45f2 reorder 2020-09-11 11:29:08 +02:00
Karol Wypchlo 20362fe7c5 fix health checks 2020-09-10 15:16:31 +02:00
Karol Wypchlo 2e240e2819 simplify values assignment 2020-09-10 14:13:28 +02:00
Karol Wypchlo 394ae44aa9 rename getCurrent -> getMostRecent 2020-09-10 14:07:24 +02:00
Karol Wypchlo 70fd6b0f8f typo 2020-09-10 14:05:21 +02:00
Karol Wypchlo 6e0f387cf1 code review changes 2020-09-10 14:03:56 +02:00
Karol Wypchło ec4655f581
Apply suggestions from code review
Co-authored-by: Ivaylo Novakov <ro-tex@users.noreply.github.com>
2020-09-10 13:49:26 +02:00
Karol Wypchlo c08d53f6e0 drop critical: true from existing checks 2020-09-10 12:42:37 +02:00
Karol Wypchlo 307d736a69 restructure health-check architecture 2020-09-10 12:15:54 +02:00
Karol Wypchlo 19b8caf81a fixed code review issues 2020-09-09 14:53:05 +02:00
Karol Wypchlo ca73a2f61f improve health checks 2020-09-09 14:25:00 +02:00
Matthew Sevey 9874eb29d8 update use of fixtures 2020-09-04 15:57:08 -04:00
Matthew Sevey 0f84fb645d Create fixtures directory and move large metadata to individual json files 2020-09-02 16:19:43 -04:00
Matthew Sevey 58d807dfc6 refactor skygallery metadata and body hash 2020-08-31 15:59:24 -04:00
Matthew Sevey 58d7f395d5 Add Skapps to health check by setting the max http header size 2020-08-31 15:46:42 -04:00
Matthew Sevey 29362649af healthcheck: add uncensored library skylinks to health check 2020-08-26 15:49:40 -04:00
Karol Wypchlo 062cc12a7d make it once per hour 2020-08-26 17:17:33 +02:00
Karol Wypchlo 4eec295035 parse 2020-08-26 17:14:23 +02:00
Karol Wypchlo 913b2dbb15 compare metdata objects 2020-08-26 17:08:52 +02:00
Karol Wypchlo 94154924a1 log metadata 2020-08-26 16:52:23 +02:00
Karol Wypchlo 53b3933bee info should be an object 2020-08-26 16:47:53 +02:00
Karol Wypchlo 9ad39482ad info should be an object 2020-08-26 16:45:25 +02:00
Matthew Sevey f201f9c4b4 add info field and set verbose checks to critical 2020-08-26 10:32:39 -04:00