Skip to content

Pin reproducer CCDB queries to the original job's run time - #2427

Merged
sawenzel merged 1 commit into
AliceO2Group:masterfrom
sawenzel:reproducer-pin-ccdb-condition-not-after
Jul 31, 2026
Merged

Pin reproducer CCDB queries to the original job's run time#2427
sawenzel merged 1 commit into
AliceO2Group:masterfrom
sawenzel:reproducer-pin-ccdb-condition-not-after

Conversation

@sawenzel

Copy link
Copy Markdown
Contributor

Reproducers resolved CCDB against the present, so any object re-uploaded since the job ran silently changed the outcome -- e.g. FT0/Calib/EventsPerBc, whose late arrival flips o2-steer-colcontexttool to the non-uniform sampler and gives a different collision context at the same fixed seed.

Inject ALICEO2_CCDB_CONDITION_NOT_AFTER, which BasicCCDBManager picks up, so it covers the anchoring stage as well as the workflow tasks.

Only pin when the moment is actually known: $2 if given, else "now" when run inside the job itself (the anchorMC.sh path). Otherwise skip and say so -- a wrong pin is worse than none. Skipped too if the JDL already sets it.

Reproducers resolved CCDB against the present, so any object re-uploaded since
the job ran silently changed the outcome -- e.g. FT0/Calib/EventsPerBc, whose
late arrival flips o2-steer-colcontexttool to the non-uniform sampler and gives
a different collision context at the same fixed seed.

Inject ALICEO2_CCDB_CONDITION_NOT_AFTER, which BasicCCDBManager picks up, so it
covers the anchoring stage as well as the workflow tasks.

Only pin when the moment is actually known: $2 if given, else "now" when run
inside the job itself (the anchorMC.sh path). Otherwise skip and say so -- a
wrong pin is worse than none. Skipped too if the JDL already sets it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

@sawenzel

Copy link
Copy Markdown
Contributor Author

Companion to AliceO2Group/AliceO2#15653

@sawenzel
sawenzel merged commit b4f03d4 into AliceO2Group:master Jul 31, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant