test(twitter-app): add hermetic test suite for tweet detector and register check in manifest - #14209
1234adi1234 wants to merge 1 commit into
Conversation
…ister check in manifest
|
Thanks @1234adi1234 - well-scoped, clean test addition. Verified locally: all 7 tests pass under plain Per-file notes:
Minor, non-blocking: the AI-assisted paths ( Positive signal - leaving for human maintainer review before merge. Automated maintainer-assistant feedback on behalf of the Omi maintainers. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
|
@Git-on-my-level Thank you for the review and verification! All checks are green. Whenever convenient, please feel free to merge. Much appreciated! |
Summary
Adds automated hermetic regression testing for the Twitter plugin's intelligent tweet detection pipeline:
plugins/omi-twitter-app/test_tweet_detector.pyrunnable under standard library Python (python3 -S) with stubs foropenaianddotenv. Tests trigger phrase matching (tweet now,post this tweet), non-trigger phrase rejection, ending phrase detection (that's the tweet,end tweet), and clean content extraction.twitter-app-tweet-detector-testsin.github/checks-manifest.yaml.Verification
python3 -S -m unittest plugins/omi-twitter-app/test_tweet_detector.py(7 tests passed in 0.001s).bash scripts/pr-preflight --lane ci(passed 11/11 checks clean in 22.13s).