Skip to content

Commit 4e6949d

Browse files
committed
chore(debug): move stress script to scripts and refresh project map
1 parent cdd4065 commit 4e6949d

5 files changed

Lines changed: 16 additions & 16 deletions

File tree

AGENTS.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ wait0 is an ultra-fast cache-first HTTP reverse proxy written in Go that serves
2626
│ ├── *_runtime_adapter.go # Root adapters that inject Service deps into modules
2727
│ ├── auth/ # Shared bearer authentication
2828
│ ├── invalidation/ # /wait0/invalidate API + async workers
29+
│ ├── statapi/ # /wait0 stats API endpoint + snapshot payloads
2930
│ ├── dashboard/ # /wait0/dashboard HTML + stats/invalidation bridge handlers
3031
│ ├── proxy/ # Request handling/origin fetch/response headers
3132
│ ├── revalidation/ # Revalidate and warmup orchestration
@@ -34,14 +35,18 @@ wait0 is an ultra-fast cache-first HTTP reverse proxy written in Go that serves
3435
│ └── cache/ # Cache internals (RAM + LevelDB + codec)
3536
├── debug/
3637
│ ├── debug-compose.yml # Local debug stack (origin + wait0)
37-
│ ├── wait0.yaml # Debug configuration example
38-
│ ├── debug.sh # Helper script for local debugging
38+
│ └── wait0.yaml # Debug configuration example
39+
├── docs/
40+
│ ├── for-developers.md # Build, config, and operations guide
41+
│ └── api-endpoints.md # Endpoint and response reference
42+
├── scripts/
43+
│ ├── coverage.sh # Coverage helper script
44+
│ ├── publish.sh # Publishing helper script
3945
│ └── stress.sh # Stress/load helper script
4046
├── Dockerfile # Container image build definition
4147
├── README.md # Usage, config, behavior, and developer notes
4248
├── go.mod # Go module definition and dependencies
43-
├── go.sum # Dependency checksums
44-
└── publish.sh # Publishing helper script
49+
└── go.sum # Dependency checksums
4550
```
4651

4752
## Key Entry Points
@@ -65,11 +70,6 @@ wait0 is an ultra-fast cache-first HTTP reverse proxy written in Go that serves
6570
| API Endpoints | docs/api-endpoints.md | Endpoint and response reference |
6671
| Docker Hub notes | DOCKERHUB.md | Alias to README for Docker Hub presentation |
6772

68-
## AI Context Files
69-
| File | Description |
70-
|------|-------------|
71-
| .ai-factory/ARCHITECTURE.md | Architecture decisions and guidelines |
72-
7373
## Build & Development Commands
7474
This project uses a `Makefile` for build automation.
7575

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ dev: ## Run wait0 with debug config
6969
clean: ## Remove build and coverage artifacts
7070
rm -rf $(BIN_DIR) coverage.out coverage.internal.filtered.out coverage-summary.txt
7171

72+
stress: docker-stack ## Run stress test script
73+
./scripts/stress.sh
74+
7275
##@ Docker
7376
docker-build: ## Build Docker image
7477
$(DOCKER) build -t $(DOCKER_IMAGE):$(DOCKER_TAG) .
@@ -94,6 +97,9 @@ docker-push: ## Push Docker image to registry
9497
docker-clean: ## Remove local Docker image
9598
-$(DOCKER) image rm $(DOCKER_IMAGE):$(DOCKER_TAG)
9699

100+
docker-stack: ## Build and run debug compose stack
101+
$(DOCKER) compose -f debug/debug-compose.yml up -d --build
102+
97103
##@ Publish
98104
release: ## Build and publish Docker image to Devforth DockerHub
99105
./scripts/publish.sh

debug/debug.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

debug/wait0.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ urlsDiscover:
3131
initalDelay: '20s'
3232
rediscoverEvery: '10m'
3333
sitemaps:
34-
- https://future.devforth.io/sitemap.xml
34+
- https://devforth.io/sitemap.xml
3535

3636
rules:
3737
- match: PathPrefix(/api) | PathPrefix(/admin) | PathPrefix(/lab)
File renamed without changes.

0 commit comments

Comments
 (0)