This repository was archived by the owner on Nov 30, 2026. It is now read-only.
Repository navigation
Cold-cache parse and import seed the class registry (#188) - #190
Merged
Merged
Conversation
A cold .godot/ has no global_script_class_cache.cfg, so the engine boots with no class_name scripts registered, and a plugin's custom ResourceFormatLoader is missing when the first import parses that plugin's resources. parse.sh now runs a seed import first when the registry is missing, logs it on its own and fails if the seed writes no registry. gdk_rebuild_import_cache (make import) runs two passes on a cold registry. Refs #188 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0177RxMb4U6YGaGVPmUNstnQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #188
On a cold
.godot/the engine has no class registry, so plugin resource loaders are not registered when the first import parses resources.gdk_rebuild_import_cachenow runs two import passes on a cold registry (one on a warm one), via the newgdk_cold_class_registrypredicate.parse.shfirst runs a bounded, leased seed import (log not graded) on a cold registry.Files: gdk_runners.sh, parse.sh, import_cache.sh (comment), tests/test_runners_installable.py.
Proof:
make precommitPASS (227 passed). Not verified: no real engine boot, so the mechanism is proven only against stubs; a consuming game must confirm on a fresh clone.🤖 Generated with Claude Code