feat: add archivx agentic workflows analyzer with glowmotion animated diagrams - #49816
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot use api logs shared agentic workflows |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done. Replaced the inline
|
|
✨ Great work, What stands out:
The contribution follows the project guidelines well. Once you're ready to move out of draft, this should be good to merge. The weekly schedule, artifact uploads, and discussion creation make this a solid addition to the workflow ecosystem. 👍 Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
To allow these domains, add them to the network:
allowed:
- defaults
- "patchdiff.githubusercontent.com"See Network Configuration for more information.
|
There was a problem hiding this comment.
Pull request overview
Adds a weekly agentic workflow that analyzes recent workflow health and publishes an animated Glowmotion report.
Changes:
- Collects seven days of workflow run data.
- Generates and validates an animated HTML diagram.
- Uploads the artifact and creates a summary discussion.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/archivx-agentic-workflows-analyzer.md |
Defines the analyzer workflow and reporting prompt. |
.github/workflows/archivx-agentic-workflows-analyzer.lock.yml |
Compiled GitHub Actions workflow. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Suppressed comments (3)
.github/workflows/archivx-agentic-workflows-analyzer.md:68
aw_info.jsonis produced before the run finishes, so it does not contain the final conclusion or parsed token metrics needed for success rate, failures, and average tokens. Use each run’srun_summary.jsonfor final workflow/conclusion/token data andaw_info.jsononly for engine metadata.
Workflow logs for the past 7 days have been pre-downloaded to `/tmp/gh-aw/aw-mcp/logs/`. Read the `aw_info.json` metadata files to extract:
.github/workflows/archivx-agentic-workflows-analyzer.md:77
gh aw logswrites a top-levelsummary.jsonalongside therun-*directories, so this command reports five entries when only four runs exist and incorrectly bypasses the fewer-than-five guard. Count processed run summaries instead.
ls /tmp/gh-aw/aw-mcp/logs/ | wc -l
.github/workflows/archivx-agentic-workflows-analyzer.md:82
- The example still reads only activation metadata, so following it cannot determine which workflows failed or obtain final token metrics. Read the per-run summaries together with
aw_info.json.
for d in /tmp/gh-aw/aw-mcp/logs/*/; do
cat "$d/aw_info.json" 2>/dev/null || true
done
- Files reviewed: 1/2 changed files
- Comments generated: 2
- Review effort level: Balanced
|
|
||
| Analyze the past 7 days of agentic workflow runs and generate an animated visual summary using the glowmotion skill. Upload the diagram as an artifact and create a discussion with key insights. | ||
|
|
||
| {{#runtime-import? shared/aw-logs-24h-fetch-prompt.md}} |
|
|
||
| ### Animated Diagram | ||
|
|
||
| The animated architecture diagram is attached as workflow artifact **archivx-animated-diagram**. |
|
🎉 This pull request is included in a new release. Release: |
Adds a new weekly workflow that analyzes the past 7 days of agentic workflow runs and produces a premium animated HTML architecture diagram using the glowmotion skill — self-contained, light/dark switchable, no external dependencies.
New workflow:
archivx-agentic-workflows-analyzeragentic-workflowsMCP (logs, up to 200 runs); callsnoopif fewer than 5 runs foundpython3 layout.pyinauroradark theme, verifies withcheck_diagram.pyto0 violationsagentic-workflows-archivx.html(30-day retention) asarchivx-animated-diagram[archivx]weekly discussion with success rate, engine distribution, top failures, and a link to the animated artifactSkill
Pinned:
SylphAI-Inc/skills/skills/glowmotion@0a3dc91bab4ca2be12882540f5812ccbbcf01e40