-
-
Notifications
You must be signed in to change notification settings - Fork 4
fix zntrack.from_rev with deps caused by state.fs changes
#931
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
WalkthroughThe changes introduce new integration tests for dependency handling, update the Changes
Sequence Diagram(s)sequenceDiagram
participant Test as Test Function
participant ZnTrack as zntrack.from_rev
participant Converter as NodeConverter
participant FS as Filesystem
Test->>ZnTrack: Call from_rev(node_name, remote, rev)
ZnTrack->>FS: Resolve stage.path_in_repo
ZnTrack->>Converter: Decode node (remote, rev as None if empty)
Converter-->>ZnTrack: Node instance with dependencies
ZnTrack-->>Test: Return loaded node with correct attributes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~15-20 minutes Poem
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 (7)
🧰 Additional context used🧬 Code Graph Analysis (2)zntrack/fields/deps.py (1)
tests/integration/test_from_rev.py (4)
🔇 Additional comments (16)
✨ 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. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
for more information, see https://pre-commit.ci
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #931 +/- ##
==========================================
+ Coverage 88.49% 88.60% +0.11%
==========================================
Files 40 40
Lines 2294 2290 -4
==========================================
- Hits 2030 2029 -1
+ Misses 264 261 -3 ☔ View full report in Codecov by Sentry. |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Summary by CodeRabbit
Tests
Bug Fixes
Nonewhen appropriate.Chores
.gitignoreto exclude.DS_Storefiles.