I’ve had my current bike for about 6 years so far. It was a replacement for a Giant ATX1 that was stolen after less than two years of use, sniff.
My current Giant ATX3 carries a few components that I’ve had for almost a decade, that have moved from bike to bike over time. The bike computer being the most notable. Much of the rest is a makedo kinda effort for the meantime.