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

fix: do not process duplicate navigation checkpoints #331

Merged
merged 6 commits into from
Dec 11, 2024

Conversation

kptdobe
Copy link
Contributor

@kptdobe kptdobe commented Dec 11, 2024

We observe bundles with multiple enter and reload checkpoints. While this does not seem to be critical, it is not necessary to post them twice.

Background: for unknown reason, the PerformanceObserver captures the events twice. The buffering seems to be the root cause but disabling the buffering might lead to losing some of the events.

@kptdobe kptdobe requested a review from trieloff December 11, 2024 14:58
Copy link

aem-code-sync bot commented Dec 11, 2024

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 temporarily deployed to duplicate-navigation-checkpoints December 11, 2024 15:09 Inactive
modules/index.js Outdated Show resolved Hide resolved
Co-authored-by: Lars Trieloff <[email protected]>
@aem-code-sync aem-code-sync bot temporarily deployed to duplicate-navigation-checkpoints December 11, 2024 15:14 Inactive
@adobe-bot
Copy link
Collaborator

This PR will trigger a patch release when merged.

Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.81%. Comparing base (207a90a) to head (8762d09).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #331      +/-   ##
==========================================
+ Coverage   86.74%   86.81%   +0.06%     
==========================================
  Files           6        6              
  Lines         596      599       +3     
==========================================
+ Hits          517      520       +3     
  Misses         79       79              

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

@kptdobe kptdobe merged commit 4b6843f into main Dec 11, 2024
7 of 8 checks passed
@kptdobe kptdobe deleted the duplicate-navigation-checkpoints branch December 11, 2024 16:21
adobe-bot pushed a commit that referenced this pull request Dec 11, 2024
## [2.26.2](v2.26.1...v2.26.2) (2024-12-11)

### Bug Fixes

* do not process duplicate navigation checkpoints ([#331](#331)) ([4b6843f](4b6843f))
@adobe-bot
Copy link
Collaborator

🎉 This PR is included in version 2.26.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants