Skip to content

chore: gate legacy websocket server path#254

Open
silentgeckoaudit3801 wants to merge 3 commits into
Open-audit-foundation:mainfrom
silentgeckoaudit3801:grantfox-gate-legacy-server-20260628
Open

chore: gate legacy websocket server path#254
silentgeckoaudit3801 wants to merge 3 commits into
Open-audit-foundation:mainfrom
silentgeckoaudit3801:grantfox-gate-legacy-server-20260628

Conversation

@silentgeckoaudit3801

Copy link
Copy Markdown

Summary

  • make
    pm run dev:ws route to the decoupled WebSocket server path
  • add explicit dev:ws:legacy for the deprecated monolithic server
  • require --legacy or OPEN_AUDIT_LEGACY_SERVER=1 before server.ts starts
  • update README scripts and architecture notes so the decoupled path is the default and the monolith is clearly migration-only

Verification

  • Parsed package.json after edits.
  • Static reference check for dev:ws, dev:ws:legacy, --legacy, and the migration warning.
  • I did not install dependencies or start the server in this environment to avoid executing third-party project code on the user's machine.

Fixes #242

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Backend] Deprecate and remove server.ts in favor of server-decoupled.ts, or clearly gate it

1 participant