I'm not sure if this has been discussed before and I missed it, but jlcpcb has a new QR / data matrix / serial feature that allows you to put a different number on each board, in a scannable form!
This is huge for me, I have been thinking about labels or laser marking boards to do this but them doing it is way easier. Now I can serialise all the boards in the erp, and connect up failures etc to specific production. The printer / spi can scan the board and know which serial numbers are being made. Traceability!