Draft
E2E: clear versioned starter ranking cache in api-mode reset#505
api-mode reset#505Conversation
Copilot
AI
changed the title
[WIP] Fix E2E failure in release PR #503 from GitHub Actions job 90830022480
E2E: clear versioned starter ranking cache in Jul 30, 2026
api-mode reset
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release PR #503’s E2E failure was caused by a cache-version mismatch:
Starter_Ranking::VERSIONmoved tov3, while the E2E API-mode toggle still deleted onlyv2transients. When tests switched API mode todown, stalev3ranking cache was reused andstarter_orderreturned cached slugs instead of[].Use runtime ranking version in E2E cache reset
e2e-tests/mu-plugins/tpc-e2e.php, the/tpc-e2e/v1/api-modecallback now derives the cache version from\TIOB\Starter_Ranking::VERSION(with safe fallback).Invalidate both ranking data and lock transients
gutenbergandelementor, the callback now clears:tpc_starter_order_{version}_{builder}tpc_starter_order_{version}_{builder}_lockKeep scope limited to test helper mismatch
starter_ordercache reuse.