Skip to content

CI: leave changes of text alone out of the package jobs - #67

Merged
ekut merged 1 commit into
mainfrom
ci-text-only-changes
Nov 4, 2026
Merged

ekut merged 1 commit into
mainfrom
ci-text-only-changes

Conversation

@ekut

@ekut ekut commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

A release bumps version: in every dbt_project.yml, and a model's description or ai_context reaches every package that reads the model. The path filters ran every package and union job on such a change: #66 (descriptions and the 0.11.1 version lines) ran all 14 jobs.

tests/reach.py runs after dorny/paths-filter (now with list-files: json) and leaves out of each package and union filter the files whose change is text alone:

  • a dbt_project.yml whose only changed line is the top-level version:;
  • an entity equal before and after once every description and ai_context is removed.

The validate job keeps its filter. A file added, deleted or unparsable, a missing base commit or a filter without its file list runs the job.

Checked

The script over past merges, with the filters emulated locally:

Merge paths-filter with tests/reach.py
#66, descriptions and 0.11.1 versions all validate
#59, release 0.9.0 every package and unions none
#56, model texts and orders.platform all validate, shopify, woocommerce, unions
#65, expressions in the sql form all all
#57, documentation none none

Synthetic commits: an expression changed with a description runs shopify, woocommerce and unions; a Shopify SQL change with version bumps everywhere runs shopify and unions only; a dbt_project.yml with another line changed, an unparsable entity and a zero base commit run their jobs.

This pull request changes ci.yml, so it runs every job itself.

🤖 Generated with Claude Code

A dbt_project.yml whose only changed line is its version, and an entity
whose description and ai_context alone changed, no longer run the
package and union jobs: tests/reach.py compares the two commits for the
files dorny/paths-filter matched. Any doubt runs the job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ekut
ekut merged commit ea63b4f into main Nov 4, 2026
15 checks passed
@ekut
ekut deleted the ci-text-only-changes branch November 4, 2026 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant