Skip to content

ci: skip unaffected validation jobs#6

Merged
kefeiqian merged 3 commits into
mainfrom
ci/skip-unaffected-checks
Jul 14, 2026
Merged

ci: skip unaffected validation jobs#6
kefeiqian merged 3 commits into
mainfrom
ci/skip-unaffected-checks

Conversation

@kefeiqian

@kefeiqian kefeiqian commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Summary

CI now classifies changed paths before running expensive jobs, so docs- or skills-only PRs no longer spend time on Rust, TUI, or packaging validation that cannot be affected.

Rust checks still run for backend/workspace files such as src/, tests/, Cargo.toml, Cargo.lock, xtask/, scripts, and the CI workflow itself. TUI checks run for tui/, shared Cargo/xtask/script inputs, and the CI workflow itself.

Packaging changes now get their own Node test job for npm and Homebrew helpers instead of being skipped or forcing unrelated Rust/TUI jobs.

Validation

  • ruby -e "require 'yaml'; YAML.load_file('.github/workflows/ci.yml')"
  • git diff --check -- .github/workflows/ci.yml
  • node --test in packaging/npm/kqode
  • node --test in packaging/npm/scripts
  • node --test in packaging/homebrew

Compound Engineering
GPT-5.5

Classify changed paths before running CI so Rust and TUI jobs only execute when their inputs change, while workflow changes still exercise both job families.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4c127c9c-ac00-4a90-be0f-4357720a6a8d
Run Node packaging tests when npm or Homebrew packaging inputs change, keeping packaging-only PRs out of unrelated Rust/TUI jobs while still validating release distribution helpers.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4c127c9c-ac00-4a90-be0f-4357720a6a8d
Prefer the zip command for Windows archive fixtures so Linux CI exercises the same unzip path as production packaging tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4c127c9c-ac00-4a90-be0f-4357720a6a8d
@kefeiqian
kefeiqian merged commit 066af80 into main Jul 14, 2026
5 checks passed
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.

2 participants