cli icon indicating copy to clipboard operation
cli copied to clipboard

[Bug]: Cart events oddities

Open tpage99 opened this issue 1 year ago • 12 comments

Please confirm that you have:

  • [x] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • [x] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Theme

Expected behavior

Add to cart or updating the cart provides visual / real-time feedback

Actual behavior

Cart doesn't appear to be updated on add/update. I am running the snapshot for 3.67.1 mentioned here.

Video: https://vimeo.com/1012042809/b5724989c7?share=copy

Verbose output

shopify theme dev -s the-pages-media-webinars --verbose 2024-09-23T14:29:16.528Z: Running command theme dev 2024-09-23T14:29:16.538Z: Ensuring that the user is authenticated with the Theme API with the following scopes: []

2024-09-23T14:29:16.539Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store the-pages-media-webinars.myshopify.com: []

2024-09-23T14:29:16.539Z: Getting session store... 2024-09-23T14:29:16.540Z: Validating existing session against the scopes: [ "openid", "https://api.shopify.com/auth/shop.admin.graphql", "https://api.shopify.com/auth/shop.admin.themes", "https://api.shopify.com/auth/partners.collaborator-relationships.readonly", "https://api.shopify.com/auth/shop.storefront-renderer.devtools", "https://api.shopify.com/auth/partners.app.cli.access", "https://api.shopify.com/auth/destinations.readonly" ] For applications: { "adminApi": { "scopes": [], "storeFqdn": "the-pages-media-webinars.myshopify.com" } }

2024-09-23T14:29:16.541Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection 2024-09-23T14:29:16.541Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection With request headers:

  • User-Agent: Shopify CLI; v=3.67.1
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-09-23T14:29:16.758Z: Request to https://accounts.shopify.com/oauth/introspection completed in 217 ms With response headers:

  • cache-control: no-cache, no-store, private, must-revalidate, max-age=0
  • content-type: application/json; charset=utf-8
  • etag: W/"94920e578113ba56b047b3d012170b3f"
  • server-timing: processing;dur=29, socket_queue;dur=2.041, edge;dur=1.023, util;dur=0.15, cfRequestDuration;dur=65.000057
  • x-request-id: b393164a-dbb9-44ff-8ac0-f904dfb82a40-1727101756

2024-09-23T14:29:16.762Z: The identity token is valid: true 2024-09-23T14:29:16.762Z: The validation of the token for application/identity completed with the following results:

  • It's expired: false
  • It's invalid in identity: false

2024-09-23T14:29:16.762Z: The current session is valid but needs refresh. Refreshing... 2024-09-23T14:29:16.763Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_CjQI5PPFtwYQhKzGtwZSJggBEhA6eOD3B9VH-JEg-RbQpDyMGhAi3AzfaN1DarMh5j5Wp_n0EkA4LeIPSwgfPmKsPsaJfaGB6QNl7Cfn17afg_UYYGXw4SJRj-K5_8USbfGLwWQlkjZJHtlu9xnaTAM_toRWMqgF&refresh_token=atkn_CiEI5PPFtwYQ5I3kuAaiARIKECLcDN9o3UNqsyHmPlan-fQSQPpkx3kIrf9HsrK7QRaXQyDxrBMIk1Qx34rc7uow0vSB4qOuhJXQ6mVmPRiZeoRoodDnc6Ju-2PVmm95eLY2vgE&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3 With request headers:

  • User-Agent: Shopify CLI; v=3.67.1
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-09-23T14:29:17.041Z: Request to https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_CjQI5PPFtwYQhKzGtwZSJggBEhA6eOD3B9VH-JEg-RbQpDyMGhAi3AzfaN1DarMh5j5Wp_n0EkA4LeIPSwgfPmKsPsaJfaGB6QNl7Cfn17afg_UYYGXw4SJRj-K5_8USbfGLwWQlkjZJHtlu9xnaTAM_toRWMqgF&refresh_token=atkn_CiEI5PPFtwYQ5I3kuAaiARIKECLcDN9o3UNqsyHmPlan-fQSQPpkx3kIrf9HsrK7QRaXQyDxrBMIk1Qx34rc7uow0vSB4qOuhJXQ6mVmPRiZeoRoodDnc6Ju-2PVmm95eLY2vgE&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3 completed in 278 ms With response headers:

  • cache-control: no-cache, no-store, private, must-revalidate, max-age=0
  • content-type: application/json; charset=utf-8
  • etag: W/"80c7d59bc86cf58bdb7b8dfa19a9e738"
  • server-timing: processing;dur=82, socket_queue;dur=1.538, edge;dur=2.022, util;dur=0.2, cfRequestDuration;dur=140.000105
  • x-request-id: ca3fc2ea-ad9c-4e09-9894-ccaa0ecffca5-1727101756

2024-09-23T14:29:17.043Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=271e16d403dfa18082ffb3d197bd2b5f4479c3fc32736d69296829cbb28d41a6&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.app.cli.access&subject_token=**** With request headers:

  • User-Agent: Shopify CLI; v=3.67.1
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-09-23T14:29:17.043Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=ee139b3d-5861-4d45-b387-1bc3ada7811c&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.storefront-renderer.devtools&subject_token=**** With request headers:

  • User-Agent: Shopify CLI; v=3.67.1
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-09-23T14:29:17.043Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=32ff8ee5-82b8-4d93-9f8a-c6997cefb7dc&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly&subject_token=**** With request headers:

  • User-Agent: Shopify CLI; v=3.67.1
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-09-23T14:29:17.043Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.graphql+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.themes+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly&subject_token=****&destination=https%3A%2F%2Fthe-pages-media-webinars.myshopify.com%2Fadmin With request headers:

  • User-Agent: Shopify CLI; v=3.67.1
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-09-23T14:29:17.255Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=ee139b3d-5861-4d45-b387-1bc3ada7811c&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.storefront-renderer.devtools&subject_token=**** completed in 212 ms With response headers:

  • cache-control: no-cache, no-store, private, must-revalidate, max-age=0
  • content-type: application/json; charset=utf-8
  • etag: W/"3cd5f84f3e5402c2a469715f0b0e8cea"
  • server-timing: processing;dur=40, socket_queue;dur=1.124, edge;dur=1.015, util;dur=0.05, cfRequestDuration;dur=90.999842
  • x-request-id: f72a26fd-f840-405b-84d4-30f4cf94f245-1727101757

2024-09-23T14:29:17.258Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.graphql+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.themes+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly&subject_token=****&destination=https%3A%2F%2Fthe-pages-media-webinars.myshopify.com%2Fadmin completed in 215 ms With response headers:

  • cache-control: no-cache, no-store, private, must-revalidate, max-age=0
  • content-type: application/json; charset=utf-8
  • etag: W/"6525a284488a67df0e5710da4e542271"
  • server-timing: processing;dur=47, socket_queue;dur=1.656, edge;dur=1.014, util;dur=0.0, cfRequestDuration;dur=92.000008
  • x-request-id: b829ec4f-0b72-40a1-9c5a-d45a0bcd3d88-1727101757

2024-09-23T14:29:17.260Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=271e16d403dfa18082ffb3d197bd2b5f4479c3fc32736d69296829cbb28d41a6&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.app.cli.access&subject_token=**** completed in 217 ms With response headers:

  • cache-control: no-cache, no-store, private, must-revalidate, max-age=0
  • content-type: application/json; charset=utf-8
  • etag: W/"b960db7c2d1e1706403a81826b6f55dd"
  • server-timing: processing;dur=47, socket_queue;dur=1.724, edge;dur=2.027, util;dur=0.15, cfRequestDuration;dur=95.999956
  • x-request-id: 84fd242a-7795-4f69-8ec2-aa653d802e89-1727101757

2024-09-23T14:29:17.317Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=32ff8ee5-82b8-4d93-9f8a-c6997cefb7dc&scope=https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly&subject_token=**** completed in 273 ms With response headers:

  • cache-control: no-cache, no-store, private, must-revalidate, max-age=0
  • content-type: application/json; charset=utf-8
  • etag: W/"20776f2610cc68eebefbf24bbd7c88fe"
  • server-timing: processing;dur=47, socket_queue;dur=1.355, edge;dur=2.015, util;dur=0.1, cfRequestDuration;dur=151.000023
  • x-request-id: 3c9cdcbf-21a8-4c8e-869a-f1b301556b57-1727101757

2024-09-23T14:29:17.318Z: Setting session store... 2024-09-23T14:29:17.325Z: Ensuring that the user is authenticated with the Storefront API with the following scopes: []

2024-09-23T14:29:17.325Z: Getting session store... 2024-09-23T14:29:17.327Z: Validating existing session against the scopes: [ "openid", "https://api.shopify.com/auth/shop.admin.graphql", "https://api.shopify.com/auth/shop.admin.themes", "https://api.shopify.com/auth/partners.collaborator-relationships.readonly", "https://api.shopify.com/auth/shop.storefront-renderer.devtools", "https://api.shopify.com/auth/partners.app.cli.access", "https://api.shopify.com/auth/destinations.readonly" ] For applications: { "storefrontRendererApi": { "scopes": [] } }

2024-09-23T14:29:17.328Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection 2024-09-23T14:29:17.328Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection With request headers:

  • User-Agent: Shopify CLI; v=3.67.1
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: darwin
  • Content-Type: application/json

2024-09-23T14:29:17.521Z: Request to https://accounts.shopify.com/oauth/introspection completed in 193 ms With response headers:

  • cache-control: no-cache, no-store, private, must-revalidate, max-age=0
  • content-type: application/json; charset=utf-8
  • etag: W/"9964b83d83e36c522310803fdb293258"
  • server-timing: processing;dur=30, socket_queue;dur=2.205, edge;dur=1.02, util;dur=0.2, cfRequestDuration;dur=77.000141
  • x-request-id: d9fb1d65-5b3f-4d53-920e-01874f721323-1727101757

2024-09-23T14:29:17.530Z: The identity token is valid: true 2024-09-23T14:29:17.530Z: The validation of the token for application/identity completed with the following results:

  • It's expired: false
  • It's invalid in identity: false

2024-09-23T14:29:17.534Z: Getting development theme... 2024-09-23T14:29:17.861Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842.json?fields=id%2Cname%2Crole%2Cprocessing completed in 325 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=151, cfRequestDuration;dur=232.999802
  • x-request-id: 29173db1-0304-421e-b290-f6451c14a037-1727101757

╭─ info ────────────────────────────────────────────────────────────────╮ │ │ │ You're using the new version of shopify theme dev. │ │ │ │ Run shopify theme dev --legacy to switch back to the previous │ │ version. │ │ │ ╰───────────────────────────────────────────────────────────────────────╯

[removed 'reading file at...' logs due to message on character limit ]

╭─ success ─────────────────────────────────────────────────────────────╮ │ │ │ Preview your theme │ │ • http://127.0.0.1:9292 [1] │ │ │ │ Next steps │ │ • Customize your theme at the theme editor [2] │ │ • Share your theme preview [3] (https://the-pages-media-webinars. │ │ myshopify.com/?preview_theme_id=137376071842) │ │ │ ╰───────────────────────────────────────────────────────────────────────╯ [1] http://127.0.0.1:9292 [2] https://the-pages-media-webinars.myshopify.com/admin/themes/137376071 842/editor [3] https://the-pages-media-webinars.myshopify.com/?preview_theme_id=1373 76071842

2024-09-23T14:29:19.138Z: Running system process: · Command: npm prefix · Working directory: /Users/taylorpage/Testing/ShopifyCLICommands

2024-09-23T14:29:19.249Z: Obtaining the dependency manager in directory /Users/taylorpage/Testing/ShopifyCLICommands... 2024-09-23T14:29:19.358Z: Running system process: · Command: ruby -v · Working directory: /Users/taylorpage/Testing/ShopifyCLICommands

2024-09-23T14:29:19.593Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 128 ms With response headers:

  • x-request-id: 375a6a33-c8ad-4d67-9d00-4f5eba2c02a7

2024-09-23T14:29:19.593Z: Analytics event sent: { "command": "theme dev", "time_start": 1727101756528, "time_end": 1727101759133, "total_time": 2605, "success": true, "cli_version": "3.67.1", "ruby_version": "3.2.2", "node_version": "22.4.1", "is_employee": false, "uname": "darwin arm64", "env_ci": false, "env_plugin_installed_any_custom": false, "env_plugin_installed_shopify": "["@shopify/cli"]", "env_shell": "zsh", "env_device_id": "c28c0222f9a1afaae2a40cda5d8351d493ef5f6c", "env_cloud": "localhost", "env_package_manager": "unknown", "env_is_global": true, "cmd_app_warning_api_key_deprecation_displayed": false, "cmd_all_timing_network_ms": 2475, "cmd_all_timing_prompts_ms": 0, "cmd_all_launcher": "unknown", "cmd_all_topic": "theme", "cmd_all_plugin": "@shopify/theme", "cmd_all_force": false, "cmd_all_verbose": true, "cmd_all_path_override": true, "cmd_all_path_override_hash": "8b61cadb689dd9a15c5604d6178160df03b65e78", "cmd_all_timing_active_ms": 129, "cmd_all_exit": "ok", "args": "-s the-pages-media-webinars --verbose", "env_plugin_installed_all": "["@shopify/cli"]", "metadata": "{"extraPublic":{},"extraSensitive":{}}" } 2024-09-23T14:29:19.593Z: Completed command theme dev 2024-09-23T14:29:19.646Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 527 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=153, cfRequestDuration;dur=415.999889
  • x-request-id: 389f19ae-3667-412f-8302-7d7625e3f8f3-1727101759

2024-09-23T14:29:19.647Z: File Upload Results: -locales/es.schema.json: success 2024-09-23T14:29:19.713Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 597 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=245, cfRequestDuration;dur=501.999855
  • x-request-id: 06bb2a70-b889-443a-9bd7-0da67945f722-1727101759

2024-09-23T14:29:19.713Z: File Upload Results: -locales/fi.json: success -locales/cs.schema.json: success 2024-09-23T14:29:19.715Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 601 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=219, cfRequestDuration;dur=482.999802
  • x-request-id: 0e22d22d-7a03-4c18-8215-ececd5f7a4b7-1727101759

2024-09-23T14:29:19.715Z: File Upload Results: -locales/en.default.json: success -locales/de.schema.json: success 2024-09-23T14:29:19.819Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 701 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=291, cfRequestDuration;dur=585.000038
  • x-request-id: 37d170b8-3b81-4e29-9487-09c44f3de333-1727101759

2024-09-23T14:29:19.820Z: File Upload Results: -locales/fr.json: success -locales/da.schema.json: success 2024-09-23T14:29:19.829Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 709 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=325, cfRequestDuration;dur=608.000040
  • x-request-id: d98429e6-56f0-4aa8-a9a7-d706c492ea62-1727101759

2024-09-23T14:29:19.829Z: File Upload Results: -locales/es.json: success -locales/hr.json: success -locales/fi.schema.json: success 2024-09-23T14:29:19.965Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 853 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=428, cfRequestDuration;dur=803.999901
  • x-request-id: de0e0ade-8fa6-48f8-909a-be6b7650d42b-1727101759

2024-09-23T14:29:19.967Z: File Upload Results: -locales/bg.json: success -locales/cs.json: success -locales/da.json: success -locales/de.json: success -locales/el.json: success 2024-09-23T14:29:20.717Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 581 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=289, cfRequestDuration;dur=539.999962
  • x-request-id: 126da9fd-87e0-4af2-91a9-5e375674b624-1727101760

2024-09-23T14:29:20.719Z: File Upload Results: -locales/pl.json: success -locales/pt-BR.json: success -locales/nl.schema.json: success 2024-09-23T14:29:20.740Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 616 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=329, cfRequestDuration;dur=584.000111
  • x-request-id: 54b1a51b-1ad7-491b-a7cd-2ae32a0f01ae-1727101760

2024-09-23T14:29:20.741Z: File Upload Results: -locales/hu.json: success -locales/id.json: success -locales/it.json: success -locales/en.default.schema.json: success 2024-09-23T14:29:20.782Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 644 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=285, cfRequestDuration;dur=598.000050
  • x-request-id: 3de39f83-2dc5-4150-953d-ca6f048d1272-1727101760

2024-09-23T14:29:20.783Z: File Upload Results: -locales/pl.schema.json: success -locales/nb.schema.json: success 2024-09-23T14:29:20.911Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 780 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=415, cfRequestDuration;dur=743.999958
  • x-request-id: 28daf107-dd4c-4d53-a982-464e7d679291-1727101760

2024-09-23T14:29:20.912Z: File Upload Results: -locales/ko.json: success -locales/lt.json: success -locales/nb.json: success -locales/nl.json: success -locales/it.schema.json: success 2024-09-23T14:29:20.922Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 794 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=403, cfRequestDuration;dur=763.000011
  • x-request-id: 6801a326-6546-422f-b53a-cd50d94388c4-1727101760

2024-09-23T14:29:20.922Z: File Upload Results: -locales/ja.json: success -locales/fr.schema.json: success 2024-09-23T14:29:21.430Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 1296 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=950, cfRequestDuration;dur=1259.999990
  • x-request-id: 620955e3-111d-4491-9f81-f32b759f4be8-1727101760

2024-09-23T14:29:21.432Z: File Upload Results: -locales/ja.schema.json: success -locales/ko.schema.json: success 2024-09-23T14:29:21.661Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 506 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=228, cfRequestDuration;dur=445.999861
  • x-request-id: a8f949a0-e96b-4492-b9ad-c64d80fa0c60-1727101761

2024-09-23T14:29:21.662Z: File Upload Results: -locales/tr.schema.json: success -locales/zh-TW.json: success 2024-09-23T14:29:21.671Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 527 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=282, cfRequestDuration;dur=496.999979
  • x-request-id: f86397e3-f1e3-41a1-a35e-438b9d133c5e-1727101761

2024-09-23T14:29:21.671Z: File Upload Results: -locales/pt-PT.json: success -locales/pt-BR.schema.json: success 2024-09-23T14:29:21.751Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 601 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=261, cfRequestDuration;dur=561.000109
  • x-request-id: 54a34e6a-095d-403c-aa3d-a319d8199bce-1727101761

2024-09-23T14:29:21.752Z: File Upload Results: -locales/th.json: success -locales/tr.json: success -locales/sv.schema.json: success 2024-09-23T14:29:21.772Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 625 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=372, cfRequestDuration;dur=585.999966
  • x-request-id: c9732e75-cfa9-43dd-9bd3-757900aa681f-1727101761

2024-09-23T14:29:21.774Z: File Upload Results: -locales/ro.json: success -locales/ru.json: success -locales/sk.json: success -locales/sl.json: success -locales/sv.json: success 2024-09-23T14:29:21.909Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 756 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=425, cfRequestDuration;dur=705.999851
  • x-request-id: de9871c2-a573-401e-8e84-90cc4f3e0011-1727101761

2024-09-23T14:29:21.910Z: File Upload Results: -locales/vi.json: success -locales/zh-CN.json: success -locales/pt-PT.schema.json: success 2024-09-23T14:29:22.533Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 361 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=230, cfRequestDuration;dur=309.000015
  • x-request-id: 6d436ae7-d659-4e0c-af17-a9e5251e67a9-1727101762

2024-09-23T14:29:22.534Z: File Upload Results: -sections/footer-group.json: success -sections/header-group.json: success 2024-09-23T14:29:22.534Z: Uploading the following files: -templates/404.json -templates/article.json -templates/blog.json -templates/collection.json -templates/cart.json -templates/index.json -templates/list-collections.json -templates/page.contact.json -templates/page.json -templates/password.json 2024-09-23T14:29:22.534Z: Uploading the following files: -templates/product.json -templates/search.json -templates/customers/account.json -templates/customers/activate_account.json -templates/customers/addresses.json -templates/customers/order.json -templates/customers/register.json -templates/customers/login.json -templates/customers/reset_password.json 2024-09-23T14:29:22.691Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 524 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=210, cfRequestDuration;dur=478.999853
  • x-request-id: 6d9c3317-b12d-4854-9182-6f89224350e8-1727101762

2024-09-23T14:29:22.693Z: File Upload Results: -locales/zh-TW.schema.json: success -locales/th.schema.json: success 2024-09-23T14:29:22.770Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 599 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=438, cfRequestDuration;dur=543.999910
  • x-request-id: c7d5362b-20fc-452d-b25c-8fadb888cc11-1727101762

2024-09-23T14:29:22.772Z: File Upload Results: -assets/custom-styles.css: success 2024-09-23T14:29:22.866Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 703 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=257, cfRequestDuration;dur=651.999950
  • x-request-id: 692f662b-9c69-47a7-96f7-7659fc36fcc1-1727101762

2024-09-23T14:29:22.867Z: File Upload Results: -locales/zh-CN.schema.json: success -locales/vi.schema.json: success 2024-09-23T14:29:23.186Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 651 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=514, cfRequestDuration;dur=624.000072
  • x-request-id: e3d8a3bf-3260-4048-9407-55377eb39799-1727101762

2024-09-23T14:29:23.188Z: File Upload Results: -templates/product.json: success -templates/search.json: success -templates/customers/account.json: success -templates/customers/activate_account.json: success -templates/customers/addresses.json: success -templates/customers/order.json: success -templates/customers/register.json: success -templates/customers/login.json: success -templates/customers/reset_password.json: success 2024-09-23T14:29:23.667Z: Request to https://the-pages-media-webinars.myshopify.com/admin/api/unstable/themes/137376071842/assets/bulk.json completed in 1133 ms With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=1017, cfRequestDuration;dur=1105.000019
  • x-request-id: dbd33f3c-57fb-4d67-a2e4-15712641d8f7-1727101762

2024-09-23T14:29:23.668Z: File Upload Results: -templates/404.json: success -templates/article.json: success -templates/blog.json: success -templates/collection.json: success -templates/cart.json: success -templates/index.json: success -templates/list-collections.json: success -templates/page.contact.json: success -templates/page.json: success -templates/password.json: success 2024-09-23T14:29:23.670Z: Files to be deleted:

GET / 2024-09-23T14:29:27.001Z: → Rendering https://the-pages-media-webinars.myshopify.com/?_fd=0&pb=0 (with )... 2024-09-23T14:29:27.357Z: Request to https://the-pages-media-webinars.myshopify.com/?_fd=0&pb=0 completed in 355 ms With response headers:

  • cache-control: no-cache, no-store
  • content-type: text/html; charset=utf-8
  • server-timing: processing;dur=169;desc="gc:32", db;dur=41, edge_cart;dur=1.44;desc="trips=1", parse;dur=8, render;dur=41, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="137376071842", pageType;desc="index", servedBy;desc="bhss", requestID;desc="f3f0d857-8599-44e0-b654-ba0a3e001255-1727101767", cfRequestDuration;dur=319.000006
  • x-request-id: f3f0d857-8599-44e0-b654-ba0a3e001255-1727101767

2024-09-23T14:29:27.358Z: ← 200 (request_id: f3f0d857-8599-44e0-b654-ba0a3e001255-1727101767) GET /collections/all 2024-09-23T14:29:32.859Z: → Rendering https://the-pages-media-webinars.myshopify.com/collections/all?_fd=0&pb=0 (with )... 2024-09-23T14:29:33.361Z: Request to https://the-pages-media-webinars.myshopify.com/collections/all?_fd=0&pb=0 completed in 501 ms With response headers:

  • cache-control: no-cache, no-store
  • content-type: text/html; charset=utf-8
  • server-timing: processing;dur=193;desc="gc:21", db;dur=52, edge_cart;dur=1.17;desc="trips=1", fetch;dur=22, parse;dur=6, render;dur=67, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="137376071842", pageType;desc="collection", servedBy;desc="jh8g", requestID;desc="ec1f6071-f5b3-4e3c-a76a-25e37ffdf198-1727101773", cfRequestDuration;dur=288.000107
  • x-request-id: ec1f6071-f5b3-4e3c-a76a-25e37ffdf198-1727101773

2024-09-23T14:29:33.361Z: ← 200 (request_id: ec1f6071-f5b3-4e3c-a76a-25e37ffdf198-1727101773) GET /products/zipped-jacket 2024-09-23T14:29:38.321Z: → Rendering https://the-pages-media-webinars.myshopify.com/products/zipped-jacket?_fd=0&pb=0 (with )... 2024-09-23T14:29:38.613Z: Request to https://the-pages-media-webinars.myshopify.com/products/zipped-jacket?_fd=0&pb=0 completed in 291 ms With response headers:

  • cache-control: no-cache, no-store
  • content-type: text/html; charset=utf-8
  • server-timing: processing;dur=162;desc="gc:49", db;dur=32, edge_cart;dur=1.36;desc="trips=1", parse;dur=10, render;dur=50, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="137376071842", pageType;desc="product", servedBy;desc="tmzr", requestID;desc="8a9a5643-d55e-4cd4-8c44-c6e4febf2d61-1727101778", cfRequestDuration;dur=256.999969
  • x-request-id: 8a9a5643-d55e-4cd4-8c44-c6e4febf2d61-1727101778

2024-09-23T14:29:38.614Z: ← 200 (request_id: 8a9a5643-d55e-4cd4-8c44-c6e4febf2d61-1727101778) GET /recommendations/products?limit=4&product_id=7746476572834&section_id=template--17166537490594__related-products 2024-09-23T14:29:38.788Z: → Rendering https://the-pages-media-webinars.myshopify.com/recommendations/products?_fd=0&pb=0&limit=4&product_id=7746476572834&section_id=template--17166537490594__related-products (with )... 2024-09-23T14:29:39.001Z: Request to https://the-pages-media-webinars.myshopify.com/recommendations/products?_fd=0&pb=0&limit=4&product_id=7746476572834&section_id=template--17166537490594__related-products completed in 212 ms With response headers:

  • cache-control: no-cache, no-store
  • content-type: text/html; charset=utf-8
  • server-timing: processing;dur=94, db;dur=41, edge_cart;dur=2.69;desc="trips=1", parse;dur=1, render;dur=21, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="137376071842", servedBy;desc="k4hs", requestID;desc="3af0991a-bcae-46fc-84f3-c1ea0909ec15-1727101778", cfRequestDuration;dur=179.999828
  • x-request-id: 3af0991a-bcae-46fc-84f3-c1ea0909ec15-1727101778

2024-09-23T14:29:39.001Z: ← 200 (request_id: 3af0991a-bcae-46fc-84f3-c1ea0909ec15-1727101778) GET /products/zipped-jacket 2024-09-23T14:30:05.847Z: → Rendering https://the-pages-media-webinars.myshopify.com/products/zipped-jacket?_fd=0&pb=0 (with )... 2024-09-23T14:30:06.158Z: Request to https://the-pages-media-webinars.myshopify.com/products/zipped-jacket?_fd=0&pb=0 completed in 309 ms With response headers:

  • cache-control: no-cache, no-store
  • content-type: text/html; charset=utf-8
  • server-timing: processing;dur=132;desc="gc:39", db;dur=26, edge_cart;dur=2.8;desc="trips=1", parse;dur=8, render;dur=37, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="137376071842", pageType;desc="product", servedBy;desc="v9fw", requestID;desc="37787887-1c6f-460a-a0d4-f60ee13a3e4b-1727101805", cfRequestDuration;dur=220.999956
  • x-request-id: 37787887-1c6f-460a-a0d4-f60ee13a3e4b-1727101805

2024-09-23T14:30:06.158Z: ← 200 (request_id: 37787887-1c6f-460a-a0d4-f60ee13a3e4b-1727101805) GET /recommendations/products?limit=4&product_id=7746476572834&section_id=template--17166537490594__related-products 2024-09-23T14:30:06.356Z: → Rendering https://the-pages-media-webinars.myshopify.com/recommendations/products?_fd=0&pb=0&limit=4&product_id=7746476572834&section_id=template--17166537490594__related-products (with )... 2024-09-23T14:30:06.543Z: Request to https://the-pages-media-webinars.myshopify.com/recommendations/products?_fd=0&pb=0&limit=4&product_id=7746476572834&section_id=template--17166537490594__related-products completed in 186 ms With response headers:

  • cache-control: no-cache, no-store
  • content-type: text/html; charset=utf-8
  • server-timing: processing;dur=60, db;dur=15, edge_cart;dur=1.56;desc="trips=1", parse;dur=1, render;dur=15, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="137376071842", servedBy;desc="42t6", requestID;desc="e382a8a5-482f-493a-8f1d-b6fe7d077168-1727101806", cfRequestDuration;dur=153.999805
  • x-request-id: e382a8a5-482f-493a-8f1d-b6fe7d077168-1727101806

2024-09-23T14:30:06.543Z: ← 200 (request_id: e382a8a5-482f-493a-8f1d-b6fe7d077168-1727101806) GET /cart 2024-09-23T14:30:08.090Z: → Rendering https://the-pages-media-webinars.myshopify.com/cart?_fd=0&pb=0 (with )... 2024-09-23T14:30:08.321Z: Request to https://the-pages-media-webinars.myshopify.com/cart?_fd=0&pb=0 completed in 230 ms With response headers:

  • cache-control: no-cache, no-store
  • content-type: text/html; charset=utf-8
  • server-timing: processing;dur=111;desc="gc:26", db;dur=13, edge_cart;dur=1.57;desc="trips=1", parse;dur=9, render;dur=44, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="137376071842", pageType;desc="cart", servedBy;desc="l9j9", requestID;desc="fb4e26a5-ee5e-4c6c-b4a0-f6ae1fed5b07-1727101808", cfRequestDuration;dur=200.000048
  • x-request-id: fb4e26a5-ee5e-4c6c-b4a0-f6ae1fed5b07-1727101808

2024-09-23T14:30:08.322Z: ← 200 (request_id: fb4e26a5-ee5e-4c6c-b4a0-f6ae1fed5b07-1727101808) GET /cart 2024-09-23T14:30:25.582Z: → Rendering https://the-pages-media-webinars.myshopify.com/cart?_fd=0&pb=0 (with )... 2024-09-23T14:30:25.998Z: Request to https://the-pages-media-webinars.myshopify.com/cart?_fd=0&pb=0 completed in 414 ms With response headers:

  • cache-control: no-cache, no-store
  • content-type: text/html; charset=utf-8
  • server-timing: processing;dur=161;desc="gc:5", db;dur=16, edge_cart;dur=1.67;desc="trips=1", parse;dur=11, render;dur=63, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="137376071842", pageType;desc="cart", servedBy;desc="nbwk", requestID;desc="994bb7ac-b7c7-4993-ba82-c9a784f498c7-1727101825", cfRequestDuration;dur=267.999887
  • x-request-id: 994bb7ac-b7c7-4993-ba82-c9a784f498c7-1727101825

2024-09-23T14:30:25.998Z: ← 200 (request_id: 994bb7ac-b7c7-4993-ba82-c9a784f498c7-1727101825) GET /collections/all 2024-09-23T14:30:42.461Z: → Rendering https://the-pages-media-webinars.myshopify.com/collections/all?_fd=0&pb=0 (with )... 2024-09-23T14:30:42.824Z: Request to https://the-pages-media-webinars.myshopify.com/collections/all?_fd=0&pb=0 completed in 362 ms With response headers:

  • cache-control: no-cache, no-store
  • content-type: text/html; charset=utf-8
  • server-timing: processing;dur=175;desc="gc:44", db;dur=39, edge_cart;dur=1.36;desc="trips=1", fetch;dur=23, parse;dur=8, render;dur=61, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="137376071842", pageType;desc="collection", servedBy;desc="ql6k", requestID;desc="9dae5881-0cc0-4e6e-91b8-36fd4bce016c-1727101842", cfRequestDuration;dur=270.999908
  • x-request-id: 9dae5881-0cc0-4e6e-91b8-36fd4bce016c-1727101842

2024-09-23T14:30:42.824Z: ← 200 (request_id: 9dae5881-0cc0-4e6e-91b8-36fd4bce016c-1727101842) GET /products/yellow-wool-jumper 2024-09-23T14:30:44.437Z: → Rendering https://the-pages-media-webinars.myshopify.com/products/yellow-wool-jumper?_fd=0&pb=0 (with )... 2024-09-23T14:30:44.714Z: Request to https://the-pages-media-webinars.myshopify.com/products/yellow-wool-jumper?_fd=0&pb=0 completed in 277 ms With response headers:

  • cache-control: no-cache, no-store
  • content-type: text/html; charset=utf-8
  • server-timing: processing;dur=157, db;dur=37, edge_cart;dur=1.6;desc="trips=1", parse;dur=11, render;dur=64, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="137376071842", pageType;desc="product", servedBy;desc="tkdl", requestID;desc="a10b9af0-c3a8-4660-81e4-2236cbbdd80b-1727101844", cfRequestDuration;dur=247.999907
  • x-request-id: a10b9af0-c3a8-4660-81e4-2236cbbdd80b-1727101844

2024-09-23T14:30:44.715Z: ← 200 (request_id: a10b9af0-c3a8-4660-81e4-2236cbbdd80b-1727101844) GET /recommendations/products?limit=4&product_id=7746476310690&section_id=template--17166537490594__related-products 2024-09-23T14:30:44.887Z: → Rendering https://the-pages-media-webinars.myshopify.com/recommendations/products?_fd=0&pb=0&limit=4&product_id=7746476310690&section_id=template--17166537490594__related-products (with )... 2024-09-23T14:30:45.106Z: Request to https://the-pages-media-webinars.myshopify.com/recommendations/products?_fd=0&pb=0&limit=4&product_id=7746476310690&section_id=template--17166537490594__related-products completed in 219 ms With response headers:

  • cache-control: no-cache, no-store
  • content-type: text/html; charset=utf-8
  • server-timing: processing;dur=94, db;dur=51, edge_cart;dur=1.87;desc="trips=1", parse;dur=1, render;dur=22, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="137376071842", servedBy;desc="khpr", requestID;desc="770c94be-bfb2-43dc-bc52-379a30c2cd67-1727101844", cfRequestDuration;dur=184.999943
  • x-request-id: 770c94be-bfb2-43dc-bc52-379a30c2cd67-1727101844

2024-09-23T14:30:45.107Z: ← 200 (request_id: 770c94be-bfb2-43dc-bc52-379a30c2cd67-1727101844)

Reproduction steps

  1. Run shopify theme dev -s store-name on Dawn
  2. Add product to cart and/or update quantity on cart page

Operating System

Mac OS Sonoma 14.6.1

Shopify CLI version (check your project's package.json if you're not sure)

3.67.1

Shell

zsh

Node version (run node -v if you're not sure)

v22.4.1

What language and version are you using in your application?

No response

tpage99 avatar Sep 23 '24 14:09 tpage99

Fixed by #4497 as mentioned in https://github.com/Shopify/cli/pull/4497#issuecomment-2369639724 You can use this version for now until the next official release: https://github.com/Shopify/cli/pull/4494#issuecomment-2363872704 (or use the nightly release listed in NPM).

Closing but feel free to reopen if you still find issues.

frandiox avatar Sep 24 '24 00:09 frandiox

@tpage99 Oh somehow I thought you wrote this comment but I 've realized now it wasn't you. I think you created this issue after testing the current release so I'm going to re-open it again.

frandiox avatar Sep 24 '24 01:09 frandiox

@frandiox correct, I was using the snapshot version mentioned in #4494 and still running into this issue. Used clean install of Dawn 15.1.0 to reproduce borked cart interactions.

tpage99 avatar Sep 24 '24 12:09 tpage99

Just updated the shopify-cli via brew and ran into this issue. Is there a version of the package I can roll back to in the time being via brew?

andrewhawkes avatar Sep 25 '24 13:09 andrewhawkes

I just tested my theme using the snapshot version mentioned in #4494 as well and still running into the issues I outlined in the issue I opened last week: #4488. Also can confirm those issues exist in 3.67.2 as well as the snapshot specific version.

mrpunkin avatar Sep 26 '24 19:09 mrpunkin

Also still facing this in 3.67.2. Using --legacy flag works around it for now.

rbarreca avatar Sep 27 '24 20:09 rbarreca

Just updated to 3.67.3 and still seeing the same sort of behavior/issues. Running --legacy flag fixes everything 😞

Image

Image

Verbose Logs

this is not on Dawn reproduction for sake of time so removed some client info

2024-09-30T15:31:06.412Z:
Running system process:
  · Command: npm prefix
  · Working directory: /Users/taylorpage/Client-Work/xxxx

2024-09-30T15:31:06.519Z: Obtaining the dependency manager in directory /Users/taylorpage/Client-Work/xxxx
2024-09-30T15:31:06.615Z:
Running system process:
  · Command: ruby -v
  · Working directory: /Users/taylorpage/Client-Work/xxxx

GET /products/product-handle?variant=41537853653076
2024-09-30T15:31:06.701Z: → Rendering https://store-handle.myshopify.com/products/product-handle?_fd=0&pb=0&variant=41537853653076 (with )...
2024-09-30T15:31:06.891Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 169 ms
With response headers:
 - x-request-id: 0a3a7e2f-67c1-4298-ac44-592318e86a60

2024-09-30T15:31:06.891Z: Analytics event sent: {
  "command": "theme dev",
  "time_start": 1727710263686,
  "time_end": 1727710266408,
  "total_time": 2722,
  "success": true,
  "cli_version": "3.67.3",
  "ruby_version": "3.2.2",
  "node_version": "22.4.1",
  "is_employee": false,
  "uname": "darwin arm64",
  "env_ci": false,
  "env_plugin_installed_any_custom": false,
  "env_plugin_installed_shopify": "[\"@shopify/cli\"]",
  "env_shell": "zsh",
  "env_device_id": "c28c0222f9a1afaae2a40cda5d8351d493ef5f6c",
  "env_cloud": "localhost",
  "env_package_manager": "unknown",
  "env_is_global": true,
  "cmd_app_warning_api_key_deprecation_displayed": false,
  "cmd_all_timing_network_ms": 2606,
  "cmd_all_timing_prompts_ms": 0,
  "cmd_all_launcher": "unknown",
  "cmd_all_topic": "theme",
  "cmd_all_plugin": "@shopify/theme",
  "cmd_all_force": false,
  "cmd_all_verbose": true,
  "cmd_all_path_override": true,
  "cmd_all_path_override_hash": "ed85afbcc8b4ff1fe933dfede1504f9b013ecd43",
  "cmd_all_timing_active_ms": 115,
  "cmd_all_exit": "ok",
  "args": "-s store-handle --verbose",
  "env_plugin_installed_all": "[\"@shopify/cli\"]",
  "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2024-09-30T15:31:06.891Z: Completed command theme dev
2024-09-30T15:31:07.038Z: Request to https://store-handle.myshopify.com/products/product-handle?_fd=0&pb=0&variant=41537853653076 completed in 337 ms
With response headers:
 - cache-control: no-cache, no-store
 - content-type: text/html; charset=utf-8
 - server-timing: processing;dur=246;desc="gc:10", db;dur=51, edge_cart;dur=1.87;desc="trips=1", parse;dur=23, render;dur=102, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="128835453012", pageType;desc="product", servedBy;desc="6kgb", requestID;desc="ae3a4f85-0b5c-4d66-bd6e-2de875cf16ad-1727710266", cfRequestDuration;dur=305.000067
 - x-request-id: ae3a4f85-0b5c-4d66-bd6e-2de875cf16ad-1727710266

2024-09-30T15:31:07.039Z: ← 200 (request_id: ae3a4f85-0b5c-4d66-bd6e-2de875cf16ad-1727710266)
GET /products/product-handle?variant=41537853653076
2024-09-30T15:31:10.195Z: → Rendering https://store-handle.myshopify.com/products/product-handle?_fd=0&pb=0&variant=41537853653076 (with )...
2024-09-30T15:31:10.512Z: Request to https://store-handle.myshopify.com/products/product-handle?_fd=0&pb=0&variant=41537853653076 completed in 316 ms
With response headers:
 - cache-control: no-cache, no-store
 - content-type: text/html; charset=utf-8
 - server-timing: processing;dur=221;desc="gc:35", db;dur=30, edge_cart;dur=1.41;desc="trips=1", parse;dur=15, render;dur=95, asn;desc="27364", edge;desc="PIT", country;desc="US", theme;desc="128835453012", pageType;desc="product", servedBy;desc="gbhf", requestID;desc="6ef6c17b-7096-46b9-b0de-540dca40fb47-1727710270", cfRequestDuration;dur=277.999878
 - x-request-id: 6ef6c17b-7096-46b9-b0de-540dca40fb47-1727710270

2024-09-30T15:31:10.512Z: ← 200 (request_id: 6ef6c17b-7096-46b9-b0de-540dca40fb47-1727710270)

tpage99 avatar Sep 30 '24 15:09 tpage99

#4497 released in in 3.68.0 🎉

montalvomiguelo avatar Oct 01 '24 22:10 montalvomiguelo

I'm still unable to use a URL generated by the item.url_to_remove liquid tag even in 3.68.0. 401 unauthorized error. Also can't continue to checkout.

mrpunkin avatar Oct 01 '24 22:10 mrpunkin

👋 Hey @mrpunkin,

Could you please share your --verbose output when you get the 401 error? I've tried the cart workflows in the most recent release (3.68.0) and they don't present those errors, as you can see in the video below. With those logs, I may understand the root cause of the 401 status.

https://github.com/user-attachments/assets/f7842d06-cfc6-4c40-a163-601a27d85f99

Regarding the checkout page, that's currently not supported in the local development server for the legacy version nor the new version.

karreiro avatar Oct 02 '24 06:10 karreiro

@karreiro If you look at your network panel you can see that was handled via a Javascript fetch event, not a traditional HTTP GET request. I included all my verbose output in the ticket I started a few weeks ago (#4488) which talks about using basic links and forms without any of the AJAX actions. These all worked fine previously but break with the recent CLI updates unless using the --legacy flag.

mrpunkin avatar Oct 02 '24 18:10 mrpunkin

Regarding the checkout page, that's currently not supported in the local development server for the legacy version nor the new version.

@karreiro Note, there is a minor bug introduced where the new CLI doesn't redirect http://127.0.0.1:9292/checkout/* to https://STORE_URL/checkout/* like the legacy CLI does. In legacy, one can POST to add items to cart then get redirected to checkout without hitting the 401 like the new CLI has. It did make for easier testing when bouncing between testing theme and checkout extensions.

rbarreca avatar Oct 03 '24 03:10 rbarreca

Thank you for sharing that context, @rbarreca! I've re-validated the cart workflows and the checkout issue (in the Gif below) in the latest minor release (3.68.1), and I've noticed we have parity when run the command without the --legacy flag

Image

In case you still experience any 401 issue with that page, could you please let me know here or in a new issue with your --verbose output? For now, I'm closing this issue with the Gif above in mind, but happy to revisit this in case we've missed something.

karreiro avatar Oct 21 '24 10:10 karreiro