Replace default CI test products with Core and Telegraf#6812
Merged
jstirnaman merged 6 commits intoclaude/add-codeblock-ci-tests-jRvG9from Feb 11, 2026
Merged
Replace default CI test products with Core and Telegraf#6812jstirnaman merged 6 commits intoclaude/add-codeblock-ci-tests-jRvG9from
jstirnaman merged 6 commits intoclaude/add-codeblock-ci-tests-jRvG9from
Conversation
Contributor
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Copilot
AI
changed the title
[WIP] Update CI workflow for code-block testing per review feedback
Replace default CI test products with Core and Telegraf
Feb 11, 2026
- Add support for all products: core, enterprise, v2, v1, telegraf, cloud, cloud-dedicated, cloud-serverless, clustered, explorer - Define default test group (core + telegraf) when no product specified - Exclude cloud products from automatic CI (manual dispatch only) - Add placeholder scripts for products without pytest services - Normalize product name handling (core, influxdb3_core, influxdb3-core) - Log informative messages when excluded products' content changes
cf165bd to
61dc1fc
Compare
jstirnaman
approved these changes
Feb 11, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the docs CI code-block testing defaults to prioritize current products (InfluxDB 3 Core + Telegraf) instead of legacy defaults, and adds supporting test scripts for Core.
Changes:
- Add
test:codeblocks:influxdb3_coreand a newtest:codeblocks:defaultscript inpackage.json. - Update
.github/workflows/test.ymlto support manual selection of products (comma-separated input) and default to a Core + Telegraf group when nothing is specified. - Adjust PR-change detection defaults so automatic CI runs focus on Core + Telegraf.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| package.json | Adds Core test script(s) and placeholder scripts for products without configured pytest services. |
| .github/workflows/test.yml | Switches manual-dispatch inputs to product-based selection and changes default CI product selection toward Core + Telegraf. |
- Remove pull_request trigger, keep only workflow_dispatch - Change all exit codes to 0 so workflow never blocks PRs - Use warnings instead of errors for failed tests - Simplify job from detect-changes to parse-inputs
…ution - PRs now trigger detection-only mode that suggests which products to test - Actual test execution only runs via manual workflow_dispatch - Add detect-test-products.js script using existing content-utils library - Properly resolve shared content to affected product pages - Non-blocking: PRs won't fail due to codeblock test issues
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>
Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>
83db31c
into
claude/add-codeblock-ci-tests-jRvG9
1 check was pending
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.
Plan: Address review feedback
Summary
Successfully addressed review feedback about handling invalid product inputs:
Changes Made (commits 3f0bd35, 801988b)
Added validation guard after parsing the comma-separated products input
use_default_group=true: Falls back to default group (Core + Telegraf) with warning messageuse_default_group=false: Fails workflow with clear error message (exit 1)Fixed inconsistency by removing redundant
has-changes=falseoutput beforeexit 1The workflow now properly handles edge cases where users provide only unknown/unsupported product values, preventing silent failures with empty test matrices.
Validation
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.