Scripts: reject GDK vtable slots outside u8 #2658
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2658
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2658"
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?
@luckyteagirl on GitHub · 2026-11-26 05:14 UTC · original
luckyteagirl:codex/gdk-generator-slot-range→main· +41 −0 · 2 files · 1 commits · opengen_gdk_table.pyaccepts a vtable slot above 255 and overwrites the generated Rust table with a value that cannot fit itsu8field. Validate the slot width before opening the output file, so a bad input keeps the last usable table.What is in it
Tested
b49be183, the new regression failed because slot 256 exited successfully and replaced the table. On this branch, full Python script discovery passed 26/26 on Windows; the focused CLI test independently passed.git diff --checkand an independent source review passed. Open PR #1267 reorganizes the same generator, so a mechanical rebase may be needed if it lands first.Regression run
Not tested
AI use
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.