Skip to content

Bump ripgrep #263124

Closed
Closed

Description

@roblourens

I noticed that our ripgrep build is still on v13 which is pretty old at this point. 14 appears to have some perf improvements https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md. I assume that you own this Osvaldo Ortega (@osortega) although I see that Raymond Zhao (@rzhao271) has worked on it recently too? But I could help you with the process. Easier to update more often for smaller diffs.

https://github.com/microsoft/vscode-ripgrep
https://github.com/microsoft/ripgrep-prebuilt

Activity

  1. rzhao271 commented on Aug 26, 2025

    @rzhao271
    Collaborator

    I'm thinking that Osvaldo can create the PRs and that I can step in if there are new pipeline issues.

    You'll want to update the ripgrep-prebuilt repository, then publish a new version of those binaries by pushing a new tag, then update the vscode-ripgrep repository, and then publish a new version of that npm package with a manual pipeline run.

  2. osortega commented on Sep 9, 2025

    @osortega
    Contributor

    Raymond Zhao (@rzhao271) is working on this now given there's a lot of manual steps that are not documented

  3. rzhao271 commented on Sep 9, 2025

    @rzhao271
    Collaborator

    I realized just now that SteVen and I owned several of the patch files, so it made a lot more sense for me to reapply them anyway. Two of them don't seem to be necessary anymore.

  4. roblourens commented on Sep 9, 2025

    @roblourens
    MemberAuthor

    Raymond Zhao (@rzhao271) please try to document anything that needs to be documented, I thought it used to be fairly straightforward. Thanks for looking at it thouhg.

  5. rzhao271 commented on Sep 11, 2025

    @rzhao271
    Collaborator
  6. rzhao271 commented on Sep 11, 2025

    @rzhao271
    Collaborator

    I finally got the build working again, but it did involve a lot of steps. We still have to test the prebuilt binary and see whether it actually works in VS Code.

    Some of the steps I took include

    • Recreating patch files by checking out BurntSushi/ripgrep at 14.1.1, manually reapplying the changes, and running git diff > mypatchfilename.patch to generate a patch file that I can then copy back into ripgrep-prebuilt
    • Updating the internal Azure DevOps feed that we use
    • Removing some build flags that now turned the build red on the newer version. These removals should not give us new BinSkim alerts.
  7. rzhao271 commented on Sep 11, 2025

    @rzhao271
    Collaborator

    Some other debt items I'd like to work on

    • Moving the ripgrep-prebuilt pipeline to the monacotools ADO so we can delete the vscode-org ADO project.
    • Consolidating the patch files, considering that Windows and non-Windows platforms are patched completely differently nowadays.
  8. simon-id commented on Sep 21, 2025

    @simon-id
    Contributor

    A commit fixing #26574 has been merged in ripgrep's master. The issue has 81 👍 and it really cripples any search in a subdirectory with a lot of ignored files (that are not being ignored because of the bug).
    Would it be possible to wait a bit for next ripgrep release (i assume will be very soon), and bump ripgrep to 14.2.0/14.1.2 instead of 14.1.1 ?
    I see Osvaldo Ortega (@osortega) already bumped the prebuilds to 14.1.1. It's probably better to wait for 14.2.0 and only then update the prebuilds+vscode/ripgrep+vscode, instead of having to go through the whole cycle for both 14.1.1 and 14.2.0 ?

  9. leonheess commented on Sep 22, 2025

    @leonheess

    please listen to simon-id (@simon-id)'s request, everyone working with mono repos struggles with this on a daily basis. we even had to write a script that copies each line of our .gitignore to search.exclude.

  10. 2 remaining items

  11. simon-id commented on Oct 18, 2025

    @simon-id
    Contributor

    Osvaldo Ortega (@osortega) Raymond Zhao (@rzhao271) Ripgrep 15.0.0 was released! It fixes the bugs that were mentioned in a few issues. Can we please please please have it ? :)
    (from what i can see there isn't any breaking change ? except no more builds released for powerpc64)

  12. added
    search
    on Dec 9, 2025
  13. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Jan 30, 2026
  14. locked and limited conversation to collaborators on Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debtinsiders-releasedsearch

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions