'Your Workflow will expire within 30 days' message should not be written to workflow history list
1)30 day expiry warning is written to history list adding additional item to history list.
2) It causes issues if history list inheritance is broken and workflow is running with elevated permissions
3)The message does not add value of being in history list
Thank you for posting your feedback.
Informing as many users of an impending expiration as possible is important to keep critical workflows available and running. To that end, I'm afraid we will not be adding this request.