Increase parallelism in smoketest yaml + reduce iterations in PR#1792
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the smoke-test GitHub Actions workflow to reduce provisioning/runtime overhead by increasing job parallelism and reducing repeated scan iterations for non-scheduled runs, while also skipping execution for draft PRs.
Changes:
- Add PR path filtering and skip draft PR executions for the smoke-test job.
- Increase matrix job parallelism from 4 to 6.
- Reduce scan loop iterations to 1 for non-scheduled runs (keeping 10 for scheduled runs).
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/smoke-test.yml | Tweaks workflow triggers/conditions, increases matrix parallelism, and adjusts iteration count to speed up PR smoke test runs. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 2
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pauld-msft
reviewed
Apr 20, 2026
pauld-msft
approved these changes
Apr 20, 2026
…com/microsoft/component-detection into users/grvillic/ImproveSmokeTestYaml
pauld-msft
approved these changes
Apr 20, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1792 +/- ##
============================
============================
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Context
We have seen these smoke test runs take forever to be provisioned. I increased parallelism + reduce number of dotnet scans in PR builds to make them finish faster and made them skip execution for draft PRs.