You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ResolveMissingAssembly fallback ineffective because s_assembliesWithResources was never populated #75
• The resolver's fallback path that searches assemblies for embedded SGF.Assembly:: resources never ran, because s_assembliesWithResources remained empty. As a result embedded assemblies that should have been extracted and returned were not considered, causing assembly resolution failures or incorrect resolution behavior.
Symptoms
• Embedded dependencies (SGF.Assembly::*.dll) are not found by ResolveMissingAssembly; Assembly.Load requests that should have been satisfied by embedded resources throw FileNotFoundException or return null.
• Logs showing "Extracting ..." for the containing assembly appear (when AddAssembly inspects resources), but no subsequent extraction attempts occur via the fallback path.
• Tests or runtime scenarios that rely on the hoist to discover and load embedded assemblies as a fallback will fail intermittently or deterministically when the assembly with the embedded resource was not the one already registered in s_loadedAssemblies.
Impact
• Embedded assembly fallback is non-functional; any scenario where embedded assemblies should be loaded on-demand (rather than eagerly) will fail.
• Causes spurious failures in environments where hoists are loaded into hosts that previously loaded different versions of dependencies (compiler servers, IDEs).
• Makes tests that expect on-demand extraction fail and makes runtime behavior less robust across process lifetimes and ordering of loads.
Activity