#!/bin/bash
export GIT_PAGER=cat PAGER=cat
R=gbharg/agents
NEWSHA=12bacdf09
echo "=== reviews submitted on/after new commit ==="
gh api "repos/$R/pulls/804/reviews" -q '.[] | select(.commit_id|startswith("12bacdf")) | "\(.user.login) \(.state): \(.body|.[0:160]|gsub("\n";" "))"' 2>&1 | tail -30
echo "=== latest review timestamps (all) ==="
gh api "repos/$R/pulls/804/reviews" -q '.[] | "\(.submitted_at) \(.user.login) \(.state) commit=\(.commit_id[0:9])"' 2>&1 | tail -15
echo "DONE_S9"
