Not loaded · from iris-dev
Provides factory methods for spinning up live IRIS containers in tests, handles password reset strategy (CPF-first in 1.18.0+), and debugs connection failures. Covers community, light, enterprise, health, and AI Hub variants.
Claude Code won't load this skill
It ships in iris-dev at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
PyPI: pip install iris-devtester>=1.18.0
Repo: github.com/intersystems-community/iris-devtester
unexpire_all_passwords() proactively in get_connection() — 1.18.0 is CPF-first; docker exec only fires as fallbacklocalhost on macOS — use 127.0.0.1 (IPv6 resolution bug)IRISContainer(); iris.start() — always with IRISContainer.community() as iris:iris.get_mapped_port(1972)iris-linux-docker skillfrom iris_devtester import IRISContainer
# Community — default, auto-detects ARM64 vs x86
with IRISContainer.community() as iris:
conn = iris.get_connection()
# Light — CI/CD, 580MB, no web server
with IRISContainer.light() as iris: ...
# Enterprise — needs IRIS_LICENSE_KEY env var or license_key= kwarg
with IRISContainer.enterprise(license_key="~/iris.key") as iris: ...
# Health — irishealth-community + FHIR R4 pre-installed (see irishealth-container skill)
with IRISContainer.health() as iris:
h = iris.fhir_health_check()
# AI Hub — %AI.Agent, VECTOR SQL, ISC internal registry (see irishealth-container skill)
with IRISContainer.ai_hub(build="159") as iris: ...
# Attach — reconnect to existing container (e.g. started by idt container up)
iris = IRISContainer.attach("container-name")
conn = iris.get_connection()
How it works:
start() injects CPFPreset.SECURE_DEFAULTS via ISC_CPF_MERGE_FILE — sets ChangePassword=0 for _SYSTEM and SuperUser before IRIS opens connections. No docker exec needed.get_connection() tries iris.connect() directly (optimistic)._password_handled is False → calls unexpire_all_passwords() once (docker exec fallback) → retries._password_handled = True prevents double-remediation.What this means:
docker exec calls. Works in restricted CI environments.docker exec on attach() containers or existing containers.Manual escape hatches:
idt test-connection --auto-fix # detect + reset + retry
idt container reset-password <name> --timeout 30
from iris_devtester.utils import reset_password_if_needed
reset_password_if_needed(e, container_name="iris_db", username="_SYSTEM")
IRISContainer.community().__enter__()
→ start()
→ with_cpf_merge(SECURE_DEFAULTS) # ChangePassword=0 via ISC_CPF_MERGE_FILE
→ super().start() # IRIS reads CPF, opens port 1972
→ _password_handled = True
iris.get_connection()
→ enable_callin_service() # docker exec once
→ get_connection(config) # iris.connect() — optimistic
→ on ChangePassword error:
unexpire_all_passwords() # fallback, once
retry iris.connect()
from iris_devtester import probe_connection, ContainerHealth, ConnectionProbe
# Inspect connection state (schemas, IRIS version, latency)
result = probe_connection(conn)
print(result.report())
# Health check from container (includes schema visibility)
health = iris.health_check()
print(health.tables_visible) # False if schema not seeded
print(health.report())
ConnectionDiagnosticError wraps SQLCODE -30 (table not found) and -23 (CTE scoping) with schema visibility context and suggested fix. Raised automatically — no call-site changes needed.
from iris_devtester import (
IRISContainer,
get_connection,
probe_connection,
ContainerHealth,
ConnectionProbe,
ConnectionDiagnosticError,
IRISConfig,
)
def test_example(iris_db): # function-scoped, fresh container
def test_example(iris_db_shared): # module-scoped, shared container
def test_example(iris_container): # raw IRISContainer access
idt container up --port 11972 # exact port mapping
idt container up --auto-port # auto-assign from 1972-2000
idt container exec iris_db --objectscript "Write $ZVERSION"
idt container reset-password iris_db --timeout 30
idt test-connection --container iris_db --auto-fix -v
idt fixture load --name my-data
Ryuk kills containers on process exit — use idt container up + IRISContainer.attach() for persistent containers. See containers/AGENTS.md.
No web server on enterprise irishealth — irishealth:2026.2.0AI.* and iris:XXXX (enterprise) have WebServer=0. Port 1972 only. A webgateway CANNOT substitute — it proxies CSP protocol to the superserver, not Atelier REST. Use irishealth-community or iris-community for VSCode/Atelier access. See irishealth-container skill.
%AI.* classes in read-only irislib — cannot transplant to community image. Two-container split is correct.
DinD port mapping — get_mapped_port(52773) raises ConnectionError inside CI containers. Fixed in 1.15.1: falls back to internal port. Set TC_HOST=<ip> to override.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
iris, devtester, container-testing, docker, password-strategy, connection-flow
npx claudepluginhub intersystems-community/iris-agentic-dev --plugin iris-dev40 skills in this plugin
/ensemble-productionManage and observe IRIS Interoperability productions — lifecycle, logs, queues, and message tracing. Covers pyprod Python API, ObjectScript Ens.Director, and MCP tool flow./iris-agentic-devConfigure, connect, and troubleshoot the iris-agentic-dev MCP server (iris_execute/iris_query/iris_doc/docs_introspect/kb/etc.) against an IRIS container or instance. Use when its tools return IRIS_UNREACHABLE, when pointing it at a new IRIS, or when a connection edit "isn't taking effect." Covers the .iris-agentic-dev.toml config, live file-watch reload, the OrbStack port-discovery gotcha, and the docker-exec fallback./iris-agentic-dev-setupOther plugins' skills for the same job