-
Notifications
You must be signed in to change notification settings - Fork 175
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
Relax CORS restrictions for module imports #2549
Conversation
Milo consumers CC/DC are already running without CORS restriction. This change will enable the feature in PR#2544 to be used on Milo pages as well.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## stage #2549 +/- ##
==========================================
- Coverage 95.83% 95.82% -0.01%
==========================================
Files 176 176
Lines 46122 46122
==========================================
- Hits 44199 44195 -4
- Misses 1923 1927 +4 ☔ View full report in Codecov by Sentry. |
Closing for now, will re-open if needed. |
re-opening for the following reason: Given: Milo one fails with the following error:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have the context on why we have the flag set to begin with. However, I don't think we pass on any credentials to scripts so this should be fine to remove. 👍
Might have been legacy, as helix has seen some CORS/header changes over the years since this was implemented.
The head.html might have some restrictions in terms of caching, so it might even need some manual flushing of the cache - but we will see.
@auniverseaway confirmed on slack that this only exists for legacy reasons and should be removed. It simply wasn't done so far, as it wasn't affecting anyone. |
@afmicka this is not affected to commerce, but can you perform a smoke test to validate? Thanks. |
Skipped merging 2549: Relax CORS restrictions for module imports due to failing checks |
@yesil @npeltier @overmyheadandbody @narcis-radu it says that it skipped merging due to the failed checks. Do you know what failing checks? The last commit is green. |
@afmicka I dug into this and this is very weird. Seems like the same test ran twice at the same time, with one finishing 4 seconds after the other one and failing. Usually, the LASTEST test run is accounted for, so our
So after this I re-ran the nala tests and now they are properly failing |
Thanks @mokimo. These are now new failures, started in the last hour. They have not been here yesterday in any of the PRs, nor today during European day. Our changes do not affect marketo test pages and are failing in all pur new PRs. Will check |
* stage: Mwpw-142267: Merch What's Included and Merch Mnemonic List (TwP) (adobecom#2554) MWPW-149124 Improve Focus Page for Performance Improvement Tiger Team (adobecom#2391) Correctly send the created PR slacks (adobecom#2566) MWPW-153167: caas-config change to enable hiding date detail information (adobecom#2553) MWPW-152016 - Localization target preview for transcreation (adobecom#2564) Relax CORS restrictions for module imports (adobecom#2549) MWPW-153600 [PEP] loader bar on PEP prompt is seen loaded Left to right in RTL locale (adobecom#2548) MWPW-146962 [milo] Text link behaving like button in FAQ section (adobecom#2530) MWPW-152280 MEP: Only preload fragments that are in the 1st section (adobecom#2525) MWPW-152697 Fix Marketo mobile horizontal scroll (adobecom#2514) MWPW-151513: Search results vanished when user clicks on Marquee CTA:Start free trail (adobecom#2406) MWPW-154013 PEP prompt redirection is broken in stage after the PEP dismissal PR merge (adobecom#2547) MWPW-153962: Introduce maslibs query parameter (adobecom#2544) Central georouting support (adobecom#2531) [MWPW-152278] Avoid empty CSS requests (adobecom#2524) MWPW-152918 Fix Marketo button font (adobecom#2513) # Conflicts: # libs/deps/merch-card.js
Milo consumers CC/DC are already running
without strict CORS restriction.
This change will enable the feature in PR#2544
to be used on Milo pages as well.
For more context, see: #2544 (comment)
Resolves: MWPW-153962
Test URLs: