WIP: A simple cli for daily tangled use cases and AI integration. This is for my personal use right now, but happy if others get mileage from it! :)

PR Phase 2: Reviewer Workflow (Commenting and Reviews) #5

open opened by markbennett.ca edited

Implement the reviewer workflow for commenting and reviewing pull requests.

Tasks#

  • Implement tangled pr comment <id> [--body <body> | --body-file <file> | -F -] command.
    • Create a sh.tangled.repo.pull.comment record using com.atproto.repo.createRecord with fields: pull (AT-URI of the PR), body, and createdAt.

Context#

It doesn't look like there's currently a way to leave comments on lines on tangled.org. See this issue for context and updates:

https://tangled.org/tangled.org/core/issues/358

Reference#

Example sh.tangled.repo.pull.comment record shape (from live data):

{
  "$type": "sh.tangled.repo.pull.comment",
  "pull": "at://<did>/sh.tangled.repo.pull/<rkey>",
  "body": "...",
  "createdAt": "<ISO datetime>"
}
sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:b2mcbcamkwyznc5fkplwlxbf/sh.tangled.repo.issue/3mejslgrtds2g