ci: extract Python jobs into path-filtered python.yml - #196
Draft
vlad-scherbich wants to merge 2 commits into
Draft
ci: extract Python jobs into path-filtered python.yml#196vlad-scherbich wants to merge 2 commits into
vlad-scherbich wants to merge 2 commits into
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟡 Changes recommended
schema-validation/ruff were moved out of the nightly-scheduled workflow but the new lint.yml does not include a schedule trigger, reducing nightly coverage unless re-added.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR restructures GitHub Actions CI to avoid non-Python runtime flakes on Python-only pushes by splitting Python jobs into a dedicated, path-filtered workflow and narrowing the remaining monolithic workflow to non-Python scenario paths.
Changes:
- Added
.github/workflows/python.ymlto run Python scenarios onscenarios/python*/**pushes and nightly schedule. - Updated
.github/workflows/ci.ymlto drop Python jobs and trigger only on non-Python scenario path pushes (still runs nightly). - Introduced
.github/workflows/lint.ymlfor always-onschema-validationandruffchecks on every push.
File summaries
| File | Description |
|---|---|
| .github/workflows/python.yml | New path-filtered Python runtime workflow (push paths + nightly schedule). |
| .github/workflows/lint.yml | New always-on lint/schema validation workflow (push-only). |
| .github/workflows/ci.yml | Reduced “leftover” runtime workflow with path filters for non-Python scenarios and nightly schedule. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+3
to
+5
| on: | ||
| push: | ||
| jobs: |
A scenarios/python* only change was starting every language matrix. Nightly and any non-Python-only push still run them all.
A scenarios/python*-only push must not start leftover languages. Cheap lint stays always-on; test.yml edits are treated as shared.
vlad-scherbich
force-pushed
the
vlad/ci-path-filter-python
branch
from
September 10, 2026 14:11
5392f61 to
69500d2
Compare
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.
Description
node flake in python-only change: #202

Moves
python,python 3.14, andpython 3.15into.github/workflows/python.yml.on.push.paths:scenarios/python*/**and this workflow file. Nightly cron is unchanged (0 0 * * *). Nopull_requesttrigger — main is push+schedule only.Leftover
ci.ymldrops those jobs and thechanges/run_othersfilter. Itson.push.pathsarescenarios/{ddprof,dotnet,ruby,node,full_host}*/**plusci.yml, so a Python-only push does not start other languages. Nightly leftover still runs them. Editingci.ymlstill starts leftover runtimes.schema-validationandruffmove to always-onlint.yml(every push, no path filter).test.ymlis not in these path lists. A reusable-workflow edit does not start Python or leftover languages; treat it as shared (run all) — touch each runtime workflow file, or wait for nightly.Testing
A
scenarios/python*-only path list matchespython.ymland misses leftoverci.ymlpaths.Risks
Do not mark
python.ymlrequired. A path-filtered workflow that never starts stays pending.test.ymledits do not start language jobs until nightly or an explicit workflow-file touch.Additional Notes
None.