Skip to content

MWPW-188278: Align head-loaded SSR flag with da-bacom pattern - #66

Open
JasonHowellSlavin wants to merge 1 commit into
stagefrom
ssr-flag
Open

MWPW-188278: Align head-loaded SSR flag with da-bacom pattern#66
JasonHowellSlavin wants to merge 1 commit into
stagefrom
ssr-flag

Conversation

@JasonHowellSlavin

Copy link
Copy Markdown
Collaborator
  • Adds a meta element that will have it's content modified at the end of the script tag. When content is served with server side rendering from tokowaka, it will prevent any duplication that would occur should the script be run again, like when spoofing headers in the browser.

Resolves: MWPW-188278

Test URLs:

Verification Steps

  • Go to the test page
  • Inspect the <head> element, notice no new links
  • Go to the network tab
  • Click on "More network conditions"
  • Scroll down and enable "Custom User Agent"
  • Enter: "ChatGPT-User"
  • Reload
  • Inspect the <head>
  • Notice links
  • Ensure there is no link duplication

Additional testing example with video:

https://wiki.corp.adobe.com/spaces/WP4/pages/3747684013/Adding+Hreflang+Link+Block+Functionality#AddingHreflangLinkBlockFunctionality-Testing

Implementation doc

https://wiki.corp.adobe.com/spaces/WP4/pages/3747684013/Adding+Hreflang+Link+Block+Functionality

Add static meta head-loaded=false, derive ssrFlag from content, and set flagMeta content true at end of inline head script.

Made-with: Cursor
@aem-code-sync

aem-code-sync Bot commented Apr 2, 2026

Copy link
Copy Markdown

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

aem-code-sync Bot commented Apr 2, 2026

Copy link
Copy Markdown
Page Scores Audits
📱 /acrobat/online/compress-pdf PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS
🖥️ /acrobat/online/compress-pdf PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS

@codecov-commenter

codecov-commenter commented Apr 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.58%. Comparing base (5f7b4d3) to head (6d6a608).
⚠️ Report is 81 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage      #66      +/-   ##
==========================================
+ Coverage   85.56%   85.58%   +0.01%     
==========================================
  Files          46       46              
  Lines        8447     8447              
==========================================
+ Hits         7228     7229       +1     
+ Misses       1219     1218       -1     

☔ View full report in Codecov by Harness.
📢 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.

@Ruchika4
Ruchika4 requested a review from JingleH April 6, 2026 21:13
@thedoc31 thedoc31 added stale No recent activity autoclose-pending Will be auto-closed soon labels Aug 24, 2026
@thedoc31

Copy link
Copy Markdown

No activity in 7 days. Will be labeled stale at 14 days. Auto-close is disabled this run. Add stale-ignore to exempt.

No activity in 14 days — labeled stale. Auto-close is disabled this run. Add stale-ignore to exempt.

No activity in 21 days — labeled autoclose-pending. Would normally close in 7 days, but auto-close is disabled this run. Add autoclose-ignore to exempt.

No activity in 28 days. Would normally close now, but auto-close is disabled this run. Add autoclose-ignore to exempt.


Live rollout: adobecom+Adobe-acom 10-repo sample, run by casalino via Claude Code

@adobecom-git-stale-pr-bot adobecom-git-stale-pr-bot Bot removed stale No recent activity autoclose-pending Will be auto-closed soon labels Sep 3, 2026
@adobecom-git-stale-pr-bot

Copy link
Copy Markdown

No activity in 7 days. Will be labeled stale at 14 days. Auto-close is disabled this run. Add stale-ignore to exempt.


Rundeck job Git Stale PR Check (git-stale-pr-bot), execution 2739336, project global, run by casalino

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