From 1303c5786dce6fb55b2382d89261b0e99169e84d Mon Sep 17 00:00:00 2001 From: jenkins Date: Sun, 9 Aug 2026 01:08:31 -0300 Subject: [PATCH] fix(hermes): match versioned worker cleanup --- services/hermes/oauth2-proxy.yaml | 2 +- testing/tests/test_hermes_chat_quality.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/hermes/oauth2-proxy.yaml b/services/hermes/oauth2-proxy.yaml index 84acef57c..252fae0ef 100644 --- a/services/hermes/oauth2-proxy.yaml +++ b/services/hermes/oauth2-proxy.yaml @@ -275,7 +275,7 @@ spec: - --cookie-samesite=lax - --cookie-refresh=1h - --cookie-expire=8h - - '--skip-auth-route=GET=^/sw[.]js$' + - '--skip-auth-route=GET=^/sw[.]js([?].*)?$' - --upstream=http://hermes-chat-router.hermes.svc.cluster.local:8080 - --http-address=0.0.0.0:4180 - --skip-provider-button=true diff --git a/testing/tests/test_hermes_chat_quality.py b/testing/tests/test_hermes_chat_quality.py index 2331bb5c2..1479599da 100644 --- a/testing/tests/test_hermes_chat_quality.py +++ b/testing/tests/test_hermes_chat_quality.py @@ -96,7 +96,7 @@ def test_chat_oauth_allows_stale_service_worker_retirement(): ) args = deployment["spec"]["template"]["spec"]["containers"][0]["args"] - assert "--skip-auth-route=GET=^/sw[.]js$" in args + assert "--skip-auth-route=GET=^/sw[.]js([?].*)?$" in args def test_sandbox_executes_python_with_bounded_output(tmp_path: Path, monkeypatch):