Skip to content

bridge: pass MathPackages to parse_tokens, unbreaking the crate on main - #334

Merged
GoKubar merged 1 commit into
mainfrom
agent/kabir-claude/bridge-parse-tokens
Sep 14, 2026
Merged

GoKubar merged 1 commit into
mainfrom
agent/kabir-claude/bridge-parse-tokens

Conversation

@GoKubar

@GoKubar GoKubar commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

crates/bridge does not compile its tests on current main (2ad5b9be). 543bde5c gave math::parse_tokens a third parameter and updated the callers inside crates/compiler; crates/bridge is a plain path dependency and its test module still called the two-argument form.

The call sits under #[cfg(test)], so cargo build stayed green and only cargo test failed — which is how it reached main in the first place.

MathPackages::default() is the right value: these probes carry no document, so a feature check should see the kernel's own math rather than an implied package set.

Verified locally: crates/bridge 70 lib tests plus every integration binary, 0 failed.

Two lanes reported this independently tonight; a third checked at an earlier commit and found it green, which it then was — the signature changed afterwards.

543bde5 gave compiler's math::parse_tokens a third parameter (MathPackages)
and updated its callers inside crates/compiler, but crates/bridge is a plain
path dependency and its test module still called the two-argument form. The
call is under #[cfg(test)], so cargo build stayed green and only cargo test
failed -- which is why it reached main.

These probes carry no document, so MathPackages::default() is right: a feature
check should see the kernel's own math, not an implied package set.

Verified: crates/bridge 70 lib tests plus every integration binary, 0 failed.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu
@GoKubar
GoKubar merged commit 8ff630c into main Sep 14, 2026
19 of 20 checks passed
@GoKubar
GoKubar deleted the agent/kabir-claude/bridge-parse-tokens branch September 16, 2026 04:17
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.

1 participant