Remove Socket.IO dependencies and Socket infrastructure

- Remove socket.io-client npm package
- Remove Socket.IO from gulpfile.js
- Remove API_PUBLIC_WS_URL config variable from all environments
- Remove Socket CSP directives (cdn.socket.io, wss:// URLs)
- Remove unused data-host attribute from job template
- Update test_headers.py to remove Socket.IO assertions
- Update deployment configs (manifest.yml, deploy-config/*.yml, .github/workflows/*.yml)
This commit is contained in:
Beverly Nguyen
2025-10-07 10:44:45 -07:00
parent b0527c1fd8
commit 705952cc30
16 changed files with 9 additions and 124 deletions

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
import os
from functools import partial
from flask import (
@@ -59,7 +58,6 @@ def view_job(service_id, job_id):
filter_args = parse_filter_args(request.args)
filter_args["status"] = set_status_filters(filter_args)
api_public_url = os.environ.get("API_PUBLIC_URL")
notifications = None
more_than_one_page = False
@@ -74,7 +72,6 @@ def view_job(service_id, job_id):
return render_template(
"views/jobs/job.html",
api_public_url=api_public_url,
job=job,
status=request.args.get("status", ""),
counts=_get_job_counts(job),