Fix hygiene fixture race#638
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe test refactors away temporary fixture file creation and switches to in-memory ESLint linting via ChangesType Import Hygiene Test Migration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 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 |
Release Preflight
If you tag this commit as |
|
@codex Code Lawyer activity summary for PR #638.
Validation evidence:
Merge gate judgment:
|
Closes #637.
Summary
type-import-hygiene-shape.test.tsfrom writing transient fixtures undersrc/domain.ESLint.lintTextwith an existing domain source file as the TypeScript project-service anchor, preserving typed ESLint coverage without creating files matched by broad repo gates.Validation
npm exec vitest run test/unit/scripts/type-import-hygiene-shape.test.tsfailed before the helper change because source-tree fixtures existed during the test.npm exec vitest run test/unit/scripts/type-import-hygiene-shape.test.tsnpm run lint,npm run typecheck, andnpm run test:localrun at the same time all passed.git diff --checknpm run test:localwith 537 files / 7117 tests.Summary by CodeRabbit