Skip to content

chore: merge main into ui-rework after the 0.5.800 release (#689) - #692

Merged
a-ratz merged 30 commits into
ui-reworkfrom
chore/689-main-into-ui-rework
Nov 3, 2026
Merged

a-ratz merged 30 commits into
ui-reworkfrom
chore/689-main-into-ui-rework

Conversation

@a-ratz

@a-ratz a-ratz commented Nov 3, 2026

Copy link
Copy Markdown
Member

Part of #689: merges main into ui-rework after the 0.5.800 release, so the dependency fixes of #690 and the tracing work reach ui-rework without cherry-picks (and #623 gets no duplicate commits).

What comes from main

Conflicts and how they are resolved

  • Version lines (pyproject.toml, uv.lock, package.json, package-lock.json): ui-rework's versions with a patch bump for what comes in, backend 0.5.821 → 0.5.822 and frontend 0.2.20 → 0.2.21. pyproject.toml takes main's corrected description ("declarative").
  • docs/about/changelog.md: both sides' entries kept, ui-rework's first, under New Features and under Fixes; the security entry of fix: close the litellm and dnspython Dependabot alerts on main (#689) #690 merged without a conflict.
  • No conflicts in code.

Checks

  • uv lock --check passes; npm install --package-lock-only leaves the merged package-lock.json unchanged.
  • Backend, installed as CI does (uv sync --dev --all-groups --all-extras): pytest 3386 passed, 78 skipped.
  • Frontend (npm ci): npm run type-check clean, npm test 791 passed and 3 skipped, npm run build passes.

a-ratz and others added 30 commits October 25, 2026 22:26
Auto-tracing built its OTLP exporter from OTEL_EXPORTER_OTLP_ENDPOINT only,
so the protocol stayed gRPC and OTEL_EXPORTER_OTLP_PROTOCOL, which the
tracing guides already documented, was ignored. Tools that take OTLP over
HTTP only (Langfuse, Opik, MLflow) could not receive Flock's traces.

otlp_from_env() resolves the standard variables: the traces or general
protocol (grpc by default, http/protobuf; http/json falls back with a
warning), the traces endpoint as given, the base endpoint with /v1/traces
over HTTP, and empty values as unset. The exporters read their headers from
OTEL_EXPORTER_OTLP_(TRACES_)HEADERS themselves.
fix: export OTLP over HTTP when the OTel variables ask for it (#679)
)

Observability tools recognise a model call by its gen_ai.* attributes;
Flock's run totals (flock.usage.*, #571) sit in a namespace of their own, so
Langfuse and Opik showed a Flock run without a single model call.

GenAISpans, a DSPy callback, opens an LM.chat span around every LM call of
the DSPy engine, under the engine's span, with the model, provider, tokens
(from the LM's history entry for that call, streamed calls included),
request parameters, response ID and finish reasons, and the agent as
gen_ai.agent.name. Message content only with
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true, capped. The span is
named LM.chat, not "chat {model}", because the trace viewer and the DuckDB
exporter split span names at the first dot.

The trace viewer's span details fit their key column to the longest key
(up to 40 %) instead of 120 px, so long keys no longer run into their
values. Version 0.5.803, frontend 0.1.37; also fixes "declrative" in the
package description.
feat: a span per model call in the OpenTelemetry GenAI conventions (#680)
Spans that know their run's correlation ID carry it also as session.id and
gen_ai.conversation.id, the attributes Langfuse groups sessions by and Opik
threads. A traced call that learns the correlation only from its result
(Flock.publish creates it) takes it from the artifacts it returns when they
share one. Model-call spans (LM.chat, #680) carry their agent run's
correlation, so a session adds up the run's tokens. Version 0.5.804.
feat: a run's traces group into one session or thread (#681)
docs: a guide for tracing backends, comparisons without claims about other tools (#682)
litellm 1.100.4 (GHSA-7hp6-4w63-5g45, LiteLLM proxy only) and dnspython
2.9.1 in the lockfile (GHSA-45c3-73f7-pv4m). litellm 1.100 adds boto3 as
a base dependency.
fix: close the litellm and dnspython Dependabot alerts on main (#689)
@a-ratz

a-ratz commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

Codex review, round 1 (codex review --base origin/ui-rework --scope branch, verbatim)

No actionable regressions were identified. The focused engine, tracing, session, and OTLP checks passed: 75 tests passed. Broader validation was incomplete because HTTP TestClient tests timed out.

No findings, so this round counts as green. The TestClient timeouts happened in the reviewer's sandbox only: the full suite passed locally on this branch (3386 passed, 78 skipped), and so did CI's Backend Quality.

@a-ratz
a-ratz merged commit 26c34b6 into ui-rework Nov 3, 2026
5 checks passed
@a-ratz
a-ratz deleted the chore/689-main-into-ui-rework branch November 3, 2026 08:10
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