fix: error on uncompressed datastreams when chunks are missing #303
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: E2E | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| e2e: | |
| name: Signal e2e (browser / ubuntu) | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| # -o pipefail so a failing test isn't masked by the exit code of `tee` | |
| shell: bash -eo pipefail {0} | |
| services: | |
| testserver: | |
| image: livekit/test-server:latest | |
| ports: | |
| - 9999:9999 | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0 | |
| - name: Use Node.js 24 | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24 | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Cache Playwright browsers | |
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }} | |
| - name: Install Playwright Chromium | |
| run: pnpm exec playwright install --with-deps chromium | |
| - name: Run signal e2e tests | |
| run: pnpm test:e2e 2>&1 | tee e2e.log | |
| env: | |
| # Connect to the test-server service above (validate + WS on 9999). | |
| LK_TEST_SERVER_URL: ws://127.0.0.1:9999 | |
| - name: Collect test-server logs | |
| if: failure() | |
| run: docker logs ${{ job.services.testserver.id }} > test-server.log 2>&1 || true | |
| - name: Upload logs | |
| if: failure() | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| name: e2e-logs | |
| path: | | |
| e2e.log | |
| test-server.log | |
| retention-days: 7 |