Skip to content

Improve MCProdInfo CCDB consistency - #2567

Open
sawenzel wants to merge 1 commit into
AliceO2Group:masterfrom
sawenzel:mcprodinfo-update-on-change
Open

sawenzel wants to merge 1 commit into
AliceO2Group:masterfrom
sawenzel:mcprodinfo-update-on-change

Conversation

@sawenzel

Copy link
Copy Markdown
Contributor

This improves MCProdInfo CCDB consistency in situations where a production is relaunched under the same tag and run, or where validation jobs reuse a production tag.

  • A changed MCProdInfo is uploaded as a new version instead of being skipped.
  • Versions are ordered by the new MasterJobID, so an older masterjob cannot restore stale content.
  • RecoTag and the new OutputDir are recorded; OutputDir is not compared.
  • Offline tools only fill empty fields unless forced.
  • ALIEN_JDL_DISABLE_MCPRODINFO switches publishing off, e.g. for validation jobs.
  • A rejected upload is retried once without OutputDir.
  • Metadata values read from CCDB are URL-decoded, as CCDB keeps them encoded.

Assisted by Claude Code.

This improves MCProdInfo CCDB consistency in situations where a production is relaunched under the same tag and run, or where validation jobs reuse a production tag.

- A changed MCProdInfo is uploaded as a new version instead of being skipped.
- Versions are ordered by the new MasterJobID, so an older masterjob cannot restore stale content.
- RecoTag and the new OutputDir are recorded; OutputDir is not compared.
- Offline tools only fill empty fields unless forced.
- ALIEN_JDL_DISABLE_MCPRODINFO switches publishing off, e.g. for validation jobs.
- A rejected upload is retried once without OutputDir.
- Metadata values read from CCDB are URL-decoded, as CCDB keeps them encoded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sawenzel
sawenzel requested a review from jackal1-66 as a code owner November 25, 2026 18:59
@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

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