pymutant-mcp
2026-03-10
Centralize runtime config, remove CI artifact uploads, and harden runner execution
21 files · 822+ · 218-
Centralize runtime configuration
3 files changed
config.pyNew module centralizing all PYMUTANT_* environment variable access and defaultsmain.pyUpdated to use config module for project root resolutionprofiles.pyProfile resolution now uses config module for env access
Harden runner execution and result loading
4 files changed
helpers.pyAdded output sanitization, path normalization, and expanded helper functionsapi.pyAdded path normalization for selectors and improved empty-campaign handlingresults.pyAdded retry logic for meta file JSON reads and filesystem-aware source file resolutionbaseline.pyImproved runtime state reset to remove entire mutants directory
- Meta file reads now retry up to 3 times with delay to handle concurrent mutmut writes
harden
behavioral
1 file
results.py
- Source file resolution now checks filesystem paths instead of naive dot-to-slash conversion
harden
behavioral
1 file
results.py
- Runtime state reset now removes entire mutants directory via shutil.rmtree with fallback
harden
internal
1 file
baseline.py
Remove CI artifact uploads and fix SPDX lint
3 files changed
ci.ymlRemoved all upload-artifact steps; kept local dist/ artifactsrelease-readiness.ymlRemoved artifact upload steps and release dist uploadnormalize_spdx_headers.pyFixed SPDX header detection to avoid false lint conflicts
Expand test coverage for new modules
3 files changed
test_config.py58 lines testing config module env variable accesstest_helpers.pyAdded 175 lines of new helper tests for output sanitization and path normalizationtest_results_reporting.pyAdded 66 lines testing retry logic and filesystem source resolution
- Added tests for config module, output sanitization, path normalization, and meta file retry
qualify
behavioral
3 files
test_config.pytest_helpers.pytest_results_reporting.py