Skip to content
Commit 6461f1d5 authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

sentry: send envelopes, add drkonqi-sentry-postman, add tests

this sees some major refactoring to how submissions work.

previously we sent the crash event followed by the user feedback event
to their respective ingestion points. sentry does however also feature
an alternative format where we can send multiple payloads in the same
call. this specifically also allows us to store an entire "submission"
in a single file without having to invent anything ourselves.

consequently sentrybeacon is no more, it's been replaced by
sentrypostbox which now constructs/manages a sentryenvelope which is
representing that new storage format.

an envelope is comprised of a header and payload. the payload are
multiple "items" of which each again has a header and a payload of their
own. whenever the envelope changes it also updates itself in the
sentryenvelopecache.

the cache acts as file-based storage system. the envelope is pushed into
the cache which results in a write to
~/.cache/drkonqi/sentry-envelopes/. eventually, ...
parent 68c34583
Pipeline #436357 passed with stage
in 2 minutes and 32 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment