Skip to content

Conversation

@Galoretka
Copy link
Contributor

Fix Memory::add_validation_rule to assign in place instead of inserting, preventing Vec index shifting that misaligns validation rules with segment indices; add a unit test to verify that adding rules out of order does not shift existing entries and that validate_existing_memory applies rules to the correct segments.

Galoretka and others added 2 commits November 16, 2025 11:49
…index alignment

Fix Memory::add_validation_rule to assign in place instead of inserting, preventing Vec index shifting that misaligns validation rules with segment indices; add a unit test to verify that adding rules out of order does not shift existing entries and that validate_existing_memory applies rules to the correct segments.
@gabrielbosio
Copy link
Collaborator

Hi, @Galoretka! This PR looks good but please add the corresponding changelog entry.

@Galoretka
Copy link
Contributor Author

Hi, @Galoretka! This PR looks good but please add the corresponding changelog entry.

Did it

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.

2 participants