Skip to content

ci: use targeted path filters for codeql, miri, and missing-suites checks#4303

Open
andygrove wants to merge 1 commit into
apache:mainfrom
andygrove:ci-optimize-triggers
Open

ci: use targeted path filters for codeql, miri, and missing-suites checks#4303
andygrove wants to merge 1 commit into
apache:mainfrom
andygrove:ci-optimize-triggers

Conversation

@andygrove
Copy link
Copy Markdown
Member

@andygrove andygrove commented May 12, 2026

Summary

  • codeql.yml: Add paths allow-list for .github/** on PRs. CodeQL is configured to scan GitHub Actions only (languages: actions), so it doesn't need to run when non-workflow files change.
  • miri.yml: Replace broad paths-ignore with a paths allow-list of just native/**. Miri only runs cargo miri test on Rust code in the native directory, so it doesn't need to trigger on JVM-only changes (spark/, common/, dev/, etc.)
  • pr_missing_suites.yml: Add paths allow-list targeting only the files the check actually inspects — test suite Scala files, the PR build workflows, and the check script itself. Previously ran on every PR regardless of what changed.

Test plan

  • Verify CodeQL still runs on PRs that touch .github/ files
  • Verify miri still runs when native/ Rust code changes
  • Verify missing-suites check runs when adding/removing a *Suite.scala file
  • Verify all three checks are skipped for unrelated changes (e.g., docs-only PRs)

🤖 Generated with Claude Code

…ecks

- codeql.yml: add paths allow-list for .github/** on PRs since CodeQL
  only scans GitHub Actions files
- miri.yml: replace paths-ignore with paths allow-list for native/**
  since Miri only checks Rust code in the native directory
- pr_missing_suites.yml: add paths allow-list for test suite files,
  PR build workflows, and the check script since it only validates
  that *Suite.scala files are listed in CI workflows
@andygrove andygrove force-pushed the ci-optimize-triggers branch from 571dba0 to 65d1943 Compare May 12, 2026 16:52
@andygrove andygrove changed the title ci: use targeted path filters for miri and missing-suites checks ci: use targeted path filters for codeql, miri, and missing-suites checks May 12, 2026
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