Add doc test CI workflow reusing existing model job infrastructure#45189
Open
Add doc test CI workflow reusing existing model job infrastructure#45189
Conversation
- Add `test_path_prefix` and `test_file_suffix` optional inputs to `model_jobs.yml` and `self-scheduled.yml` (backward-compatible, defaults preserve existing behavior) - Extend `set-matrix` in `self-scheduled.yml` to discover runnable doc examples when `test_file_suffix` is set, emitting one slice per model for full parallelism - Add `self-doc-scheduled-caller.yml` to run doc tests daily, reusing `run_models_gpu` + all existing Slack/failure-check infrastructure Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Add optional `machine_types` input (JSON array string) to `self-scheduled.yml`, defaulting to both machine types to preserve existing behavior. Doc test caller passes `["aws-g5-4xlarge-cache"]` to run only on single-gpu. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
test_path_prefix,test_file_suffix) tomodel_jobs.ymlandself-scheduled.yml— defaults preserve all existing behaviorset-matrixstep inself-scheduled.ymlto discover runnable doc examples (files containing```py runnable) whentest_file_suffixis set, emitting one single-element slice per model so each model's doc tests run in a separate parallel jobself-doc-scheduled-caller.yml— a new daily caller that passesjob: run_models_gpuwithtest_path_prefix: docs/source/en/model_docandtest_file_suffix: .md, reusing all existing Slack reporting, failure checking, and artifact infrastructure fromself-scheduled.ymlwithout duplicating any workflow filesTest plan
workflow_dispatchonself-doc-scheduled-caller.ymlrun_doc_tests*to trigger the callerrun_models_gpumatrixself-scheduled-caller.yml) is unaffected (all new inputs are optional with defaults)🤖 Generated with Claude Code