5efb380da5
* feat: automate yiacad pr review lane * fix: stabilize yiacad review and spec gates * fix: scope kicad exports to repo hardware * fix: ignore kicad block library sources in exports * feat: Add infra VPS monitoring runbook and healthcheck scripts - Created INFRA_VPS_RUNBOOK_2026.md detailing operational procedures for monitoring VPS services. - Added infra_vps_healthcheck.sh script for automated health checks on DNS, TLS, TCP, and HTTP for VPS services. - Introduced infra_vps_security_audit.sh for non-intrusive security checks on external VPS services. - Established JSON schema for infra VPS inventory in infra_vps.schema.json. - Developed integration for runtime status reporting in the Next.js API route. - Implemented Playwright tests for smoke testing the application and ensuring core functionalities. - Updated Makefile for development dependencies and testing commands. - Created various test files for unit and end-to-end testing across different components. * feat(agentics): update mesh agents, gates, prompts, and workflows
20 lines
492 B
Python
20 lines
492 B
Python
import time
|
|
from locust import HttpUser, task, between
|
|
|
|
class QuickstartUser(HttpUser):
|
|
wait_time = between(1, 5)
|
|
|
|
@task
|
|
def hello_world(self):
|
|
self.client.get("/hello")
|
|
self.client.get("/world")
|
|
|
|
@task(3)
|
|
def view_items(self):
|
|
for item_id in range(10):
|
|
self.client.get(f"/item?id={item_id}", name="/item")
|
|
time.sleep(1)
|
|
|
|
def on_start(self):
|
|
self.client.post("/login", json={"username":"foo", "password":"bar"})
|