Package managers for analyzers usually pin something. Does capm resolve installs to a digest or a semver pin of each analyzer, or does the same config pull a different binary over time? Wondering how reproducible a CI run stays when the analyzer set gets resolved fresh.
Good question. Currently the packages (analyzers) are baked into the binary (for example mypy). So, switching CAPM versions can pull different analyzer versions over time. This is similar to how Mega-Linter works (for example mypy). I could take out the package definitions and move them to a separate repo so they can be versioned independently from the tool itself.
The current mypy.yml pins mypy to 1.17.1. If the definitions move to another repo, would CAPM pin a tag or commit for that repo too? That would keep the analyzer version and its package set reproducible together.
1
u/kantorcodes1 Oct 21 '26
Package managers for analyzers usually pin something. Does capm resolve installs to a digest or a semver pin of each analyzer, or does the same config pull a different binary over time? Wondering how reproducible a CI run stays when the analyzer set gets resolved fresh.