Skip to main content

JARVIS Run Store internal service for Run and NodeRun persistence.

Project description

JARVIS Run Store

Internal JARVIS service that persists Run and NodeRun state for the Coordinator. This is a JARVIS-only contract (not part of the ARP Standard).

Requirements

  • Python >= 3.11

Install

python3 -m pip install -e .

Run

python3 -m pip install -e .
arp-jarvis-runstore

[!TIP] Use bash src/scripts/dev_server.sh --host ... --port ... --reload for dev convenience.

Configuration

Environment variables:

  • JARVIS_RUN_STORE_DB_URL (default sqlite:///./runs/jarvis_run_store.sqlite)
  • JARVIS_RUN_STORE_MAX_SIZE_MB (optional guardrail)
  • ARP_AUTH_* (JWT auth settings, shared across JARVIS services)

Auth is enabled by default (JWT). To disable for local dev, set ARP_AUTH_PROFILE=dev-insecure or ARP_AUTH_MODE=disabled. Health/version endpoints are always exempt. If no ARP_AUTH_* env vars are set, the service defaults to the dev Keycloak issuer.

API (v0.3.3)

Health/version:

  • GET /v1/health
  • GET /v1/version

Runs:

  • POST /v1/runs -> { run: Run }
  • GET /v1/runs/{run_id}
  • PUT /v1/runs/{run_id} -> { run: Run }

NodeRuns:

  • POST /v1/node-runs -> { node_run: NodeRun }
  • GET /v1/node-runs/{node_run_id}
  • PUT /v1/node-runs/{node_run_id} -> { node_run: NodeRun }
  • GET /v1/runs/{run_id}/node-runs?limit=100&page_token=...

Idempotency:

  • POST endpoints accept idempotency_key and will return the existing record if the key matches.

Notes

  • The store is owned by the Coordinator; no cross-component DB access.
  • Uses SQLite by default for v0.3.3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arp_jarvis_runstore-0.3.3.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arp_jarvis_runstore-0.3.3-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file arp_jarvis_runstore-0.3.3.tar.gz.

File metadata

  • Download URL: arp_jarvis_runstore-0.3.3.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arp_jarvis_runstore-0.3.3.tar.gz
Algorithm Hash digest
SHA256 ed82188cad739f30dbf06ed6a9f48609adcd01c08e84281b24630a60c994cb2e
MD5 f6ee08ff3abe6311b5c11bcb8e0a6988
BLAKE2b-256 8b07360b84d86d48f7d3480a99c5e9b3a8e0d003d97745a3f4628f539e381f73

See more details on using hashes here.

Provenance

The following attestation bundles were made for arp_jarvis_runstore-0.3.3.tar.gz:

Publisher: publish.yml on AgentRuntimeProtocol/JARVIS_RunStore

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arp_jarvis_runstore-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for arp_jarvis_runstore-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1ec1d76cb98359845737236d2a49ed280ba31d1f3cd0a049c00e6f88619a0088
MD5 60a4230f83b385c47dd42cbde5631703
BLAKE2b-256 97eb9e3b40e41afe354e82707b0baa0352102817619964dc7d69ac190878cb71

See more details on using hashes here.

Provenance

The following attestation bundles were made for arp_jarvis_runstore-0.3.3-py3-none-any.whl:

Publisher: publish.yml on AgentRuntimeProtocol/JARVIS_RunStore

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page