Skip to content

Cherry pick PR #9816: Cherry pick Storage Migration Rework to 26.eap#11541

Draft
cobalt-github-releaser-bot wants to merge 1 commit into
mainfrom
cherry-pick-main-9816
Draft

Cherry pick PR #9816: Cherry pick Storage Migration Rework to 26.eap#11541
cobalt-github-releaser-bot wants to merge 1 commit into
mainfrom
cherry-pick-main-9816

Conversation

@cobalt-github-releaser-bot

Copy link
Copy Markdown
Collaborator

Refer to the original PR: #9816

Cherry pick Storage Migration Rework from 26.android to 26.eap, fixed incompatibilities in 26.eap branch, hooked up storage migration trigger in CobaltBrowserMainParts::InitializeMessageLoopContext() and added migration status telemetry, verified the whole workflow on linux-x86x11.

Test: Locally verified storage migration manager on linux-x86x11:
Full Log: https://paste.googleplex.com/5720103317536768#l=1
https://screenshot.googleplex.com/8k4Sc7pTzxreach
Bug: 489453068

Cherry pick Storage Migration Rework from 26.android to 26.eap, fixed
incompatibilities in 26.eap branch, hooked up storage migration trigger
in CobaltBrowserMainParts::InitializeMessageLoopContext() and added
migration status telemetry, verified the whole workflow on linux-x86x11.

Test: Locally verified storage migration manager on linux-x86x11:
```
[2844834:CrBrowserMain/2844834:0330/230929.185314:INFO:cobalt_browser_main_parts.cc(114)] Telemetry injected startup URL: https://www.youtube.com/tv?migration_status=0-0-0
```
Full Log: https://paste.googleplex.com/5721628970450944#l=65
Bug: 489453068

(cherry picked from commit bbbce72)
@cobalt-github-releaser-bot

Copy link
Copy Markdown
Collaborator Author

MERGE CONFLICT CAT

Caution

There were merge conflicts while cherry picking! Check out cherry-pick-main-9816 and fix the conflicts before proceeding. Check the log at https://github.com/youtube/cobalt/actions/runs/30123635189 for details.

@github-actions

Copy link
Copy Markdown
Contributor

🤖 Gemini Suggested Commit Message


cobalt: Rework storage migration logic

Integrate the reworked storage migration pipeline into the 26.eap
branch. This migration transitions legacy Starboard cookies and local
storage data into the Chromium-based storage system during initial
browser startup.

The logic is hooked into the browser initialization flow to ensure data
consistency before the web application loads. It includes telemetry for
tracking migration outcomes and durations, a sentinel file to prevent
redundant operations, and a command-line switch to disable the
migration process.

Bug: 489453068

💡 Pro Tips for a Better Commit Message:

  1. Influence the Result: Want to change the output? You can write custom prompts or instructions directly in the Pull Request description. The model uses that text to generate the message.
  2. Re-run the Generator: Post a comment with: /generate-commit-message

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