Skip to content

Conversation

@avivkeller
Copy link
Member

@avivkeller avivkeller commented Apr 17, 2025

@nodejs/web-infra This is being fast-tracked.

The PR I just merged contained a minor issue: the action would trigger on any label, not just our special one.

Signed-off-by: Aviv Keller <[email protected]>
@avivkeller avivkeller added the fast-track Fast Tracking PRs label Apr 17, 2025
Copilot AI review requested due to automatic review settings April 17, 2025 18:29
@avivkeller avivkeller requested a review from a team as a code owner April 17, 2025 18:29
@vercel
Copy link

vercel bot commented Apr 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Apr 17, 2025 6:36pm

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

.github/workflows/chromatic.yml:42

  • GitHub pull_request_target events typically provide multiple labels as an array rather than a single label object. Consider verifying if 'github.event.label' exists as expected or updating the check to iterate over the labels array to ensure that the intended label is present.
github.event.label.name == 'github_actions:pull-request' &&

@github-actions
Copy link
Contributor

github-actions bot commented Apr 17, 2025

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟢 99 🟢 100 🟢 100 🟢 91 🔗
/en/about 🟢 100 🟢 100 🟢 100 🟢 91 🔗
/en/about/previous-releases 🟢 99 🟢 100 🟢 100 🟢 92 🔗
/en/download 🟠 86 🟢 100 🟢 100 🟢 91 🔗
/en/blog 🟢 100 🟢 100 🟢 96 🟢 92 🔗

@codecov-commenter
Copy link

codecov-commenter commented Apr 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.57%. Comparing base (162cd26) to head (b94b65f).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7659      +/-   ##
==========================================
+ Coverage   74.54%   74.57%   +0.02%     
==========================================
  Files          96       96              
  Lines        7673     7673              
  Branches      194      194              
==========================================
+ Hits         5720     5722       +2     
+ Misses       1951     1949       -2     
  Partials        2        2              

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@avivkeller
Copy link
Member Author

Hey, Codecov works :-)

Copy link
Member

@MattIPv4 MattIPv4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge_group is a trigger here, but the if is never going to let that happen?

It might be useful to have an explainer block for the triggers here, similar to what the old workflow this was pulled out of had?

@avivkeller
Copy link
Member Author

I, for the most part, took this chunk directly out of that workflow, so some parts I missed, like removing the merge_group or verifying the label

@avivkeller avivkeller added this pull request to the merge queue Apr 17, 2025
Merged via the queue into main with commit 03595d1 Apr 17, 2025
16 checks passed
@avivkeller avivkeller deleted the sec/fix branch April 17, 2025 18:45
@avivkeller
Copy link
Member Author

Thanks for the quick approval, @MattIPv4! I know I merged this pretty quickly, but I wanted to avoid cluttering our deployments with unnecessary Storybooks. I was also concerned that a mislabel could trigger a potentially unsafe job. While executing that job still required deliberate maintainer action, it increased the risk of unintentionally launching a Chromatic deployment without proper review.

@ovflowd
Copy link
Member

ovflowd commented Apr 17, 2025

Thanks for the quick approval, @MattIPv4! I know I merged this pretty quickly, but I wanted to avoid cluttering our deployments with unnecessary Storybooks. I was also concerned that a mislabel could trigger a potentially unsafe job. While executing that job still required deliberate maintainer action, it increased the risk of unintentionally launching a Chromatic deployment without proper review.

Fine by me.

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

Labels

fast-track Fast Tracking PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants