Skip to content

Write the S3 extension by hand, watch AWS for new operations, release - #107

Merged
itvi-1234 merged 2 commits into
runtimeconditions:mainfrom
itvi-1234:aws-operations-watch
Dec 2, 2026
Merged

itvi-1234 merged 2 commits into
runtimeconditions:mainfrom
itvi-1234:aws-operations-watch

Conversation

@itvi-1234

Copy link
Copy Markdown
Member

What this changes

The S3 extension is now written by hand

The S3 extension used to come from a compiler. It joined AWS's Smithy model with a hand-written "semantic bridge" file. That bridge was really a second, hand-made layer on top of the extension, and 0.2.0 had already been edited by hand, so running the compiler again would have undone those edits.

Now S3 is written by hand, like every other extension.

Removed:

  • the Smithy compiler (tooling/smithy-runtime-conditions)
  • the S3 semantic bridge and the generated service mapping
  • the Python SDK mappings built from it, and their tools
  • the evidence files and the compiler docs
  • the old daily smithy-maintenance workflow (its issue step could not find the repository, so it never opened issues)

Workflows that installed the compiler's requirements now use tooling/common/requirements.txt. The Kubernetes and NATS bridges are not touched.

A daily check for new AWS operations

  • catalog/aws/s3/aws-model.yaml names the AWS model that the extension follows.
  • The new Watch AWS models for new operations workflow runs every day. It compares the operations in that model with the newest release of the extension.
  • If AWS adds or removes an operation, it opens one issue that lists them. If the difference changes, it updates that issue. Once a release matches, it closes the issue.

Only operations are compared. In the last 29 changes to AWS's S3 model, 6 changed operations. The other 23 changed only documentation, types or request fields, which don't change what a workload can declare.

S3 0.3.0

  • Adds the 3 operations AWS added on 2026-11-29: GetBucketDefaultStorageClass, PutBucketDefaultStorageClass and GetPart. It now lists all 115.
  • Documents everything in simple English: what S3 is, when to use each interface type, examples, every field, the source/destination roles, and one line for every operation.
  • Passes the extension PR checklist (0.2.0 had 136 missing descriptions). All examples are valid against the schemas.

Packages

The aws-s3 packages now come from 0.3.0, with new versions:

Language Before After
Go 0.2.1 0.3.0
Python 0.2.0 0.3.0
TypeScript 0.2.0 0.3.0
Java 0.1.0 0.2.0

The bindings are regenerated by the generation workflow after the merge.

Tests

  • New tests for the watcher (matching lists, added and removed operations, newest release by version number, stable fingerprint).
  • All tests in tooling/common (41) and the CI folder (162) pass.
  • The watcher against the live AWS model: 115 operations in AWS, 115 in the extension.
  • rc bindings normalize reads 0.3.0 without errors.

…ease 0.3.0

The S3 extension came from a compiler that joined AWS's Smithy model with a
hand-written semantic bridge. The bridge was a second, hand-made layer on top
of the extension rather than the extension itself, and 0.2.0 was already
edited by hand, so re-running the compiler would have undone it. The S3
extension is now written by hand like the others.

Removed: the Smithy compiler (tooling/smithy-runtime-conditions), the S3
semantic bridge and generated service mapping, the Python SDK mappings built
from it and their tools, the evidence and compiler docs, and the old daily
smithy-maintenance workflow, whose issue step could not find the repository.
Workflows that installed the compiler's requirements use tooling/common's.
The Kubernetes and NATS bridges are left as they are.

Added: catalog/aws/s3/aws-model.yaml names the AWS model the extension
follows, and the daily "Watch AWS models for new operations" workflow compares
its operations with the newest release. When AWS adds or removes an operation
it opens one issue listing them, updates it if the difference changes, and
closes it once a release matches. Only operations are compared: in the last
29 S3 model changes, 6 changed operations, and the other 23 changed only
documentation, types or request fields, which do not change what a workload
can declare.

S3 0.3.0 is written by hand from 0.2.0. It adds the three operations AWS added
on 2026-11-29 (GetBucketDefaultStorageClass, PutBucketDefaultStorageClass and
GetPart), so it lists all 115, and documents the extension in simple English:
what S3 and each interface type are for, examples, every field, the
source/destination roles, and one line for every operation. The aws-s3
packages now come from 0.3.0, with new versions: Go 0.3.0, Python 0.3.0,
TypeScript 0.3.0 and Java 0.2.0.
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Publishing setup

For maintainers. Do these steps before these packages are published, or the publish run fails for them. They need an account with write access to the package.

npm: add a trusted publisher

@runtimeconditions/aws-s3 has no trusted publisher, because the latest version was not published by the publish workflow. Without one, npm answers that workflow with a 404. Run (asks for 2FA):

npm trust github @runtimeconditions/aws-s3 --file binding-publish-npm.yml --repo runtimeconditions/extensions --allow-publish --allow-stage-publish --yes

npm drops a trusted publisher that is not used within 2 days, so run the publish workflow soon after. If the package's npm settings already show the publisher as Pending validation, it is set; skip it.

No setup needed (1)
  • runtimeconditions-aws-s3 0.3.0: trusted publishing is set

Go and Maven Central need no setup.

After the merge

Package Registry Now After the merge What happens
aws-s3 Go 0.2.1 0.3.0 publishes 0.3.0
aws-s3 PyPI 0.2.0 0.3.0 publishes 0.3.0
aws-s3 npm 0.2.0 0.3.0 publishes 0.3.0
aws-s3 Maven Central 0.1.0 0.2.0 publishes 0.2.0

actions/checkout refuses a path outside the workspace, so the watch failed
before comparing anything. The models now go to api-models-aws in the
workspace.
@itvi-1234
itvi-1234 merged commit c94810e into runtimeconditions:main Dec 2, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants