Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
36854f3
feat(promql): L1-L3 PromQL lowering to intent algebra
zzylol May 20, 2026
fb17ce9
refactor(promql): adopt asapquery-backend control-plane IR architecture
zzylol May 20, 2026
62c2191
docs(promql): explain Binder, positional ColumnId, and CSE with a tra…
zzylol May 22, 2026
133bf61
docs(promql): add unique_keys propagation example
zzylol May 22, 2026
96d2ecd
docs(promql): add input-vs-output ColumnId (2 vs 0) table
zzylol May 22, 2026
5203733
docs(promql): label L3 explicitly in the pipeline diagram
zzylol May 22, 2026
e6a3b18
fix(promql): address PR #5 review — outer-agg drop, histogram, CSE ke…
zzylol May 22, 2026
0e5d7c4
test(promql): add semantic conformance suite vs PromQL spec/cheat-sheet
zzylol May 22, 2026
127e98b
test(promql): semantic-equivalence suite + fix the divergences it exp…
zzylol May 22, 2026
8753094
test(promql): exhaustive query corpus from the three PromQL sources
zzylol May 22, 2026
6b00acc
chore(deps): upgrade promql-parser 0.8 -> 0.9 (more of the corpus par…
zzylol May 22, 2026
95da3d6
chore(deps): vendor promql-parser via private mirror (ProjectASAP/pro…
zzylol May 22, 2026
c5a5f8b
docs: add THIRD_PARTY.md (dependency licenses + promql-parser attribu…
zzylol May 22, 2026
867e143
chore(promql): track private parser `asap` branch (added functions) +…
zzylol May 22, 2026
2c50467
ci: disable Rust CI auto-triggers until private-dep credential is set
zzylol May 22, 2026
17a2876
docs: add intent_algebra reconciliation plan (ASAPController ⇄ contro…
zzylol May 24, 2026
d36c23f
feat(core): make L3 IR SQL-ready — scalar superset, col-carrying AggI…
zzylol May 26, 2026
3f7f360
feat(core): thread per-aggregate input column through L2→L3 convert (D4)
zzylol May 26, 2026
90a9193
feat(core): make L2→L3 convert bottom-up schema-aware for SQL trees
zzylol May 26, 2026
6e235fe
Merge origin/main (#4 SQL lowering) into feat/promql-l1-l3
zzylol May 26, 2026
4594ac6
feat(core): add Project to relational L2 + convert arm (SQL projection)
zzylol May 26, 2026
99c2747
feat(sql): re-target DataFusion front end to emit relational L2 (posi…
zzylol May 26, 2026
bdca7e1
docs+chore: mark #4⇄#5 reconciliation done; fix stale L4 doc comment
zzylol May 26, 2026
6ae087b
feat(sql): wire JOIN front end (LogicalPlan::Join → relational L2 Join)
zzylol May 26, 2026
d96e032
feat(core+sql): thread aggregate output names so Project-over-Aggrega…
zzylol May 26, 2026
f9458d6
feat(core): route tabular GROUP BY through positional Aggregate.by (k…
zzylol May 26, 2026
e97eaaf
refactor(core): split scalar IR into L2Expr (names) + L3Expr (positio…
zzylol May 26, 2026
389fa66
fix(sql): correct three silent-mis-lowering bugs in the SQL aggregate…
zzylol May 27, 2026
d9377f9
fix(promql+sql): reject malformed range-vector args + out-of-range ag…
zzylol May 27, 2026
42c8636
fix(core+promql): resolve HAVING against agg output schema (#5); cap …
zzylol May 27, 2026
6409ef3
feat(sql): restore SQL window functions on the positional IR (#11)
zzylol May 27, 2026
61533c6
fix(sql): alias-qualify schema columns so join keys disambiguate (iss…
zzylol May 27, 2026
e0deef9
fix(promql): reject unary negation instead of silently dropping the sign
zzylol May 27, 2026
1f1f908
fix(lower): drop "PromQL" from the shared UnsupportedFeature label
zzylol May 27, 2026
e0e1b47
test: add regression tests for the review fixes (#7 qualifiers, unary…
zzylol May 27, 2026
fe5d0a2
refactor(core): unify the duplicated operator vocabularies (review A)
zzylol May 27, 2026
1a16657
refactor(core): remove name-based residue from the positional L3 IR (…
zzylol May 27, 2026
e1b309d
feat(core): converge PromQL grouped aggregates onto positional Aggreg…
zzylol May 27, 2026
3356bdf
fix(core): qualify L2 group keys so GROUP BY/PARTITION BY/TopK disamb…
zzylol May 27, 2026
958f786
refactor(core): L2 hygiene — drop dead AggItem.distinct, align alias,…
zzylol May 27, 2026
a7f9c83
refactor(core): unify L2Expr/L3Expr into one generic Expr<C> (L2 revi…
zzylol May 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 37 additions & 15 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,37 @@
name: Rust CI

# TEMPORARILY DISABLED: auto-triggers are off because CI can't fetch the private
# promql-parser dependency until the CARGO_PRIVATE_GIT_TOKEN secret is added (see
# THIRD_PARTY.md). The auth scaffolding below is ready — re-enable the push /
# pull_request triggers once the credential is configured. Manual runs still work.
on:
push:
branches: [ main ]
paths:
- 'crates/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/rust.yml'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: [ main ]
paths:
- 'crates/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/rust.yml'
workflow_dispatch:
# push:
# branches: [ main ]
# paths:
# - 'crates/**'
# - 'Cargo.toml'
# - 'Cargo.lock'
# - '.github/workflows/rust.yml'
# pull_request:
# types: [opened, synchronize, reopened, ready_for_review]
# branches: [ main ]
# paths:
# - 'crates/**'
# - 'Cargo.toml'
# - 'Cargo.lock'
# - '.github/workflows/rust.yml'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always
# The promql-parser dependency is a private git repo (ProjectASAP/promql-parser).
# Cargo must fetch it via the git CLI so it picks up the credential helper
# configured by the "Authenticate private git deps" step below.
CARGO_NET_GIT_FETCH_WITH_CLI: "true"

jobs:
format-and-lint:
Expand All @@ -32,6 +40,13 @@ jobs:
steps:
- uses: actions/checkout@v4

# Grant read access to the private promql-parser mirror. Requires an org/repo
# secret CARGO_PRIVATE_GIT_TOKEN (fine-grained PAT or GitHub App token with
# read access to ProjectASAP/promql-parser).
- name: Authenticate private git deps
run: |
git config --global url."https://x-access-token:${{ secrets.CARGO_PRIVATE_GIT_TOKEN }}@github.com/".insteadOf "/"

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
Expand Down Expand Up @@ -64,6 +79,13 @@ jobs:
steps:
- uses: actions/checkout@v4

# Grant read access to the private promql-parser mirror. Requires an org/repo
# secret CARGO_PRIVATE_GIT_TOKEN (fine-grained PAT or GitHub App token with
# read access to ProjectASAP/promql-parser).
- name: Authenticate private git deps
run: |
git config --global url."https://x-access-token:${{ secrets.CARGO_PRIVATE_GIT_TOKEN }}@github.com/".insteadOf "/"

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
Expand Down
Loading
Loading