Skip to content

chore(weave): allowlist weave-evaluate-model-worker SA on gorilla - #671

Draft
amwarrier wants to merge 1 commit into
mainfrom
awarrier/weave-evaluate-model-worker-jwt
Draft

chore(weave): allowlist weave-evaluate-model-worker SA on gorilla#671
amwarrier wants to merge 1 commit into
mainfrom
awarrier/weave-evaluate-model-worker-jwt

Conversation

@amwarrier

Copy link
Copy Markdown
Contributor

Summary

  • Adds <release>-weave-evaluate-model-worker's service account to app.internalJWTMap so gorilla's GORILLA_INTERNAL_JWT_SUBJECTS_TO_ISSUERS accepts internal JWTs signed by this worker.
  • Bumps operator-wandb chart to 0.43.10 and refreshes the four snapshots that render the map.

Context

Follows #598, which added the initial weave-trace-worker allowlist entry. weave-evaluate-model-worker (introduced in #505) also mounts WANDB_INTERNAL_SERVICE_TOKEN and calls back into gorilla, but its SA was never added to the allowlist — gorilla rejects the JWT (issuer/subject mismatch) and the failure surfaces as a generic 500 to upstream callers such as the playground custom-provider flow.

weave-trace-agent-scoring-worker has the same gap; I'll open a separate PR for it.

Test plan

  • python3 scripts/format_templates.py — no diff
  • python3 -m unittest discover -s scripts/tests — 16 pass
  • python3 scripts/check_template_maintainability.py — pass
  • ./snapshots.sh update operator-wandb — diff limited to the 4 snapshots that render GORILLA_INTERNAL_JWT_SUBJECTS_TO_ISSUERS (mcp-server.snap, olap-features-enabled.snap, weave-trace.snap, weave-trace-with-worker.snap)

🤖 Generated with Claude Code

Extend app.internalJWTMap so gorilla accepts internal JWTs signed by
weave-evaluate-model-worker, matching the treatment weave-trace-worker
already gets. Without this the worker's callbacks into gorilla fail
JWT validation and surface as a generic 500 to callers.

Bumps operator-wandb to 0.43.10 and refreshes the four snapshots that
render GORILLA_INTERNAL_JWT_SUBJECTS_TO_ISSUERS.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 663b5bd3-0fcc-45bc-9c6c-2ae3648c35bc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant