Skip to content

Fold greenlight lambda into the shared lambda release - #8612

Merged
jeanschmidt merged 1 commit into
mainfrom
jeanschmidt/greenlight-proper-release
Aug 24, 2026
Merged

Fold greenlight lambda into the shared lambda release#8612
jeanschmidt merged 1 commit into
mainfrom
jeanschmidt/greenlight-proper-release

Conversation

@jeanschmidt

Copy link
Copy Markdown
Contributor

Impact: Lambda release tooling
Risk: low

What

Retires the standalone greenlight-lambda-release.yml workflow and moves the greenlight zip build into the shared lambda release (_lambda-do-release-runners.yml) as a new build-greenlight-lambda job, so greenlight-scan.zip is published alongside every other lambda under a single v<timestamp> tag. Also adds greenlight/** to the paths that trigger the release-tag workflow.

Why

Greenlight had its own manual workflow_dispatch release cutting greenlight-lambda-v<timestamp> tags, separate from the shared lambda release. Consolidating means one tag, one Release carrying all lambda zips, and an automatic cut on any push to main that touches greenlight/** — no more remembering to run a dedicated workflow.

**Impact:** CI/release tooling only — greenlight deployment flow and its docs
**Risk:** low

## What
Retires the standalone `greenlight-lambda-release.yml` workflow and moves the greenlight zip build into the shared lambda release (`_lambda-do-release-runners.yml`) as a new `build-greenlight-lambda` job, so `greenlight-scan.zip` is published alongside every other lambda under a single `v<timestamp>` tag. Also adds `greenlight/**` to the paths that trigger the release-tag workflow.

## Why
Greenlight had its own manual `workflow_dispatch` release cutting `greenlight-lambda-v<timestamp>` tags, separate from the shared lambda release. Consolidating means one tag, one Release carrying all lambda zips, and an automatic cut on any push to `main` that touches `greenlight/**` — no more remembering to run a dedicated workflow.

# Notes
- The greenlight leg keeps its own mise/uv/just (cp313) toolchain and smoke test rather than the `make deployment.zip` convention, so it's a dedicated job instead of a matrix entry.
- It runs `continue-on-error: true` (same rationale as the advisor-coverage leg): a broken greenlight build omits its zip from the Release instead of blocking the other lambdas. Operators should confirm `greenlight-scan.zip` is present before pinning a tag in the `pytorch-gha-infra-2` Terrafile.
- README and CHEATSHEET updated to describe the new flow.

Signed-off-by: Jean Schmidt <contato@jschmidt.me>
@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
torchci Ignored Ignored Aug 24, 2026 9:45pm

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 24, 2026
@jeanschmidt
jeanschmidt merged commit 4325056 into main Aug 24, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants