Skip to content

[SPARK-45709][BUILD] Deploy packages when all packages are built - #43561

Closed
EnricoMi wants to merge 1 commit into
apache:masterfrom
G-Research-Forks:publish-snapshot-deploy-at-end
Closed

[SPARK-45709][BUILD] Deploy packages when all packages are built#43561
EnricoMi wants to merge 1 commit into
apache:masterfrom
G-Research-Forks:publish-snapshot-deploy-at-end

Conversation

@EnricoMi

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Packages are deployed after all packages have been built. Currently, individual packages are deployed once they are built.

Why are the changes needed?

When some package fails to build (SPARK_45651), earlier packages have been published already, leading to an inconsistent set of latest snapshots, which might cause ClassNotFoundExceptions like in #43102 (comment). Packages should only be published once all have been built.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Locally: ./build/mvn deploy builds all packages before it attempts to upload any.

Was this patch authored or co-authored using generative AI tooling?

No

@EnricoMi

Copy link
Copy Markdown
ContributorAuthor

CC @HyukjinKwon@LuciferYang

@EnricoMi

Copy link
Copy Markdown
ContributorAuthor

@LuciferYang@HyukjinKwon the publish snapshot workflow keeps failing due to HTTP errors, which still causes inconsistent snapshot packages: https://github.com/apache/spark/actions/workflows/publish_snapshot.yml

Please consider this fix.

@EnricoMi

Copy link
Copy Markdown
ContributorAuthor

@EnricoMi
EnricoMiforce-pushed the publish-snapshot-deploy-at-end branch from e9b8cf8 to 12554e4CompareJanuary 10, 2024 19:47
@github-actions

Copy link
Copy Markdown

We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@EnricoMi