Remove abandoned intent-library bin, harden integration tests, fix lint#148
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR removes the abandoned ChangesIntent Library Removal and Internal Refactoring
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Possibly related issues
Possibly related PRs
Suggested reviewers
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 docstrings
🧪 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 |
|
View your CI Pipeline Execution ↗ for commit 5797311
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
commit: |
Summary
Cleanup branch covering three related changes:
intent-librarybin and scanner (closes Remove the abandoned intent-library bin #143)1. Remove abandoned
intent-librarybin (#143)The old library-bin discovery model was replaced by the keyword-based model and
was dead code. This removes:
src/intent-library.tsandsrc/library-scanner.tstests/library-scanner.test.tsintent-librarybin and./intent-libraryexport frompackages/intent/package.jsontsdownbuild entries andknip.jsonentry listBreaking: anything invoking
intent-librarydirectly must move to the normalintentdiscovery flow. No compatibility shim is provided.2. Harden integration tests
test:integrationtarget tonx.json(cached, depends on build)test:integrationas part of bothtest:ciandtest:prpipelinescli.test.tsrobust acrossplatforms
3. Resolve ESLint errors
cli.ts: extract a testableisMainModule()helper, replacing the top-levelmutable
isMain+ emptycatchwhile (true)directory-walk loops with boundedwhile (dir !== prev)conditions in
excludes.ts,load-resolution.ts,project-context.ts,scanner.ts,utils.ts, andworkspace-patterns.tsimport typeacross affected filesstaleness.tsand redundant optionalchaining in
workflow-review.tsSummary by CodeRabbit
Release Notes
Breaking Changes
intent-librarybinary and./intent-libraryexport from the package.Improvements