chore: cleanup source archive#3390
Conversation
📝 WalkthroughWalkthroughThe Changes
Sequence Diagram(s)sequenceDiagram
participant W as Workflow
participant S as Storage
participant C as Cleanup
W->>W: Evaluate should_deploy_sources
alt should_deploy_sources is true
W->>S: Upload source files to storage
W->>C: Clean up source archive
else
W->>W: Skip deployment and cleanup routines
end
Suggested Reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (1)`**/*.py`: Do not try to improve formatting. Do not suggest ...
⏰ Context from checks skipped due to timeout of 90000ms (30)
🔇 Additional comments (2)
✨ 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:
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 (
|
|
|
tested and confirmed this is working as expected! |
This PR cleans up the source archive if job_deploy_sources send them to remote storage ### QC <!-- Make sure that you can tick the boxes below. --> * [ ] The PR contains a test case for the changes or the changes are already covered by an existing test case. * [ ] 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 - **Refactor** - Optimized the workflow process for handling source file deployment and cleanup by clearly separating the conditions that trigger these actions. - This change improves clarity and consistency, ensuring that source files are managed appropriately during execution. <!-- end of auto-generated comment: release notes by coderabbit.ai -->



This PR cleans up the source archive if job_deploy_sources send them to remote storage
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