-
Notifications
You must be signed in to change notification settings - Fork 617
fix: if asset is present and no sha256 provided assume pass #3685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
📝 WalkthroughWalkthroughThe condition for skipping redeployment of asset files in Changes
Sequence Diagram(s)sequenceDiagram
participant AssetManager
participant FileSystem
AssetManager->>FileSystem: Check if asset file exists
alt Asset SHA256 is None OR file checksum matches asset SHA256
AssetManager-->>FileSystem: Skip redeployment
else
AssetManager->>FileSystem: Redeploy asset file
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5-10 minutes Possibly related PRs
Suggested reviewers
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1)**/*.py⚙️ CodeRabbit Configuration File
Files:
🧠 Learnings (2)📓 Common learningssrc/snakemake/assets/__init__.py (4)Learnt from: johanneskoester Learnt from: johanneskoester Learnt from: johanneskoester Learnt from: kdm9 ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (43)
🔇 Additional comments (1)
✨ Finishing Touches
🧪 Generate unit tests
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 (
|
🤖 I have created a release *beep* *boop* --- ## [9.9.0](v9.8.2...v9.9.0) (2025-07-29) ### Features * python 3.13 support ([#3602](#3602)) ([429cff4](429cff4)) ### Bug Fixes * dag mermaid-js edges (bug:[#3556](#3556)) ([#3669](#3669)) ([c6e2e71](c6e2e71)) * if asset is present and no sha256 provided assume pass ([#3685](#3685)) ([7731175](7731175)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
…e#3685) see snakemake#3684 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved handling of asset redeployment by skipping files with missing SHA256 checksums, reducing unnecessary redeployments. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
🤖 I have created a release *beep* *boop* --- ## [9.9.0](snakemake/snakemake@v9.8.2...v9.9.0) (2025-07-29) ### Features * python 3.13 support ([snakemake#3602](snakemake#3602)) ([429cff4](snakemake@429cff4)) ### Bug Fixes * dag mermaid-js edges (bug:[snakemake#3556](snakemake#3556)) ([snakemake#3669](snakemake#3669)) ([c6e2e71](snakemake@c6e2e71)) * if asset is present and no sha256 provided assume pass ([snakemake#3685](snakemake#3685)) ([7731175](snakemake@7731175)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
see #3684
Summary by CodeRabbit