As you can see, there is a huge range of choices, and your request for consensus will certainly not be met.
As a full-time bike commuter (human powered; my motor is powered by burritos), I've successfully gone in two directions, at different times: cheap Chinese bike-specific lights, and higher quality flashlights. For road commuting, my wife successfully uses an item that is available on Amazon UK and US (probably other places too) that is about $25, "Shenkey" brand, ASIN B01IHIMJRS. They are cheap enough to mitigate the quality risk by buying and carrying a couple extras. She uses one on her bar and one on her helmet, which is plenty for road biking on unlit sidewalks and roads.
I've recently gone the other direction, and use my collection of EDC flashlights on my bike/helmet. I switched mostly because I carry a higher quality flashlight for EDC and work, and have come to really not tolerate cool white, low-CRI light. It has helped feed my flashlight collecting habit, by giving me another excuse to "need" the latest flashlights. Part of my thinking: weight is important on the bike, and it is very, very hard for even a bicycle-specific light to beat a Zebralight flashlight in terms of lumen-hours-per-ounce. Lately for road commuting, I've been using a Zebralight floody flashlight on my handlebar, and a more spot-flood Zebralight on my helmet (SC600FdIII+ floody, SC63w spot-flood). On "high 2" setting, which is plenty of light, they last 90 minutes to 2 hours on the first 18650; I carry spare cells as backups, and for rides longer than 90 minutes. Each Zebralight is $79-99.
Don't forget rear reflectors and rear flashing red lights (please use both). I combined flashlights and bike-specific products on the back of my bike: Planet Bike Radbot light/flasher, plus a Zebralight H502r (red) headlamp on "flash."
For cheap Chinese bike lights
Upsides: price per lumen.
Downsides: is the quality of light (cool, odd beam artifacts, weird tint, low CRI; not an issue for most people), risk of quality problem or unexpected failure (mitigate by carrying spares).
For flashlights as bike lights
Upsides: great quality light, very lightweight, reduces my total gear investment (between EDC flashlights and bike lights)
Downsides: price (justify it to yourself by comparing it to any major bicycle light brand), no cutoff beam (mitigate by aiming the light properly, and not using disco strobe modes; in places where cutoff beams are required by law, you're stuck--can't use flashlights), and limited options for larger battery packs (mitigate by carrying extra 18650's, ~48 grams each)