Skip to content

fix(vis): import the json module from its new home - #252

Merged
prisis merged 1 commit into
nextfrom
fix-next-json-import
Nov 25, 2026
Merged

prisis merged 1 commit into
nextfrom
fix-next-json-import

Conversation

@prisis

@prisis prisis commented Nov 25, 2026

Copy link
Copy Markdown
Member

What

next does not compile after the last merges: run/summary_json.rs and security_list/scan.rs import Json through sort_package_json::json, which is private since the module moved to crate::json (E0603). Each branch built on its own; the combination did not. The two imports now use crate::json.

Checks

cargo clippy -p vis-cli --all-targets is clean, cargo fmt --check passes, and cargo test -p vis-cli passes (500 unit tests plus the integration suites).

🤖 Generated with Claude Code

The run summary and the security scan still imported the JSON type through
`sort_package_json::json`, a path that stopped being public when the module
moved to `crate::json`. Both merged branches compiled alone; together on
`next` the native build failed with E0603.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo did not review this PR because this workspace reached its daily trial limit of 100 reviews. Reviews start again at 00:00 UTC. Choose a plan to continue now.

@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2b38eab7-d0a7-4941-b58a-b355dd93adc0

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
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@prisis
prisis deployed to benchmarks November 25, 2026 11:37 — with GitHub Actions Active
@github-actions github-actions Bot added package: vis size:XS Size of the change, tests and generated files excluded. labels Nov 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions! 🙏

@github-actions github-actions Bot added the vouch:trusted PR author is a collaborator, a bot or on the VOUCHED list. label Nov 25, 2026
@codspeed

codspeed Bot commented Nov 25, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

🆕 3 new benchmarks
⏩ 113 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
🆕 transform/transform_ts[470] N/A 355.3 µs N/A
🆕 transform/transform_ts[47000] N/A 16 ms N/A
🆕 transform/transform_ts[9400] N/A 3.3 ms N/A

Comparing fix-next-json-import (4971b0f) with next (1078fa9)2

Open in CodSpeed

Footnotes

  1. 113 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on next (b2ddc1c) during the generation of this report, so 65c051d was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

This branch was successfully deployed

1 active deployment
benchmarks — 4971b0fa Deployed Nov 25, 2026 by prisis via Bench native (vis) #422
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: vis size:XS Size of the change, tests and generated files excluded. vouch:trusted PR author is a collaborator, a bot or on the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant