Add rattler-build recipe#92
Conversation
|
Caution Review failedFailed to post review comments 📝 WalkthroughWalkthroughThis PR introduces persistent caching infrastructure to the AnnotationGx package via BiocFileCache. Package metadata was updated (version 0.99.5→0.99.7, R dependency 4.6.0→4.5.0), a new caching utility suite added, and API client methods across BioMart, Cellosaurus, ChEMBL, Oncotree, PubChem, and UniChem refactored to use the caching layer. Tests and Conda recipe were added. ChangesPersistent Caching System
Sequence DiagramsequenceDiagram
participant Client as Client Code
participant Fetch as .cache_fetch()
participant Cache as BiocFileCache
participant Disk as Disk Storage
participant API as External API
Client->>Fetch: .cache_fetch(namespace, params, FUN)
Fetch->>Cache: Check cache enabled?
Cache-->>Fetch: Yes (if annotationgx.cache.use = TRUE)
Fetch->>Cache: Look up key (version + namespace + hash(params))
Cache->>Disk: Query by key
Disk-->>Cache: Hit or Miss?
alt Cache Miss
Fetch->>API: Execute FUN (original query logic)
API-->>Fetch: Response data
Fetch->>Cache: Write result to cache
Cache->>Disk: Store with key
Disk-->>Cache: Written
else Cache Hit
Cache-->>Fetch: Return cached object
end
alt Refresh Enabled
Fetch->>API: Always execute FUN (bypass cache)
API-->>Fetch: Response data
end
Fetch-->>Client: Return value
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Primarily for pixi-build support from Git source.
Summary by CodeRabbit
Release Notes
New Features
Changes
Chores