Skip to content

feat: enable rust core by default and add non-rust e2e smoke#123

Merged
jy-tan merged 1 commit into
mainfrom
make-rust-path-default
Feb 25, 2026
Merged

feat: enable rust core by default and add non-rust e2e smoke#123
jy-tan merged 1 commit into
mainfrom
make-rust-path-default

Conversation

@jy-tan
Copy link
Copy Markdown
Contributor

@jy-tan jy-tan commented Feb 25, 2026

Summary

Default Rust core usage to on (with fail-open fallback) in the Node SDK, add startup visibility for Rust/fallback state, and add a dedicated non-Rust E2E smoke test to ensure JavaScript fallback paths keep working. Also bump the core binding dependency to drift-core-node 0.1.7.

Changes

  • Make TUSK_USE_RUST_CORE default to enabled when unset, with explicit truthy/falsy parsing (1/true/yes/on and 0/false/no/off) and safe handling of invalid values.
  • Add startup status logging in SDK initialization to report Rust enabled/disabled/fallback decisions and binding load errors.
  • Add a dedicated non-rust-smoke E2E workflow job (http) that runs with TUSK_USE_RUST_CORE=0.
  • Bump @use-tusk/drift-core-node from 0.1.6 to 0.1.7 in package.json and package-lock.json.
  • Update Rust-core docs/environment variable docs to reflect default-on behavior, fallback logging, and compatibility-matrix linkage.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 7 files

@jy-tan jy-tan changed the title feat: default rust core path and add non-rust e2e smoke feat: enable rust core by default and add non-rust e2e smoke Feb 25, 2026
@jy-tan jy-tan merged commit 7263dcd into main Feb 25, 2026
15 checks passed
@jy-tan jy-tan deleted the make-rust-path-default branch February 25, 2026 06:42
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.

2 participants