Skip to content

ci(frontend-deploy): name what is being deployed - #8431

Closed
talissoncosta wants to merge 1 commit into
mainfrom
feat/deploy-card-pr-title
Closed

ci(frontend-deploy): name what is being deployed#8431
talissoncosta wants to merge 1 commit into
mainfrom
feat/deploy-card-pr-title

Conversation

@talissoncosta

Copy link
Copy Markdown
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have read the Contributing Guide.
  • I have added information to docs/ if required so people know about the feature.
  • I have filled in the "Changes" section below.
  • I have filled in the "How did you test this code" section below.

Changes

The deploy cards identify a deploy by short sha, which tells you nothing about what is in it. This adds the pull request title under the headline, linked to the pull request.

No API call and no extra permission. A squash merge puts the title and number in the first line of the commit message as title (#123), and all forty of the last forty commits on main match that shape. A direct push or a merge commit will not, so the number is optional: the title then falls back to the whole first line, unlinked, rather than producing a broken link.

The title goes full width as a context block rather than into the field grid, which is two narrow columns and would wrap a real title badly.

Deploying

Deployed

How did you test this code?

The parsing, against five commit message shapes:

commit message title link
refactor(styles): diff view and code theme on shared tokens (#8069) title without the number /pull/8069
chore: a direct push with no pull request whole line none
squash title plus a multi-line body first line only /pull/8420
empty none, line omitted none
fix: mentions (#123) mid-sentence and ends plainly whole line none, correctly not treated as a reference

That last case is why the pattern is anchored to the end of the line.

The rendering, across all four states with and without a title, confirming the context block appears only when there is one and the block order is otherwise unchanged:

in_progress  no-title: header>section>section>actions   with-title: header>context>section>section>actions
success      no-title: header>section>section>actions   with-title: header>context>section>section>actions
cancelled    no-title: header>section>section>actions   with-title: header>context>section>section>actions
failure      no-title: header>section>section>actions   with-title: header>context>section>section>actions

Both files parse as YAML. Not exercised end to end, since this workflow only runs on push to main. The steps are continue-on-error: true, so nothing here can hold up or fail a deploy.

The cards identified a deploy by short sha, which says nothing about what is
in it. Adds the pull request title under the headline, linked to the pull
request.

No API call is needed. A squash merge puts the title and number in the first
line of the commit message, as "title (#123)", and all of the last forty
commits on main match that. A direct push or a merge commit will not, so the
number is optional and the title falls back to the whole line unlinked.

The title goes full width as a context line rather than into the field grid,
which is two narrow columns and would wrap a real title badly.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 1, 2026

Copy link
Copy Markdown

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

3 Skipped Deployments
Project Deployment Actions Updated
docs Ignored Ignored Sep 1, 2026 4:44pm UTC
flagsmith-frontend-preview Ignored Ignored Sep 1, 2026 4:44pm UTC
flagsmith-frontend-staging Ignored Ignored Sep 1, 2026 4:44pm UTC

Request Review

@github-actions github-actions Bot added the ci-cd Build, test and deployment related label Sep 1, 2026
@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.81%. Comparing base (894bfa4) to head (8d853f9).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8431   +/-   ##
=======================================
  Coverage   98.81%   98.81%           
=======================================
  Files        1621     1621           
  Lines       66118    66118           
=======================================
  Hits        65334    65334           
  Misses        784      784           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cd Build, test and deployment related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant