It'll say it's a double spend before it confirms, because that's exactly what you're doing. Once either confirms the other is I'll and void. So don't worry about it in the future, and if the person receiving the transaction is worried just have them wait for some confirmations.
Hey thanks.
Out of curiosity, do nodes selectively sometimes avoid "double spend" transactions out of safety concern, or they don't care. I've receive 2 confirmations after 1 block so I am wondering if that's because some nodes choose not to take it because of the double spend broadcast. Or it could just be the traffic or low fees
nodes can modify their settings to accept or reject anything they want.
what they should do is that they should reject any transaction that is a double spend.
but what you did is probably an RBF transaction. those things are like an exception. in your first transaction you tell everyone that you may change this transaction to increase its fee (replaceable by fee), so nodes expect it to happen. those nodes that allow RBF transactions won't reject this kind of double spend and simply replace it with the new one.