원클릭으로
test-selection
Choose the smallest relevant pacman test set from changed files.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Choose the smallest relevant pacman test set from changed files.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Require a concrete change explanation and explicit user approval before modifying a repository, then implement and verify the approved scope. Use whenever Codex is asked to create, edit, delete, generate, format, refactor, fix, upgrade, or otherwise mutate repository files, dependencies, configuration, tests, documentation, build artifacts, or version-control state.
Repository layout for the pacman Go PostgreSQL HA cluster manager.
Use when inspecting GitHub Actions, CI failures, failed Go tests, workflow logs, or build/lint/test errors. Avoid reading full logs; summarize failed jobs and inspect only relevant snippets.
Maintain PACMAN-native and Patroni-compatible API contracts.
PACMAN domain rules for cluster state transitions and operation history.
Rules for PACMAN control-plane quorum, leases, epochs, fencing, and split-brain prevention.
| name | test-selection |
| description | Choose the smallest relevant pacman test set from changed files. |
Pick the smallest test that can fail for the change, then widen only when contracts cross package boundaries.
internal/controlplane/**: go test -count=1 ./internal/controlplane.internal/cluster/**: go test -count=1 ./internal/cluster; add
./internal/controlplane for state or operation semantics.internal/agent/**: go test -count=1 ./internal/agent; add
./internal/postgres when PostgreSQL probes/actions changed.internal/postgres/**: go test -count=1 ./internal/postgres; run targeted
integration tests only for real PostgreSQL/container behavior.internal/dcs/**: package test plus make test-dcs-conformance for backend
contract changes.internal/httpapi/**, internal/api/**, docs/openapi/**: API package
tests; add docs/OpenAPI checks if schemas or generated contract files changed.tools/jepsenctl/**, jepsen/**, mk/jepsen.mk: go test -count=1 ./tools/jepsenctl/cmd; run the smallest Jepsen make target only when harness
behavior changed.deploy/**, packaging/**, mk/**: use the matching Make target; avoid
full integration runs unless deployment behavior changed.test/integration/**, test/installintegration/**: run the named test with
-run before the whole package.Always run git diff --check before finishing. Use go test ./... for broad
model/API changes or when package boundaries are uncertain.