Add a relay-webapp value for the session read API flag

Merged
KH
25d ago
+37-11

charts/relay-webapp had no value or extraEnv for DASHBOARD_SESSION_READ_API_ENABLED, which the dashboard needs to read sessions directly from the session read API.

runtime.sessionReadApiEnabled (default false) renders the variable when true; default output is unchanged. relay-webapp 0.2.1, agent-relay 0.6.5, registry row and README.

Checked with scripts/ci/charts.sh static relay-webapp agent-relay and the registry check. The profile matrix needs #134's row, so it passes locally only once that merges.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Adds runtime.sessionReadApiEnabled to the relay-webapp chart so the dashboard can read sessions directly from the session read API using the access token Control hands it. The value defaults to false, so existing deployments are unchanged.

  • Setting it to true adds DASHBOARD_SESSION_READ_API_ENABLED=true to the deployment; rendering fails if the value is not a boolean.
  • Requires a relay-webapp image with session read API support, and the read API's cors.allowedOrigins must include the dashboard's origin.
  • Bumps relay-webapp to 0.2.1 and agent-relay to 0.6.5, updating the requirements registry and docs.