Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[generative_ai] Missed regressions in the code samples because of targeted test runs

Open
#12,990 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

api: vertex-ai samples triage me type: bug

Describe the issue

We're starting to miss regressions in the code samples for generative_ai because of migrating the CI to do targeted (per feature directory) test runs. Meaning, when there are no modifications done in a feature directory, the tests will not run in this directory and the issue will silently live there, potentially for a long time.

We need to run the entire test suite regularly to ensure all code samples remain functional.

Examples

  1. function_calling/basic_example.py is not working anymore with Gemini Flash model. I discovered this when updated a different sample in this directory (see the comment).
  2. Two function calling with OpenAI samples — function_calling/chat_function_calling_basic.py & function_calling/chat_function_calling_config.py — are not working anymore. Same story here: I discovered the issue only because I updated a different file in this feature directory. See this comment.
Dominant language
Jupyter Notebook
Stars
8.1k
Forks
6.7k
Avg merge
4d 4h
Merged PRs (30d)
8

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GoogleCloudPlatform/python-docs-samples

All issues in GoogleCloudPlatform/python-docs-samples

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.