Skip to content

Bump to 3.2.0-snapshot and exercise ripgrep in CI#2083

Merged
bbatsov merged 2 commits into
masterfrom
chore/3.2-dev-version-and-rg-ci
Jul 8, 2026
Merged

Bump to 3.2.0-snapshot and exercise ripgrep in CI#2083
bbatsov merged 2 commits into
masterfrom
chore/3.2-dev-version-and-rg-ci

Conversation

@bbatsov

@bbatsov bbatsov commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Two bits of 3.2 dev-cycle housekeeping.

Version metadata. The 3.2.0 features already on master stamp their defcustoms with :package-version 3.2.0, but the Version: header and projectile-version still said 3.1.0. Bumped both to 3.2.0-snapshot so the metadata is consistent (the reviewers flagged the mismatch).

ripgrep in CI. Install rg in the test job so the search reviewer's ripgrep fast-path specs actually run (they self-skip when rg is absent). Added a parity spec asserting the rg fast-path and the portable elisp scan return the same match set over a shared fixture - the core correctness claim of 9bea34e, previously only tested per-branch. Verified locally against a real rg.

889 specs, clean --warnings-as-errors.

bbatsov added 2 commits July 8, 2026 10:55
The 3.2.0 features already landing (sessions, tasks, file kinds, the
reviewable search/replace UI, ...) stamp their defcustoms with
:package-version 3.2.0, but the Version header and projectile-version
were still 3.1.0.  Bump them so the metadata is consistent.
Install ripgrep in the CI test job so the search reviewer's rg fast-path
is actually exercised (the specs self-skip when rg is absent).  Add a
parity spec asserting the rg fast-path and the portable elisp scan return
the same match set over a shared fixture - the core correctness claim of
the fast-path, previously only tested per-branch.

Enabling rg in CI also surfaced a flaky wait helper: the pre-existing rg
specs pumped `accept-process-output' on the scan *process*, which returns
immediately once that process has exited without dispatching its queued
sentinel - so `projectile-search--rg-finish' never ran and the scan flag
never cleared (hung on Emacs 28.2).  Pump the general event loop instead.
@bbatsov bbatsov force-pushed the chore/3.2-dev-version-and-rg-ci branch from 8ac340f to 3002b98 Compare July 8, 2026 08:03
@bbatsov bbatsov merged commit b33b988 into master Jul 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant