Skip to content

Propagate duckdb commit and version to Java.yml#749

Merged
staticlibs merged 3 commits into
duckdb:mainfrom
smvv:dispatch-action
Jul 22, 2026
Merged

Propagate duckdb commit and version to Java.yml#749
staticlibs merged 3 commits into
duckdb:mainfrom
smvv:dispatch-action

Conversation

@smvv

@smvv smvv commented Jul 22, 2026

Copy link
Copy Markdown
Member

Context

This PR is part of the alpha release versions initiative.

The added action sends the release state of the python client back to the release event system.

See also the release event system usage.

Changes

I had to make some CI changes so we can propagate workflow_dispatch values to the CI run.

The flow is now:

  1. duckdb core sends core_ready to Release event system.
  2. Release event system sends a dispatch event to duckdb/duckdb-java/Vendor.yml
  3. Vendor dispatches Java.yml with the required input parameters.
  4. Vendor.yml sends client_ready back to Release event system.

Without the CI job/workflow restructuring, the values for duckdb_version and duckdb_commit were lost when we want to send the client_ready back.


format-check:
name: Format Check
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'vendoring-') }}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

note: we're filtering on the head_ref (= vendoring-*) instead of the base_ref (= main), so pull_request.branch-ignores does not work, unfortunately.

@staticlibs
staticlibs merged commit ad35f05 into duckdb:main Jul 22, 2026
2 checks passed
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