siderolabs/image-factory

Schematic ID is not consistent due to ordering

Closed this issue · 3 comments

Schematic ID is not consistent due to rendered ordering of system extensions, it would be nice if this was consistent for reproducibility.

To reproduce:

  1. Go to https://factory.talos.dev/
  2. Select some system extensions
  3. Submit and see it generate a schematic ID
image 4. Click submit again, and again and again and notice how the ordering of the system extensions changes and so does the schematic ID image

I am curious if setting an ordering on the system extensions before the processing takes place will address this issue?

Order of extensions technically changes the output, as the order of extensions might matter (they are overlaid on top of another). Our extensions don't have side-effects, but still order changes the output.

You can skip using UI and use API directly for exact reproducibility.

But certainly we can do better job in the UI.

Thanks @smira, it's not a huge issue but might confuse some people who are not aware of this nuance.