Skip to content

refactor(vis): untangle workspace, list and deps - #247

Merged
prisis merged 18 commits into
nextfrom
refactor/vis-native-untangle-workspace-list-deps
Nov 25, 2026
Merged

prisis merged 18 commits into
nextfrom
refactor/vis-native-untangle-workspace-list-deps

Conversation

@prisis

@prisis prisis commented Nov 25, 2026

Copy link
Copy Markdown
Member

Pure refactor of the native workspace, list, deps and config-cache code, with one deliberate change (Q68 below).

Stacked on #246 (refactor/vis-native-routing-table), base next: until that merges, this diff also shows its commits; the ones for this PR start at refactor(vis): move the JSON codec and the in-place writer to neutral modules.

Done

  • Q70 crate::json (strict JSON codec) and crate::fs_write (open_for_write, overwrite) at the crate root; deps, optimize, security-list, sort-package-json and ignore import those.
  • Q71 config_cache: Status enum (#[serde(other)] is a failure, as before) and StoredResult::{NodeOnly, Data} for a stored entry. The entry keeps its on-disk layout (node_only and config), which a new test pins; SCHEMA is unchanged.
  • Q79 create_private() and unique_temp_name() replace the two copies of the exclusive 0600 open and the nanosecond nonce.
  • Q80 affected: git_output() runs git once for the revision diff and the working-tree status (which keep their different failure rules); is_within() is the "file is the project or below it" test.
  • Q77/Q65 workspace::workspace_yaml returns Result<Option<WorkspaceYaml>, Delegate>: Ok(None) is "no YAML lists packages", Err(Delegate) is "not ours to read". The workspace resolver, optimizer and deps share it, and deps checks overrides in the text it already read instead of opening the file twice. deps no longer hard-codes the aube file name. unique() (a set instead of a quadratic scan), is_unignored() and root_is_readable() are written once.
  • Q76 missing-package-json matches on workspace::classify. Every pattern reaching it has already been through classify in data::read, so ./a and ../x/* were already delegated and no shape changes.
  • Q78 is_versioned_external().
  • Q63 Lint enum numbered in run/print order (ALL), Selection as a set, and one Lint::issues for the exit status. workspace-versions and custom-types only ever report a drift (which hands the run to Node before anything is counted) and banned-deps has no policy natively, so none of them can add an issue; this is documented where they are left out. The three printers keep their per-lint blocks.
  • Q75/Q81 the graph is one BTreeMap<String, Project{directory, project_type, edges}>. The unreachable empty-name and __proto__ checks in graph::resolve are gone (the membership refuses both first); their tests moved to workspace.rs.
  • Q62/Q67 leftovers node_reads_pin takes its names from vis_config::NAMES.

One behaviour change (Q68)

vis_config::static_value now builds on object_properties, so a config with a lone-surrogate string key is Dynamic and goes to Node. Before, the value reader accepted it and produced a mangled key ("\u{fffd}d800"), unlike the shared reader. Test a_key_with_a_lone_surrogate_is_not_a_literal_anywhere_in_the_config failed on the old code with Static(Object {"nested": Object {"�d800": 1.0}}) and passes now. A lone surrogate in a string value is still accepted by static_value; I left it.

Not done

  • Q61 (one inference registry and checker): list and targets differ in more than the registry file. list asks project.join(pattern).exists() for the non-JS manifests (case-insensitive volumes match, non-UTF-8 names do not delegate), targets compares entry names exactly and delegates on a non-UTF-8 name; their scripts rules differ too. Merging them changes results on some inputs, and I have no differential test over both fixture sets yet. Both JSON files and their drift tests stay.
  • Q64 (shared gitignore Rules in workspace.rs): the shared matcher also accepts * and ?, which would turn .gitignore lines that are delegated today into native answers. Keeping the narrower validation in front of it would remove only ~35 lines. Left, with its parity as is.
  • Q82 (one package.json read per project in list): the three reads parse different shapes in different modules (membership, graph, list); sharing them means carrying the text through Membership. Left.
  • Q62 (one root-search module with a Manager enum) is out of scope as stated.

Ran locally

  • cargo fmt --check, cargo clippy -p vis-core -p vis-cli --all-targets -- -D warnings, cargo test --workspace: pass.
  • vitest run __tests__/native with FORCE_COLOR=3 (task-runner, secret-scanner and vis addons built, this branch's binary in vis-native-cli): 5620 tests, 5615 passed, 0 failed, 5 skipped by the suites themselves. That includes the list, affected, deps, graph/targets, ignore and config-cache parity files.

🤖 Generated with Claude Code

prisis and others added 13 commits November 25, 2026 00:35
Records, for about three thousand invocations, where the dispatch in main()
sends them: every case of the shared routing fixture, every manifest command
and alias, each routed command word on its own and with a subcommand, a
positional, help flags, a `--` separator and a leading global flag, and the
version flags. The expected answer is written out from the dispatch as it
stands, so the next change to it can show that no route moved.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
main() was one match with the same help guard written about thirty times.
The routes are now rows of (command path, help policy, entry) in route.rs,
looked up by longest path; the odd shapes (`complete --`, `run <target>`,
`__pm-shim`, the version flags) stay explicit arms. Routing is a pure
function, pinned by a snapshot of every row of the shared routing fixture,
every manifest command and alias, and each table word with subcommands, help
flags and leading global flags.

Also drops the stale dead-code allowance on `mod targets`, which three
commands use.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The VIS_VERSION-else-crate-version rule was written out in the help surface,
the config cache and the HTTP user agent as well as the version command.
Self-update keeps its own check, which wants an empty or missing value to
mean "not native".

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… help surface

- term::ColourFlag::parse is the one reader of colour flags; the detection,
  the "looks like a colour flag" hand-off and the surface's global-flag rule
  use it instead of three separate matchers.
- term::Style is the one SGR painter for the help text and the deps report
  (the deps copy re-opened a style after a nested close; the help text is
  byte-identical with that rule, checked over every help page with colour on
  and off).
- surface::answer picks its output from an Intent enum instead of four
  booleans, and completion splits its words with the surface's Request.
- The "no group" help section is an Option key, not a magic string.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The "printable ASCII" and "printable ASCII without a space" checks that gate
a pail block were written out in cache hash, cache clean, clean, sbom and
sort-package-json, with two spellings of the same rule. They now live in
pail next to the layout, whose module documentation states the contract
between the layout and its callers; pail's colour painter uses the shared
Style.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… modules

`crate::json` (the strict JSON reader and `JSON.stringify` writer) and
`crate::fs_write` (Node's `fs.writeFile` semantics) were imported from
sort-package-json and ignore by every command that needs them. They now sit
at the crate root; nothing about them changes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The emitter's status is an enum (an unknown value counts as a failure, as
before) and a stored entry is either "Node's to run" or data, so the
"not Node's, but no data" state cannot be built. The entry keeps its layout
on disk, which a test pins. The exclusive owner-only open and the
unpredictable temporary name are each written once.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ct" test

The revision diff and the working-tree status ran git with the same setup, and
the "file is the project or lies below it" test was written twice.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…redicates

- workspace::workspace_yaml returns the first workspace YAML that lists
  packages together with its text, as Ok(None) for "no YAML lists any" and
  Err(Delegate) for "not ours to read", so the workspace resolver, the
  optimizer and deps share one loop, and deps looks for `overrides` in the
  text it already read instead of opening the file a second time.
- deps no longer hard-codes the aube file name; the workspace module names it.
- The duplicate-removal, the .gitignore filter and the "root is a path we can
  read" test of the workspace module are written once; the duplicate removal
  is a set instead of a quadratic scan.
- missing-package-json classifies each pattern with workspace::classify. Every
  pattern reaching it has been classified already, so no shape changes.
- The "external dependency with a version" test shared by workspace-versions
  and similar-deps is one function.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The selection of `vis deps` was thirteen booleans written out in the flag
parser, the "any selected" check, the issue count, the lint runner and the
three printers. A Lint enum, numbered in the order the lints run and print,
now holds the flag, the issue count and the selection set. The three lints
that never add an issue natively (the two drift lints hand the run to Node
before anything is counted, and banned-deps has no policy here) say so in the
one place that counts.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The literal reader of a config checked an object's properties twice, in two
slightly different ways: the shared reader refused a string key holding a
lone surrogate (it has no UTF-8 form, and the parser stores it mangled),
while the value reader accepted it and produced a key like "\u{fffd}d800".
The value reader now builds on the shared one, so such a config is
dynamic and Node reads it, in the shape the key really has.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The graph held three maps keyed by project name (nodes, edges, directories)
with the name repeated in the values. It is one map of projects now, each with
its directory, type and edges. The checks for an empty and a `__proto__`
name in graph::resolve were unreachable (the membership refuses both first),
so they go, and their tests move to the workspace module that owns the rule.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@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: cd0431ce-1b78-4030-9e57-dbe0f719b058

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

@qodo-code-review

qodo-code-review Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Refactor native CLI routing, workspace, deps, and cache internals

✨ Enhancement 🐞 Bug fix 🧪 Tests 🕐 40+ Minutes

Grey Divider

AI Description

• Replace native command dispatch with a route table and snapshot its existing behavior.
• Share workspace, graph, lint, file-writing, and cache logic across native commands.
• Delegate configs with lone-surrogate object keys to Node instead of treating them as static.
Merge Risk 🟡 Medium

Blast radius 🟢 Low 💥 1 capability

  • 1 affected end-to-end capability after fault-specific containment; implementation boundaries do not widen its functional scope.
  • The route table, shared terminal/output helpers, workspace/config/cache readers, and command modules form one bounded CLI integration.
  • The affected outcome is execution of user-requested Vis commands; workspace analysis, reporting, caching, and file mutation are propagation steps within that integration rather than separate deployment or storage capabilities.
  • The same bounded integration owns command selection and the native-to-Node fallback boundary.
  • A routing or gate regression can prevent the requested command from reaching either the correct native implementation or the preserved Node implementation.
Behavioral complexity 🟡 Medium 🧩 Multiple interactions

  • Before: command selection and several parity-sensitive helpers were distributed across native entry points, with Node fallback decisions made in command-specific paths.
  • After: main dispatches through a centralized longest-prefix route table, while shared workspace, JSON, configuration-cache, terminal/output, graph, and file-write helpers participate in native execution.
  • New correctness conditions are that route precedence, global/help flag handling, native eligibility, Node delegation, output formatting, persisted cache representation, and filesystem effects agree for each command shape.
  • The compatibility characteristic is introduced by preserving Node behavior for unsupported inputs and mixed native/Node command paths.
  • The transformation characteristic applies to workspace/graph/config/JSON parsing and report serialization; it is not inferred merely from use of existing helpers.
  • The follow-up's cfg(unix) annotations only gate platform-specific tests and do not add a production state or transformation condition.
  • Concurrent primitives, retries, or unchanged mapping infrastructure were not treated as complexity by themselves.
Sources

packages/tooling/vis/native/cli/src/config_cache.rs[168-175]

    let data = match (emitted.status, emitted.config.as_ref()) {
        (Status::Ok, Some(config))
            if emitted.uncacheable.is_empty() && !holds_environment_value(config, &emitted.env) =>
        {
            Some(config)
        }
        (Status::Ok | Status::NodeOnly, _) => None,
        (Status::Failed, _) => return None,
Potential damage 🟡 Medium 🩹 Incorrect results

  • If a changed parser, route, parity gate, workspace/config interpretation, graph calculation, serializer, or output helper produces a wrong value while still completing, users can receive incorrect command output or an incorrect report.
  • For mutating commands, an incorrect computed file or cache operation can also change project state.
  • This is conditional on a regression; no specific defect is asserted.
  • Reverting code restores the prior implementation, but any already-written file or cache content may require separate restoration or rerunning the command.
  • Usually recoverable by rerunning with the Node implementation or reverting the binary before the next operation.
  • Persistent file/cache changes are not automatically repaired by code rollback; recovery depends on backups, regeneration, or rerunning the authoritative command.
Sources

packages/tooling/vis/native/cli/src/config_cache.rs[168-175]

    let data = match (emitted.status, emitted.config.as_ref()) {
        (Status::Ok, Some(config))
            if emitted.uncacheable.is_empty() && !holds_environment_value(config, &emitted.env) =>
        {
            Some(config)
        }
        (Status::Ok | Status::NodeOnly, _) => None,
        (Status::Failed, _) => return None,
Assessed commit 61905b3
Diagram

graph TD
  CLI["CLI entry"] --> Route["Route table"] --> Deps["Dependency lints"] --> Workspace["Workspace reader"] --> Graph["Project graph"]
  Route --> Surface["Help surface"]
  Route --> Cache["Config cache"]
  Deps --> Shared["Shared utilities"]
  Cache --> Shared
Loading
High-Level Assessment

Keep the targeted consolidations and the explicit route table: they remove duplicated rules without replacing the native-to-Node delegation contract. A more generic lint or command registry would add abstraction to fixed command and lint sets without a clear benefit; the routing snapshot and cache-layout tests provide useful compatibility checks.

Files changed (34) +4253 / -861

Bug fix (1) +16 / -20
vis_config.rsDelegate lone-surrogate object keys to Node +16/-20

Delegate lone-surrogate object keys to Node

• Reuses object-property validation when extracting static nested objects, making lone-surrogate keys dynamic. Also derives Node-readable config filenames from the shared names list and tests both key positions.

packages/tooling/vis/native/cli/src/vis_config.rs

Refactor (32) +1132 / -841
affected.rsShare Git execution and project containment checks +54/-54

Share Git execution and project containment checks

• Uses one Git runner while retaining the revision-diff and working-tree status failure rules. Reads project roots and edges from the consolidated graph.

packages/tooling/vis/native/cli/src/affected.rs

cache_clean.rsUse the shared printable-path gate +2/-7

Use the shared printable-path gate

• Replaces its local ASCII path check with the shared pail plain-text check.

packages/tooling/vis/native/cli/src/cache_clean.rs

cache_hash.rsMove ASCII output checks to pail +1/-11

Move ASCII output checks to pail

• Removes local plain and printable helpers in favor of shared pail helpers.

packages/tooling/vis/native/cli/src/cache_hash.rs

cache_why.rsImport output gates from pail +2/-3

Import output gates from pail

• Uses pail's shared plain and printable checks instead of importing them through cache_hash.

packages/tooling/vis/native/cli/src/cache_why.rs

clean.rsReuse the shared plain-path check +2/-7

Reuse the shared plain-path check

• Gates paths through pail's shared helper rather than a local equivalent.

packages/tooling/vis/native/cli/src/clean.rs

complete.rsReuse surface request parsing for completion +2/-3

Reuse surface request parsing for completion

• Gets typed command words through the surface request parser instead of separately stripping leading global flags.

packages/tooling/vis/native/cli/src/complete.rs

config_cache.rsType cache results and preserve their disk layout +111/-41

Type cache results and preserve their disk layout

• Introduces emitter status and stored-result enums, retaining the existing cache schema and serialized fields. Shares private-file creation and temporary-name generation, with tests for serialization and unknown statuses.

packages/tooling/vis/native/cli/src/config_cache.rs

data.rsRead workspace patterns and overrides together +12/-17

Read workspace patterns and overrides together

• Consumes the shared workspace YAML result, checks overrides in its already-read text, and references the shared aube filename constant.

packages/tooling/vis/native/cli/src/deps/data.rs

lint.rsUse typed lint selection and shared pattern classification +36/-34

Use typed lint selection and shared pattern classification

• Uses lint variants for selection, shares the versioned-external dependency predicate, and classifies missing-package-json patterns with workspace's classifier.

packages/tooling/vis/native/cli/src/deps/lint.rs

mod.rsCentralize dependency lint identities and issue counts +125/-100

Centralize dependency lint identities and issue counts

• Defines ordered lint variants, flags, set-based selection, and exit-status issue counts. Tests lint ordering and selector behavior.

packages/tooling/vis/native/cli/src/deps/mod.rs

print.rsPrint using typed lint selection and shared styling +39/-81

Print using typed lint selection and shared styling

• Switches human, minimal, and JSON output gates to lint variants while keeping their per-lint blocks. Imports the root JSON codec and terminal style.

packages/tooling/vis/native/cli/src/deps/print.rs

fs_write.rsIntroduce neutral in-place file-writing helpers +21/-0

Introduce neutral in-place file-writing helpers

• Houses the shared open-without-truncating and overwrite operations used by commands that rewrite files with Node-compatible semantics.

packages/tooling/vis/native/cli/src/fs_write.rs

graph.rsConsolidate project graph records +21/-56

Consolidate project graph records

• Replaces separate node, directory, and dependency maps with one map of project records. Moves empty and prototype-name coverage to the workspace membership tests.

packages/tooling/vis/native/cli/src/graph.rs

help.rsUse shared terminal styling and clearer group keys +11/-40

Use shared terminal styling and clearer group keys

• Moves styling to term and represents ungrouped commands with an optional group name rather than a sentinel string.

packages/tooling/vis/native/cli/src/help.rs

mod.rsUse the shared package-version rule +1/-1

Use the shared package-version rule

• Obtains the HTTP client version from node_contract rather than repeating the environment-variable fallback.

packages/tooling/vis/native/cli/src/http/mod.rs

ignore.rsUse neutral in-place writer helpers +3/-18

Use neutral in-place writer helpers

• Removes local file-opening and overwrite implementations and imports them from fs_write.

packages/tooling/vis/native/cli/src/ignore.rs

json.rsMove the strict JSON codec to the crate root +0/-0

Move the strict JSON codec to the crate root

• Relocates the unchanged codec out of sort_package_json so other native commands can import it directly.

packages/tooling/vis/native/cli/src/json.rs

list.rsRead listings from consolidated graph projects +3/-3

Read listings from consolidated graph projects

• Gets each project's directory and type from its single graph record.

packages/tooling/vis/native/cli/src/list.rs

main.rsDispatch commands through the route table +15/-196

Dispatch commands through the route table

• Replaces the large command match with the pure route selector while preserving special-case entry handling and surface fallback. Registers the shared modules and uses the central version helper.

packages/tooling/vis/native/cli/src/main.rs

node_contract.rsCentralize native package-version lookup +6/-0

Centralize native package-version lookup

• Adds the VIS_VERSION-then-crate-version rule used by the CLI, HTTP client, help surface, and config cache.

packages/tooling/vis/native/cli/src/node_contract.rs

mod.rsImport the root JSON codec +2/-2

Import the root JSON codec

• Uses the neutral JSON type and serializer for optimization reports.

packages/tooling/vis/native/cli/src/optimize/mod.rs

pail.rsOwn shared printable-text gates +32/-11

Own shared printable-text gates

• Adds printable ASCII, plain-word, and plain-path checks for commands that must match pail output before printing. Reuses terminal styling for color escapes.

packages/tooling/vis/native/cli/src/pail.rs

replay.rsImport output gates directly from pail +2/-2

Import output gates directly from pail

• Uses the shared plain and printable helpers instead of re-exported cache_hash checks.

packages/tooling/vis/native/cli/src/replay.rs

route.rsDefine and snapshot native command routing +359/-0

Define and snapshot native command routing

• Adds longest-prefix route selection with explicit help policies and special invocations. Tests route coverage and compares generated invocation answers against the routing snapshot.

packages/tooling/vis/native/cli/src/route.rs

bom.rsBuild BOMs from consolidated graph projects +6/-7

Build BOMs from consolidated graph projects

• Uses project records for focus traversal, manifest directories, and component types.

packages/tooling/vis/native/cli/src/sbom/bom.rs

mod.rsShare SBOM output-path validation +2/-7

Share SBOM output-path validation

• Replaces its local printable-path check with pail's plain-path helper.

packages/tooling/vis/native/cli/src/sbom/mod.rs

mod.rsImport the root JSON codec +1/-1

Import the root JSON codec

• Reads JSON types and serialization from the neutral crate-level module.

packages/tooling/vis/native/cli/src/security_list/mod.rs

fields.rsUse the relocated JSON codec for field ordering +2/-2

Use the relocated JSON codec for field ordering

• Imports the root JSON type and updates test imports without changing field-order logic.

packages/tooling/vis/native/cli/src/sort_package_json/fields.rs

mod.rsUse shared JSON, writer, and path checks +5/-11

Use shared JSON, writer, and path checks

• Drops ownership of the JSON module and switches file rewrites and output-path checks to neutral helpers.

packages/tooling/vis/native/cli/src/sort_package_json/mod.rs

surface.rsModel help requests and reuse shared options +69/-42

Model help requests and reuse shared options

• Makes help intent explicit, exposes request parsing to completion, and uses shared color-option, styling, and version rules.

packages/tooling/vis/native/cli/src/surface.rs

term.rsCentralize ANSI styling and color-flag parsing +112/-23

Centralize ANSI styling and color-flag parsing

• Adds reusable styles and a color-flag classifier, retaining the distinction between recognized color spellings and global options. Adds parser tests.

packages/tooling/vis/native/cli/src/term.rs

workspace.rsShare workspace YAML reading and membership helpers +73/-61

Share workspace YAML reading and membership helpers

• Adds a YAML result that distinguishes no package list from delegation and retains the text for deps. Consolidates deduplication, ignore checks, and root validation, with membership tests for unsupported names.

packages/tooling/vis/native/cli/src/workspace.rs

Tests (1) +3105 / -0
native-routes.snapPin native dispatch answers for 3,105 invocations +3105/-0

Pin native dispatch answers for 3,105 invocations

• Records which entry receives fixture, manifest, alias, flag, help, positional, and special-case invocations to detect unintended route changes.

packages/tooling/vis/native/cli/tests/fixtures/native-routes.snap

@qodo-code-review

qodo-code-review Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

Grey Divider

Resolved findings
1. Windows runs fail the routing tests ✓ Resolved Medium

Resolving commit: 61905b3

Resolution reason
The two failing tests (routes_match_the_snapshot and the_rows_are_the_paths_the_snapshot_covers) are
now annotated #[cfg(unix)] with an explanatory comment, so they only run on Unix and no longer fail
on Windows.
Description
COMMAND_PATHS includes Unix-only routes even though ROUTES omits them on Windows, and the
routing snapshot expects those routes too. Running the CLI crate's tests on Windows therefore fails
both the row-coverage check and the snapshot check.

Grey Divider

Tip of the day
💡 Did you know, you can copy the agent prompt from any finding and feed it to your IDE agent

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

prisis and others added 2 commits November 25, 2026 02:07
Four routes (`hook validate`, `implode`, `cache clean`, `cache prune`) are
compiled only on Unix, but the committed snapshot and the list of command
paths name them unconditionally. On Windows the row-count test and the
snapshot comparison therefore fail, because those invocations reach the
surface there. Gate both tests with cfg(unix) and say why in a comment.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Four routes (`hook validate`, `implode`, `cache clean`, `cache prune`) are
compiled only on Unix, but the committed snapshot and the list of command
paths name them unconditionally. On Windows the row-count test and the
snapshot comparison therefore fail, because those invocations reach the
surface there. Gate both tests with cfg(unix) and say why in a comment.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions! 🙏

@github-actions github-actions Bot added the size:XXL Size of the change, tests and generated files excluded. label Nov 25, 2026
@prisis
prisis deployed to benchmarks November 25, 2026 01:42 — with GitHub Actions Active
@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.4 µ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 refactor/vis-native-untangle-workspace-list-deps (f80b2fe) 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 (a65ddee) 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. ↩

@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.

@prisis
prisis deployed to benchmarks November 25, 2026 08:12 — with GitHub Actions Active
@prisis
prisis merged commit f818d1c into next Nov 25, 2026
33 of 34 checks passed

This branch was successfully deployed

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

Labels

package: vis size:XXL 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