fix(heritage): PR #142 review fixes (3 cycles)#143
Conversation
Class superClass generics, type-alias resolve, incremental scope expansion, module-level symbol preference, complex extends fallback, recipe dedupe; heritage-resolver tests + new recipe goldens; doc/glossary updates.
Skip resolve for (expression) heritage markers; align type-descendants homonym dedupe with ancestors via scope_local_id ordering; add scoped re-resolve test.
Delete shipped plan per docs-governance; prune roadmap and agent-surface cross-refs; document (expression) heritage rows in recipe help.
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR finalizes type heritage resolution edge cases following the substrate completion (PR ChangesType heritage resolution and recipes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
🚥 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 docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add 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 |
🦋 Changeset detectedLatest commit: af6391a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Resolve default-import bases; expand incremental scope for re-export barrel importers; homonym dedupe on ancestor start symbols; align type kind filters; doc/changeset parity updates.
Add persistTypeHeritageResolution unit test and run-index incremental test proving scoped heritage re-resolve updates DB rows.
Summary
Post-merge review of #142 (
type_heritagesubstrate) across 6 subagent review cycles:(expression)sentinel, homonym SQL dedupe,heritage-resolvertests + recipe goldens, plan doc closurepersistTypeHeritageResolutionunit test + incrementalrun-indexe2eTest plan
bun test src/extractors/heritage.test.ts src/application/heritage-resolver.test.tsbun test src/application/run-index.test.ts(incremental heritage e2e)bun run test:goldenSummary by CodeRabbit
Release Notes
Documentation
Bug Fixes
Tests