fix: require boolean weak flags in import registries #6431
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6431"
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?
Imported from boykopovar/AnyPS5. Originally posted by MrMha on 2026-10-15T15:00:50Z.
What
Registry parsing coerces weak with bool(), so the string "false" is treated as a weak import and can suppress the first unresolved strong-import stop. Require a JSON boolean when weak is present; omission still defaults to false. The regression covers strings, numbers, null, containers, accepted booleans, CLI failure, and preservation of an existing report.
Tested
macOS 27.0.1 arm64, Python 3.12.14; tooling fixtures only, no title.
The new regression failed on main
ff23657before the fix. This branch was tested independently from that base.The combined local validation checkout containing all ten independent tooling fixes also built with
ANYPS5_RELINKER_ONLY=ON,BUILD_TESTING=ONand passed all 172 CTest tests. Full Windows/Linux runtime and GPU tests were not run.Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T15:08:13Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)tools/import_audit.pyL412-414