fallintoplace opened a new pull request, #24155: URL: https://github.com/apache/camel/pull/24155
## Summary - Use Python JSON serialization when formatting metadata keys, string values, and array items. - Exit with an error when a requested metadata file has no matching target to update. ## Root cause The metadata updater manually wrapped strings in quotes while preserving the generated Jackson-like layout. That could emit invalid JSON when existing metadata values or new service versions contained characters that need escaping. The script also ignored update results, so a missing match could leave generated metadata stale while the workflow continued. ## Validation - `python3 -m py_compile .github/actions/check-container-upgrade/update-metadata-version.py` - `git diff --check` - Ran temp-file checks covering quoted/backslash/newline values, successful updates across both metadata files, and the no-match failure path. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
