Release 0.0.6 with reconnect fixes and regression coverage
This commit is contained in:
1 parent
acba97a7e1
commit
9f3f21884f
10 files changed
+279
-36
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ RUN npm ci --omit=dev --omit=optional --ignore-scripts --no-audit --no-fund \
|
||||
FROM dependencies AS test
|
||||
COPY server.mjs healthcheck.mjs test.mjs ./
|
||||
USER node
|
||||
RUN node --test test.mjs
|
||||
CMD ["node", "--test", "test.mjs"]
|
||||
|
||||
FROM node:24-bookworm-slim@sha256:a5f4366e834695d5f363b920c104953a535d3a9864d1bdf74566a0ebe01daee5 AS runtime
|
||||
ENV NODE_ENV=production PORT=8000 DEBUG=""
|
||||
|
||||
+3
-2
@@ -26,8 +26,9 @@ its health check; it does not start coturn or require `.env.development`. Vite
|
||||
continues to run on the host. No service is enabled at boot and the development
|
||||
container has no automatic restart policy.
|
||||
|
||||
`test:tracker` builds the Dockerfile's test target and runs native Node WebSocket
|
||||
clients against the actual tracker server. It tests both arrival orders, counts
|
||||
`test:tracker` builds the Dockerfile's test target, then runs it in a fresh
|
||||
container so Docker's build cache cannot skip the tests. Native Node WebSocket
|
||||
clients exercise the actual tracker server. Coverage includes both arrival orders, counts
|
||||
in announce replies, a 64 KiB code after AES-GCM/base64 encoding, answer routing,
|
||||
disconnect cleanup, graceful termination, disabled HTTP and WebSocket scrape,
|
||||
malformed/oversized messages, swarm/rate limits, per-socket swarm and peer ID
|
||||
|
||||
Reference in new issue
Block a user