Repository navigation
[bot] Merge master/e772d409 into rel/dev - #1999
Merged
Merged
Conversation
… call - mcp-server create_metric reads the whole analytics model and writes it back, so concurrent items in one workspace undo each other's writes about a second later. In the 2026-11-23/24 nights this failed 6 of 116 metric_skill_extended runs that read their writes back - ChatClient.send_message takes an optional on_tool_result hook, called in the read loop with each tool call as its result arrives - An options-shape metric run queues a read of each written metric on one background thread from that hook, so the stream, the turn timings and the turn budget stay the agent's. The reads are joined before scoring and before the cleanup - metric_fields_correct and metric_updated grade that read; metric_executes computes the MAQL that was read as an inline measure, on a second thread so no read waits behind an execution, and a metric removed after the read cannot fail it. A read that fails in any way or finds no metric leaves the metric to the read at scoring time, as before. An execution that did not finish runs the written MAQL again, never the stored metric - New diagnostic metric_write_kept: False when a written metric is gone or changed back by scoring time. It never gates - MetricWorkspace.execute_maql shares execute_metric's request, retry and error handling. Listing and reading metrics also turn urllib3 transport errors (MaxRetryError) into WorkspaceReadError - The original shape sends no hook and reads no workspace, as before jira: QA-29907 risk: low Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-write fix(gooddata-eval): grade a metric write as read right after the tool call
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## rel/dev #1999 +/- ##
===========================================
+ Coverage 88.13% 88.17% +0.04%
===========================================
Files 361 361
Lines 30302 30402 +100
===========================================
+ Hits 26706 26807 +101
+ Misses 3596 3595 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Automated PR to perform merge from master into rel/dev with changes up to e772d40 (created by https://github.com/gooddata/gooddata-python-sdk/actions/runs/45748386163).