-
Notifications
You must be signed in to change notification settings - Fork 155
[QC-1292] Missing run number in logs from BookkeepingSink #2561
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
base: master
Are you sure you want to change the base?
Conversation
Barthelemy
commented
Jun 5, 2025
- added initialization of IL
- set the run number whenever we get one
- added initialization of IL - set the run number whenever we get one
wip because I don't know how to test |
@@ -70,6 +77,7 @@ void BookkeepingQualitySink::send(const std::string& grpcUri, const BookkeepingQ | |||
} | |||
if (!runNumber.has_value()) { | |||
runNumber = flagCollection->getRunNumber(); | |||
QcInfoLogger::setRun(runNumber.value()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is quite late to set the run number. send
happens only at the end of run. Would you be able to retrieve run number during start of run as a fairmq property, similarly to other Runners?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, this is a fair point. I wanted to be consistent with what we pass to the BK but it makes more sense like that.
add a valid bookkeeping URL to a QC config file and add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!