Skip to content

test: add comprehensive edge-case tests for config, discovery, reporter, and remediation - #48

Merged
Mresyzz merged 1 commit into
mainfrom
codex/v0.9.2-audit-hardening
Oct 11, 2026
Merged

Mresyzz merged 1 commit into
mainfrom
codex/v0.9.2-audit-hardening

Conversation

@Mresyzz

@Mresyzz Mresyzz commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Summary

This PR addresses high-value test coverage gaps and edge-case boundaries identified during the audit of core modules:

  1. config.py: validate_packages, validate_memory_limit, and load_config limits.
  2. discovery.py: discover_changed_scripts Git error paths and max_scripts overflow.
  3. reporter.py: text sanitization and SARIF rule mappings across all failure states.
  4. remediation.py: absolute path interpreter matching.
  5. Tracking: updated .ai/v0.9.2_issues_report.md with item 11.

Verification

  • Added tests/test_audit_coverage.py with 19 new tests.
  • Full pytest suite passes (189 passed, 12 skipped, 0 failures).

@Mresyzz
Mresyzz merged commit 9244506 into main Oct 11, 2026
17 checks passed
@Mresyzz
Mresyzz deleted the codex/v0.9.2-audit-hardening branch October 11, 2026 10:29

This branch was successfully deployed

1 active deployment
github-pages — 5008e86f Deployed Oct 11, 2026 by Mresyzz via deploy #17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant