Repository navigation
test: match the current wording in the batch startup and feedback provenance tests - #24912
Conversation
…rd test #24477 changed the raised message to 'pyannote pair requires the model runtime' and left this test expecting the old 'GPU image' wording, which fails the Backend unit shard on main. Match the current message.
The tombstone change (153a943) made the tool report a foreign or tombstoned conversation as not found, and updated its own tests. These two assertions still expected unavailable. Both still check that the tool reports an error and writes nothing.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
No issues found across 2 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
You’re at about 98% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact [email protected].
|
Closing and reopening to retrigger CodeQL. Its run 42467717966 died on a GitHub 504 and can't be retried. The head stays 6abce80. |
|
Hey @Git-on-my-level 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Requested by David
What changed and why
Restores main to green.
backend/tests/unit/test_batch_pipeline_startup.py::test_pyannote_pair...expected the message "pyannote pair requires the GPU image", butbackend/diarizer/batch_pipeline_startup.pyraises "pyannote pair requires the model runtime". The wording changed in #24477 (commit edc5dff), which changed the code and not the test. The batch-worker message in the same file still reads "requires the joint GPU image", and its test is unchanged.This PR also updates two stale assertions in
backend/tests/unit/test_feedback_task_provenance.py. The feedback tool now reports a foreign conversation as "Conversation ... not found", the wording the tombstone change (153a943) introduced on purpose. Both tests still check that the tool reports an error and writes nothing, and the new wording keeps that: a foreign conversation is refused without revealing that it exists.No code changes.
Product invariants affected
None. Test wording only.
How it was verified
backend/tests/unit/test_batch_pipeline_startup.py: 11 passed.backend/tests/unit/test_feedback_task_provenance.pyandbackend/tests/unit/test_source_audio_listing.py: 25 passed. All in the task worktree's backend venv.Tests
The updated assertion is the pyannote-pair guard test. It now matches the message the code raises.
UI evidence
Not applicable.