Repository navigation
ci(repo): report Coded App deployments as GitHub Deployments - #1366
Conversation
21dd706 to
df28921
Compare
Dependency License Review
License distribution
Excluded packages
|
📊 Coverage + size by packagePer-package bundle size on this PR (no JS/TS source changes detected under
"Coverage" is each package's own |
There was a problem hiding this comment.
🟡 Changes recommended
Mutable-ref handling can misattribute deployments and leave older PR deployments active after closure.
1 open finding
What changed in this PR
Moves Coded App reporting from PR comments to GitHub Deployments for preview and production environments.
Changes:
- Adds per-app preview deployment statuses and cleanup.
- Parallelizes production deployments by app.
- Removes the legacy preview-comment implementation.
| File | Description |
|---|---|
.github/workflows/production-deploy.yml |
Adds per-app production environments and matrix deployment. |
.github/workflows/preview-deploy.yml |
Creates, finishes, and deactivates preview deployments. |
.github/scripts/preview-deploy/preview-comment.mjs |
Removes obsolete comment-table handling. |
.github/scripts/preview-deploy/deployments.mjs |
Implements GitHub Deployment API helpers. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
df28921 to
af94f88
Compare
af94f88 to
521d9c1
Compare
Storybook visual diff✅ No stories are affected by this PR's changes; nothing to compare. Logs Updated (PT): Oct 14, 2026, 05:02:39 AM |
Assisted-by: Anthropic:claude-opus-5-5
521d9c1 to
c31bfeb
Compare


TLDR: use github deployments instead of a PR comment, it's much nicer 😄
From this:

To this:

Coded App preview URLs were posted in a PR comment table that two extra jobs kept up to date. They now show up as GitHub Deployments, in the PR timeline and the merge box, and production deploys on
mainreport the same way.Previews: each matrix leg creates a deployment in
preview/<app>for the PR head commit, tagged with a per-PR task. It shows as in progress with a link to the run, then success with the preview URL, or failure. Deployments are markedtransient_environmentso a deploy from another PR doesn't mark this PR's preview inactive. Closing the PR marks its deployments inactive. The comment jobs and script are removed, and only the apollo-design leg still uploads a result artifact, for the visual-diff job.Production: now runs as a per-app matrix using the job-level
environment: production/<app>key with the app URL, instead of four sequential deploys in one job. Turbo cache keys are now per app.Testing limits: not run yet; actionlint wasn't available locally. On this PR, check that each app's preview appears as a deployment, and that two PRs' previews both stay active. Merging will first create the
production/*environments.