Skip to content

Conversation

@karreiro
Copy link
Contributor

@karreiro karreiro commented Aug 25, 2025

WHY are these changes introduced?

Fixes https://github.com/Shopify/developer-tools-team/issues/741

WHAT is this pull request doing?

This PR updates shopify theme dev to ask for confirmation before running the command with a live theme.

How to test your changes?

  • Run shopify theme dev -t <live_theme_id>
  • Notice the CLI asks for confirmation now

Before:
image

After:
image

Post-release steps

N/A

Measuring impact

How do we know this change was effective? Please choose one:

  • n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
  • Existing analytics will cater for this addition
  • PR includes analytics changes to measure impact

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes

@karreiro karreiro requested review from a team as code owners August 25, 2025 09:08
@github-actions
Copy link
Contributor

github-actions bot commented Aug 25, 2025

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
78.55% (-0.03% 🔻)
13500/17187
🟡 Branches
72.53% (+0.01% 🔼)
6573/9063
🟡 Functions
78.79% (-0.03% 🔻)
3510/4455
🟡 Lines
78.91% (-0.02% 🔻)
12762/16172
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢
... / Dev.tsx
90.59% (-2.35% 🔻)
75% (-1.79% 🔻)
86.36% (-4.55% 🔻)
92.5% (-1.25% 🔻)
🟢
... / ConcurrentOutput.tsx
98.36% (-1.64% 🔻)
92% (-4% 🔻)
100%
98.33% (-1.67% 🔻)
🔴
... / dev.ts
18.18% (-2.87% 🔻)
0% 0%
18.18% (-2.87% 🔻)
🔴
... / theme-ui.ts
47.37% (-21.86% 🔻)
36.36% (-20.78% 🔻)
80% (-20% 🔻)
47.37% (-21.86% 🔻)

Test suite run success

3236 tests passing in 1354 suites.

Report generated by 🧪jest coverage report action from 0d0c8b1

Copy link
Contributor

@EvilGenius13 EvilGenius13 left a comment

Choose a reason for hiding this comment

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

Thank you for the extra guard @karreiro!
🎩 went well

@karreiro karreiro added this pull request to the merge queue Aug 26, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 26, 2025
@karreiro karreiro added this pull request to the merge queue Aug 26, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 26, 2025
@karreiro karreiro added this pull request to the merge queue Aug 29, 2025
Merged via the queue into main with commit 18c534d Aug 29, 2025
2 checks passed
@karreiro karreiro deleted the fix-741 branch August 29, 2025 04:53
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.

4 participants