Skip to content

MWPW-191633: Adds to setLibs array to allow the use of milolibs= on stage#962

Merged
nkthakur48 merged 6 commits intostagefrom
allow-milolibs-on-stage
Apr 9, 2026
Merged

MWPW-191633: Adds to setLibs array to allow the use of milolibs= on stage#962
nkthakur48 merged 6 commits intostagefrom
allow-milolibs-on-stage

Conversation

@JasonHowellSlavin
Copy link
Copy Markdown
Collaborator

  • Modifies the setLibs conditional into an array that checks the host for specific strings and includes .stage. to allow the use of ?milolibs={branch} on www.stage.adobe.com

Test URLs:

Verification
Verification was done to ensure that milolibs and libs get set as expected on this repository. To check against www.stage.adobe.com local overrides were used before making code changes in the repository.

@aem-code-sync
Copy link
Copy Markdown

aem-code-sync Bot commented Apr 3, 2026

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

@aem-code-sync
Copy link
Copy Markdown

aem-code-sync Bot commented Apr 3, 2026

Page Scores Audits Google
📱 /creativecloud?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ /creativecloud?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@milo-pr-merge-cc
Copy link
Copy Markdown

Skipped merging 962: Adds to setLibs array to allow the use of milolibs= on stage due to failing checks

Comment thread creativecloud/scripts/utils.js Outdated
&& !hostname.includes('aem.page')
&& !hostname.includes('aem.live')
&& !hostname.includes('localhost')) {
if (!['.aem.', '.hlx.', '.stage.', 'local', '.da.'].some((i) => hostname.includes(i))) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@JasonHowellSlavin: I see that the localhost has been renamed as local. Could you please confirm whether this is intentional?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

re-added, same as da-cc

@aem-code-sync aem-code-sync Bot temporarily deployed to allow-milolibs-on-stage April 6, 2026 08:39 Inactive
@milo-pr-merge-cc
Copy link
Copy Markdown

Skipped merging 962: Adds to setLibs array to allow the use of milolibs= on stage due to failing checks

@aem-code-sync aem-code-sync Bot temporarily deployed to allow-milolibs-on-stage April 7, 2026 17:54 Inactive
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.14%. Comparing base (f6343b0) to head (3c0194d).
⚠️ Report is 32 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #962      +/-   ##
==========================================
- Coverage   88.37%   88.14%   -0.24%     
==========================================
  Files          42       42              
  Lines        9277     9246      -31     
==========================================
- Hits         8199     8150      -49     
- Misses       1078     1096      +18     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@milo-pr-merge-cc
Copy link
Copy Markdown

Skipped merging 962: Adds to setLibs array to allow the use of milolibs= on stage due to failing checks

@nkthakur48 nkthakur48 changed the title Adds to setLibs array to allow the use of milolibs= on stage MWPW-191633: Adds to setLibs array to allow the use of milolibs= on stage Apr 8, 2026
@milo-pr-merge-cc
Copy link
Copy Markdown

Skipped merging 962: MWPW-191633: Adds to setLibs array to allow the use of milolibs= on stage due to failing checks

@nkthakur48 nkthakur48 merged commit e768f0b into stage Apr 9, 2026
9 of 10 checks passed
@nkthakur48
Copy link
Copy Markdown
Collaborator

Since this fix could only be tested on stage, it was merged without labels.

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.

3 participants