Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Harxhit/CrowdStream
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: Harxhit/CrowdStream
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feat/dockerize
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 20 files changed
  • 4 contributors

Commits on Aug 27, 2026

  1. test(sfu): add SFU capacity load test and client instrumentation

    - add load-test script and results CSV for SFU capacity testing
    - expose window globals for test timing (__csSocket, __csRoomId,
      __csLiveAt, __csJoinedAt, __csFirstFrameAt)
    - wire socket connect/disconnect lifecycle in Broadcaster; use
      connectSocket in ViewerPage
    - unprotect broadcaster/viewer/dashboard routes for load testing
    - log socket disconnect reason and details at error level
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
    Harxhit and claude committed Aug 27, 2026
    Configuration menu
    Copy the full SHA
    24b6eae View commit details
    Browse the repository at this point in the history
  2. feat(docker): add local + production Docker Compose stacks

    Add two top-level compose files that orchestrate the app plus its core
    dependencies (backend, frontend, 6-node Redis cluster, MongoDB, nginx
    ingress), all host-networked to match infra/. Coturn/Envoy/HAProxy stay
    in infra/.
    
    - backend/Dockerfile: multi-stage (dev via ts-node/nodemon; prod compiles
      TS -> dist and runs node). Add build/start scripts; build copies
      src/scripts (rateLimit.lua) into dist since tsc does not emit it.
    - frontend/Dockerfile: multi-stage (dev Vite server; prod nginx serving
      the SPA and proxying /backend + /socket.io -> :3000 as the ingress).
    - docker-compose.local.yml: hot-reload dev with bind-mounted source.
    - docker-compose.prod.yml: optimized images, restart policies, Mongo in
      a named volume, VITE_* baked in at build time.
    - deploy/: local nginx ingress conf, idempotent Redis cluster init,
      env.docker.template documenting all required vars.
    - README.docker.md: run instructions and caveats.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
    Harxhit and claude committed Aug 27, 2026
    Configuration menu
    Copy the full SHA
    cef912b View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2026

  1. Apply batched suggestions from code review

    Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
    Harxhit and cubic-dev-ai[bot] authored Sep 7, 2026
    Configuration menu
    Copy the full SHA
    e76a66a View commit details
    Browse the repository at this point in the history
  2. Update backend/Dockerfile

    Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
    Harxhit and cubic-dev-ai[bot] authored Sep 7, 2026
    Configuration menu
    Copy the full SHA
    57ca26e View commit details
    Browse the repository at this point in the history
  3. Update load-test/sfu-capacity.js

    Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
    Harxhit and cubic-dev-ai[bot] authored Sep 7, 2026
    Configuration menu
    Copy the full SHA
    3411be6 View commit details
    Browse the repository at this point in the history
  4. Update README.docker.md

    Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
    Harxhit and cubic-dev-ai[bot] authored Sep 7, 2026
    Configuration menu
    Copy the full SHA
    e46fc2e View commit details
    Browse the repository at this point in the history
  5. Update backend/src/utils/socket.util.ts

    Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
    Harxhit and cubic-dev-ai[bot] authored Sep 7, 2026
    Configuration menu
    Copy the full SHA
    1a38dd1 View commit details
    Browse the repository at this point in the history
  6. Update load-test/sfu-capacity.js

    Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
    Harxhit and cubic-dev-ai[bot] authored Sep 7, 2026
    Configuration menu
    Copy the full SHA
    108a957 View commit details
    Browse the repository at this point in the history
Loading