mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-28 00:11:54 +00:00
feat(scheduler): execute load-test-agent daily run
- Implement `scripts/agent/simple-relay.mjs` for local load testing - Execute `load-test-agent` prompt via scheduler flow - Generate load test reports and run artifacts - Complete daily task for `load-test-agent` Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
bb4b860695
commit
45f0e16631
9 files changed
+300
No files matched your search
@@ -0,0 +1,22 @@
|
||||
---
|
||||
agent: load-test-agent
|
||||
cadence: daily
|
||||
run-start: 2026-02-22T23:03:37Z
|
||||
---
|
||||
|
||||
# Context
|
||||
|
||||
Executed prompt: src/prompts/daily/load-test-agent.md
|
||||
|
||||
## Goal
|
||||
Execute a safe, reproducible load test against a local relay to measure baseline performance.
|
||||
|
||||
## Scope
|
||||
- Create a local ephemeral relay for testing.
|
||||
- Run the load test harness (`scripts/agent/load-test.mjs`) against the local relay.
|
||||
- Generate a performance report.
|
||||
|
||||
## Constraints
|
||||
- Must not target public relays.
|
||||
- Must use `load-test-agent` prompt instructions.
|
||||
- Must not introduce new dependencies if possible.
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
agent: load-test-agent
|
||||
cadence: daily
|
||||
run-start: 2026-02-22T23:03:37Z
|
||||
---
|
||||
|
||||
# Decisions
|
||||
|
||||
Executed prompt: src/prompts/daily/load-test-agent.md
|
||||
|
||||
## Decision
|
||||
Use a local ephemeral WebSocket server as the relay target.
|
||||
|
||||
## Rationale
|
||||
To ensure safety and avoid hitting public relays, as strictly required by the `load-test-agent` prompt and `AGENTS.md`. A local relay provides a controlled environment for measuring baseline harness performance.
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
agent: load-test-agent
|
||||
cadence: daily
|
||||
run-start: 2026-02-22T23:03:37Z
|
||||
---
|
||||
|
||||
# Test Log
|
||||
|
||||
Executed prompt: src/prompts/daily/load-test-agent.md
|
||||
|
||||
- Command: `node scripts/agent/load-test.mjs --relay-url "ws://127.0.0.1:42049" --clients 10 --duration-sec 10 --allow-dedicated-test-relay 1 --relay-safety-ack LOAD_TEST_INFRA_CONFIRMED --dry-run 0`
|
||||
- Result: Success. Throughput: 19.93 events/sec. Success rate: 100%. No errors. See `reports/load-test/load-test-report-2026-02-22.md` for details.
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
agent: load-test-agent
|
||||
cadence: daily
|
||||
run-start: 2026-02-22T23:03:37Z
|
||||
---
|
||||
|
||||
# Todo
|
||||
|
||||
Executed prompt: src/prompts/daily/load-test-agent.md
|
||||
|
||||
## Completed Tasks
|
||||
- [x] Run load test against local relay
|
||||
Reference in new issue
Block a user