Skip to content

fix(eaglercraft-server): drop the invalid WS backend-protocol annotation - #759

Merged
zjy365 merged 1 commit into
labring-actions:kb-0.9from
aimeritething:fix/eaglercraft-ws-marker
Sep 9, 2026
Merged

fix(eaglercraft-server): drop the invalid WS backend-protocol annotation#759
zjy365 merged 1 commit into
labring-actions:kb-0.9from
aimeritething:fix/eaglercraft-ws-marker

Conversation

@aimeritething

@aimeritething aimeritething commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #758.

What

Removes nginx.ingress.kubernetes.io/backend-protocol: WS from the game Ingress. ingress-nginx does not accept WS as a value and the WebSocket upgrade on port 5200 works without it. The annotation only marked port 5200 as WebSocket-only for the platform, which hid the browser client page behind a copy-only wss:// address. Port 5200 serves the client over HTTP and upgrades the same path, so it is an HTTP port.

The explicit /admin.css, /admin.js, /admin-i18n.js paths on the console Ingress are unchanged. That path set was validated live in #717 and #748.

Verification

  • python scripts/test_eaglercraft_runtime_refresh.py → PASS
  • index.yaml parses; the game Ingress carries no backend-protocol annotation; the console path list is unchanged.
  • Not verified on a cluster: WebSocket traffic through ingress-nginx without the annotation. The value was never valid for ingress-nginx, so no behaviour change is expected, but it has not been exercised live in this PR.

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_01K5m7FUKCppYpMxKwHxrPgV

ingress-nginx does not accept `WS` as a `backend-protocol` value, and the
WebSocket upgrade on port 5200 works without it. The annotation only marked
port 5200 as WebSocket-only for the platform, which hid the browser client
page behind a copy-only `wss://` address. Port 5200 serves the client over
HTTP and upgrades the same path, so it is an HTTP port.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K5m7FUKCppYpMxKwHxrPgV
@aimeritething
aimeritething force-pushed the fix/eaglercraft-ws-marker branch from 21f04b0 to f5e5c1d Compare September 9, 2026 02:23
@aimeritething aimeritething changed the title fix(eaglercraft-server): drop the WS backend-protocol marker and document the console asset paths fix(eaglercraft-server): drop the invalid WS backend-protocol annotation Sep 9, 2026
@zjy365
zjy365 merged commit 5afcdef into labring-actions:kb-0.9 Sep 9, 2026
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.

2 participants