mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1384] [CLOSED] test: fix narrowing byte fixtures in Windows conversation test #3421
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3421
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1384
Author: @midhatn
Created: 10/7/2026
Status: ❌ Closed
Base:
main← Head:fix/windows-checkpoint-byte-fixtures📝 Commits (1)
e13099etest: make checkpoint byte fixtures valid under MSVC📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/core/conversation_split_failure_test.cpp(+1 -1)📄 Description
The conversation split failure test initializes uint8_t vectors with runtime int expressions. MSVC rejects that list initialization as narrowing, which prevents the conversation test targets from building on Windows.
Cast the two generated fixture values to uint8_t explicitly. The loop only generates small representable values; the fault-injection coverage and engine code are unchanged.
Validation: built with MSVC 19.51 and ran all six conversation tests successfully on Windows, including the GPU snapshot test. The change is limited to the test fixture.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.