I was once advised (by Kim, I expect), that quality of parts is a lot better once you get above 21 gears. That was before 1x set-ups were so prevalent, so I've no idea how that holds now! I guess a good thing to look for is if they're giving a brand and model number for the components, or if it's a generic cheap factory part.
I'd maybe do a bit of research into mechanical disc brakes - some really like the idea that they could fix a cable roadside if needed, but I'm not sure how good they are in practise generally.
If you're thinking of a rack for the commute, then check the more mountain-bikey ones have mounting bosses in the right places. Same for mudguards if they're not already fitted (although there are band-on workarounds).
You'll need to replace the cassette (gears at the back) when that wears out, so have a look at availability of those. If an upgrade there means going to more gears (how hilly is your commute?) then you need to factor in the cost of matching gear shifters to the new number of gears. 9 speed in the upper quality ranges is starting to be phased out now, in favour of 10 speed, but I don't think 9 speed is going to totally disappear any time soon.
"Shimano hierarchy" is a useful google search to do to get a sense of relative quality of components. It'll lead you to pages like this:
https://www.rutlandcycling.com/content/guide-to-shimano-road-amp-mtb-groupsets.aspx . You'll see Tektro components on a lot of the entry level bikes, particularly brakes. These can vary in quality and might be a potential upgrade point, but are probably adequate to get you going.
The Triban road bikes consistently get good reviews as excellent value starter road bikes, but I'd probably be aiming for a slightly more expensive model to get the better parts. I notice a lot of the next models up are out of stock, so that might not be an option for you right now. I've sat on one and ridden it around the store in The Before Times, and it was a noticeably twitchier on the steering compared to what I was used to as a flat-barred hybrid commuter or a butterfly-barred tourer. That might be a bit of a risk if you're stating a preference for more upright hybrid styles. I think they do flat bar versions though.
You might find that your first upgrades are going to be finding a saddle that works for you (might take several attempts) and tyres (fatter if you're dealing with potholes or towpaths, or slicker if you've got a lot of tarmac and knobblies are slowing you down - either should be straightforward).
Lights, locks and luggage are a good thing to factor into commuting budget now if you haven't done so already.
I know none of that actually answers your question, but hope it helps!