-
[OPIK-5722] [BE] [FE] [SDK] Fix config version selection in Agent Sandbox (#6166)
发布于
2026-04-10 11:39:15 +00:00 - [OPIK-5722] [BE] [FE] [SDK] Fix config version selection in Agent Sandbox
Bug fixes:
- Config version dropdown now takes effect for runs: adds blueprint_name
to the job request pipeline (BE → TS SDK → Python SDK → FE) so the
runner uses the selected version instead of always defaulting to latest - Mask (unsaved changes) is now applied on top of the selected version,
not the latest, by passing both blueprint_name and mask_id through the
job request
Trace panel improvements:
- Live polling: TraceDetailsPanel accepts a refetchInterval prop, sandbox
polls at 1s while the panel is open so spans stream in live - Summary useTraceById polls only while job is running
- "View trace" buttons only appear once trace data has loaded, avoiding
a brief "No data" flash
Sandbox UX:
- Stop button no longer resets inputs and config edits (separate
handleStop vs handleReset) - Reset button now clears inputs and unsaved config changes via resetKey
remount, while preserving the selected version
- [OPIK-5722] [FE] [SDK] Address PR review and fix linting
- FE: handleRun calls handleStop() instead of duplicating reset logic
- FE: prettier multiline formatting for function signatures
- Python SDK: ruff format fix for long ContextVar declaration
- [OPIK-5722] [BE] [SDK] Address PR review comments
- BE: Add @Size(min=1) validation on blueprintName
- TS SDK: Reorder agentConfigContext params to (blueprintName, maskId, fn)
- [OPIK-5722] [BE] [SDK] Address PR review comments
- BE: Add @Pattern(NULL_OR_NOT_BLANK) on blueprintName in request and job DTOs
- BE: Strip blueprintName before storing in Redis
- TS SDK: Use object param for agentConfigContext({ blueprintName, maskId }, fn)
- TS SDK: Update unit and integration tests for new signature
下载附件