Port Python PR #26344 to Go

Open
#26,428 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
43/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
go, python

Research direction

Review the merged diff for Python PR #26344 and compare it with the Go implementation; the listed mapped paths are Python paths, so first locate their Go counterparts. Focus on the batch pipeline and finalization behavior for long and multi-unit recordings, then inspect the replay case erase-removes-owner-and-jobs and its two JSON Pointer deltas. Done means porting the affected behavior or recording why no Go change is needed.

Written by the indexing model from the issue text.

Description

task

Python PR #26344 merged as 4e5dfdb1088c59e7e29cf5bf5c6b28bb28abee1f. Changed behavior: v3: fast finish long and multi-unit recordings in concurrent chunks (SCA-4434).

Affected families and mapped paths:

  • Go batch: backend/utils/batch_pipeline/live.py, backend/utils/stt/batch_language.py, backend/utils/stt/language_gate.py
  • Go finalization: backend/utils/batch_pipeline/live.py

Replay against first parent 9260692f886b83149fbe31b745074447eb0c998d found 1 added and 1 removed unexplained differences. Review the merged diff and port the affected behavior or record why no Go change is needed. Each delta entry lists the replay case, JSON Pointer path, and difference kind.

{"added":[["erase-removes-owner-and-jobs","/derived_documents/batch_pipeline_privacy~1d9b0cd04efe1d1e538a695458a7e4e0d019319e8e6bd1c4baa39a5876aa0fde1~1account_operations~15f3317025180f9bc2b19b25365001e5c307eb7b123cc09203ce0a25c73f5b2f6","missing_in_go"]],"removed":[["erase-removes-owner-and-jobs","/derived_documents/batch_pipeline_privacy~1d9b0cd04efe1d1e538a695458a7e4e0d019319e8e6bd1c4baa39a5876aa0fde1~1account_operations~18e198aed27155960ebe440626157daa713295abb43af771c9b35421a2c64abc9","missing_in_go"]]}
Dominant language
Python
Stars
14k
Forks
2.7k
Avg merge
9h 19m
Merged PRs (30d)
655

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BasedHardware/omi

All issues in BasedHardware/omi

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.