Skip to content

fix check for ArrayPlugin encoding ID on deserialize#7427

Merged
a10y merged 5 commits intodevelopfrom
aduffy/no0check
Apr 14, 2026
Merged

fix check for ArrayPlugin encoding ID on deserialize#7427
a10y merged 5 commits intodevelopfrom
aduffy/no0check

Conversation

@a10y
Copy link
Copy Markdown
Contributor

@a10y a10y commented Apr 14, 2026

Summary

When deserializing an array encoded using the experimental patched encoding ArrayPlugin, reads can fail b/c of this assertion.

This adds a method is_supported_encoding that lets ArrayPlugin indicate support for multiple codecs, rather than just one. The default impl for the VTable is to just check the builtin supported encodings.

the BitPackPatched plugin reports support for both vortex.patched and fastlanes.bitpacked

Signed-off-by: Andrew Duffy <andrew@a10y.dev>
@a10y a10y marked this pull request as ready for review April 14, 2026 14:32
@a10y a10y added the changelog/fix A bug fix label Apr 14, 2026
a10y added 2 commits April 14, 2026 10:41
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
@a10y a10y enabled auto-merge (squash) April 14, 2026 14:44
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
@a10y a10y changed the title remove check for ArrayPlugin encoding ID match fix check for ArrayPlugin encoding ID on deserialize Apr 14, 2026
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
@a10y a10y merged commit 1a56560 into develop Apr 14, 2026
60 checks passed
@a10y a10y deleted the aduffy/no0check branch April 14, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants