Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DEMO: throwaway PR for AI code-review skill testing#82

Open
naveen-kurra wants to merge 1 commit into
initializ:main from
naveen-kurra:demo-ai-review-target
Open

DEMO: throwaway PR for AI code-review skill testing #82
naveen-kurra wants to merge 1 commit into
initializ:main from
naveen-kurra:demo-ai-review-target

Conversation

@naveen-kurra

@naveen-kurra naveen-kurra commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Demo PR. Do not merge or review by hand — used to test the Forge code-review-github skill end-to-end. Will be closed after demo.

Deliberately written with several review-bait patterns to give the
Forge code-review skill something to flag. Not intended to be merged.

@naveen-kurra naveen-kurra left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the changes in demo_review_target.go. The diff is small, but I found two correctness issues:

  1. DivideUnsafe can panic on division by zero.
  2. ParseHost uses manual string parsing that produces incorrect results for several valid URL forms.

Overall risk: medium.

Comment thread demo_review_target.go
}
return rest[:slash]
}

@naveen-kurra naveen-kurra May 27, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Division by zero can panic at runtime

Comment thread demo_review_target.go
x = 0
}
return x * 2
}

@naveen-kurra naveen-kurra May 27, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manual URL host parsing is incorrect for several valid URL forms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /