You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
synrk display forks list which don't fall behind with source #28
synrk shows forks that are not behind their source repository. For example, thetnaingtn/wtfjs:master and thetnaingtn/ts-toolbelt:master are included in the list when running synrk -t <github_token>, even though they are not behind their respective sources.
Expected Behavior
synrk should only show forks that are behind their parent or source repository. @claude
Fix: synrk now only displays forks that are behind their source
Gather context and understand the issue
Read internal/synrk code to find the filtering logic
Implement fix to exclude forks with BehindBy == 0
Commit and push changes
What changed
In internal/synrk/synrk.go, GetForks now filters out forks where BehindBy == 0 and Error == nil (i.e., forks that are fully up-to-date) before returning the list to the UI. Forks with errors (e.g. parent branch deleted) are still shown so the UI can display them as non-actionable.
Gather context — current branch (claude/issue-28-20260517-0352) is clean; the fix from the previous run was on claude/issue-28-20260517-0344 but not yet applied here
Apply the fix to filter out forks with BehindBy == 0
Build the binary
Run synrk -t SYNRK_TOKEN and verify only forks behind their upstream are shown
Activity
thetnaingtn commentedon May 17, 2026
@claude fix this issue
thetnaingtn commentedon May 17, 2026
@claude fix this issue
claude commentedon May 17, 2026
Claude finished @thetnaingtn's task in 1m 18s —— View job •
claude/issue-28-20260517-0344• Create PR ➔Fix: synrk now only displays forks that are behind their source
internal/synrkcode to find the filtering logicBehindBy == 0What changed
In
internal/synrk/synrk.go,GetForksnow filters out forks whereBehindBy == 0andError == nil(i.e., forks that are fully up-to-date) before returning the list to the UI. Forks with errors (e.g. parent branch deleted) are still shown so the UI can display them as non-actionable.|
thetnaingtn commentedon May 17, 2026
@claude did you test your result with synrk -t SYNRK_TOKEN?
claude commentedon May 17, 2026
Claude finished @thetnaingtn's task in 2m 51s —— View job
Testing the fix with SYNRK_TOKEN
claude/issue-28-20260517-0352) is clean; the fix from the previous run was onclaude/issue-28-20260517-0344but not yet applied hereBehindBy == 0synrk -t SYNRK_TOKENand verify only forks behind their upstream are shown•
claude/issue-28-20260517-0352