Skip to content

Fix collection error breaking integration test workflows - #892

Open
bgunebakan wants to merge 1 commit into
mainfrom
fix/cfr-jobstats-collection-error
Open

Fix collection error breaking integration test workflows#892
bgunebakan wants to merge 1 commit into
mainfrom
fix/cfr-jobstats-collection-error

Conversation

@bgunebakan

@bgunebakan bgunebakan commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary of the changes / Why this is an improvement

cratedb_toolkit.cfr.jobstats imports queryanonymizer at module level. That package is only declared in the cfr extra, so the six workflows installing narrow extras (DynamoDB, InfluxDB, Kinesis, MongoDB, NLSQL, PyMongo) failed during pytest.

This PR add the module-level pytest.importorskip guard.

Checklist

  • Link to issue this PR refers to (if applicable): Fixes #???

@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: bf3cb26b-f738-4eb6-bfe8-7544b4be800b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@bgunebakan bgunebakan self-assigned this Aug 20, 2026
@bgunebakan
bgunebakan requested a review from florinutz August 20, 2026 09:00
@bgunebakan bgunebakan added the github_actions Pull requests that update GitHub Actions code label Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant