Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDV Health checks ignore some Collection installed mods #2734

Open
Al12rs opened this issue Feb 26, 2025 · 3 comments
Open

SDV Health checks ignore some Collection installed mods #2734

Al12rs opened this issue Feb 26, 2025 · 3 comments
Labels
Epic: Health Check This is related to the Health Check diagnostic system

Comments

@Al12rs
Copy link
Contributor

Al12rs commented Feb 26, 2025

Bug Report

Summary

If a SDV mod is installed as part of a Collection using "Replicate" method, it will not have the extra SMAPILoadoutItem metadata, making the resulting mod invisible to health checks.

Details

Our normal SMAPIModInstaller adds metadata to Stardew Valley mods regarding their manifest. We use the this metadata to recognize mods with SMAPI manifests inside the health checks.

If a SMAPI mod is not installed through the SMAPIModInstaller, the extra metadata will not be added, making the mod invisible to the health checks.

Other information

We should either change health checks to find the relevant mods some other way, or make a system that can add metadata to any new mod, not just the ones using a particular installer.

@Al12rs Al12rs added this to MVP Feb 26, 2025
@Pickysaurus
Copy link
Contributor

@Al12rs Would this also be true of mods installed via "Advanced Install"?

@Al12rs
Copy link
Contributor Author

Al12rs commented Feb 27, 2025

@Al12rs Would this also be true of mods installed via "Advanced Install"?

Yes that is correct, mods installed that way don't currently have the extra metadata.

We should either implement a post installer step that can attach metadata, regardless of the installer used, or not rely on metadata at all in Health checks.

@Pickysaurus
Copy link
Contributor

It's probably good to extract metadata as that basically caches it, right? I suppose there are possible cases where we want metadata refreshed, though. Such as if I edit the manifest.json of a mod. Or when we eventually support Bethesda games, I could resave the plugin with different masters.

@Pickysaurus Pickysaurus added the Epic: Health Check This is related to the Health Check diagnostic system label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic: Health Check This is related to the Health Check diagnostic system
Projects
Status: No status
Development

No branches or pull requests

2 participants