Repository navigation
Conversation
jbingham
left a comment
There was a problem hiding this comment.
Thanks for putting this migration together! The WIF auth, pinned action SHAs, and Artifact Registry cleanup look solid overall, and the zizmor/CLA checks are clean. Two workflow issues need to be addressed before we merge:
-
Preserve extracted release notes (
EXIT_GATE_CHANGELOG)
The workflow still runsnode scripts/extract_release_notes.js CHANGELOG.md "${TAG}" release-notes.md, butrelease-notes.mdis no longer wired into the release, which would publish releases with an empty body. Please stage it asEXIT_GATE_CHANGELOGso OSS Exit Gate populates the GitHub Release body (while automatically excluding it from uploaded release assets):cp release-notes.md "${STAGE_DIR}/EXIT_GATE_CHANGELOG" -
Wait for the async GitHub Release to become published before exiting
github-release
Right nowgithub-releasecompletes as soon asmanifest.jsonis uploaded to GCS, whereas Exit Gate publishes asynchronously (~340 MB across 32 assets, including a ~221 MBThreeLiveCompiler.xcframework.zip). Becausepin-spm-manifest(needs: [build-ios, github-release]) immediately force-movesrefs/tags/${TAG}andverify-spm-consumptionimmediatelycurlsThreeLiveCompiler.xcframework.zip, exiting before publishing finishes will race tag movement, causeverify-spm-consumptionto hit404and silently skip verification, and leavegithub-releasegreen even if Exit Gate fails.Could you add a bounded polling step at the end of
github-release(usingGITHUB_TOKEN, which only needscontents: read) that waits up to ~15 minutes forGET /repos/${{ github.repository }}/releases/tags/${RELEASE_TAG}to return HTTP 200 withThreeLiveCompiler.xcframework.zipandThreeLiveKernels.xcframework.zippresent in.assets(failing the job on timeout)? Since Exit Gate creates releases as drafts and only publishes them after all assets upload,/releases/tags/${RELEASE_TAG}returning 200 gives us a clean completion signal.
Once those two updates are in (and we finish the one-time token/handoff setup on our side), I'll approve the remaining CI checks and merge. Thanks again!
Summary
Migrates
three-liveGitHub Releases publishing in.github/workflows/release.ymlto publish through Google's OSS Exit Gate (three-live/githubreleases).Changes
permissions(id-token: write) to the publishing job and pins workflow actions to 40-character commit SHAs (google-github-actions/auth,google-github-actions/setup-gcloud, and pre-existing actions forzizmorcompliance).projects/305452601764/locations/global/workloadIdentityPools/builders/providers/github).oss-exit-gate-prod/three-live--githubreleases) before uploading to avoid stale artifacts.https://us-generic.pkg.dev/oss-exit-gate-prod/three-live--githubreleasesand uploadsmanifest.jsontogs://oss-exit-gate-prod-projects-bucket/three-live/githubreleases/manifests/to trigger the OSS Exit Gate release pipeline.github-release(dist-release/*) to OSS Exit Gate.Verification (Production Smoke Test)
three-live/githubreleases) and infrastructure provisioning are live.google/three-live@v1.5.1:gcloud generic upload OK (three-live-1.5.1.tar.gz)) and GCS manifest upload (gs://oss-exit-gate-prod-projects-bucket/three-live/githubreleases/manifests/manifest-test-1795634083-456.json) passed.References
b/584321192