Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,6 @@ jobs:
with:
persist-credentials: false

- name: Check out the service operations inventories next to the repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: runtimeconditions/service-operations-inventories
ref: 3778830d2e3c025eec90750109e4999d47dad4d2
path: service-operations-inventories
persist-credentials: false

- name: Place the inventories where the NATS tests look for them
run: ln -s "$PWD/service-operations-inventories" "$(dirname "$PWD")/service-operations-inventories"

- name: Set up Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
Expand All @@ -55,12 +44,10 @@ jobs:
PYTHONPATH=tooling/extension-bindings/structural-model/python \
python -m pytest -q -p no:cacheprovider tooling/extension-bindings/structural-model/python/tests

- name: Test the extension compilers
- name: Test the extensions
run: |
python -m pytest -q -p no:cacheprovider catalog/aws/secrets-manager/tests
python -m pytest -q -p no:cacheprovider catalog/kafka/service/tests
python -m pytest -q -p no:cacheprovider catalog/kubernetes/api/tests
python -m pytest -q -p no:cacheprovider catalog/nats/service/tests
python -m pytest -q -p no:cacheprovider catalog/rabbitmq/service/tests
python -m pytest -q -p no:cacheprovider catalog/rc/cql/tests

Expand Down
5 changes: 0 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ go -C tooling/extension-bindings/emitters/go test ./...
npm --prefix tooling/extension-bindings/emitters/typescript test
```

The NATS tests read the sibling checkout
`../service-operations-inventories`; clone
`runtimeconditions/service-operations-inventories` next to this repository before
running `pytest catalog/nats/service/tests`.

## Pull requests

- Keep one change per pull request, with a short title written as an imperative
Expand Down
22 changes: 9 additions & 13 deletions EXTENSION_RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@ An extension release pins the exact releases it depends on. When an extension ge

`tooling/common/downstream_releases.py` finds such dependents and writes their next releases (`0.2.0` becomes `0.3.0`, `v1alpha3` becomes `v1alpha4`), repeating until no dependent is left behind. The **Release downstream extensions** workflow reports them on pull requests and, after a merge to `main`, opens a pull request with the new releases for review.

## Authoritative provenance
## How releases are written

Generated provider extensions record the authoritative model repository, the exact commit that last changed the selected service model, the model path, the model SHA-256 digest, the Smithy service shape, and the service version. Unrelated commits elsewhere in an upstream model repository do not create extension releases.
Every extension release in this catalog is written by hand, as a YAML file under `releases/<version>/`.
When a provider publishes a machine-readable API model, such as AWS's Smithy models or the Kubernetes
OpenAPI document, maintainers read it while writing the release, but nothing is generated from it.

The upstream model revision is provenance, not the extension version. Many model revisions may produce no Runtime Conditions semantic change, while one extension release may support many SDK languages and versions.
For AWS extensions, the daily **Watch AWS models for new operations** workflow compares the operations in
the AWS model with the newest release and opens an issue when AWS adds or removes one. The upstream model
revision is a reference, not the extension version: many model changes need no new release.

## One extension to many SDK mappings

Expand All @@ -34,18 +38,10 @@ An SDK mapping can use a subset of operations defined by its target extension. T

Ordinary package dependency resolution selects compatible SDK packages. Each installed package supplies metadata for the behavior it owns, and recursive mapping validation verifies the selected graph. No handwritten Cartesian compatibility matrix is maintained.

## Maintenance classifications

- `automatic`: the authoritative model or fallback inventory, reviewed Service Operations Semantic Bridge, generated extension, service mapping, SDK surfaces, and package proof remain aligned.
- `extension-review-required`: authoritative API semantics cannot be represented safely by the selected extension release.
- `sdk-review-required`: the extension remains sufficient, but a language-specific SDK surface, wrapper, dependency, or package integration changed.
- `invalid`: the automation failed or received unsupported input before semantic ownership could be classified safely.

Extension and SDK review events are measured separately so extension-author burden is not attributed to SDK maintainers and automation defects are not attributed to either group.

## Human review surface

Humans review semantic bridge changes, added or removed operations, resource classifications, identity paths, roles, cross-service dependencies, representative profile changes, and adapter-facing impact. Generated extension YAML, language-neutral mappings, and language-specific SDK mappings are machine output and are not line-by-line review surfaces.
Humans review the extension YAML itself: added or removed operations, fields and allowed values, their
descriptions and examples, dependencies, and what changes for adapters.

## HTTPS catalog lookup

Expand Down
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ extension; all older releases remain in the tree, immutable:
| Amazon S3 | `https://runtimeconditions.io/extensions/aws/s3/0.3.0/runtimeconditions.extension.yaml` | [`catalog/aws/s3/`](catalog/aws/s3/) |
| Amazon SQS | `https://runtimeconditions.io/extensions/aws/sqs/0.2.0/runtimeconditions.extension.yaml` | [`catalog/aws/sqs/`](catalog/aws/sqs/) |
| AWS Secrets Manager | `https://runtimeconditions.io/extensions/aws/secrets-manager/0.1.0/runtimeconditions.extension.yaml` | [`catalog/aws/secrets-manager/`](catalog/aws/secrets-manager/) |
| Kubernetes API | `https://runtimeconditions.io/extensions/kubernetes/api/0.1.0/runtimeconditions.extension.yaml` | [`catalog/kubernetes/api/`](catalog/kubernetes/api/) |
| NATS | `https://runtimeconditions.io/extensions/nats/service/0.2.0/runtimeconditions.extension.yaml` | [`catalog/nats/service/`](catalog/nats/service/) |
| Kubernetes API | `https://runtimeconditions.io/extensions/kubernetes/api/0.2.0/runtimeconditions.extension.yaml` | [`catalog/kubernetes/api/`](catalog/kubernetes/api/) |
| NATS | `https://runtimeconditions.io/extensions/nats/service/0.3.0/runtimeconditions.extension.yaml` | [`catalog/nats/service/`](catalog/nats/service/) |
| Kafka | `https://runtimeconditions.io/extensions/kafka/service/0.2.0/runtimeconditions.extension.yaml` | [`catalog/kafka/service/`](catalog/kafka/service/) |
| RabbitMQ | `https://runtimeconditions.io/extensions/rabbitmq/service/0.2.0/runtimeconditions.extension.yaml` | [`catalog/rabbitmq/service/`](catalog/rabbitmq/service/) |
| Google Analytics | `https://runtimeconditions.io/extensions/google/analytics/0.2.0/runtimeconditions.extension.yaml` | [`catalog/google/analytics/`](catalog/google/analytics/) |
Expand All @@ -57,7 +57,6 @@ extension; all older releases remain in the tree, immutable:
## Documentation

- [Extension release and compatibility contract](EXTENSION_RELEASES.md): how extension identifiers stay immutable
- [Service Operations Semantic Bridges](SERVICE_OPERATIONS_SEMANTIC_BRIDGES.md): the authoring contract for operation-oriented extensions
- [Go bindings](docs/go-bindings.md): published modules, import paths, versions
- [Local validation](docs/local-validation.md): run the checks and validate extensions locally
- [Extension binding tooling](tooling/extension-bindings/README.md): how bindings are generated and published
Expand All @@ -80,8 +79,6 @@ The full list of Runtime Conditions repositories lives on the
packages published from `bindings/`
- [rc-demos](https://github.com/runtimeconditions/rc-demos): consumes the published Go, Java and Python
bindings and validates Profiles that name these extension identifiers
- [service-operations-inventories](https://github.com/runtimeconditions/service-operations-inventories):
fallback inventories that this repo's CI tests check out next to the repo

## Contributing

Expand Down
76 changes: 0 additions & 76 deletions SERVICE_OPERATIONS_SEMANTIC_BRIDGES.md

This file was deleted.

Loading
Loading