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

Support seed version setting #1121

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Support seed version setting #1121

merged 1 commit into from
Jul 12, 2024

Conversation

goodov
Copy link
Member

@goodov goodov commented Jul 11, 2024

Seed proto has serial_number and version fields. serial_number is used as etag value for fetching purposes, this value is not public. version on the other hand is a more public string that is also added to crash dumps. We should fill it with a sane value that can be used for debugging purposes.

This change adds support for setting it to arbitrary string. The value will be displayed on brave://version after brave/brave-core#24604 is merged.

Example:
image

Copy link
Contributor

github-actions bot commented Jul 11, 2024

✅ Test Seed Generated Successfully

To test the new seed, launch the browser with the following command line:

--accept-empty-variations-seed-signature --variations-server-url=https://griffin.brave.com/pull/1121/seed

Seed Details

  • Version: pull/1121@45a2fd93f2d7f543298f658e2af67e2c2eae30a3
  • Uploaded: 2024-07-11T12:08:13.048Z
  • Serial Number: e7d1f57023a9edfc1854a19b7e9140d3

@goodov goodov force-pushed the set-version branch 5 times, most recently from 83a3f40 to 45a2fd9 Compare July 11, 2024 12:06
@goodov goodov changed the title Set version Support seed version setting Jul 11, 2024
@goodov goodov marked this pull request as ready for review July 11, 2024 14:51
@goodov goodov requested a review from atuchin-m July 11, 2024 14:51
@goodov goodov merged commit 1b7fdf6 into main Jul 12, 2024
7 checks passed
@goodov goodov deleted the set-version branch July 12, 2024 10:25
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