Skip to content

[bot] Merge master/6d1209d3 into rel/dev - #1804

Merged
yenkins-admin merged 4 commits into
rel/devfrom
snapshot-master-6d1209d3-to-rel/dev
Sep 10, 2026
Merged

[bot] Merge master/6d1209d3 into rel/dev#1804
yenkins-admin merged 4 commits into
rel/devfrom
snapshot-master-6d1209d3-to-rel/dev

Conversation

@yenkins-admin

Copy link
Copy Markdown
Contributor

🚀 Automated PR to perform merge from master into rel/dev with changes up to 6d1209d (created by https://github.com/gooddata/gooddata-python-sdk/actions/runs/34459353805).

tychtjan and others added 4 commits September 10, 2026 09:46
…e the client to core/langfuse

Trace lookups query GET /api/public/v2/observations and fold the observation rows into one
TraceSummary per trace: the root row carries session, metadata and latency, and cost is the
sum over the trace's rows. HttpxLangfuseClient lives in core/langfuse/client.py, takes a
transport for tests, and writes scores to POST /api/public/scores; core/agentic/_langfuse.py
re-exports it and TraceSummary as _TraceObj for external importers. Dataset-run-item writes
and the trace-version upsert stay on the legacy endpoints.

jira: trivial
risk: low
…level tests

Adds tests/_fake_langfuse.py, a threading.Thread-hosted http.server that
answers the five Langfuse v4 endpoints the package uses plus the three
legacy ones, records every request, and is configurable per test (dataset
items, missing ids, observation paging/empty-first-call, OTLP status/body,
scores 429-once). It doubles as a pytest fixture (fake_langfuse in
conftest.py, which points the real Langfuse env vars at it) and as a
runnable script that prints and records the wire traffic for manual
inspection. tests/test_fake_langfuse.py exercises the fixture itself with a
real httpx.Client, no mocks.

jira: trivial
risk: low
…gative or NaN Retry-After

time.sleep rejects a negative or NaN delay, so a skewed or hostile Retry-After header would
turn a throttled score write into an exception instead of a retry. Such values now use the
default delay; the existing cap still bounds long waits.

jira: trivial
risk: low
feat(gooddata-eval): read Langfuse traces via v2 observations; move the client to core/langfuse
@yenkins-admin
yenkins-admin merged commit 3ccaa35 into rel/dev Sep 10, 2026
1 check passed
@yenkins-admin
yenkins-admin deleted the snapshot-master-6d1209d3-to-rel/dev branch September 10, 2026 09:12
@codecov

codecov Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.36842% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.13%. Comparing base (ed73ef4) to head (6d1209d).
⚠️ Report is 583 commits behind head on rel/dev.

Files with missing lines Patch % Lines
...al/src/gooddata_eval/core/langfuse/observations.py 94.91% 3 Missing ⚠️
...ata-eval/src/gooddata_eval/core/langfuse/client.py 98.83% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           rel/dev    #1804      +/-   ##
===========================================
+ Coverage    82.01%   82.13%   +0.11%     
===========================================
  Files          280      282       +2     
  Lines        20208    20286      +78     
===========================================
+ Hits         16574    16662      +88     
+ Misses        3634     3624      -10     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants