tests/lib/fakestore/store: use gorilla/mux, support request kill for all endpoints, improve logging - #16883
Conversation
|
Fri May 8 12:13:47 UTC 2026 Failures:Preparing:
Executing:
Restoring:
Skipped tests from snapd-testing-skipIf you wish to have any of the below tests run in your PR, in your PR description, add 'unskip:' followed by a copy-and-pasted list (without variants) of the below tests you wish to run (unskip plus test list must be valid yaml)
|
ca129b5 to
889e24e
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #16883 +/- ##
==========================================
- Coverage 79.05% 79.02% -0.04%
==========================================
Files 1376 1376
Lines 191152 191175 +23
Branches 2465 2465
==========================================
- Hits 151117 151075 -42
- Misses 30929 30997 +68
+ Partials 9106 9103 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
zyga
left a comment
There was a problem hiding this comment.
I don't mind this but perhaps we should get back to the (much improved) stdlib router/mux that handles all the things that (now abandoned) gorilla/mux handles?
we still use |
889e24e to
197da19
Compare
197da19 to
affd556
Compare
affd556 to
fa9c960
Compare
…all endpoints, improve logging Use gorilla/mux which we already import in daemon. Add logging middleware and improve request logging. Move kill-after to middleware and support on all endpoints. Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>
…e new log entry Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>
fa9c960 to
bc7cb68
Compare
Use gorilla/mux which we already import in daemon.
Add logging middleware and improve request logging.
Move kill-after to middleware and support on all endpoints.
Based on #16881.
Thanks for helping us make a better snapd!
Have you signed the license agreement and read the contribution guide?