发布

  • [OPIK-3502] [BE] Fix optimizer SDK API key and environment configuration (#4482)

    frostbyte_neo 发布于 2025-12-17 15:23:12 +00:00

    • [OPIK-3502] [BE] Clear env vars between jobs to prevent credential leakage

    When no API key or workspace is provided, explicitly clear the
    environment variables to prevent previous job's credentials from
    being reused by subsequent jobs from different users.

    • [OPIK-3502] [BE] Fix json_schema_validator to read schema from dataset item

    Changed json_schema_validator metric to use schema_key parameter
    (default: 'json_schema') to read the schema from each dataset item
    instead of requiring a static schema in metric parameters. This allows
    different schemas per dataset item for more flexible validation.

    • [OPIK-3502] [BE] Add OPIK_URL_OVERRIDE config for Python backend
    • docker-compose.override.yaml: Default to host.docker.internal:8080 for dev-runner
    • values.yaml: Default to opik-backend:8080 for Kubernetes deployments

    This ensures the optimizer SDK can reach the Java backend in all environments.

    • Update Helm documentation

    Co-authored-by: CometActions github-actions@comet.com

    下载附件