Ink Upgrade Flicker Validation#645
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
@copilot review but do not make fixes |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
📝 WalkthroughWalkthroughAdds an exported ChangesdeletePromptForKey helper
React 19 / Ink 7 upgrade and polling test adaptation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related issues
🚥 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/ade-cli/package.json`:
- Around line 43-57: Update the dependency set in package.json to use a testing
library version compatible with Ink 7 and React 19, since the current
ink-testing-library peer range only targets Ink 5. Replace the outdated
ink-testing-library entry in the package’s dependencies/devDependencies with a
version that supports Ink 7, keeping the rest of the package manifest aligned
with the existing Node 22 and React 19 setup.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: c31fd914-8320-4ac8-9cf6-c9ad9566be15
⛔ Files ignored due to path filters (3)
apps/ade-cli/package-lock.jsonis excluded by!**/package-lock.json,!**/package-lock.jsondocs/ARCHITECTURE.mdis excluded by!docs/**docs/features/ade-code/README.mdis excluded by!docs/**
📒 Files selected for processing (4)
apps/ade-cli/package.jsonapps/ade-cli/src/tuiClient/__tests__/appInput.test.tsapps/ade-cli/src/tuiClient/__tests__/appPolling.test.tsxapps/ade-cli/src/tuiClient/app.tsx
Refs ADE-102
Summary
Describe the change.
What Changed
Key files and behaviors.
Validation
How you tested.
Risks
Anything to watch.
Linked Linear issues
Summary by CodeRabbit
New Features
Bug Fixes
Greptile Summary
This PR upgrades the ADE Code terminal UI stack and adjusts input-test coverage. The main changes are:
actsetup.Confidence Score: 5/5
The changes appear merge-safe based on the reviewed dependency upgrade, input handling adjustment, test updates, and documentation edits.
No code issues were identified in the reviewed changes, and the updates are focused on the terminal UI stack migration with corresponding test coverage adjustments.
What T-Rex did
Comments Outside Diff (1)
General comment
npm test -- src/tuiClient/__tests__/appInput.test.ts src/tuiClient/__tests__/appPolling.test.tsxexits 1 before running any tests, so the PR's runtime contract for prompt input and polling behavior is not demonstrated by executable tests.yaml:Cannot find module './compose/composer.js', with the require stack reported as/home/user/repo/apps/ade-cli/yaml; appPolling shows this while importingsrc/tuiClient/app.tsxaround its model/provider imports. This prevents both focused suites from loading.yamlresolves to the installed package under node_modules during vitest collection, then rerun the focused TUI tests under Node 22. VerifyappInput.test.tsandappPolling.test.tsxcollect and execute successfully against the Ink 7 / React 19 stack.Reviews (1): Last reviewed commit: "Upgrade ADE Code terminal renderer" | Re-trigger Greptile