Skip to content

docs(engineering): name the pinned ripgrep in the fresh-clone preparation - #891

Merged
Blind-Striker merged 1 commit into
masterfrom
docs/quality-gates-ripgrep
Nov 15, 2026
Merged

Blind-Striker merged 1 commit into
masterfrom
docs/quality-gates-ripgrep

Conversation

@Blind-Striker

@Blind-Striker Blind-Striker commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

What

quality-gates.md's fresh-clone preparation now names ripgrep. The pinned server's file search (fs.find) runs it, and that section listed Bun, the submodule, its install and the clone detector, but not ripgrep. The README already pointed readers to quality-gates.md for "the versions" of what the fixture-backed tests need, ripgrep among them.

The new paragraph says:

  • a local check puts ripgrep 15.1.0 first on PATH;
  • upstream's resolver takes the first rg on PATH and otherwise downloads that version (external/opencode/packages/core/src/ripgrep/binary.ts, VERSION = "15.1.0");
  • CI places the exact version first on PATH, each archive checked against its SHA-256 digest, so the server never downloads it. .github/actions/setup-pinned-server/action.yml owns the version and the digests; the page cites it rather than copying the digests;
  • without an rg on PATH, FileSystemClientLiveTests fails with HTTP 500 from fs.find. Observed on a macOS gate host: the test failed that way with no rg installed, on the unchanged base of an earlier change too, and passed with ripgrep 15.1.0 first on PATH.

The pin already exists, so no issue was opened.

Local evidence (macOS arm64, head ed91248f content on 85cf65f1)

This PR changes Markdown only, so CI skips OpenCode.Sdk.Tools.Tests, but CanonDescriptionSourceTests reads the canon at run time. The local proof:

  • dotnet build --configuration Release tests/OpenCode.Sdk.Tools.Tests/OpenCode.Sdk.Tools.Tests.csproj: succeeded;
  • OpenCode.Sdk.Tools.Tests [Category!=NativeAot]: 2823 of 2823.

The paragraph adds no table line.

@Blind-Striker Blind-Striker added this to the Next milestone Nov 15, 2026
@Blind-Striker
Blind-Striker added this pull request to the merge queue Nov 15, 2026
Merged via the queue into master with commit 8b9d232 Nov 15, 2026
13 checks passed
@Blind-Striker
Blind-Striker deleted the docs/quality-gates-ripgrep branch November 15, 2026 07:37
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