This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-graalvm-distro.git


The following commit(s) were added to refs/heads/main by this push:
     new 113d3de  Add ci-e2e-debug skill for inspecting CI e2e test logs
113d3de is described below

commit 113d3deb322e379b0a33ff5c805feaa7cc5fa80d
Author: Wu Sheng <[email protected]>
AuthorDate: Mon Mar 9 23:47:32 2026 +0800

    Add ci-e2e-debug skill for inspecting CI e2e test logs
---
 .claude/skills/ci-e2e-debug/SKILL.md | 42 ++++++++++++++++++++++++++++++++++++
 .gitignore                           |  2 +-
 2 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/.claude/skills/ci-e2e-debug/SKILL.md 
b/.claude/skills/ci-e2e-debug/SKILL.md
new file mode 100644
index 0000000..640bf45
--- /dev/null
+++ b/.claude/skills/ci-e2e-debug/SKILL.md
@@ -0,0 +1,42 @@
+---
+name: ci-e2e-debug
+description: Download and inspect CI e2e test logs from GitHub Actions 
artifacts. Use when investigating e2e test failures in CI.
+argument-hint: "<RUN_ID or GitHub Actions URL>"
+---
+
+# CI E2E Debug Skill
+
+Download test log artifacts from a GitHub Actions CI run and inspect them for 
errors.
+
+## Steps
+
+1. **Find the artifact**: Use `gh api` to list artifacts for the given CI run:
+   ```bash
+   gh api 
repos/apache/skywalking-graalvm-distro/actions/runs/<RUN_ID>/artifacts --jq 
'.artifacts[] | {id: .id, name: .name}'
+   ```
+
+2. **Download and extract**: Download the artifact zip and extract it:
+   ```bash
+   cd /tmp && rm -rf e2e-debug-logs && mkdir e2e-debug-logs && cd 
e2e-debug-logs
+   gh api 
repos/apache/skywalking-graalvm-distro/actions/artifacts/<ARTIFACT_ID>/zip > 
artifact.zip
+   unzip -o artifact.zip
+   ```
+
+3. **Inspect OAP logs**: Look for errors in the OAP server logs:
+   ```bash
+   # Find OAP log files
+   find /tmp/e2e-debug-logs -name "skywalking-oap-*.log" -o -name "oap.log"
+   # Check for errors
+   grep -E "ERROR|Exception|FATAL|CannotCompileException" <log_file> | head -30
+   ```
+
+4. **Inspect other component logs**: Check BanyanDB, UI, and other pod logs as 
needed.
+
+5. **Report findings**: Summarize the root cause error from the logs.
+
+## Notes
+- CI artifacts are automatically uploaded by the e2e test framework to 
`$SW_INFRA_E2E_LOG_DIR`
+- Log files are organized by namespace/pod name
+- OAP init pods may have different errors than the main OAP pod — check all of 
them
+- Common errors: MAL/LAL/OAL compilation failures, storage connection issues, 
module initialization errors
+- This distro shares the e2e infrastructure with upstream apache/skywalking
diff --git a/.gitignore b/.gitignore
index 71553b8..7cdd938 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,7 +9,7 @@ dependency-reduced-pom.xml
 .vscode/
 
 # Claude Code
-.claude/
+.claude/settings.local.json
 
 # Release
 release-package/

Reply via email to