fix: skip unnecessary schema validation inside of remote jobs#3601
fix: skip unnecessary schema validation inside of remote jobs#3601johanneskoester merged 2 commits intomainfrom
Conversation
📝 Walkthrough""" WalkthroughThe Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant validate
participant workflow
Caller->>validate: Call validate(workflow, ...)
validate->>workflow: Check modifier.skip_validation
alt skip_validation is true
validate-->>Caller: Return (skip validation)
else remote_exec is true
validate->>workflow: Check remote_exec
validate-->>Caller: Return (skip validation)
else
validate->>validate: Perform schema validation
validate-->>Caller: Return (validation result)
end
""" 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (34)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Please format your code with black: |
🤖 I have created a release *beep* *boop* --- ## [9.5.1](v9.5.0...v9.5.1) (2025-05-23) ### Bug Fixes * format output files in job cleanup message such that their remote query is shown instead of the local copy ([#3600](#3600)) ([91cc3ef](91cc3ef)) * skip unnecessary schema validation inside of remote jobs ([#3601](#3601)) ([9129654](9129654)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
…ake#3601) ### QC <!-- Make sure that you can tick the boxes below. --> * [x] The PR contains a test case for the changes or the changes are already covered by an existing test case. * [x] The documentation (`docs/`) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved workflow execution by skipping redundant schema validation during remote job execution, ensuring smoother and faster remote runs. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
🤖 I have created a release *beep* *boop* --- ## [9.5.1](snakemake/snakemake@v9.5.0...v9.5.1) (2025-05-23) ### Bug Fixes * format output files in job cleanup message such that their remote query is shown instead of the local copy ([snakemake#3600](snakemake#3600)) ([91cc3ef](snakemake@91cc3ef)) * skip unnecessary schema validation inside of remote jobs ([snakemake#3601](snakemake#3601)) ([9129654](snakemake@9129654)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
…ote jobs (snakemake#3601)" This reverts commit 9129654. Config validation can't be skipped entirely because workflows may rely on default setting during validation. See <snakemake#3614> and <snakemake#3923>.
QC
docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).Summary by CodeRabbit