gotosocial/vendor
kim 7b1ccbd65a
[feature] add worker task serialization logic (#2989)
* improved server shutdown with more precise shutdown of modules + deferring of ALL of it

* move delivery and workers into separate files

* add worker task model and Serialize() / Deserialize() methods for message types

* start adding message serialize / deserialize tests

* start adding test cases

* update body rewinding to rely on standard library mechanism of r.GetBody()

* remove request rewinding (http.Client{} should already handle this)

* standard library already handles rewinding

* improved code comment

* move the newPOST() function contents to prepare(), fits better with current API

* add Serialize() / Deserialize() implementations for Delivery{} type

* finish writing FromClientAPI sserialize / deserialize tests

* start adding FromFediAPI{} serialize / deserialize test cases

* fix FromFediAPI{} tests

* add tests for delivery message type

* fix repeat code

* missing license header

* use testrig status and accounts for marshal / unmarshaling tests

* add a specific test for checking account RSA keys are preserved
2024-06-20 17:06:20 +00:00
..
codeberg.org bump go-structr to v0.8.5 to improve memory usage (#2955) 2024-06-03 12:03:35 +01:00
github.com [feature] add worker task serialization logic (#2989) 2024-06-20 17:06:20 +00:00
go.mongodb.org/mongo-driver [chore]: Bump github.com/gin-contrib/sessions from 0.0.5 to 1.0.0 (#2782) 2024-03-25 11:00:36 +00:00
go.opentelemetry.io [chore]: Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#2878) 2024-04-29 09:18:16 +00:00
go.uber.org [chore] update viper version (#2539) 2024-01-17 14:54:30 +00:00
golang.org/x [chore]: Bump github.com/miekg/dns from 1.1.59 to 1.1.61 (#3014) 2024-06-17 08:12:25 +00:00
google.golang.org [chore] dependabot updates (#2922) 2024-05-21 14:17:22 +01:00
gopkg.in [chore]: Bump github.com/coreos/go-oidc/v3 from 3.4.0 to 3.5.0 (#1322) 2023-01-09 08:23:49 +00:00
modernc.org bump modernc.org/sqlite v1.29.8 -> v1.29.9 (concurrency workaround) (#2906) 2024-05-07 14:52:37 +01:00
mvdan.cc/xurls/v2 [chore]: Bump mvdan.cc/xurls/v2 from 2.4.0 to 2.5.0 (#1702) 2023-04-19 13:44:20 +02:00
modules.txt [feature] add worker task serialization logic (#2989) 2024-06-20 17:06:20 +00:00