Agent skill
topsail-ci
Suite of tools to fetch TOPSAIL CI logs and artifacts for test troubleshooting
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/topsail-ci
SKILL.md
TOPSAIL CI artifacts retriever
To troubleshoot TOPSAIL CI runs, you need to download the CI logs, and if necessary to investigate further, download the CI artifacts to better understand what happened.
To download the CI logs, you need to ask the user the PR number (PR_NUMBER).
- With the PR number, find the list of available tests, by fetching this listing page:
usually, there's only one test TEST_NAME
- With the test name, find the latest build ID (the build ID is a timestamp)
BUILD_ID
- With the Build ID, look up the steps on this page:
- The following steps
STEP_NAMEare the setup of the infrastructure (thejump-ci):
lock-clusterprepare-jump-ciunlock-cluster
If they fail, it's an infra-structure failure. This should be clearly specified to the user, but she'll nonetheless need help to know which part failed. Their artifacts directory is at this location:
- These steps are the actual test steps:
pre-cleanuppreparetestpost-cleanup(optional)
Their artifacts are at this location:
Notice the trailing test-artifacts directory name. This directory is created by the Jump-CI. Anything inside it is the actual test artifacts. Anything at the same level is the artifacts of the Jump-CI infrastructure.
- Inside the test artifacts directory, the
run.logfile shows the full trace of the
this file might be long and hard to grasp (for the user).
- Inside the test artifacts directory, the
FAILURESfile, if present, gives an indication of what failed:
- This command helps downloading locally a full directory
DIRECTORYof artifacts:
gsutil -m cp -r gs://test-platform-results/pr-logs/pull/openshift-psap_topsail/PR_NUMBER/TEST_NAME/BUILD_ID/artifacts/jump-ci/STEP_NAME/artifacts/test-artifacts/DIRECTORY .
(the command is also shown at the bottom of the directory listing).
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?