mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 05:45:37 +08:00
Add a materialise counter to LazyToolBox (_lazy_materialize_count, bumped at the single _create_tool_from_stored_source chokepoint) and an integration test that hits every batch reader the client uses — flat listing, panel walk, panel views, tests-summary, all_requirements, and search — asserting a zero materialise delta across them. This catches accidental whole-toolbox materialisation that LAZY_TOOL_STRICT can't: a tool-filter or _MATERIALIZE_OK attribute read inside a full-index sweep parses tools without ever hitting the strict __getattr__ path. The test was written against the search-materialisation regression fixed in the previous commit and fails without it. Claude-Session: https://claude.ai/code/session_018L7ZmCv2ubKA3JNeSL8Pkr