monogon-dev / monogon

The Monogon Monorepo. May contain traces of peanuts and a ✨pure Go Linux userland✨. Work in progress!
https://monogon.tech
Apache License 2.0
378 stars 9 forks source link

cloud: Send hardware report later/update when devices are initialized #229

Closed fionera closed 1 year ago

fionera commented 1 year ago

Since the addition of devmgr, we do have to wait before all devices are initialized, else the report is incomplete

fionera commented 1 year ago

Hacky workaround https://review.monogon.dev/c/monogon/+/1823

lorenz commented 1 year ago

Problem is we do not know when all devices are initialized. So once we have a proper device manager we should probably just update the hardware report every time the underlying hardware changes.

lorenz commented 1 year ago

Since https://github.com/monogon-dev/monogon/commit/e1a4ac5eaec848a8b1d883c3963cfe399c71cb7d this for most practical purposes implemented. We haven't really seen any broken hardware reports since.