Skip to content

Refactor sync match results to be returned as structs for readability#10044

Open
rkannan82 wants to merge 4 commits intokannan/fix-forwarded-task-hook-double-firefrom
kannan/sync-match-result-struct
Open

Refactor sync match results to be returned as structs for readability#10044
rkannan82 wants to merge 4 commits intokannan/fix-forwarded-task-hook-double-firefrom
kannan/sync-match-result-struct

Conversation

@rkannan82
Copy link
Copy Markdown
Contributor

@rkannan82 rkannan82 commented Apr 23, 2026

What

Wraps the return values of TrySyncMatch, MatchTaskImmediately in named structs.

Why

Improves readability. We have a follow up PR that adds a rate limited bool to it.

How did you test it?

Existing unit tests.

🤖 Generated with Claude Code

Purely mechanical change — wraps multiple return values in named structs
for readability with no behavior change.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rkannan82 rkannan82 changed the title Refactor TrySyncMatch and MatchTaskImmediately to return result structs Refactor sync match results to be returned as structs for readability Apr 24, 2026
@rkannan82 rkannan82 requested a review from dnr April 24, 2026 01:34
@rkannan82 rkannan82 marked this pull request as ready for review April 24, 2026 01:35
@rkannan82 rkannan82 requested a review from a team as a code owner April 24, 2026 01:35
rkannan82 and others added 2 commits April 23, 2026 18:42
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rkannan82 rkannan82 requested a review from ShahabT April 24, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant