Port Python PR #26162 to Go

Open
#26,413 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
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
go, python
Domain
backend, databases

Research direction

Review merged PR #26162 and compare its retry behavior with the Go implementations corresponding to the listed batch and finalization paths. Start with the erase-removes-owner-and-jobs replay case and inspect both JSON Pointer deltas in the issue. Port the affected behavior or document why no Go change is needed, then confirm the replay differences are resolved.

Written by the indexing model from the issue text.

Description

task

Python PR #26162 merged as 0dcbf5ee61ac012681325aaa7d93ec73a2b9ede8. Changed behavior: SCA-2625: route Firestore contention through existing task retries.

Affected families and mapped paths:

  • Go batch: backend/database/batch_pipeline_store.py, backend/routers/sync.py, backend/utils/batch_pipeline/provider_stt.py
  • Go finalization: backend/utils/enrichment/consumer.py, backend/utils/workers/retry.py

Replay against first parent afab9560db29a5516a95917ab5e90e66c0f9bb7a 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~154cde75254b4f9211bd9cf943fb74febd17e89fb71e729188d284e2df89504ad","missing_in_go"]],"removed":[["erase-removes-owner-and-jobs","/derived_documents/batch_pipeline_privacy~1d9b0cd04efe1d1e538a695458a7e4e0d019319e8e6bd1c4baa39a5876aa0fde1~1account_operations~1d9ae67607cd8c491638f6f24dd9f8dfec2bcaad14bb343626643531a187c7953","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.