Skip to content

Ship reviewers skip the Rust store's generated PostgreSQL search goldens - #9731

Merged
capy-ai[bot] merged 1 commit into
masterfrom
vorflux/review-exclude-search-goldens
Nov 18, 2026
Merged

capy-ai[bot] merged 1 commit into
masterfrom
vorflux/review-exclude-search-goldens

Conversation

@garrytan

Copy link
Copy Markdown
Owner

/ship's reviewers now skip three generated test-data files of the Rust store, the same way they already skip docs and other generated goldens. Nothing changes for gbrain users.
The three files are PostgreSQL search goldens (about 1.7 MB) that regen-search-goldens.ts checks against PostgreSQL 18.6, and they push the Rust keyword-search PR (#9730) over the reviewers' 2 MB diff ceiling.
This PR must land first: gstack reads review_exclude_paths from master only, so a branch cannot exclude its own files.

What changed

  • .gstack/ship-policy.json: review_exclude_paths adds three exact paths, rust/crates/gbrain-store/tests/fixtures/english_stem.tsv, ts_parse.json and tsearch.json. No globs, so a new fixture or code file in that folder stays in the review.
  • CONTRIBUTING.md: names the three files next to the existing docs/** and test/fixtures/goldens/** entries.
  • changelog.d/rust-review-exclude-search-goldens.md: the fragment.

Why

gstack-review-dispatch pass stops when one reader's diff is over 2,000,000 bytes. The diff of #9730 is 2,238,360 bytes, and these three goldens are 1,755,427 of them. Without them it is about 483 KB.

Blast radius

  • Review scope only. The files stay in git, in CI, and under the privacy, gitleaks and doc checks. Every code, test and config line, including the regen script beside them, is still reviewed.
  • The goldens' input columns (hand-written word lists and seeded corpora) are also no longer read by reviewers. Their output columns are what PostgreSQL 18.6 returns, which the regen script proves.

@trunk-io

trunk-io Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@garrytan garrytan added the rust-engine Rust engine work (Vorflux); wakes the landing controller label Nov 18, 2026
@capy-ai capy-ai Bot added the full-ci Maintainer-only: run the full Test and E2E suite on this PR head label Nov 18, 2026
@capy-ai

capy-ai Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Read ab6879e in full (three files: the policy list, the CONTRIBUTING paragraph, the changelog fragment; exact paths, no globs; merges into master 3e9f412 as its own tree). Accepted, and I agree it goes first. full-ci is on at this head, so the head is frozen: push nothing. I land it when Test and E2E are green here; no queue: line is needed for this one.

One condition, and it is on #9730, not here. This PR's case for skipping the three files is that a machine checks them, but nothing in CI runs regen-search-goldens.ts today: it is a hand-run script. Before #9730 queues, add a CI step in the Rust engine workflow that runs the script in check mode against PostgreSQL 18 whenever the three files or the script change, and fails on any difference. Say in #9730's body where the input columns came from (which word list, which seed). If that step cannot run in CI, tell me why on #9730 and I will have the review sample the files instead.

@github-actions github-actions Bot removed the full-ci Maintainer-only: run the full Test and E2E suite on this PR head label Nov 18, 2026
@capy-ai
capy-ai Bot merged commit 45dd4a5 into master Nov 18, 2026
196 of 198 checks passed
@capy-ai

capy-ai Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Landed as 45dd4a5 (one squashed commit with the tree of ab6879e), after I read Test 44363802175 and E2E 44363807489 green at that head. The exclusion is live on master for your next /ship run on #9730. The CI step for regen-search-goldens.ts and the third-party notices are still needed on #9730 before it queues.

garrytan pushed a commit that referenced this pull request Nov 18, 2026
@garrytan garrytan mentioned this pull request Nov 19, 2026
capy-ai Bot added a commit that referenced this pull request Nov 19, 2026
Publishes gbrain v0.60.741.0 from master e50f391, folding the 12 changelog fragments landed since v0.60.740.0.
In it: embedding_disabled stops every route that still sent text to the embedding provider, including reindex work already queued or running (#9723, #9754); the Mac helper can send a one-to-one iMessage for the owner's agent, with nothing installed by upgrading and sending off until the owner turns it on (#9729); duplicate people and companies can be confirmed or rejected (#9701, #9732); the owner's remote credential reads what the local CLI reads (#9707); calls imported before attendee scoping can be fixed with a preview (#9679); the Rust storage engine ships as a library that nothing selects yet (#9688, #9731); plus two small-fix waves (#9710, #9724).
This commit changes only version files, CHANGELOG.md, the upgrade-notice rows and their generated table, and removes the folded fragments.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: garrytan <garrytan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rust-engine Rust engine work (Vorflux); wakes the landing controller

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant