Skip to content

test: match the current wording in the batch startup and feedback provenance tests - #24912

Merged
Git-on-my-level merged 3 commits into
mainfrom
lane/batch-startup-test-wording
Nov 8, 2026
Merged

Git-on-my-level merged 3 commits into
mainfrom
lane/batch-startup-test-wording

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

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", but backend/diarizer/batch_pipeline_startup.py raises "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.py and backend/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.

View guided diff Turn on auto-fix

…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.
@Git-on-my-level Git-on-my-level self-assigned this Nov 8, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T09:37:12.647993Z 6abce80 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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].

View guided diff | Turn on auto-fix | Re-trigger cubic

@Git-on-my-level

Copy link
Copy Markdown
Member Author

Closing and reopening to retrigger CodeQL. Its run 42467717966 died on a GitHub 504 and can't be retried. The head stays 6abce80.

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

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:

  • Project standards — Ensuring consistency across the codebase
  • User needs — Making sure changes align with what our users need
  • Code best practices — Maintaining code quality and maintainability
  • Project direction — Keeping aligned with our product principles and locked invariants

Before your next PR, please skim:

  • PRODUCT.md — product north star
  • Product invariants — locked rules (shared chat, memory tiers, agent control plane, integrations, brand)

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!

@Git-on-my-level
Git-on-my-level merged commit 09c1d41 into main Nov 8, 2026
70 of 76 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/batch-startup-test-wording branch November 8, 2026 10:55
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