Skip to content

Change the format of fake PlatformIds - #111

Merged
andrewjstone merged 2 commits into
mainfrom
better-fake-platform-ids
Jul 30, 2026
Merged

Change the format of fake PlatformIds#111
andrewjstone merged 2 commits into
mainfrom
better-fake-platform-ids

Conversation

@andrewjstone

Copy link
Copy Markdown
Collaborator

This makes explicit what the serials mean.

Once this changes, there will need to be updates made to a4x2, voxel, and Omicron.

This makes explicit what the serials mean.

Once this changes, there will need to be updates made to a4x2, voxel,
and Omicron.
@andrewjstone
andrewjstone requested review from flihp and labbott July 25, 2026 19:38
@andrewjstone

Copy link
Copy Markdown
Collaborator Author

This is required by https://github.com/oxidecomputer/voxel/pull/13

@labbott labbott left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Is there any concern if we were to ever generate a real PlatformId that happens to match our fake one?

@andrewjstone

Copy link
Copy Markdown
Collaborator Author

LGTM. Is there any concern if we were to ever generate a real PlatformId that happens to match our fake one?

I don't think so. This is just to ensure that we always use the fake one in our testbeds. Voxel was using two different ones in different places and this makes it clear that this should always be used. @sion42x and I discussed it with @rmustacc a week or so back and decided a consistently fake prefix would be best.

@andrewjstone
andrewjstone merged commit 109c9af into main Jul 30, 2026
8 checks passed
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