Skip to content

chore: update dependencies and Rust tooling - #106

Merged
jan-kubica merged 14 commits into
mainfrom
chore/deps-rust-tooling
Aug 13, 2026
Merged

chore: update dependencies and Rust tooling#106
jan-kubica merged 14 commits into
mainfrom
chore/deps-rust-tooling

Conversation

@jan-kubica

@jan-kubica jan-kubica commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • update Bun tooling to current stable releases, including TypeScript 7, Node 26 types, Oxc, and Changesets 3
  • adopt Changesets 3 native Oxfmt formatting and add a patch release intent
  • expose a compile-time checked Bon builder for Rust search options, with default and override coverage
  • align the pinned fuzzy-search Rust core with the merged upstream tooling and builder update
  • update Hawk to 0.1.12, harden its pinned installation, and provision Bun in its CI job
  • refresh generated provenance artifacts

Release impact

This requests a patch release of @stll/text-search. The npm dependency range already accepts the next compatible fuzzy-search patch; the Rust core is pinned to the merged upstream revision.

Validation

Bun lint, typecheck, tests, build, Bun/Node runtime smoke tests, version check, Changesets status; Cargo fmt, strict Clippy, workspace tests, WASI check; Hawk 0.1.12, actionlint, and provenance regeneration.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: e491a470-d6b5-4fbc-98a8-3e5d0703492f

📥 Commits

Reviewing files that changed from the base of the PR and between 02b4e42 and bcaa7ad.

📒 Files selected for processing (1)
  • provenance/projects/root/sbom.cdx.json
💤 Files with no reviewable changes (1)
  • provenance/projects/root/sbom.cdx.json

📝 Walkthrough

Walkthrough

The pull request adds a compile-time checked Rust builder for TextSearchOptions, updates Hawk CI checks, refreshes development tooling, updates Changesets configuration, and records Vite 8.2.1 in provenance files.

Changes

Core and tooling updates

Layer / File(s) Summary
Text search options builder
crates/core/Cargo.toml, crates/core/src/lib.rs, .changeset/bright-search-tools.md
The core crate adds bon. TextSearchOptions uses a generated builder with unchanged default values.
Hawk check integration
package.json, .github/workflows/ci.yml
The rust:hawk script centralises Hawk checks. CI updates the Hawk release, Rust toolchain, checksum, setup validation, and invocation.
Tooling and provenance refresh
.changeset/config.json, package.json, provenance/...
Changesets and development dependencies are updated. Vite provenance records now use version 8.2.1.

Estimated code review effort: 2 (Simple) | ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarises the main dependency updates and Rust tooling changes in the pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/deps-rust-tooling

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 02b4e42f78

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/ci.yml

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/ci.yml:
- Line 295: Update the Hawk job before the rust:hawk run step to provision Bun
using oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 (# v2), or
replace the bun run rust:hawk invocation with its equivalent Cargo command.

In `@crates/core/src/lib.rs`:
- Around line 345-370: Add tests covering TextSearchOptions::builder() default
construction and representative field overrides, including regex_chunk_size and
enum-valued fields such as regex_artifact_policy, fuzzy_metric, and
overlap_strategy. Assert that unspecified fields retain the defaults defined in
TextSearchOptions and that explicitly supplied values are preserved.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: cc2c74a8-6fd2-4c69-a4a2-49915aa0c0a7

📥 Commits

Reviewing files that changed from the base of the PR and between fb652e9 and 02b4e42.

⛔ Files ignored due to path filters (2)
  • Cargo.lock is excluded by !**/*.lock
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (9)
  • .changeset/bright-search-tools.md
  • .changeset/config.json
  • .github/workflows/ci.yml
  • crates/core/Cargo.toml
  • crates/core/src/lib.rs
  • package.json
  • provenance/THIRD-PARTY-NOTICES.repo.txt
  • provenance/projects/root/THIRD-PARTY-NOTICES.txt
  • provenance/projects/root/sbom.cdx.json
📜 Review details
🧰 Additional context used
📓 Path-based instructions (2)
**/*

📄 CodeRabbit inference engine (CONTRIBUTING.md)

**/*: Keep each pull request focused on one feature.
Add tests for new functionality.
Run bun test before submitting a pull request.

Files:

  • provenance/projects/root/THIRD-PARTY-NOTICES.txt
  • provenance/THIRD-PARTY-NOTICES.repo.txt
  • crates/core/src/lib.rs
  • crates/core/Cargo.toml
  • provenance/projects/root/sbom.cdx.json
  • package.json
package.json

📄 CodeRabbit inference engine (AGENTS.md)

Keep dependency versions aligned with @stll/aho-corasick, @stll/regex-set, and @stll/fuzzy-search.

Files:

  • package.json
🧠 Learnings (2)
📚 Learning: 2026-07-24T11:25:46.588Z
Learnt from: CR
Repo: stella/text-search PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-07-24T11:25:46.588Z
Learning: Applies to package.json : Keep dependency versions aligned with `stll/aho-corasick`, `stll/regex-set`, and `stll/fuzzy-search`.

Applied to files:

  • package.json
  • .changeset/config.json
📚 Learning: 2026-07-24T11:25:49.484Z
Learnt from: CR
Repo: stella/text-search PR: 0
File: CONTRIBUTING.md:0-0
Timestamp: 2026-07-24T11:25:49.484Z
Learning: Applies to **/* : Run `bun test` before submitting a pull request.

Applied to files:

  • package.json
🔇 Additional comments (11)
crates/core/Cargo.toml (1)

11-11: LGTM!

.changeset/bright-search-tools.md (1)

1-5: LGTM!

.changeset/config.json (1)

2-9: LGTM!

provenance/THIRD-PARTY-NOTICES.repo.txt (1)

9-9: LGTM!

provenance/projects/root/THIRD-PARTY-NOTICES.txt (1)

10-10: LGTM!

provenance/projects/root/sbom.cdx.json (1)

10-10: LGTM!

Also applies to: 57-69

package.json (4)

47-47: LGTM!


65-80: 🗄️ Data Integrity & Integration

Verify the @stll package version alignment before merge.

Compare the changed @stll/*-wasm versions with the corresponding @stll/aho-corasick, @stll/regex-set, and @stll/fuzzy-search versions in all package manifests. The supplied context does not show the reference versions, so this dependency contract is not established.

As per coding guidelines: “Keep dependency versions aligned with @stll/aho-corasick, @stll/regex-set, and @stll/fuzzy-search.”
Based on learnings: “Applies to package.json: Keep dependency versions aligned with stll/aho-corasick, stll/regex-set, and stll/fuzzy-search.”

Sources: Coding guidelines, Learnings


65-80: 🗄️ Data Integrity & Integration

Keep the Bun lockfile consistent with this manifest.

Confirm that the PR updates bun.lock or bun.lockb for these dependency changes. .github/workflows/ci.yml runs bun install --frozen-lockfile in the Lint and Runtime jobs. A stale lockfile will fail those jobs before validation runs.


65-80: 📐 Maintainability & Code Quality

Run the required Bun test command before submission.

Confirm that bun test passes after the dependency and lockfile updates.

As per coding guidelines: “Run bun test before submitting a pull request.”
Based on learnings: “Applies to **/*: Run bun test before submitting a pull request.”

Sources: Coding guidelines, Learnings

.github/workflows/ci.yml (1)

258-260: LGTM!

Also applies to: 272-284

Comment thread .github/workflows/ci.yml
Comment thread crates/core/src/lib.rs

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aaf6c0abfe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/runtime-smoke.mjs Outdated
@jan-kubica
jan-kubica merged commit cc3c8ae into main Aug 13, 2026
19 checks passed
@jan-kubica
jan-kubica deleted the chore/deps-rust-tooling branch August 13, 2026 13:04
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant