Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 5.3.9104] Context: fix bug with result limits #62054

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

sourcegraph-release-bot
Copy link
Collaborator

While writing eval scripts for Cody context, I noticed that when searching
multiple repos, we sometimes we return greater than the intended number of
results. This PR makes a small fix so we always respect the result limits.

Test plan

This is hard to check through automated tests since it requires a certain set
of concurrent steps to occur. I tested manually before and after the change and
this fixed it.
Backport 6a4ac36 from #61806

While writing eval scripts for Cody context, I noticed that when searching
multiple repos, we sometimes we return greater than the intended number of
results. This PR makes a small fix so we always respect the result limits.

(cherry picked from commit 6a4ac36)
@BolajiOlajide BolajiOlajide merged commit ece951a into 5.3.9104 Apr 22, 2024
17 checks passed
@BolajiOlajide BolajiOlajide deleted the backport-61806-to-5.3.9104 branch April 22, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants