tiendungwork/agent-harness/debug-test-examples-workflow

Claude Code and agent skill by tiendungwork/agent-harness

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Guide for debugging failing example tests in the `test-examples` labeled workflow. Use this skill when investigating CI failures in the run-examples.yml workflow, when example scripts fail to run correctly, when needing to isolate specific test failures, or when analyzing workflow logs and failure patterns.

Install

npx vskill@latest install tiendungwork/agent-harness/debug-test-examples-workflow

SKILL.md

The same SKILL.md was published earlier as tiendungwork/agent-harness/debug-test-examples-workflow.

Debugging test-examples Workflow

Overview

The run-examples.yml workflow runs example scripts from examples/ directory. Triggers:

  • Adding test-examples label to a PR
  • Manual workflow dispatch
  • Scheduled nightly runs

Debugging Steps

1. Isolate Failing Tests

Modify tests/examples/test_examples.py to focus on specific tests:

python
_TARGET_DIRECTORIES = (
# EXAMPLES_ROOT / "01_standalone_sdk",
EXAMPLES_ROOT / "02_remote_agent_server", # Keep only failing directory
)
2. Exclude Tests

Add to _EXCLUDED_EXAMPLES with explanation:

python
_EXCLUDED_EXAMPLES = {
# Reason for exclusion
"examples/path/to/failing_test.py",
}
3. Trigger Workflow

Toggle the test-examples label:

bash
# Remove label
curl -X DELETE -H "Authorization: token $GITHUB_TOKEN" \
"https://api.github.com/repos/Creanova/software-agent-sdk/issues/${PR_NUMBER}/labels/test-examples"
# Add label
curl -X POST -H "Authorization: token $GITHUB_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/Creanova/software-agent-sdk/issues/{PR_NUMBER}/labels" \
-d '{"labels":["test-examples"]}'
4. Monitor Progress
bash
# Check status
curl -s -H "Authorization: token $GITHUB_TOKEN" \
"https://api.github.com/repos/Creanova/software-agent-sdk/actions/runs/{RUN_ID}" | jq '{status, conclusion}'
# Download logs
curl -sL -H "Authorization: token $GITHUB_TOKEN" \
"https://api.github.com/repos/Creanova/software-agent-sdk/actions/runs/{RUN_ID}/logs" -o logs.zip
unzip logs.zip -d logs

Common Failure Patterns

PatternCauseSolution
Port conflictsFixed ports (8010, 8011)Run with -n 1 or use different ports
Container issuesDocker/Apptainer setupCheck Docker availability, image pulls
LLM failuresTransient API errorsRetry the test
Example bugsCode errorsCheck traceback

Key Configuration

Workflow (.github/workflows/run-examples.yml):

  • Runner: blacksmith-2vcpu-ubuntu-2404
  • Timeout: 60 minutes
  • Parallelism: -n 4 (pytest-xdist: 4 parallel workers)

Tests (tests/examples/test_examples.py):

  • Timeout per example: 600 seconds
  • Target directories: _TARGET_DIRECTORIES
  • Excluded examples: _EXCLUDED_EXAMPLES

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tiendungwork/agent-harness/debug-test-examples-workflow/badge)](https://verified-skill.com/skills/tiendungwork/agent-harness/debug-test-examples-workflow)

Something wrong with this skill or its page? Tell us.