Files
discord9 257c2afa1e ci: require the DataFusion pin to live on a merged fork branch
The pin in this PR was `cc5534492`, the head of GreptimeTeam/datafusion#37's PR
branch rather than a commit on `greptimedb-55.1-thin-fork`. Nothing enforced
that, so bumping to the branch head silently dropped #37 and GT's
`partition_pruning_cast` regression came back.

Add `scripts/check-datafusion-pin.sh` and a job in `check-git-deps.yml` that
fails when the pinned revision is not an ancestor of an allowed branch. The
branch is configured per workflow through `DATAFUSION_ALLOWED_BRANCHES`, so a
branch that has to pin somewhere else changes the value instead of the check.

The job runs on `main` and `release/v*` whenever `Cargo.toml` or the script
changes. It fails closed on ambiguity: several different pins, an unreachable
API, or a commit that has diverged from the branch all fail.

Signed-off-by: discord9 <discord9@163.com>
2026-11-10 20:27:16 +08:00
..