Skip to content

chore(ai-platform): remove decommissioned text and video dataset samples and tests#4377

Open
angelcaamal wants to merge 1 commit into
mainfrom
cleanup/remove-decommissioned-text-video-datasets
Open

chore(ai-platform): remove decommissioned text and video dataset samples and tests#4377
angelcaamal wants to merge 1 commit into
mainfrom
cleanup/remove-decommissioned-text-video-datasets

Conversation

@angelcaamal

@angelcaamal angelcaamal commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Description

This PR removes all AI Platform code samples, automated tests, and metadata definitions associated with the following decommissioned region tags:

  • aiplatform_create_dataset_text_sample
  • aiplatform_create_dataset_video_sample
  • aiplatform_import_data_video_classification_sample

These samples were previously marked with deprecated: true and exclude_from_sample_browser: true for Devsite inside the configuration file. Since these features have been fully deprecated/decommissioned by Google Cloud, their automated tests are failing in the CI pipeline with INVALID_ARGUMENT and FAILED_PRECONDITION errors.

Permanently removing them cleans up technical debt and helps restore the health of the CI pipeline.

Fixes Internal: b/533477764

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

  • I have followed guidelines from CONTRIBUTING.MD and Samples Style Guide
  • Tests pass: npm test (see Testing)
  • Lint pass: npm run lint (see Style)
  • Required CI tests pass (see CI testing)
  • These samples need a new API enabled in testing projects to pass (let us know which ones)
  • These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
  • This pull request is from a branch created directly off of GoogleCloudPlatform/nodejs-docs-samples. Not a fork.
  • This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
  • This sample adds a new sample directory, and I created GitHub Actions workflow for this sample
  • This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
  • Please merge this PR for me once it is approved

Note: Any check with (dev), (experimental), or (legacy) can be ignored and should not block your PR from merging (see CI testing).

@product-auto-label product-auto-label Bot added api: aiplatform Issues related to the AI Platform API. samples Issues that are directly related to samples. labels Jul 10, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request deletes several Node.js sample scripts and their associated Mocha tests for creating text and video datasets, as well as importing video classification data on the Google Cloud AI Platform. Since there are no review comments, I have no additional feedback to provide.

@amcolin amcolin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making these changes. I couldn't find any references for these region tags, so please go ahead.

@angelcaamal angelcaamal marked this pull request as ready for review July 10, 2026 20:10
@angelcaamal angelcaamal requested review from a team as code owners July 10, 2026 20:10
@snippet-bot

snippet-bot Bot commented Jul 10, 2026

Copy link
Copy Markdown

Here is the summary of changes.

You are about to delete 3 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: aiplatform Issues related to the AI Platform API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants