-
Notifications
You must be signed in to change notification settings - Fork 4
Check gt_aesummary apply modifications #215
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
Open
ginnaram13
wants to merge
15
commits into
main
Choose a base branch
from
211-limited-soc-placeholder-in-prepare_ae_specific
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Check gt_aesummary apply modifications #215
ginnaram13
wants to merge
15
commits into
main
from
211-limited-soc-placeholder-in-prepare_ae_specific
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Merge branch '211-limited-soc-placeholder-in-prepare_ae_specific' of https://github.com/Merck/metalite.ae into 211-limited-soc-placeholder-in-prepare_ae_specific # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
Snapshots were regenerated with different font charset values due to platform/locale differences. This caused CI failures. Reverting to main branch versions to match CI environment expectations. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Updated RTF snapshot files to match current system charset encoding. These files contain platform-specific font charset values (fcharset0/1/2) that differ between local and CI environments. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Changed from binary RTF file snapshots to text-based snapshots with normalized font charset values. This resolves CI failures caused by platform-specific font charset differences (fcharset0/1/2/161). Changes: - Added normalize_rtf_charset() helper to convert all fcharset values to 0 - Added expect_snapshot_rtf() wrapper for RTF snapshot testing - Converted binary RTF snapshots to text-based .md snapshots - Updated tests to use new snapshot method This ensures consistent test results across macOS, Windows, and Linux CI environments. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
The previous approach using text-based markdown snapshots didn't work correctly with testthat. Reverted to binary RTF file snapshots but with charset normalization applied first. Changes: - Updated expect_snapshot_rtf() to write normalized content to temp file and use expect_snapshot_file() with the temp file - Removed markdown-based snapshots - Regenerated binary RTF snapshots with normalized charset (fcharset0) This approach combines the benefits of binary file snapshots (proper test structure) with charset normalization (cross-platform compatibility). 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Modified expect_snapshot_rtf() to normalize RTF files in place - This ensures charset values are normalized to fcharset0 before testthat comparison - All platforms (macOS, Windows, Linux) will now generate matching snapshots - Resolves CI snapshot mismatch issues 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.