Skip to content

remove sha from artifacts - #19957

Merged
Mytherin merged 1 commit into
duckdb:v1.4-andiumfrom
c-herrewijn:v1.4-andium
Nov 28, 2025
Merged

Mytherin merged 1 commit into
duckdb:v1.4-andiumfrom
c-herrewijn:v1.4-andium

Conversation

@c-herrewijn

@c-herrewijn c-herrewijn commented Nov 26, 2025

Copy link
Copy Markdown
Member

fix for https://github.com/duckdblabs/duckdb-internal/issues/6712

current situation

As per PR: duckdb/duckdb#19881, the naming of the artifacts changed a bit for nightly builds.

The current situation is now as follows:

nightly triggered extension build

branch name 'v1.4-andium' ends up in the artifact name

Repo Workflow calls with
duckdb-workflow-trigger Workflow-Trigger.yml InvokeCI.yml "git_ref": "v1.4-andium"
duckdb InvokeCI.yml Extensions.yml "git_ref": "git_ref"
duckdb Extensions.yml _extension_distribution.yml "override_duckdb_version": "git_ref"
duckdb _extension_distribution.yml _extension_distribution.yml "duckdb_version": "override_duckdb_version" (fallback github.sha)
extension-ci-tools _extension_distribution.yml uses duckdb_version in artifact name

manually triggered extension build

Repo Workflow calls with
duckdb _manual_extension_deploy.yml _extension_distribution.yml "override_duckdb_version": "duckdb_ref"
duckdb _extension_distribution.yml _extension_distribution.yml "duckdb_version": "override_duckdb_version" (fallback github.sha)
extension-ci-tools _extension_distribution.yml uses duckdb_version in artifact name

extensions in manually triggered release build

git_ref is (typically) not set, so github.sha is used in artifact name

Repo Workflow calls with
github cli InvokeCI.yml "git_ref": not set
duckdb InvokeCI.yml Extensions.yml "git_ref": "git_ref"
duckdb Extensions.yml _extension_distribution.yml "override_duckdb_version": "git_ref"
duckdb _extension_distribution.yml _extension_distribution.yml "duckdb_version": "override_duckdb_version" (fallback github.sha)
extension-ci-tools _extension_distribution.yml uses duckdb_version in artifact name

analysis

For nightly builds, "git_ref": "v1.4-andium" ends up in the name of the extension artifacts, while the process that downloads it expects the ${{ github.sha }} to be in the name instead.
The ${{ github.sha }}, however is not correct, as it is the duckdb sha of CI current run, and not necessarily the duckdb sha used while building the extension.

solution

When downloading the extensions, we no longer filter on the ${{ github.sha }}, as it was not (always) meaningful anyway.

@samansmink samansmink left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks @c-herrewijn!

@Mytherin
Mytherin merged commit 9c1f71d into duckdb:v1.4-andium Nov 28, 2025
23 checks passed
@c-herrewijn
c-herrewijn deleted the v1.4-andium branch November 28, 2025 12:44
github-actions Bot pushed a commit to duckdb/duckdb-r that referenced this pull request Dec 1, 2025
[Fix] Bug in `FetchRow` after update on indexed table with `dict_fsst` compression (duckdb/duckdb#19970)
Unbound index binding with context (duckdb/duckdb#19953)
remove sha from artifacts (duckdb/duckdb#19957)
[TestConfig] Fix `verify_fetch_row` config, reduce duplication in `skip_tests` (duckdb/duckdb#19967)
github-actions Bot added a commit to duckdb/duckdb-r that referenced this pull request Dec 1, 2025
[Fix] Bug in `FetchRow` after update on indexed table with `dict_fsst` compression (duckdb/duckdb#19970)
Unbound index binding with context (duckdb/duckdb#19953)
remove sha from artifacts (duckdb/duckdb#19957)
[TestConfig] Fix `verify_fetch_row` config, reduce duplication in `skip_tests` (duckdb/duckdb#19967)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
@c-herrewijn
c-herrewijn restored the v1.4-andium branch December 1, 2025 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants