Fix runner tags assignment when retrying a job
What does this MR do?
This MR fixes assigning runner tags to CI/CD job that has been retried.
In this MR I also try to improve tests to better detect missing attributes and relations that should have been cloned.
Does this MR meet the acceptance criteria?
-
Tests added for this feature/bug
What are the relevant issue numbers?
See !9409 (merged)
Closes #28846 (closed)