This is a great question. I tested to replicate here, and it is working as expected.
The discountedTotalSet field must be explicitly set using draft orders, Shopify scripts, or the API. It’s recommended instead to use discountAllocations.
Our GraphQL documentation is not as clear on this field as we are on REST, so I’ll get that feedback over to our team.