Skip to content

Conversation

@tingwai
Copy link
Collaborator

@tingwai tingwai commented Oct 7, 2025

Description

[ What changed? Feel free to be brief. ]

AI Code Review

  • Team members only: AI review runs automatically when PR is opened or marked ready for review
  • Team members can also trigger a review by commenting @continue-review

Checklist

  • [] I've read the contributing guide
  • [] The relevant docs, if any, have been updated or created
  • [] The relevant tests, if any, have been updated or created

Screen recording or screenshot

[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]

Tests

[ What tests were added or updated to ensure the changes work as expected? ]


Summary by cubic

Fixes a flaky TUIChat file search test by simulating real typing. Adds 250ms delays between '@' inputs so TextBuffer doesn’t treat them as a single paste (200ms window), making the test reliable.

@tingwai tingwai requested a review from a team as a code owner October 7, 2025 19:09
@tingwai tingwai requested review from sestinj and removed request for a team October 7, 2025 19:09
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Oct 7, 2025
@tingwai tingwai marked this pull request as draft October 7, 2025 19:09
@github-actions
Copy link

github-actions bot commented Oct 7, 2025

✅ Review Complete

Code Review Summary

⚠️ Continue configuration error. Please verify that the assistant exists in Continue Hub.


Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@tingwai tingwai force-pushed the tingwai/flakey-test branch 2 times, most recently from bb754f7 to e0f382b Compare October 7, 2025 23:28
@tingwai tingwai force-pushed the tingwai/flakey-test branch from e0f382b to 70554f5 Compare October 7, 2025 23:35
@tingwai tingwai marked this pull request as ready for review October 8, 2025 01:22
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Oct 8, 2025
@github-actions
Copy link

github-actions bot commented Oct 8, 2025

✅ Review Complete

Code Review Summary

⚠️ Continue configuration error. Please verify that the assistant exists in Continue Hub.


@tingwai tingwai changed the title fix: flakey test fix: flakey CLI tests Oct 8, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

expect(frame).toContain("Ask anything");
// UI should still be functional and show the typed special characters
// Note: "Ask anything" placeholder is replaced when text is typed
expect(frame).toContain("!@#$%^&*()");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure about this one? Unlike the other changes this one changes the expected behavior.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, up on line 56 we're doing stdin.write("!@#$%^&*()") so this assertion shouldn't be expecting 'Ask anything' which is the placeholder text of the user input box

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Oct 8, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 8, 2025
@sestinj sestinj merged commit 6748434 into main Oct 8, 2025
106 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Oct 8, 2025
@sestinj sestinj deleted the tingwai/flakey-test branch October 8, 2025 14:25
@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2025
@sestinj
Copy link
Contributor

sestinj commented Oct 8, 2025

🎉 This PR is included in version 1.27.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Oct 12, 2025

🎉 This PR is included in version 1.24.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Oct 15, 2025

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm This PR has been approved by a maintainer released size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants