Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

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

Ouverte
#863 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
55/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
python
Domaine
observability

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
Python
Étoiles
21
Forks
23
Merge moyen
19 h 55 min
PR mergées (30 j)
95

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de braintrustdata/braintrust-sdk-python

Toutes les issues de braintrustdata/braintrust-sdk-python

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.