docs: README test count, Technical Manual default hours table, local-dev-2.sh config
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -101,7 +101,7 @@ Default logins (password: `password`):
|
||||
```bash
|
||||
cd backend && go build -o bin/backend ./main.go
|
||||
cd frontend && npm ci && npm run build
|
||||
cd backend && go test -tags "test,dev" -count=1 -parallel 8 ./... # 2,631 backend test functions under the test,dev tags (per `go test -tags "test,dev" -list 'Test.*'`) + 153 frontend vitest cases (116 plain `it(` + 37 `it.each` rows), as of 16 Aug 2026 (~2min)
|
||||
cd backend && go test -tags "test,dev" -count=1 -parallel 8 ./... # 2,781 backend test functions under the test,dev tags (per `go test -tags "test,dev" -list 'Test.*'`) + 161 frontend vitest cases, as of 20 Aug 2026 (~2min)
|
||||
cd backend && go test -tags "test,dev" -count=1 -race -timeout 480s ./... # race detector (all packages, ~4min)
|
||||
# NOTE: -count=N>1 is unreliable for handlers/payments and handlers/webhooks —
|
||||
# those suites share package-global state (Square mock ledger, in-memory webhook
|
||||
|
||||
+1
-1
@@ -308,7 +308,7 @@ login() {
|
||||
wait_for_backend() {
|
||||
echo -ne "⏳ Waiting for backend..."
|
||||
for ((i=1; i<=60; i++)); do
|
||||
if curl -s --connect-timeout 2 http://localhost:8080/api/register > /dev/null 2>&1; then
|
||||
if curl -s --connect-timeout 2 --max-time 5 http://localhost:8080/api/register > /dev/null 2>&1; then
|
||||
echo -e "\r⏳ Waiting for backend... ${C_GREEN}Ready!${C_RESET}"
|
||||
return 0
|
||||
fi
|
||||
|
||||
@@ -543,12 +543,12 @@ CORS uses a `FRONTEND_ORIGIN` allowlist, not `*`. `corsAllowedOrigins()` (in `ba
|
||||
|
||||
| Weekday | Start | End | Open |
|
||||
|---------|-------|-----|------|
|
||||
| Monday | 09:00 | 17:00 | Yes |
|
||||
| Monday | — | — | No |
|
||||
| Tuesday | 09:00 | 17:00 | Yes |
|
||||
| Wednesday | 12:00 | 20:00 | Yes |
|
||||
| Thursday | 09:00 | 17:00 | Yes |
|
||||
| Wednesday | 09:00 | 17:00 | Yes |
|
||||
| Thursday | 12:00 | 20:00 | Yes |
|
||||
| Friday | 09:00 | 17:00 | Yes |
|
||||
| Saturday | — | — | No |
|
||||
| Saturday | 09:00 | 17:00 | Yes |
|
||||
| Sunday | — | — | No |
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user