-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new label for DataFormat breaking PRs #2245
Comments
cms-bot internal usage |
A new Issue was created by @francescobrivio. @Dr15Jones, @sextonkennedy, @smuzaffar, @makortel, @antoniovilela, @rappoccio can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign operations, core |
New categories assigned: operations,core @Dr15Jones,@davidlange6,@makortel,@rappoccio,@antoniovilela,@smuzaffar,@fabiocos you have been requested to review this Pull request/Issue and eventually sign? Thanks |
On the automation side, would it be more important to try to cover all such PRs at the expense of some PRs being misclassified (i.e. some amount of false positives would be ok), or to avoid labeling PRs that do not break streamer file reading at the expense of missing some PRs that break (i.e. avoid false positives)? Assuming the first option, I'd imagine we could easily label automatically all PRs touching |
@makortel , is there any way we can check this during PR tests e.g. comparing class versions /checksum ? |
I guess theoretically the checksums of all classes defined in |
From the operations point of view, it's definitely more important to cover all such PRs (i.e. some amount of false positives is ok), especially if we give the reviewers the option of removing such label in case it's not needed. We should avaoid at all cost missing some of the PRs that could potentially break the data layout! |
Thanks. Then I'd look into some relatively simple way of labeling all PRs that can potentially break streamer file compatibility, and asking the PR reviewer(s) to remove the label if it is clear the data format itself remains unchanged. Maybe the bot could issue a specific message on that to remind the reviewers? About the label name, I have mixed feelings about Reading the issue description again I became a bit confused. I recall the discussion in ORP was about streamer file compatibility (which made me think What about event content definition changes? Do those need similar special attention in Tier0? |
Hi Matti,
Additionally, we are definitely interested in marking the PRs that involve a change of the streamers format. I have no strong opinion on the label name I proposed in the original issue description, any other name that can help identify quickly and easily such PRs is perfectly fine for me, I don't know if other have a different option. |
Hello, what's prognosis for this issue? |
Hi,
Later we can improve it by actually checking the class versions/checksums in the PR and compare it with IB version/checksums and add this label if a PR class checksum is different than IB class version. I think if there are only newly added persistent classes then there is no need to add this label .... right? |
#2289 should allow to add the |
#2290 allows to automatically add |
After a bit more thought I think the " First, the check should be restricted to the specific packages that contain persistable data formats: Second, a
I have a work-in-progress prototype for a script to dump the class versions and checksums of all non-transient classes defined in given |
Based on my understanding of the use cases (possible streamer file incompatibility, possible need to change ERA, possible need to change processing version) I'd say also the case where a new persistent classes are added the label should be added (in general). |
I could not I'm not really sure if |
From the operational point of view it would be very useful to have a
breaks-dataformats
(or something similar) label that can be assigned to PRs which involve the change of theRAW
data-format or of any of the derived data-formats (AOD
,ALCARECO
...).This label can be used to easily spot when we a processing-version or an Era update are needed in Tier0 when a new release is being deployed.
I'm not sure if the label creation can/should be automatized somehow by checking if changes are done to the
DataFormat
package, since I can imagine having PRs that touch this package without necessarily modifying the data-formats (or if there are other packages that might lead to similar changes in data formats).Alternatively it can be left to L2s to assign the label to a PR when they review it.
The text was updated successfully, but these errors were encountered: