Recommends an out-of-stock part: Mouser On Order quantity counted as stock (STM32G0B1CBT6)
Versions: adom-parts-search 2.1.5, adom-mouser 1.0.10; Linux WSL2 (Hydrogen local workspace). 2026-11-13.
What happens: adom-parts-search search STM32G0B1CBT6 reports the Mouser hit with "stock": 12415 and ends with "recommendation: Mouser STM32G0B1CBT6 (exact match)". Mouser has 0 in stock; 12415 is the quantity on order (Mouser's own availability text is "12415 On Order"; first 415 expected 2027-02-22, 52-week lead). DigiKey shows 0 for every listing. So the recommendation sends the user to a part nobody can ship.
The same happens for CL21A106KOQNNNG (Mouser "1340033 On Order" shown as stock 1340033, DigiKey 0).
Impact: a board BOM was sourced from this (recorded as "12425 in stock" on 2026-11-06); the human ordered from Mouser and got a back-order email.
Expected:
- Mouser
stockcounts only quantity in stock; on-order quantity and dates go in their own fields (see the matching issue on adom/adom-mouser, where the number is parsed). --in-stock-onlyand the recommendation never pick a hit whose stock is 0 with only quantity on order.- When every authorized hit is 0, say so in a Hint ("no authorized stock: Mouser 12415 on order, first 2027-02-22; DigiKey 0") instead of recommending one.
Repro: adom-parts-search search STM32G0B1CBT6 vs https://www.mouser.com/ProductDetail/STMicroelectronics/STM32G0B1CBT6