Skip to content

fix: make monthly audit entrypoint import service package - #109

Merged
Pigbibi merged 1 commit into
mainfrom
codex/fix-monthly-audit-import
Aug 1, 2026
Merged

fix: make monthly audit entrypoint import service package#109
Pigbibi merged 1 commit into
mainfrom
codex/fix-monthly-audit-import

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add the repository root to sys.path before the monthly audit entrypoint imports service.model_router
  • add a subprocess regression test matching the GitHub Actions invocation (python scripts/run_monthly_codex_audit.py without PYTHONPATH)

Production evidence

  • AIAuditBridge run 30692076738 failed on Ubuntu with ModuleNotFoundError: No module named 'service'
  • the same command reproduced locally before the fix

Validation

  • regression test was RED before the fix and passes after it
  • python3 -m unittest tests.test_run_monthly_codex_audit (115 tests, 1 skipped)
  • python3 -m ruff check scripts/run_monthly_codex_audit.py tests/test_run_monthly_codex_audit.py

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit 2c887a0 into main Aug 1, 2026
3 checks passed
@Pigbibi
Pigbibi deleted the codex/fix-monthly-audit-import branch August 1, 2026 08:48
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