Description
During the development of conditions, AlCa finds it useful to separate PRs that update the global tags in autoCond into logically separate pull requests. In particular, coupled code+conditions updates should not introduce additional, unrelated condition changes. This helps to cross-check that no changes were introduced into workflows other than those intended. For example:
- enabling UL regression for 2018 (and likely Run3) cmssw#27644 should only affect 2016+2017 data
- Updates to DT, PF hadron, HCAL, PPS and pixel calibrations for 2018 UL [10_6_X] cmssw#27698 should only affect 2018 data and MC
- Update tracker alignment for 2021 realistic scenario cmssw#27651 should only affect 2021 MC
- the 10_6_X backport of enabling UL regression for 2018 (and likely Run3) cmssw#27644 should only affect 2018 and later data and non-2017 MC
The comparison tests currently make comparisons against the most recent IB but global tags are created and approved outside the CMSSW release framework. So, for example, the GTs in cms-sw/cmssw#27644 are final and all future global tags will include these updates. Where there are conflicts between the global tags in open PRs, global tags in the PRs that are intended to be merged later (to maintain consistency with the global tag versioning) are constructed relative to the global tags in autoCond (rather than relative to the global tag queues) purely for the purpose of supporting the comparison tests.
It would be better if we could use the correct global tag, based on the content of the global tag queue, in the PR from the beginning. To support the PR tests in this case, a new syntax would need to be introduced to the bot to use additional PRs in the baseline for the comparison tests. For example:
[@cmsbuild,] please test baseline <#PR[,#PR[...]]>
Then cms-sw/cmssw#27698 would be tested with
please test baseline 27644
and cms-sw/cmssw#27644 would be tested with
please test baseline 27698,27651
where cms-sw/cmssw#27698 would also include the updated global tag content of cms-sw/cmssw#27644.