Bad magnetometer calibration on 1.12

We repeatedly observe bad calibration result for magnetometer on 1.12 firmware: though calibration passes, indicated yaw drifts after when aircraft was rotated and in logs we see yaw check bit as in https://logs.px4.io/plot_app?log=1503cb34-09ce-4c5a-89c2-48dc5ef65afb

The same hardware with 1.11.3 firmware works well.

How can we work around this issue?

And which logs may be useful for debugging this? Does it make sense to publish a log with calibration procedure itself (with which SDLOG_PROFILE)?

More logs.

We have experienced similar things since upgrading to 1.12. What FC and GNSS are you using?