Skip to content

docs(ci): explain workflow generation and merge-queue lint - #711

Merged
Mandukhai-Alimaa merged 1 commit into
mandukhai/regenerate-workflowsfrom
preserve-workflow-checks
Oct 21, 2026
Merged

Mandukhai-Alimaa merged 1 commit into
mandukhai/regenerate-workflowsfrom
preserve-workflow-checks

Conversation

@Mandukhai-Alimaa

@Mandukhai-Alimaa Mandukhai-Alimaa commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Document Go-only workflow generation, merge-queue lint maintenance, and existing zizmor exceptions.

Stacked on #709, which includes the merge-queue workflow.

@peco-review-bot peco-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: 1 Low

Looks good — a clean CI PR. Coverage workflow rename (Rust Test→Rust Coverage) is consistent end-to-end (artifact name rust-coverage matches upload/download), and merge_queue_lint.yaml's job name and steps mirror dev.yaml's lint & pre-commit job so the required check is reported for merge groups. One low/unverified concern about the .github/zizmor.yaml filename extension vs zizmor's auto-discovery, filed inline. Nit (summary-only): clippy now runs twice on the test jobs — post-test.sh runs cargo clippy --all-targets --all-features -- -D warnings and the subsequent generated clippy step runs cargo clippy --no-deps -A unused_variables -D warnings; this is redundant but appears intentional (the post-test invocation is the stricter one), so no change needed.

Comment thread .github/zizmor.yaml
@@ -0,0 +1,69 @@
# Copyright (c) 2026 ADBC Drivers Contributors

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Low — The exceptions file is named .github/zizmor.yaml (.yaml), but both zizmor invocations (dev.yaml and merge_queue_lint.yaml) run zizmorcore/zizmor-action with no explicit config: input, relying on auto-discovery. zizmor's documented auto-discovery looks for zizmor.yml / .github/zizmor.yml — I could not confirm from here that the .yaml spelling is also discovered. If it is not, this entire exceptions file is silently ignored: the # zizmor: ignore[...] inline comments still work, but every per-rule/per-file suppression here (adhoc-packages, artipacked, excessive-permissions, template-injection, etc.) would have no effect, so either the zizmor step fails on the listed custom workflows or the suppressions give false confidence. Please confirm zizmor v0.6.4 discovers .github/zizmor.yaml; if it only discovers .yml, rename the file (or pass an explicit --config .github/zizmor.yaml). Marked low/unverified since the PR states zizmor currently passes.

@Mandukhai-Alimaa
Mandukhai-Alimaa force-pushed the preserve-workflow-checks branch from e091c8c to 60d8514 Compare October 20, 2026 16:54
@Mandukhai-Alimaa Mandukhai-Alimaa changed the title fix(ci): preserve custom workflow checks fix(ci): preserve merge-queue lint Oct 20, 2026
@Mandukhai-Alimaa
Mandukhai-Alimaa removed this pull request from stack #710 October 20, 2026 16:58
@Mandukhai-Alimaa
Mandukhai-Alimaa added this pull request to stack #717 October 20, 2026 16:59

@peco-review-bot peco-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No issues identified by the review bot.

@Mandukhai-Alimaa
Mandukhai-Alimaa force-pushed the preserve-workflow-checks branch from 60d8514 to 80badf6 Compare October 20, 2026 17:13

@peco-review-bot peco-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No issues identified by the review bot.

@Mandukhai-Alimaa
Mandukhai-Alimaa force-pushed the preserve-workflow-checks branch from 80badf6 to 87f5026 Compare October 21, 2026 13:45

@peco-review-bot peco-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: 1 Medium

Solid, well-scoped change — the merge-queue workflow correctly reproduces the lint & pre-commit check name on merge_group events (which dev.yaml doesn't fire on), so the required status check won't hang. One medium concern: the Python version is already out of sync with dev.yaml, undercutting the PR's own "keep in sync" contract.

- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.x"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium — The setup-python step here pins python-version: "3.x", but the lint job in dev.yaml it is supposed to mirror pins python-version: "3.14" with the explicit comment "Stick to 3.14 as some hooks/dependencies are not ready for 3.15". This is a real divergence in the lint step:

  • "3.x" resolves to the latest available 3.y (e.g. 3.15+), the exact version dev.yaml deliberately avoids. pre-commit hooks that fail under 3.15 would then fail in the merge queue even though the PR check (on 3.14) passed — blocking merges, or masking failures, depending on which side regresses.
  • It directly contradicts this PR's own stated contract. The README added in this PR says the lint & pre-commit job "matches the check from dev.yaml" and "Keep their lint steps in sync." The Python version is part of that lint environment and is out of sync from day one.

Pin the same version as dev.yaml to keep the two checks behaviorally identical.

@Mandukhai-Alimaa
Mandukhai-Alimaa added this pull request to the merge queue Oct 21, 2026
@Mandukhai-Alimaa
Mandukhai-Alimaa removed this pull request from the merge queue due to a manual request Oct 21, 2026
@Mandukhai-Alimaa
Mandukhai-Alimaa force-pushed the preserve-workflow-checks branch from 87f5026 to 94ffed7 Compare October 21, 2026 15:01
@Mandukhai-Alimaa Mandukhai-Alimaa changed the title fix(ci): preserve merge-queue lint docs(ci): explain workflow generation and merge-queue lint Oct 21, 2026
@Mandukhai-Alimaa
Mandukhai-Alimaa added this pull request to the merge queue Oct 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue because a pull request earlier in the stack was removed Oct 21, 2026

@peco-review-bot peco-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: 1 Medium

Docs-only PR; accurate on the parts I could verify (dev.yaml ↔ merge_queue_lint.yaml lint-job parity, and the zizmor.yaml exception categories all check out). One medium concern: the documented generate.toml config doesn't exist anywhere in this checkout, so the regeneration procedure isn't reproducible unless it lands via another PR in the stack.

uvx --from git+https://github.com/adbc-drivers/dev adbc-gen-workflow generate "$(pwd)"
```

`generate.toml` enables only Go. Regeneration leaves the existing Rust workflows,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium — The doc describes a regeneration procedure that relies on generate.toml ("generate.toml enables only Go. Regeneration leaves the existing Rust workflows... unchanged."), but no generate.toml exists anywhere in this checkout — the only occurrence of that name in the repo is this README line. A developer following the documented command (uvx --from ... adbc-gen-workflow generate "$(pwd)") would not find the config the doc says controls generation, so the procedure as written isn't reproducible against the current tree.

If generate.toml is introduced by another PR in this stack that hasn't landed in this branch base (the merge-queue workflow and .github/zizmor.yaml from #709 are present, but this file is not), please confirm the stack ordering so the doc and the config land together. Otherwise the file should be added alongside this doc, or the reference path corrected.

@Mandukhai-Alimaa
Mandukhai-Alimaa force-pushed the preserve-workflow-checks branch from 94ffed7 to d8503ab Compare October 21, 2026 15:15
@Mandukhai-Alimaa
Mandukhai-Alimaa added this pull request to the merge queue Oct 21, 2026

@peco-review-bot peco-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No issues identified by the review bot.

Merged via the queue into main with commit e66b1fb Oct 21, 2026
22 of 28 checks passed
@Mandukhai-Alimaa
Mandukhai-Alimaa deleted the preserve-workflow-checks branch October 21, 2026 16:29
Mandukhai-Alimaa added a commit to Mandukhai-Alimaa/databricks that referenced this pull request Oct 22, 2026
…ers#708)

Update driverbase/ADBC, migrate the Go driver to context-aware APIs, and
regenerate `go/pkg` bindings. Pin lint to Python 3.14 so this PR can
pass merge-queue checks independently.

**Breaking for Go callers:** affected methods now require a context.

Base of the stack: adbc-drivers#708 → adbc-drivers#709 → adbc-drivers#711 → adbc-drivers#713 → adbc-drivers#716 → adbc-drivers#718.
Mandukhai-Alimaa added a commit to Mandukhai-Alimaa/databricks that referenced this pull request Oct 22, 2026
Update the Go validation suite, including shared dictionary-ingestion
coverage, and adapt its pytest hooks, timestamp fixtures, and
documentation generation. Support `--vendor-version latest`.

Stacked on adbc-drivers#711; dictionary binding and ingestion support follows in
adbc-drivers#718.

---------

Signed-off-by: Mandy Alimaa <mandukhaialimaa@gmail.com>
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