branchrust_reboot/main/sentry_uploadcancel
18 Commits over 31 Days - 0.02cph!
Re-add the "max 3 uploads per session" logic that got removed accidently
Add missing catch {} to a try statement that only had a finally {} block
Fix HttpContent being double disposed
merge from main -> sentry_upload
- fix reading tail of log not truncating extra bytes
- fix log files >5MB being skipped over instead of the tail uploaded
Tests for new way of reading logfile
- switch from writing sentry tags to disk and trying to link them to crashes to putting the sentry tags in the log file and parsing them when uploading the crash
- upload the last 100KB of the logfile instead of the whole thing
- cleanup
merge from main -> sentry_upload
Cherrypick CS
163721 (the command to test crash uploads) to the newer branch
merge from main -> sentry_upload
Split MinidumpUploader into multiple .cs files as it got a little unwieldy
Fixes
- fix typo in URL
- indicate when client is on the main menu (crashing ingame vs disconnecting from server then crashing)
- cleanup modded framework check, just read the server tags instead of looking for Oxide.dll loaded
Upload the crash dumps to our backend now that the crash handler is fixed
- uploads client & server crashes, modded or vanilla then we filter on backend
- write state of session every 30s and on scene changes: when the crash actually happens we won't have a chance to write the latest state