Repository navigation
Conversation
…non-root Docker, size limits Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Client Test Results98 tests 98 ✅ 0s ⏱️ Results for commit 61e8e36. ♻️ This comment has been updated with latest results. |
Client V3 Test Results217 tests 217 ✅ 0s ⏱️ Results for commit 61e8e36. ♻️ This comment has been updated with latest results. |
Python Test Results 1 files 1 suites 49s ⏱️ Results for commit 61e8e36. ♻️ This comment has been updated with latest results. |
Playwright E2E Results (firefox)225 tests 225 ✅ 2m 14s ⏱️ Results for commit 61e8e36. ♻️ This comment has been updated with latest results. |
Playwright E2E Results (chromium)225 tests 225 ✅ 2m 23s ⏱️ Results for commit 61e8e36. ♻️ This comment has been updated with latest results. |
… with logging, 1009 backoff Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|



What
DELETE /api/v1/shownow requires an authenticated admin (@api_authenticated @require_admin), matching show creation.--debugdefaults to off (previously on unless running as a PyInstaller bundle, including the Docker image).serve_traceback=Falseis set explicitly so stack traces are never returned, even with--debug.check_originis untouched.digiscriptuser;nanoremoved. Non-breaking upgrade: a newdocker-entrypoint.shstarts as root,chown -Rs/server/confonly if the directory ordigiscript.json/digiscript.sqliteis not already owned bydigiscript(cheap check), then drops privileges withgosuand execspython3 main.py "$@". If the container is started with--user, the chown is skipped and the server just runs. No manualchownneeded for existing volumes or bind mounts.--max_body_size_mb(default 5) and--max_ws_message_size_mb(default 64), restart required. Exceeding either logs a WARNING with the limit and client IP (utils/web/size_limits.py). WebSocket closes use code 1009.--debugfor development and the server options.Measured payloads (450 pages x 40 lines, ~18,000 lines, multi-part lines)
Tests
test_digi_server.py); HTTP body limit rejection + warning (test/utils/web/test_size_limits.py); WebSocket oversize closes and logs (test_ws_controller.py); client-v3 1009 backoff (useWebSocket.closeTooBig.test.ts).--user 1000:1000works.🤖 Generated with Claude Code