Repository navigation
backend-go: generate port tasks from merged Python PRs - #25810
Merged
Merged
Conversation
…-sol/eae74e63b092
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Generate port task drafts when a merged Python PR changes finalization or batch behavior. The map covers all 34 finalization and 41 batch runtime Python sources cited by the landed contracts, plus imported family policy and implementation. The scope document records the boundaries and exclusions. The PR branch includes
mainat contracts merge97b4059861a7. The batch map includes the projection kill-switch defaults introduced upstream in #25791.The Backend Go Checks workflow runs the Python suite when these files change in a PR. On each main push, it walks the pushed first-parent merge commits, looks up their merged main PRs, and checks the complete paginated file list against GitHub's
changed_filescount before drafting. The CLI also rejects duplicate filenames in a counted input and uses both sides of renames. The job prints JSON and uses read-only permissions. Tracker writes are outside this change. Commit-to-PR API · PR files APIVerification
python3 -m unittest discover -s .github/scripts -p test_go_port_tasks.py -v.actionlint .github/workflows/backend-go-checks.ymlpassed. Ran the workflow's push steps locally over three real first-parent merges and verified Go test selection on Go and Python-only ranges.cd backend-go && TEST_FIRESTORE_REQUIRED=1 make checkpassed with Postgres 16 and the Firestore emulator.gh pr checks 25810 --watchpassed at head9554967bf7. Local preflight skipped the 90-day failure-class ratchet because the checkout is shallow. Backend Go ChecksProduct invariants affected
none
Examples from merged PRs
PR #25771
[ { "family": "finalization", "title": "Port Python PR #25771 to Go finalization", "body": "Python PR [#25771](https://github.com/BasedHardware/omi/pull/25771) changed `backend/database/conversations.py`, `backend/models/conversation.py`, `backend/utils/conversations/process_conversation.py`, `backend/utils/conversations/render.py`, `backend/utils/conversations/v3/policy.py`. Review the merged diff and port any behavior changes to the Go finalization family under `backend-go/`. Add or update parity coverage for the changed behavior, or record why the Go port needs no change.", "matched_paths": [ "backend/database/conversations.py", "backend/models/conversation.py", "backend/utils/conversations/process_conversation.py", "backend/utils/conversations/render.py", "backend/utils/conversations/v3/policy.py" ] } ]PR #25755
[ { "family": "finalization", "title": "Port Python PR #25755 to Go finalization", "body": "Python PR [#25755](https://github.com/BasedHardware/omi/pull/25755) changed `backend/config/merge_before_processing.py`, `backend/models/conversation.py`, `backend/models/structured.py`, `backend/utils/conversations/deterministic_minimum.py`, `backend/utils/conversations/empty_structure_minimum.py`, `backend/utils/conversations/fragment_visibility.py`, `backend/utils/conversations/historical_minimum.py`, `backend/utils/conversations/home_titles.py`, `backend/utils/conversations/merge_conversations.py`, `backend/utils/conversations/process_conversation.py`, `backend/utils/conversations/processing_trigger.py`, `backend/utils/conversations/relevance_salience.py`, `backend/utils/conversations/summary_delivery.py`, `backend/utils/conversations/sync_hold_completion.py`, `backend/utils/episodes/member_notes.py`, `backend/utils/llm/notes_short_clip_policy.py`. Review the merged diff and port any behavior changes to the Go finalization family under `backend-go/`. Add or update parity coverage for the changed behavior, or record why the Go port needs no change.", "matched_paths": [ "backend/config/merge_before_processing.py", "backend/models/conversation.py", "backend/models/structured.py", "backend/utils/conversations/deterministic_minimum.py", "backend/utils/conversations/empty_structure_minimum.py", "backend/utils/conversations/fragment_visibility.py", "backend/utils/conversations/historical_minimum.py", "backend/utils/conversations/home_titles.py", "backend/utils/conversations/merge_conversations.py", "backend/utils/conversations/process_conversation.py", "backend/utils/conversations/processing_trigger.py", "backend/utils/conversations/relevance_salience.py", "backend/utils/conversations/summary_delivery.py", "backend/utils/conversations/sync_hold_completion.py", "backend/utils/episodes/member_notes.py", "backend/utils/llm/notes_short_clip_policy.py" ] } ]PR #25686
[ { "family": "finalization", "title": "Port Python PR #25686 to Go finalization", "body": "Python PR [#25686](https://github.com/BasedHardware/omi/pull/25686) changed `backend/utils/conversations/lifecycle.py`, `backend/utils/conversations/process_conversation.py`, `backend/utils/conversations/v3/policy.py`, `backend/utils/conversations/v3/service.py`, `backend/utils/conversations/v3/triggers.py`. Review the merged diff and port any behavior changes to the Go finalization family under `backend-go/`. Add or update parity coverage for the changed behavior, or record why the Go port needs no change.", "matched_paths": [ "backend/utils/conversations/lifecycle.py", "backend/utils/conversations/process_conversation.py", "backend/utils/conversations/v3/policy.py", "backend/utils/conversations/v3/service.py", "backend/utils/conversations/v3/triggers.py" ] } ]