Skip to content

feat: AgentsView integration for fullsend runs#9

Merged
durandom merged 1 commit into
mainfrom
feat/agentsview-fullsend-integration
Jun 16, 2026
Merged

feat: AgentsView integration for fullsend runs#9
durandom merged 1 commit into
mainfrom
feat/agentsview-fullsend-integration

Conversation

@durandom

Copy link
Copy Markdown
Member

Summary

  • Adds a script to download fullsend agent run transcripts from GitHub Actions and organize them for AgentsView ingestion
  • Sessions are grouped by repo + agent type (e.g. rhdh-plugins_review, rhdh-agentic_code) with issue numbers in filenames and FTS-searchable metadata
  • Includes a Podman/Docker compose setup that serves AgentsView on a configurable port

Usage

cd agentsview
make up                                    # fetch all runs + start viewer
AGENTSVIEW_HOST=deimos.local make up       # remote access
AGENTSVIEW_PORT=8082 make up               # custom port
make down                                  # stop

Test plan

  • Run make fetch and verify transcripts download into runs/
  • Run make up and verify AgentsView shows sessions grouped by repo+agent
  • Search for an issue number and confirm FTS returns matching sessions
  • Verify remote access works with AGENTSVIEW_HOST set

🤖 Generated with Claude Code

Downloads fullsend agent transcripts from GitHub Actions (rhdh-agentic,
rhdh-plugins) and serves them in AgentsView for browsing, searching, and
cost tracking. Sessions are grouped by repo and agent type (e.g.
rhdh-plugins_review, rhdh-agentic_code) with issue numbers and run
metadata searchable via FTS.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@durandom durandom requested a review from kadel as a code owner June 16, 2026 12:02
Copilot AI review requested due to automatic review settings June 16, 2026 12:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds an “AgentsView integration” workflow for fullsend runs by introducing a fetch script that downloads GitHub Actions artifacts, restructures transcripts into an AgentsView-ingestible layout, and provides a compose-based launcher to run AgentsView locally (Podman preferred, Docker fallback).

Changes:

  • Add fetch-fullsend-runs.sh to download fullsend-* artifacts and rewrite transcripts into agentsview/runs/<repo>_<agent>/...jsonl with prepended metadata.
  • Add an agentsview/Makefile with fetch, up, and down targets to automate fetching and starting the viewer.
  • Add docker-compose.fullsend.yaml to run AgentsView against the local runs/ directory, and ignore agentsview/runs/ in git.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

File Description
agentsview/scripts/fetch-fullsend-runs.sh Downloads fullsend artifacts and transforms transcripts into AgentsView session format with metadata.
agentsview/Makefile Adds fetch/up/down targets to fetch runs and start/stop AgentsView via Podman/Docker compose.
agentsview/docker-compose.fullsend.yaml Defines AgentsView container setup and mounts ./runs read-only for ingestion.
agentsview/.gitignore Ignores generated runs/ output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +83 to +87
# Extract issue number from artifact directory name: agent-<type>-<issue>-<hash>
issue_num=$(find "$tmpdir" -mindepth 1 -maxdepth 1 -type d -name 'agent-*' \
| head -1 | xargs basename 2>/dev/null \
| grep -oE 'agent-[a-z]+-([0-9]+)' | grep -oE '[0-9]+$' || true)
[ -z "$issue_num" ] && issue_num="unknown"

echo "Done: ${total_fetched} fetched, ${total_skipped} skipped"
if [ "$total_fetched" -gt 0 ] || [ "$total_skipped" -gt 0 ]; then
echo "Start viewer: make fullsend-up (or: podman compose -f docker-compose.fullsend.yaml up -d)"
Comment thread agentsview/Makefile
# Fetch runs + start AgentsView container (Podman preferred, Docker fallback)
up: fetch
$(COMPOSE) -f docker-compose.fullsend.yaml up -d
@echo "AgentsView: http://$$(hostname).local:$${AGENTSVIEW_PORT:-8081}"
Comment on lines +5 to +6
ports:
- "0.0.0.0:${AGENTSVIEW_PORT:-8081}:8080"
@@ -0,0 +1,20 @@
services:
agentsview:
image: ghcr.io/kenn-io/agentsview:latest
Comment on lines +67 to +71
run_meta=$(gh api "repos/${repo}/actions/runs/${run_id}" \
--jq '{title:.display_title, conclusion:.conclusion, url:.html_url}' 2>/dev/null) || continue
title=$(echo "$run_meta" | jq -r '.title')
conclusion=$(echo "$run_meta" | jq -r '.conclusion')
run_url=$(echo "$run_meta" | jq -r '.url')
@durandom durandom merged commit b30164c into main Jun 16, 2026
1 check passed
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.

2 participants