Skip to content
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

fix(developer): improve .kmx output consistency for cross-platform 🚑 #8388

Merged
merged 2 commits into from
Mar 9, 2023

Conversation

mcdurdin
Copy link
Member

@mcdurdin mcdurdin commented Mar 8, 2023

This fixes two issues:

  1. COMP_KEY structure had padding that was not always zeroed out. Made this explicit.

  2. Rule sorting could be inconsistent when re-sorting rules that use + any() > ..., which are expanded at compile time into multiple rules, and which ended up with identical sort keys due to lack of precision. This relates to bug(developer): rule sorting algorithm may sort touch or other non-character keys wrongly #8381 but only adds differentiation for the otherwise ambiguous rule sort keys, and does not fix that issue, which requires further investigation.

@keymanapp-test-bot skip

This fixes two issues:

1. `COMP_KEY` structure had padding that was not always zeroed out.
   Made this explicit.

2. Rule sorting could be inconsistent when re-sorting rules that
   use `+ any() > ...`, which are expanded at compile time into multiple
   rules, and which ended up with identical sort keys due to lack of
   precision. This relates to #8381 but only adds differentiation for
   the otherwise ambiguous rule sort keys, and does not fix that issue,
   which requires further investigation.
@mcdurdin mcdurdin requested a review from darcywong00 as a code owner March 8, 2023 06:57
@mcdurdin mcdurdin added this to the A17S8 milestone Mar 8, 2023
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Mar 8, 2023

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

@mcdurdin mcdurdin changed the title fix(developer): improve .kmx output consistency for cross-platform fix(developer): improve .kmx output consistency for cross-platform 🚑 Mar 8, 2023
@mcdurdin mcdurdin self-assigned this Mar 8, 2023
Copy link
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

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

lgtm

Base automatically changed from chore/developer/cross-platform-fixups-for-wasm to feature-kmcompx March 9, 2023 07:41
@mcdurdin mcdurdin merged commit 0291399 into feature-kmcompx Mar 9, 2023
@mcdurdin mcdurdin deleted the fix/developer/8381-kmx-output-consistency branch March 9, 2023 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants