Commit graph

82 commits

Author SHA1 Message Date
asonix 708e7da301 Update opentelemetry, ring, http-signature-normalization, tracing-log 2023-11-25 20:16:13 -06:00
asonix 804d22ee81 Enable different breaker failure cases for different endpoints
Additionally, don't count 4xx towards succeeding a breaker
2023-09-08 19:11:24 -06:00
asonix 75df271b58 Switch from awc to reqwest, enable HTTP Proxies 2023-08-17 17:09:35 -05:00
asonix 2cbe4864c3 Switch to ring for crypto 2023-08-04 18:57:53 -05:00
asonix 795d3238ad Hide nodes that failed breakers from index page
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-28 17:46:23 -05:00
asonix 7438b0c5d0 Use verify spawner in all cases in verify path 2023-07-27 13:09:03 -05:00
asonix 769f7451f9 Simplify signature thread
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-07-27 10:19:20 -05:00
asonix 240eee730c Add more metrics around spawn-blocking 2023-07-27 09:26:16 -05:00
asonix 8071c6ce3f Make signature threads configurable
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-07-26 23:04:04 -05:00
asonix 11d81683e3 Add logging around parallelism 2023-07-26 22:52:13 -05:00
asonix 7cfebd927e Bump version 2023-07-26 18:04:09 -05:00
asonix d97cc4e5a4 Use custom threadpool for client signatures 2023-07-26 18:03:21 -05:00
asonix 970672a392 Make client timeout configurable 2023-07-25 16:06:56 -05:00
asonix 74f35faa22 Keep client in thread-local storage 2023-06-23 15:01:56 -05:00
asonix d40db33eb5 Don't drop and rebuild clients, share clients better 2023-06-23 14:27:20 -05:00
asonix 8d565a1fbe Add ability to tweak client pool size 2023-06-23 13:46:13 -05:00
asonix ab2dbfb439 Update metrics, rsa
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-27 19:34:23 -05:00
asonix a1ea5d676c Rework misskey fetch to reuse deliver plumbing
Only count server errors towards failed breakers
2023-02-25 15:02:16 -06:00
perillamint 667d586160 Send dummy JSON when trying Misskey API endpoint
From Misskey 13, Misskey expects valid JSON (does not care its content
though) in POST body. To workaround this, send empty JSON object when
requesting Misskey API endpoint
2023-02-25 14:34:38 -06:00
perillamint 4a7775b56d Misskey metadata support
This commit implements misskey metadata support and corresponding test
for From<MskyMeta> implementation

Also, it is good to note that, Misskey does not return 404 but 200 OK
when they poked at nonexistant endpoint, so the implementation should
handle for invalid json case
2023-02-25 14:34:22 -06:00
asonix f9cad61049 Add healthcheck for db, new clippy lints 2023-01-29 13:21:36 -06:00
asonix 34dc1a2281 Update rsa 2023-01-23 08:56:18 -06:00
asonix 9cdebeae4c Update base64, ructe 2023-01-23 08:38:55 -06:00
asonix 88b0383084 Keep track of when servers were last seen 2022-12-21 16:51:17 -06:00
asonix e9303ad9f6 Remove media caching, just proxy
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-17 22:39:26 -06:00
asonix 959201fa97 Remove errors when our signature is rejected 2022-11-17 19:28:17 -06:00
asonix ebdc739c84 Make admin API & client work
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-17 14:13:41 -06:00
asonix 448a907ab0 Reset breakers when receiving activities 2022-11-16 14:29:57 -06:00
asonix 2dd1dfe43f Factor more bookkeeping into check_response
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-16 12:38:34 -06:00
asonix f55ea0a550 Check for signature errors, record signing strings
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-16 11:23:36 -06:00
asonix 7e01cbfc41 Increase http timeout 2022-11-15 22:56:38 -06:00
asonix 0768cb6ac6 Don't fail jobs for fine scenarios
- dont fail contact for breaker
- dont fail instance for not found
2022-11-15 20:53:55 -06:00
asonix 5011e05c3d Clean tracing a bit more
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-11-15 19:56:19 -06:00
asonix 3358ae0461 Simplify debug info for jobs 2022-11-13 13:58:30 -06:00
asonix fac40c1853 Don't fail deliver for 400 Bad Request 2022-11-08 13:50:08 -06:00
asonix bc263701e2 Log cleanup 2022-11-01 15:57:33 -05:00
asonix c16adca27c Don't double-hash message bytes 2022-10-29 13:47:23 -05:00
asonix 0b0ed56bad Update RSA, other deps 2022-10-29 12:22:13 -05:00
Aode (Lion) 726a479025 Remove direct dependency on time
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-17 17:57:06 -06:00
Aode (Lion) 8893895c71 Update to latest activitystreams 2022-01-17 16:54:45 -06:00
Aode (lion) dd92650cff Add console-subscriber, add cargo publish step
Some checks failed
continuous-integration/drone/tag Build is failing
continuous-integration/drone/push Build is passing
2021-12-19 14:24:31 -06:00
Aode (lion) 66c86ebfd6 Update deps, add drone
All checks were successful
continuous-integration/drone Build is passing
2021-12-03 16:17:25 -06:00
Aode (lion) 1dba31e3a0 Clippy lints, dashmap for breakers 2021-11-23 16:19:59 -06:00
Aode (Lion) ea9854d3b2 Remove unhelpful fields from Request debug 2021-09-21 14:33:42 -05:00
Aode (Lion) 3384ca9064 Clean up debug impls 2021-09-21 14:32:25 -05:00
Aode (Lion) 4b4aaaa0b4 Don't store Config in State 2021-09-21 13:26:31 -05:00
Aode (Lion) 2792f5075d Enable tracing AWC 2021-09-21 11:21:06 -05:00
Aode (lion) 43e5b6d873 Instrument with tracing 2021-09-18 12:55:39 -05:00
asonix 8474640278 Bump dependencies 2021-08-01 15:12:06 -05:00
asonix a48749e310 Update actix deps 2021-03-09 20:09:56 -06:00