Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

google-adk: instrument `Workflow` nodes and workflow tool calls

オープン
#863 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
observability

調査の方向性

Start in py/src/braintrust/integrations/adk/ and read the ADK integration plus test_adk.py; the issue identifies BaseNode.run and _ToolNode._run_impl as candidate patch targets. Add cassette-backed coverage for workflow spans and workflow tool-call spans, checking compatibility with ADK 1.14.1 as well as 2.10 and 2.11. Done when the tests confirm both spans are recorded and the existing version still works.

索引モデルが issue の本文から書いたものです。

説明

feature python

ADK 2.x Workflow is a BaseNode, not a BaseAgent, and _ToolNode calls self.tool.run_async directly, bypassing flows/llm_flows/tools/_caller._call_tool_async. As a result:

  • Workflow tool calls get no tool span (except MCP tools, via McpToolPatcher).
  • Workflows get no span between the Runner and agent spans.

ADK now marks SequentialAgent / ParallelAgent as deprecated in favor of Workflow, so this gap will grow. 2.11.0 also made workflow tool nodes pause for confirmation and run plugin callbacks (_ToolNode._run_tool_with_plugin_callbacks). This predates the 2.11.0 bump.

Proposal

  • Candidate patch targets in py/src/braintrust/integrations/adk/: google.adk.workflow._base_node.BaseNode.run (workflow/node spans) and google.adk.workflow._tool_node._ToolNode._run_impl (tool spans). Both exist in 2.10 and 2.11; gate them so 1.14.1 keeps working.
  • test_adk.py has no Workflow coverage; add cassette-backed tests.
  • Related, lower value: ModelConsultTool's advisor calls BaseLlm.generate_content_async directly, so it gets no ADK LLM span (the google-genai integration still traces the underlying call).

Parent: #858 (found while reviewing the 2026-10-05 weekly dependency update, #849).

🤖 Generated with Claude Code

主要言語
Python
スター
21
フォーク
23
平均マージ
20時間 2分
マージ済み PR(30日)
95

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

braintrustdata/braintrust-sdk-python のほかの issue

braintrustdata/braintrust-sdk-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。