본문으로 건너뛰기
cccskills
무료GitHub에 공개

evm-wallet-docker-e2e

Run the evm-wallet Docker e2e tests (build, start stack, wait for healthy, test, diagnose failures).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Consensys-Incorporated/ocap-kernel스타 9(GitHub 9 + cccskills 0)
연동 도구Docker

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Run all commands from the repo root unless noted.

1. Verify Docker is running

docker info 2>&1 | head -5

If it fails, tell the user Docker is not running and ask them to start Docker Desktop (or the daemon), then wait for confirmation before continuing.

2. Build the repo and Docker images

yarn workspace @ocap/evm-wallet-experiment docker:build 2>&1 | tail -30

This builds the full monorepo then builds the Docker images. It may take a few minutes. Report any errors from the tail output.

3. Tear down any existing stack, then start fresh

Always bring the stack down first to avoid stale container state (e.g. spent delegation budgets from a previous run leaking into the new run).

yarn workspace @ocap/evm-wallet-experiment docker:down 2>&1 | tail -10

Then start the stack:

yarn workspace @ocap/evm-wallet-experiment docker:ensure-logs && \
  yarn workspace @ocap/evm-wallet-experiment docker:compose up -d 2>&1 | tail -20

4. Wait for all services to be healthy

Poll every 10 seconds (up to 3 minutes / 18 attempts). All 8 services must reach (healthy) status before proceeding:

  • evm, bundler
  • kernel-home-bundler-7702, kernel-away-bundler-7702
  • kernel-home-bundler-hybrid, kernel-away-bundler-hybrid
  • kernel-home-peer-relay, kernel-away-peer-relay
i=0; while [ $i -lt 18 ]; do
  i=$((i+1))
  ps_out=$(yarn workspace @ocap/evm-wallet-experiment docker:ps 2>&1)
  healthy=$(echo "$ps_out" | grep -c "(healthy)" || true)
  echo "Attempt $i/18: $healthy/8 healthy"
  if [ "$healthy" -ge 8 ]; then echo "Stack ready."; break; fi
  if [ "$i" -eq 18 ]; then echo "Timed out:"; echo "$ps_out"; exit 1; fi
  sleep 10
done

If the loop exits with a timeout, show the last docker:ps output and stop — do not proceed to the tests.

5. Run the e2e tests

yarn workspace @ocap/evm-wallet-experiment test:e2e:docker 2>&1 | tail -80

The vitest reporter also writes structured results to packages/evm-wallet-experiment/logs/test-results.json.

6. Diagnose failures

If tests fail, investigate in this order:

Structured test results

cat packages/evm-wallet-experiment/logs/test-results.json

Look at the testResults array for failed tests and their error messages.

Service logs

Container logs are written to packages/evm-wallet-experiment/logs/. Check the service(s) relevant to the failing test mode first:

tail -150 packages/evm-wallet-experiment/logs/<service>.log

Service log files:

  • evm.log — Anvil chain (check for on-chain errors)
  • kernel-home-bundler-7702.log, kernel-away-bundler-7702.log
  • kernel-home-bundler-hybrid.log, kernel-away-bundler-hybrid.log
  • kernel-home-peer-relay.log, kernel-away-peer-relay.log

Start with the pair(s) involved in the failing test, then evm.log for on-chain issues.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

How to review code; a pull request, feature branch, local changes etc.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Consensys-Incorporated/ocap-kernel92026년 10월 26일 업데이트

commit

무료

Optionally checks, then commits code to the current or a new feature branch.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Consensys-Incorporated/ocap-kernel92026년 10월 26일 업데이트

Create a new monorepo package using the create-package CLI

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Consensys-Incorporated/ocap-kernel92026년 10월 26일 업데이트

discovery

무료

Use the discovery tools to find and use services through a service matcher. Do not rely on prior knowledge of services, providers, or APIs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Consensys-Incorporated/ocap-kernel92026년 10월 26일 업데이트

glossary

무료

How to add entries to the glossary

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Consensys-Incorporated/ocap-kernel92026년 10월 26일 업데이트

How to check code by linting, building, and testing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Consensys-Incorporated/ocap-kernel92026년 10월 26일 업데이트

Consensys-Incorporated의 스킬 모두 보기

이 스킬의 문제 신고