Skip to content

perfetto: add workflow to attach LUCI artifacts to draft release#5462

Merged
LalitMaganti merged 1 commit intomainfrom
dev/lalitm/finalize-release-workflow
Apr 14, 2026
Merged

perfetto: add workflow to attach LUCI artifacts to draft release#5462
LalitMaganti merged 1 commit intomainfrom
dev/lalitm/finalize-release-workflow

Conversation

@LalitMaganti
Copy link
Copy Markdown
Member

Manually-triggered workflow that reconciles LUCI-built artifacts into
the matching draft GitHub release once LUCI builds are complete. Reads
from the existing gs://perfetto-luci-artifacts// layout (no
infra changes needed), zips per-arch directories, uploads both those
and the SDK source zips as release assets, and flips the release from
draft to published. Idempotent per RFC-0022.

@LalitMaganti LalitMaganti requested a review from a team as a code owner April 14, 2026 14:25
Comment thread .github/workflows/finalize-release.yml Outdated
@LalitMaganti LalitMaganti force-pushed the dev/lalitm/finalize-release-workflow branch 2 times, most recently from e08a69b to 199761b Compare April 14, 2026 14:29
@LalitMaganti LalitMaganti changed the title perfetto: add finalize-release GitHub Actions workflow perfetto: add finalize-release workflow with LUCI artifact verification Apr 14, 2026
@LalitMaganti LalitMaganti force-pushed the dev/lalitm/finalize-release-workflow branch 2 times, most recently from a80d221 to 414011c Compare April 14, 2026 14:31
Adds .github/workflows/finalize-release.yml — a manually-triggered
workflow that runs after LUCI completes to pull all release artifacts
from GCS, verify they match the expected manifest, and upload them to
the matching draft GitHub release. The release is left as a draft; a
human publishes it manually from the GitHub UI after reviewing the
release notes.

Extends tools/release/package-github-release-artifacts with:
  * --yes flag to bypass the interactive prompt (for CI use).
  * A LUCI artifact manifest + post-rsync verification step that fails
    loudly on anything missing or unexpected under the GCS version dir.
    The manifest mirrors ARTIFACTS / platform list in
    infra/luci/recipes/perfetto.py; drift in either direction is a hard
    error because a silent mismatch would ship an incomplete release.

Also drops the redundant re-download of SDK zips: rsync already pulls
them under <version>/sdk/, so we just move them up to the staging dir
root.

Per RFC-0022 "LUCI -> GitHub bridge".
@LalitMaganti LalitMaganti force-pushed the dev/lalitm/finalize-release-workflow branch from 414011c to 2c6c1f9 Compare April 14, 2026 14:32
@LalitMaganti LalitMaganti changed the title perfetto: add finalize-release workflow with LUCI artifact verification perfetto: add workflow to attach LUCI artifacts to draft release Apr 14, 2026
@LalitMaganti LalitMaganti merged commit 6fde162 into main Apr 14, 2026
19 of 20 checks passed
@LalitMaganti LalitMaganti deleted the dev/lalitm/finalize-release-workflow branch April 14, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants