This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| | 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /plugin marketplace add knowhowlab/agent-testkit | |
| /plugin install testkit@agent-testkit | |
| cd your-project && claude | |
| /testkit:test-init |