Skip to content

ci: run module tests on relevant changes or PR commands - #1202

Open
wgtmac wants to merge 4 commits into
apache:mainfrom
wgtmac:codex/module-ci
Open

wgtmac wants to merge 4 commits into
apache:mainfrom
wgtmac:codex/module-ci

Conversation

@wgtmac

@wgtmac wgtmac commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Summary

AWS and SQL Catalog currently run on most code changes, and the Hive job runs inside the general test workflow. Give each suite its own path filter for pull requests and pushes to main. The filters match module directories, tests in the shared test directory, and build inputs. Changes limited to shared CMake configuration or workflows skip all three suites. Tag pushes no longer start these three suites.

Contributors with write access can request a suite on an open PR with /ci aws, /ci hive, or /ci sql. The command runs the existing test matrix against the PR head SHA, including for forks. The tests get read-only repository and cache access. A separate job posts the tested SHA, outcome, and run link on the PR.

Validation

  • pre-commit run --all-files and git diff --check passed.
  • Checked the path filters against module sources, tests, shared build files, documentation, and unrelated changes. Exercised command parsing, permissions, PR state, and result reporting locally with a mock GitHub CLI.
  • Ran zizmor offline at the repository's severity and confidence thresholds. The live comment flow can be exercised once its workflow is on the default branch.

Codex assisted with implementation and local validation.

This branch has not been deployed

No deployments
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