https://www.openstreetmap.org/way/966313197#map=15/63.1798/-117.0218

why it is highway=primary?

And changes road class without reaching city?

Is it just copying some official classification rather than actual road importance?