Skip to content

mask-risc: name ndarray by its canonical git coordinate so Quack is consumable by git - #1457

Merged
AdaWorldAPI merged 2 commits into
mainfrom
ccr-1d749cc5-q8s5qs
Oct 10, 2026
Merged

AdaWorldAPI merged 2 commits into
mainfrom
ccr-1d749cc5-q8s5qs

Conversation

@AdaWorldAPI

@AdaWorldAPI AdaWorldAPI commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

Problem

lance-graph-mask-risc declared ndarray = { path = "../../../ndarray" }. That path leaves the lance-graph checkout, so any crate that consumes lance-graph-quack (which depends on mask-risc) by git fails to resolve:

error: no matching package named `ndarray` found
required by package `lance-graph-mask-risc v0.1.0 (https://github.com/AdaWorldAPI/lance-graph?branch=main#c9403ec4)`

This was measured from HubSPO-rs, which needs Quack for its filter compiler (D-QRY-1, AdaWorldAPI/HubSPO-rs#19). The relative path also breaks rule 5 of .claude/knowledge/CARGO-COMPUTE-SUBSTRATE.md: relative cross-repo ndarray paths are forbidden.

Change

  • crates/lance-graph-mask-risc/Cargo.toml: ndarray = { git = "https://github.com/AdaWorldAPI/ndarray", branch = "master", default-features = false, features = ["std"] }.
  • The root Cargo.toml adds [patch."https://github.com/AdaWorldAPI/ndarray"] ndarray = { path = "../ndarray" }. This is the target geometry in §3 of the same doc: this workspace keeps building against the sibling checkout and needs no network for ndarray.
  • The same patch goes into the five standalone workspaces that use mask-risc: r2il-mask-abi-probe, lance-graph-glove-parity, lance-graph-sap, d-diamond-1-probe and lance-graph-dir-sim. Each is its own workspace root, so the root [patch] does not reach them. Without it they would fetch ndarray by git, and d-diamond-1-probe, which also path-deps ndarray directly, would end up with two copies.

Only mask-risc moves. The other crates that use a path dependency on ndarray do not block a git consumer of Quack and stay as they are.

Verified

🤖 Generated with Claude Code

https://claude.ai/code/session_01PPcakjk7ioQsnasmNDtc5z

… it to the sibling

The relative path ../../../ndarray leaves the checkout, so a git consumer
of lance-graph-quack (which depends on mask-risc) could not resolve
ndarray at all. That is CARGO-COMPUTE-SUBSTRATE rule 5. The root
[patch."https://github.com/AdaWorldAPI/ndarray"] points the coordinate
back at ../ndarray, so this workspace keeps one ndarray identity and no
network for it (cargo tree -d unchanged from main).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PPcakjk7ioQsnasmNDtc5z
@coderabbitai

coderabbitai Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab.

Next included review available in 16 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 67 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 103eb7c2-2fb8-4019-ac70-9da43b74f8b4

📥 Commits

Reviewing files that changed from the base of the PR and between c9403ec and aef63af.


📒 Files selected for processing (7)
  • Cargo.toml
  • crates/d-diamond-1-probe/Cargo.toml
  • crates/lance-graph-dir-sim/Cargo.toml
  • crates/lance-graph-glove-parity/Cargo.toml
  • crates/lance-graph-mask-risc/Cargo.toml
  • crates/lance-graph-sap/Cargo.toml
  • crates/r2il-mask-abi-probe/Cargo.toml

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.


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

…e too

r2il-mask-abi-probe, glove-parity, sap, d-diamond-1-probe and dir-sim are
their own workspace roots, so the root [patch] does not reach them.
Without the same patch they would fetch ndarray by git, and
d-diamond-1-probe (which path-deps ndarray directly) would carry two
ndarray identities. cargo tree -i ndarray now shows the one sibling
checkout in each.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PPcakjk7ioQsnasmNDtc5z
@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review October 10, 2026 16:09
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@AdaWorldAPI
AdaWorldAPI merged commit e724d83 into main Oct 10, 2026
12 checks passed
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