Skip to content

ci: compute affected integration test dialects from the import graph - #8131

Merged
georgesittas merged 1 commit into
mainfrom
jo/precise_integration_test_runner
Aug 12, 2026
Merged

ci: compute affected integration test dialects from the import graph#8131
georgesittas merged 1 commit into
mainfrom
jo/precise_integration_test_runner

Conversation

@georgesittas

Copy link
Copy Markdown
Collaborator

Replaces the hardcoded path lists in get_integration_test_params.py with a static AST scan of
sqlglot's imports: a changed module triggers a dialect iff the dialect's module (or a module the
test harness imports) transitively imports it, including lazy function-level imports and excluding
TYPE_CHECKING-only ones. Also points the harness at qualify_columns for quote_identifiers so
optimizer.py's rule imports don't drag every optimizer rule into the closures.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

These removals were intentional: nobody did /integration-tests so we will now run exactly what's needed.

This comment was marked as resolved.

@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

SQLGlot Integration Test Results

✅ All tests passed

Comparing:

  • this branch (sqlglot:jo/precise_integration_test_runner @ sqlglot 9141aaa)
  • baseline (main @ sqlglot 5506205)

Overall

main: 182937 total, 160863 passed (pass rate: 87.9%)

sqlglot:jo/precise_integration_test_runner: 182937 total, 160863 passed (pass rate: 87.9%)

Transitions:
No change

✅ All tests passed

@georgesittas
georgesittas force-pushed the jo/precise_integration_test_runner branch from 3ea507e to 3f202a1 Compare August 12, 2026 16:37
@georgesittas
georgesittas merged commit 5506205 into main Aug 12, 2026
8 checks passed
@georgesittas
georgesittas deleted the jo/precise_integration_test_runner branch August 12, 2026 16:39
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.

3 participants