Skip to content

Add EVENT.BFCACHE zoid events (re-apply #478) - #485

Merged
nikrom17 merged 1 commit into
mainfrom
revert-480-reland-478
Jul 8, 2026
Merged

Add EVENT.BFCACHE zoid events (re-apply #478)#485
nikrom17 merged 1 commit into
mainfrom
revert-480-reland-478

Conversation

@nikrom17

@nikrom17 nikrom17 commented Jul 6, 2026

Copy link
Copy Markdown
Member

Summary

Re-applies #478 (EVENT.BFCACHE_CACHE/EVENT.BFCACHE_RESTORE lifecycle events), which was reverted by #480 on 2026-04-03.

This is a straight git revert of the revert commit (49047ed) — verified line-for-line identical to the original #478 diff, no code changes. #478 and #480 don't touch any files modified by #484 (global key strategy fix), so there's no merge conflict or interaction between them.

Why the original revert happened

The 2026-04-03 revert was not a defect in this diff itself. It was caused by zoid's version-baked __GLOBAL_KEY__ breaking passByReference serialization whenever parent and child windows loaded different zoid versions on the same domain during rollout (~16,000 excess SDK_INTEGRATION_LOADING_ERRORs). That root cause has since been fixed in #484 (fix: change global key strategy, merged and published as part of 10.5.3), which shares a major-version-keyed global across all 10.x releases instead of keying on the full version string. Phase 2 of that fix will follow once the bfcache work (this PR, #479, and downstream PCC/SCNW work) is complete.

Test plan

Used Custom BFcache test harness

Screenshot 2026-07-07 at 1 17 20 PM

DTPPCPSDK-5691

This reverts commit 49047ed.

That revert was caused by an unrelated zoid global-key/version-skew
deploy issue, now fixed in #484 (published as 10.5.3).
@nikrom17
nikrom17 force-pushed the revert-480-reland-478 branch from 92b6a71 to 1381fd2 Compare July 6, 2026 20:14
@nikrom17 nikrom17 changed the title Reland: Add EVENT.BFCACHE zoid events (re-apply #478) Add EVENT.BFCACHE zoid events (re-apply #478) Jul 6, 2026
@nikrom17
nikrom17 merged commit 384d82d into main Jul 8, 2026
1 check passed
@nikrom17
nikrom17 deleted the revert-480-reland-478 branch July 8, 2026 14:34
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.

2 participants