anyshift-io/sre-skills / skills/sqs-queue-auditor
sqs-queue-auditor
Verifiedtests/_replay.py
View on GitHub"""
Shared reporting helper for the replay tests. Stdlib only.
Each replay_NN_*.py loads one fixture, runs the audit, and hands a list of
(ok, message) assertion tuples to `report`. Keeps the per-test files focused on
the assertions that matter for that fixture.
"""
from __future__ import annotations
def report(name: str, audit, assertions) -> int:
failed = [msg for ok, msg in assertions if not ok]
if failed:
print(f"FAIL: {name}")
for msg in failed:
print(f" - {msg}")
return 1
print(f"PASS: {name} ({len(assertions)} assertions)")
codes = sorted(audit.codes()) or ["none"]
print(f" findings: {codes} (top severity: {audit.top_severity})")
return 0
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |