feat(seer): Wire legacy autofix write site through SeerRun outbox#115228
Draft
trevor-e wants to merge 1 commit intotelkins/seer-run-outboxfrom
Draft
feat(seer): Wire legacy autofix write site through SeerRun outbox#115228trevor-e wants to merge 1 commit intotelkins/seer-run-outboxfrom
trevor-e wants to merge 1 commit intotelkins/seer-run-outboxfrom
Conversation
Behind the existing `organizations:seer-run-mirror` flag, `_call_autofix` now creates a SeerRun row and CellOutbox entry instead of calling Seer directly. The outbox receiver handles the actual HTTP call and writes back the `seer_run_state_id` on success. This is the second write site conversion (after assisted-query). The non-flagged path is unchanged. Co-Authored-By: Claude <noreply@anthropic.com>
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
organizations:seer-run-mirror,_call_autofix()now creates aSeerRunrow +CellOutboxentry instead of calling Seer directlySEER_RUN_CREATE/SeerRunType.AUTOFIX) handles the HTTP call and writes backseer_run_state_idon successStacked on #115111. This is the second write site conversion (after assisted-query).
Test plan
test_outbox_path_creates_run_and_returns_run_idverifies SeerRun creation, outbox dispatch, and run_id returnTestCallAutofix::test_call_autofixstill passes (non-flagged path unchanged)HandleSeerRunCreateTestreceiver tests still pass