Skip to content

chore(parser): pin backend PromQL parser revision - #603

Merged
zzylol merged 1 commit into
mainfrom
chore/pin-promql-parser-d7606436
Sep 10, 2026
Merged

zzylol merged 1 commit into
mainfrom
chore/pin-promql-parser-d7606436

Conversation

@milindsrivastava1997

@milindsrivastava1997 milindsrivastava1997 commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Why

Backend root, control-plane, and data-plane parsing previously resolved older parser versions and duplicate direct declarations. They need one reproducible parser source before the VictoriaMetrics frontend migration lands.

What

Pin the workspace parser to ProjectASAP/promql-parser commit d7606436bde05efe19c5398fe2122faa49062f7d. Control plane and data plane inherit that dependency with workspace = true.

How

The workspace root owns the git URL and immutable revision. Member crates declare only the workspace dependency, preventing direct dependency drift.

Before this PR

Backend parsing included crates.io 0.5 and the older ProjectASAP fork revision c51beafb.

After this PR

Every direct backend parser consumer resolves v0.10 from d7606436. The stacked VictoriaMetrics migration removes the remaining old Planner frontend and MetricsQL parser paths.

Verification

  • cargo check -p control_plane --lib
  • cargo fmt -p control_plane -- --check
  • git diff --check

Dependencies and limitations

Planner #385 updates asap-frontend-promql to the same revision. Backend #600 is stacked on this PR and removes the remaining duplicate transitive parser path. This dependency pin alone does not claim acceleration support for newly parsed functions.

@zzylol
zzylol force-pushed the chore/pin-promql-parser-d7606436 branch from 9ab631b to e14930b Compare September 10, 2026 21:25
@zzylol zzylol changed the title chore: pin promql-parser fork chore(parser): pin backend PromQL parser revision Sep 10, 2026
@zzylol
zzylol force-pushed the chore/pin-promql-parser-d7606436 branch from 06e4aae to e14930b Compare September 10, 2026 21:33
@zzylol
zzylol merged commit b7e75b3 into main Sep 10, 2026
1 of 2 checks passed
@zzylol
zzylol deleted the chore/pin-promql-parser-d7606436 branch September 21, 2026 18:39
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