Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use engine commit hash when vendoring sources #172

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

staticlibs
Copy link
Contributor

This PR brings duckdb/duckdb-odbc#84 changes to JDBC repo.

Testing: no code changes, no new tests.

This PR brings #duckdb/duckdb-odbc/84 changes to JDBC repo.

Testing: no code changes, no new tests.
@@ -58,6 +59,10 @@ jobs:
run: |
git push -u origin HEAD

- name: Wait for push to complete
if: steps.vendor.outputs.vendor != '' && github.event_name != 'pull_request'
run: sleep 10 # Give GitHub a moment to process the push
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you expand on why this sleep is necessary? Doesn't the push complete otherwise?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

M, I've just copied this bit from the latest ODBC workflow to keep JDBC in sync with it. I will re-check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As an update on this, I've got some input on GH workflows from Carlo, as a result the vendoring process in ODBC is being changed to import engine sources into a separate branch, create a PR on this branch and merge this PR automatically. In this variant the testing workflow is dispatched by triggering the pull_request event instead of a direct dispatch, so we do not need to wait manually until the push completes. I intend to bring the same workflow changes to JDBC once they are approved for ODBC, keeping this PR as a "draft" for now.

@staticlibs staticlibs marked this pull request as draft March 27, 2025 00: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