Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.59] Fix shopify theme dev and shopify theme console proxies following session changes and bring back the legacy shopify theme push implementation in CI/CD workflows #3769

Merged
merged 1 commit into from Apr 22, 2024

Conversation

karreiro
Copy link
Contributor

@karreiro karreiro commented Apr 22, 2024

WHY are these changes introduced?

Fixes regressions in the hot-reload mechanism on shopify theme dev and shopify theme console due to platform changes at session. Additionally, it brings the legacy shopify theme push implementation back in CI workflows.

WHAT is this pull request doing?

  • To fix shopify theme dev and shopify theme console proxies, this PR changes the session cookie from _secure_session_id from _shopify_essential
  • To fix report regarding regression involving the .shopifyignore/--ignore/--only, this PR adopts the legacy implementation in CI/CDs workflows (bringing the implementation back to the same state it was on 3.58.2)

How to test your changes?

Proxy

  • Before
  • After

CI/CD workflows

  • Before
  • After

Post-release steps

None.

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
  • I've made sure that any changes to dev or deploy have been reflected in the internal flowchart.

Copy link
Contributor

Thanks for your contribution!

Depending on what you are working on, you may want to request a review from a Shopify team:

  • Themes: @shopify/advanced-edits
  • UI extensions: @shopify/ui-extensions-cli
    • Checkout UI extensions: @shopify/checkout-ui-extensions-api-stewardship
  • Hydrogen: @shopify/hydrogen
  • Other: @shopify/cli-foundations

Copy link
Contributor

github-actions bot commented Apr 22, 2024

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 72.01% 6930/9623
🟡 Branches 69.1% 3413/4939
🟡 Functions 71.19% 1851/2600
🟡 Lines 73.29% 6535/8917

Test suite run success

1653 tests passing in 765 suites.

Report generated by 🧪jest coverage report action from 3deb6a4

@karreiro karreiro changed the title [3.59] Fix shopify theme dev and shopify theme console proxies [3.59] Fix shopify theme dev and shopify theme console proxies following session changes and bring back the legacy shopify theme push implementation in CI/CD workflows Apr 22, 2024
…llowing session changes and bring the legacy `shopify theme push` implementation in CI/CD workflows
@karreiro karreiro marked this pull request as ready for review April 22, 2024 14:19
Copy link
Contributor

@mgmanzella mgmanzella 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 @karreiro !! 🙏

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.

[Bug]: shopify theme console returns nil for any command I enter, when it should still work
2 participants