Skip to content

config: wire bio_agent TES service-account credentials into workbench (#195) - #34

Merged
man4ish merged 1 commit into
mainfrom
config/bio-agent-tes-service-account-195
Aug 10, 2026
Merged

config: wire bio_agent TES service-account credentials into workbench (#195)#34
man4ish merged 1 commit into
mainfrom
config/bio-agent-tes-service-account-195

Conversation

@man4ish

@man4ish man4ish commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

Config-only companion to OmniBioAI/omnibioai-workbench#201 (bio_agent TES workflow.execute fix, #195). That PR alone has no effect in this deployment until this one also lands -- same repo-split pattern as #29 (ORCHESTRATOR_MAX_RETRIES).

Adds to the workbench service's environment: block, next to the existing LIMS_* vars (same scope -- workbench only, not celery-worker, matching that precedent):

BIO_AGENT_AUTH_URL: "http://auth-service:8001"
BIO_AGENT_SVC_EMAIL: ${BIO_AGENT_SVC_EMAIL:-}
BIO_AGENT_SVC_PASSWORD: ${BIO_AGENT_SVC_PASSWORD:-}

What this does NOT touch

  • No application code -- docker-compose.yml only.
  • Real credential values are not in this PR. They already live in this deployment's (gitignored) .env, written when the dedicated svc-bio-agent@omnibioai.internal scientist-role service account was created (#195's 1b). This PR only adds the compose plumbing + ${VAR:-} defaults so a deployment without that .env entry degrades to an empty credential (same fail-open behavior as before, see the companion PR's description).

Testing

Verified together with the companion PR: rebuilt + recreated workbench with both changes applied, real credentials supplied from .env, and confirmed an actual TES submission succeeds end-to-end (run_id=run_1m3A8NcvLHnGfw, state=SUBMITTED) -- not just that the env vars are present.

Closes #195

🤖 Generated with Claude Code

… (#195)

Companion to OmniBioAI/omnibioai-workbench#201 -- that PR alone has no
effect until this also lands. Same repo-split pattern as #29
(ORCHESTRATOR_MAX_RETRIES).

Adds BIO_AGENT_AUTH_URL/BIO_AGENT_SVC_EMAIL/BIO_AGENT_SVC_PASSWORD to the
workbench service's environment block, next to the existing LIMS_* vars
(same scope -- workbench only, not celery-worker, matching precedent).
Real credential values already live in the (gitignored) .env for this
deployment; this PR only adds the compose wiring + ${VAR:-} defaults.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@man4ish
man4ish merged commit 5323cd0 into main Aug 10, 2026
7 checks passed
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