Skip to content

Check the CV file for strings that exceed CMOR's character limit#985

Merged
mauzey1 merged 7 commits into
mainfrom
982-cv-string-too-long-error
Jun 24, 2026
Merged

Check the CV file for strings that exceed CMOR's character limit#985
mauzey1 merged 7 commits into
mainfrom
982-cv-string-too-long-error

Conversation

@mauzey1

@mauzey1 mauzey1 commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Resolves #982, #983

This adds the ability to check for strings in the CV JSON file that exceed CMOR's 1023 character limit for string values. This is to prevent CMOR from copying values that are too large for its fixed 1024 bytes long strings, which caused crashes.

This also fixes issues with the error messages' color formatting. Error messages printed to log files will no longer have color formatting characters.

@mauzey1 mauzey1 requested a review from durack1 June 22, 2026 18:51

@durack1 durack1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mauzey1 wonderful, thanks!

@mauzey1 mauzey1 merged commit f7d9149 into main Jun 24, 2026
21 checks passed
@mauzey1 mauzey1 deleted the 982-cv-string-too-long-error branch June 24, 2026 22:56
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.

No error or warning for CV string values exceeding 1023 character limit

2 participants