Merged
Conversation
abrichr
added a commit
that referenced
this pull request
Mar 30, 2025
This merges the infrastructure for automated OmniParser server deployment on EC2, including a fix for reliable inactivity-based auto-shutdown using CloudWatch Alarms. Key additions: - EC2 instance provisioning, configuration (Docker install), and deployment logic for OmniParser container (`omnimcp/omniparser/server.py`). - CloudWatch Alarm / Lambda setup for inactivity-based auto-shutdown (replaces previous flawed `rate()` trigger). - Client logic (`omnimcp/omniparser/client.py`) updated for auto-deployment triggering and reliable initialization after deployment. - Foundational unit tests for core logic and simulation (`tests/test_core.py`, `tests/synthetic_ui_helpers.py`), which pass. - End-to-end test structure and files (`tests/test_omnimcp.py`, `tests/test_omniparser_e2e.py`, `tests/test_omnimcp_core.py`). - Test configuration (`tests/conftest.py`) for managing e2e tests. - GitHub Actions CI workflow (`.github/workflows/ci.yml`) using `uv` for linting and running passing tests. - Associated dependency updates in `pyproject.toml`. - Updated README with badges, demo GIF, setup instructions. Status: - Core deployment and client initialization verified via `test_deploy_and_parse.py`. - Unit tests pass and are checked by CI. - E2E tests and core tests involving client interaction are included but currently skipped/commented out due to API mismatches requiring refactoring (tracked separately). Combines and supersedes work from PRs #11 and #12.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.