Repository navigation
ci(templates): Verify deps inside the publish jobs; release tests run before the public publish (backport #2188) - #2189
Merged
agneszitte merged 1 commit intoJul 29, 2026
Conversation
The nuget.org dependency verification was a separate job on each publish path (verify_dependencies_dev / verify_dependencies_prod). On a stable release the prod verify ran automatically right after the internal-feed publish and failed, because the stable deps are not on nuget.org until the end of the release. Fold the verification INTO the publish jobs as their first step instead: - publish_dev (push to main): verify the full closure, then publish the -dev packages. needs: sign (the separate verify_dependencies_dev job is removed). - publish_release_nuget_org (push to release/**): verify the full closure, then publish. Kept behind `environment: Production` (the release approval), so the check runs only when we are actually ready to publish the stable packages -- by then the dependency stables have been published in order. The separate verify_dependencies_prod job is removed; needs: publish_release_uno. generate-test-matrix no longer waits on publish_release_nuget_org, so the test matrix is not blocked by the release approval; it still waits for build + publish_dev / publish_release_uno (internal-feed) to keep the merge-build release path prioritized on the runners. report_dependencies (the non-blocking PR advisory) is unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> (cherry picked from commit 87f0fc5)
This was referenced Aug 7, 2026
This was referenced Aug 27, 2026
This was referenced Sep 4, 2026
This was referenced Sep 14, 2026
This was referenced Sep 21, 2026
This was referenced Oct 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The nuget.org dependency verification was a separate job on each publish path (
verify_dependencies_dev/verify_dependencies_prod). On a stable release merge build this misbehaves:verify_dependencies_prodran automatically right after the internal-feed publish and failed, because stable dependencies (e.g. Uno.Themes/Toolkit) are intentionally not on nuget.org until the end of the release — see the failedVerify Dependencies (pre-publish)on the #2178 merge build.The verification should instead live inside the respective publish job as its first step (after checkout), so it runs exactly when we publish — and on a stable release that means after the release approval, by which point the dependency stables are public.
Change
publish_dev(push tomain): first step (after checkout) verifies the full Uno.* closure on nuget.org, then publishes the-devpackages. Automatic (no approval).needs: sign— separateverify_dependencies_devjob removed.publish_release_nuget_org(push torelease/**): first step (after checkout) verifies the full closure, then publishes + tags. Behind theProductionapproval. Separateverify_dependencies_prodjob removed;needs: publish_release_uno.generate-test-matrixno longer waits onpublish_release_nuget_org, so the release test matrix runs right after the internal-feed publish and not during the wait for the public-publish approval.report_dependencies(the non-blocking PR advisory comment) is unchanged.Publish NuGet.org Production, and the mislabeledUno Feed Publishstep in that job tonuget.org Publish(it invokes the nuget.org publish action).Behaviour by trigger
report_dependenciesmain(dev publish)publish_devrelease/**(public publish)publish_release_nuget_orgStable release flow (two approval gates)
Both release publishes keep
environment: Production, so each is its own approval gate:Tests (step 3) and the public-publish approval (step 4) are independent, so the matrix runs during the window before we go public — the point being that testing takes time. The nuget.org verify runs only after approval 2, when the dependency stables are already public (published in order).
Validated:
ci.ymlparses; job graph has no danglingneedsand no cycles; verify is the first post-checkout step of both publish jobs;generate-test-matrixneeds[build, publish_dev, publish_release_uno]. Scripts untouched (Pester 44/44 unchanged).Related to https://github.com/unoplatform/private/issues/1102
This is an automatic backport of pull request #2188 done by Mergify.