feat(logging): add NanoShare wide event instrumentation
Build and Push Docker Container / build-and-push (push) Failing after 51s

- Register quart_common wide-event logging during app setup so every HTTP request emits one canonical structured event.

- Replace the inline security middleware with reusable quart_common security middleware wiring and move skip path configuration into app constants.

- Add NanoShare-specific wide-event context for health checks, auth/error handlers, file list/edit/delete/serve flows and upload outcomes.

- Rename runtime logging/project metadata from simple-picoshare to nanoshare where it is emitted in service context.

- Update my_helpers and quart_common submodules for Convex/wide-event integration and reusable security middleware support.

- Add NanoShare middleware tests covering safe user context, client IP enrichment, missing Convex handling and Convex security lookup failures.
This commit is contained in:
2026-05-13 20:22:43 +02:00
parent 26536a3cde
commit 9c731d6e67
12 changed files with 208 additions and 40 deletions
+7 -1
View File
@@ -1,5 +1,5 @@
[project]
name = "simple-picoshare"
name = "nanoshare"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
@@ -62,6 +62,12 @@ dependencies = [
"yarl==1.23.0",
]
[tool.pytest.ini_options]
testpaths = [
"tests",
"quart_common/tests",
]
[tool.uv.workspace]
members = [
"quart-session",