feat(feature): resolve legacy IDs during dependency resolution#206
Conversation
When a feature's dependsOn references an old/legacy ID, the resolver now checks the legacyIds field of all known features before attempting to fetch from a registry. This maps deprecated feature names to their current counterparts without requiring registry-level redirects.
✅ Deploy Preview for devsydev canceled.
|
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
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. Review rate limit: 0/1 reviews remaining, refill in 53 minutes and 54 seconds.Comment |
Summary
Implements legacy ID lookup during feature dependency resolution. When a feature's
dependsOnreferences an old/legacy ID that no longer exists as a primary feature, the resolver now checks thelegacyIdsfield of all known features to find the current feature that owns that legacy alias. This prevents resolution failures when features are renamed while maintaining backward compatibility through theirlegacyIdsdeclarations.buildLegacyIDMap()helper that maps each legacy ID to its current feature's ConfigIDresolveFeatureDependency()between the primary lookup and the fetch attemptdependsOn