Repository navigation
ci(templates): Verify deps inside the publish jobs; release tests run before the public publish - #2188
Merged
Conversation
Member
Author
|
@Mergifyio backport release/stable/6.6 |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adjusts the CI release/publish workflow so nuget.org dependency verification runs inside the relevant publish jobs (as an early step) rather than as separate prerequisite jobs, preventing stable-release merges from failing verification before the release approval/public publish phase.
Changes:
- Removed the standalone dev/prod dependency verification jobs and moved the verification script into
publish_devandpublish_release_nuget_org. - Kept production nuget.org publish behind the
Productionenvironment approval while ensuring tests are no longer blocked by that approval (by removingpublish_release_nuget_orgfrom the test-matrix gating). - Updated workflow documentation/comments to reflect the new gating and ordering intent.
Comments suppressed due to low confidence (2)
.github/workflows/ci.yml:149
- This comment says the verify step is the “First step”, but Checkout runs before it. Consider rewording to “first post-checkout step” to match the actual step order.
# First step: verify the full Uno.* dependency closure is on nuget.org before publishing there.
.github/workflows/ci.yml:199
- This comment says the verify step is the “First step”, but the job performs Checkout first. Rewording to “first post-checkout step” avoids a misleading step-order claim.
# First step: verify the full Uno.* dependency closure is on nuget.org before the public publish.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
✅ Backports have been createdDetails
|
agneszitte
force-pushed
the
dev/agzi/verify-in-publish-jobs
branch
from
July 29, 2026 03:04
d315d63 to
916ac1d
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Comments suppressed due to low confidence (1)
.github/workflows/ci.yml:207
- This step name says it publishes to the Uno feed, but it actually uses the
nuget-org-publishaction and the NuGet.org API key. Renaming it will avoid confusion when reading logs for release runs.
- name: "Uno Feed Publish"
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]>
agneszitte
force-pushed
the
dev/agzi/verify-in-publish-jobs
branch
from
July 29, 2026 03:10
916ac1d to
87f0fc5
Compare
agneszitte
added a commit
that referenced
this pull request
Jul 29, 2026
….6/pr-2188 ci(templates): Verify deps inside the publish jobs; release tests run before the public publish (backport #2188)
This was referenced Sep 3, 2026
This was referenced Sep 14, 2026
This was referenced Sep 21, 2026
This was referenced Oct 8, 2026
This was referenced Oct 19, 2026
This was referenced Nov 7, 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