Skip to content

Restrict the JSON bytecode runner and import to test builds - #646

Merged
claycuy merged 1 commit into
perf/vmfrom
coderabbit/changes/da042688
Sep 23, 2026
Merged

claycuy merged 1 commit into
perf/vmfrom
coderabbit/changes/da042688

Conversation

@coderabbitai

@coderabbitai coderabbitai Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Add #[cfg(test)] to the JSON bytecode run function and its JsonValue import in rust/src/vm/run.rs, excluding both from non-test builds to address the CI failure targeted by PR #644.

Validation was not run.

View coding task

@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lightvm Ready Ready Preview Sep 23, 2026 2:25am UTC

@coderabbitai

coderabbitai Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor Author

Important

Review skipped

This PR was authored by the user configured for CodeRabbit reviews. CodeRabbit does not review PRs authored by this user. It's recommended to use a dedicated user account to post CodeRabbit review feedback.

⚙️ Run configuration

Configuration used: Repository: soteenstudio/lightvm/.coderabbit.yml

Review profile: CHILL

Plan: Essentials

Run ID: 89932ecf-9cf1-4f8e-b162-a5cb30b53253

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

@github-actions github-actions Bot added the enhancement New feature or request label Sep 23, 2026
@claycuy
claycuy merged commit e02ff08 into perf/vm Sep 23, 2026
5 checks passed
@claycuy
claycuy deleted the coderabbit/changes/da042688 branch September 23, 2026 02:26
claycuy added a commit that referenced this pull request Sep 28, 2026
* Update lib.rs

* 📝 CodeRabbit Chat: Optimize typed VM execution and vector operations (#645)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix(vm): Restrict JSON bytecode runner and its import to test builds (#646)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* 📝 CodeRabbit Chat: Remove redundant JSON conversions from bytecode optimization paths (#647)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* 📝 CodeRabbit Chat: Reuse buffers in instruction parsing, assembly generation, and optimizer passes (#650)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* refactor(carzy): Use writeln! for assembly output (#651)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* 📝 CodeRabbit Chat: Preserve JavaScript benchmark setup state across N-API callbacks (#654)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* 📝 CodeRabbit Chat: Avoid unnecessary clones in atanhv and WASM exports (#655)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Revert "📝 CodeRabbit Chat: Avoid unnecessary clones in atanhv and WASM export…" (#660)

This reverts commit afbd350.

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
Preview — 9ee70a44 Deployed Sep 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant