Skip to content

build: unpin asap_sketchlib rev - #451

Open
milindsrivastava1997 wants to merge 1 commit into
mainfrom
450-unpin-asap_sketchlib-rev-in-workspace-cargotoml
Open

milindsrivastava1997 wants to merge 1 commit into
mainfrom
450-unpin-asap_sketchlib-rev-in-workspace-cargotoml

Conversation

@milindsrivastava1997

Copy link
Copy Markdown
Collaborator

Closes #450.

Why: Downstream repos (ASAPQuery-backend, ASAPCollector) depend on Sketchlib by bare git URL. Cargo treats ?rev=… as a different source, so consumers get two copies of asap_sketchlib and type mismatches once Sketchlib types cross the Planner boundary.

Before this PR

asap_sketchlib = { git = "https://github.com/ProjectASAP/asap_sketchlib", rev = "da3635a8…" }

Lock source: git+…/asap_sketchlib?rev=da3635a8…#da3635a8 — distinct from consumers' git+…/asap_sketchlib#….

After this PR

asap_sketchlib = { git = "https://github.com/ProjectASAP/asap_sketchlib" }

Lock source: git+…/asap_sketchlib#932ab4af (current Sketchlib main), same source identity as consumers. Cargo.lock keeps builds reproducible.

How: Edited the workspace dependency, ran cargo update -p asap_sketchlib. No code changes were needed against Sketchlib main: cargo test --workspace --locked and cargo clippy --workspace --all-targets pass cleanly.

🤖 Generated with Claude Code

@milindsrivastava1997 milindsrivastava1997 linked an issue Sep 18, 2026 that may be closed by this pull request
2 tasks
@milindsrivastava1997 milindsrivastava1997 changed the title build: unpin asap_sketchlib rev in workspace Cargo.toml build: unpin asap_sketchlib rev Sep 18, 2026
@milindsrivastava1997
milindsrivastava1997 force-pushed the 450-unpin-asap_sketchlib-rev-in-workspace-cargotoml branch from 49e702d to aab3074 Compare September 18, 2026 22:02
Downstream repos depend on Sketchlib by bare git URL; Cargo treats ?rev=
as a distinct source, so consumers got two copies of asap_sketchlib.
Cargo.lock keeps builds reproducible.

Closes #450

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@milindsrivastava1997
milindsrivastava1997 force-pushed the 450-unpin-asap_sketchlib-rev-in-workspace-cargotoml branch from aab3074 to 2ebb79c Compare September 18, 2026 22:02
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.

Unpin asap_sketchlib rev in workspace Cargo.toml

1 participant