Skip to content

Modularize watcher runtime and reliability core - #2

Merged
NRG-Wardog merged 14 commits into
mainfrom
modularize-reliability-core
Aug 19, 2026
Merged

Modularize watcher runtime and reliability core#2
NRG-Wardog merged 14 commits into
mainfrom
modularize-reliability-core

Conversation

@NRG-Wardog

Copy link
Copy Markdown
Owner

What changed

  • split the former single-file watcher into focused modules for configuration, errors, reliability controls, snapshot logic, browser integration, runtime orchestration, and utilities
  • reduced biu_grade_watcher.py to a thin CLI and compatibility import surface
  • preserved the existing command-line interface and public reliability primitives used by tests
  • added a package module entry point and compatibility/import coverage
  • updated the README to document the modular architecture and remove the monolith limitation

Why

The previous implementation kept browser integration, persistence, request pacing, circuit-breaker state, notifications, snapshot diffing, and orchestration in one large module. The split makes deterministic reliability logic independently understandable/testable and isolates the external BIU/Playwright boundary.

Validation target

GitHub Actions should compile the Python sources and run the deterministic reliability suite without contacting BIU or requiring credentials. Live browser/authentication behavior remains an environment-dependent integration boundary and is not represented as passing CI coverage.

@NRG-Wardog
NRG-Wardog marked this pull request as ready for review August 19, 2026 21:12
@NRG-Wardog
NRG-Wardog merged commit 5ba52b6 into main Aug 19, 2026
3 checks passed
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