Skip to main content

Schema-backed conformance runner for Astraform remote-domain.v1 services

Project description

astraform-remote-domain-conformance

This is the reusable Python conformance harness for remote-domain.v1.

Brutal truth: if every partner team needs a platform engineer on Zoom to prove their service is valid, you do not have a platform. You have consultancy with a protocol document attached.

This package exercises the real lifecycle:

  • manifest
  • prepare
  • status
  • execute-work
  • inspection
  • shutdown

And it validates payloads against the versioned schema, not just happy-path demo assertions.

Install

Current status: this package has Python packaging metadata and a PyPI release workflow, but no public release has been proven yet. The command below is the intended consumer install shape after the first PyPI publish.

pip install astraform-remote-domain-conformance

Repo-local development:

pip install -e './remote-domain-conformance-python[test]'

Run Against A Live Service

remote-domain-conformance \
  --base-url http://localhost:8092 \
  --domain-id stub-remote

Run Against A Local ASGI App

remote-domain-conformance \
  --app stub_remote_python.main:app \
  --domain-id stub-remote

Python Usage

import asyncio

from astraform.remote_domain.conformance.runner import ConformanceScenario
from astraform.remote_domain.conformance.runner import run_conformance


report = asyncio.run(
    run_conformance(
        base_url="http://localhost:8092",
        scenario=ConformanceScenario(domain_id="stub-remote"),
    )
)

print(report.to_dict())

Publishing Status

This package should be released through the shared Python + Java SDK publishing process documented in docs/platform/remote-domain-sdk-publishing.md.

Release guardrail:

SDK_VERSION=0.1.0 scripts/check-remote-domain-sdk-release-gates.sh

Do not treat it as a partner-ready SDK artifact until a clean external consumer project installs it from PyPI and runs the conformance command outside this monorepo.

Public package note: PyPI distributions expose this SDK implementation. Keep host runtime internals and domain-private logic out of this package.

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

astraform_remote_domain_conformance-0.1.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file astraform_remote_domain_conformance-0.1.0.tar.gz.

File metadata

File hashes

Hashes for astraform_remote_domain_conformance-0.1.0.tar.gz
Algorithm Hash digest
SHA256 167bb0663a4fafecbd426dbcdbba8323ff091071dc1417e1d43c24c7c473d64c
MD5 40fa79e971345e47bf301eb39fb849a1
BLAKE2b-256 25621a3e7d301a358f3c1d1ff90a8dcf9fa0274503350735011d8c0155afc54e

See more details on using hashes here.

Provenance

The following attestation bundles were made for astraform_remote_domain_conformance-0.1.0.tar.gz:

Publisher: remote_domain_sdk_release.yml on astraform/platform

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

File details

Details for the file astraform_remote_domain_conformance-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for astraform_remote_domain_conformance-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37cf55062c02c00091c3840210e75be527e364c538b73dd481f3064c76918d14
MD5 864f1a45d937c0d96e3f43f15356cf6e
BLAKE2b-256 ee02abea4a6aa0e04e5ee207e219145195dde748cf595a5ad420f967b18f7670

See more details on using hashes here.

Provenance

The following attestation bundles were made for astraform_remote_domain_conformance-0.1.0-py3-none-any.whl:

Publisher: remote_domain_sdk_release.yml on astraform/platform

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