Port Python PR #26390 to Go

Open
#26,478 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
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
go, python
Domain
backend

Research direction

Review merged Python PR #26390 and compare its changes with the Go batch and finalization paths mapped to backend/routers/sync.py and backend/utils/metrics.py. Start by replaying the erase-removes-owner-and-jobs case and inspecting the two reported JSON Pointer differences. Done means porting the affected behavior or documenting why no Go change is needed.

Written by the indexing model from the issue text.

Description

task

Python PR #26390 merged as d7d76281dde28909f87eee88660e39873011bc67. Changed behavior: SCA-4464: Retire the sync poll-backoff experiment; keep legacy polling.

Affected families and mapped paths:

  • Go batch: backend/routers/sync.py
  • Go finalization: backend/utils/metrics.py

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