Skip to content

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

Merged
wgtmac merged 6 commits into
apache:mainfrom
wgtmac:codex/module-ci
Dec 2, 2026
Merged

wgtmac merged 6 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. Filter pull requests by module directory, including S3 and SigV4 for AWS. Changes limited to CMake files, templates, documentation, shared tests, scripts, or workflows skip all three suites. Every push to main and every tag push runs all three full matrices.

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.

@wgtmac

wgtmac commented Dec 2, 2026

Copy link
Copy Markdown
Member Author

/ci sql

@zhjwpku zhjwpku left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@wgtmac
wgtmac merged commit badc318 into apache:main Dec 2, 2026
10 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