Skip to content

Instantly share code, notes, and snippets.

View dpishchukhin's full-sized avatar

Dmytro Pishchukhin dpishchukhin

View GitHub Profile
@dpishchukhin
dpishchukhin / addUser.sh
Created May 16, 2014 11:57 — forked from lemonlatte/addUser.sh
debian slapd install. no interaction
#!/bin/sh
dn='dc=math,dc=nccu,dc=edu,dc=tw'
username='jim.yeh'
uid='jim.yeh'
gid='student'
cat << EOF > user_example.ldif
dn: cn=$username,ou=users,ou=login,$dn
@dpishchukhin
dpishchukhin / tests-e2e-plan-steps.txt
Created July 10, 2026 11:44
agent-testkit — plan grammar excerpt
### 3.3 Readiness probe
Run: `curl -i http://localhost:3000/api/ready`
Expect: HTTP/1.1 200; JSON body with "db": "up"
Retry: a 503 right after start-up → wait 15–30 s once,
migrations may still be applying
### 6.1 Kill the API mid-session
Run: `docker compose kill api`
Destructive: yes — in-flight requests will fail until the
container restarts; scratch stack only
@dpishchukhin
dpishchukhin / test-e2e-protocol-excerpt.txt
Created July 10, 2026 11:44
agent-testkit — sample E2E protocol excerpt
| Phase | Result | Tests | Passed | Fixed | Failed | Blocked | Skipped |
|-------|--------|-------|--------|-------|--------|---------|---------|
| 1 — Quality gates | ✅ PASS | 3 | 2 | 1 | 0 | 0 | 0 |
| 6 — Failure & recovery | ✅ PASS | 5 | 5 | 0 | 0 | 0 | 0 |
#### Issue 1.1: no-floating-promises × 5 in the new e2e helpers
- **Root cause**: the pre-commit hook lints staged src/** only;
e2e/ helpers were never linted. The plan's repo-wide lint is
the stricter, correct gate — latent since yesterday's feature,
surfaced here.
@dpishchukhin
dpishchukhin / install-agent-testkit.txt
Created July 10, 2026 11:45
agent-testkit — install
/plugin marketplace add knowhowlab/agent-testkit
/plugin install testkit@agent-testkit
cd your-project && claude
/testkit:test-init