| name | connector-smoke-test-harness |
| description | Verify an existing Prometheus connector with status, authentication, read, pagination, rate-limit, error-shape, and dry-run write checks. Use when testing connector readiness or diagnosing an installed integration. Only use after a connector exists; exclude implementation and setup work. |
Connector Smoke-Test Harness
Use this skill when validating a connector before Prometheus relies on it.
Current State
Status: mostly usable manually; needs a dedicated generic smoke-test tool for 110%.
Current support:
connector_list is core.
- Extension tools are listed by
getExtensionRuntimeRegistry().listToolDefinitions().
- Connector execution routes through
getExtensionRuntimeRegistry().executeTool(...).
- Connections/OAuth routes live in
src/gateway/routes/connections.router.ts.
- Extension install/reload routes live in
src/gateway/routes/extensions.router.ts.
- Tool observations record connector tool calls under category
connector.
Procedure
- Run
connection_ops(action:"list_connections") and inspect the canonical record.
- If setup is incomplete, resume its durable attempt; do not start a parallel auth/config flow.
- Require authenticated, registered, verified, and exposed states—not merely OAuth success.
- Confirm discovered tools and conservative exposure classification.
- Run a read-only status/self/profile call, then a small list/search call with pagination.
- For write tools, run dry-run/preview first. If no dry-run exists, treat that as a connector gap.
- Confirm:
- auth status
- least-privilege scopes
- rate-limit behavior
- pagination/cursor behavior
- structured errors
- artifact/output shape
Gap To Implement
Add a generic connector_smoke_test tool that consumes canonical connection records, checks transport/tool exposure, runs declared safe reads/dry-runs, and writes a standard report artifact.