Skip to content

fix: align runtime and test compatibility - #369

Open
jterapin wants to merge 1 commit into
serde-opt/6-optimizationsfrom
serde-opt/7-compatibility
Open

jterapin wants to merge 1 commit into
serde-opt/6-optimizationsfrom
serde-opt/7-compatibility

Conversation

@jterapin

@jterapin jterapin commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Applies small runtime, type-signature, and test-setup compatibility fixes on top of #367.

  • Restores RFC 3986 query URI escaping through Smithy::Client::Util.
  • Aligns nullable aggregate shape type declarations with runtime initialization.
  • Replaces deprecated SimpleCov filter calls in client and XML specs.

Merge order

Merge after #367.

Validation

  • smithy-client specs: 891 examples, 0 failures, 2 existing pending.
  • smithy-client RBS: 841 examples, 0 failures, 2 existing pending.
  • smithy-schema RBS: 137 examples, 0 failures.
  • smithy-xml specs: 58 examples, 0 failures.
  • Full staging protocol sweep passed with only existing pending examples.
  • RuboCop and git diff --check passed.

@jterapin
jterapin force-pushed the serde-opt/7-compatibility branch from 300ae49 to 79d87ea Compare September 14, 2026 18:44
@jterapin
jterapin force-pushed the serde-opt/7-compatibility branch from 79d87ea to a616b43 Compare September 14, 2026 19:47
@jterapin
jterapin marked this pull request as ready for review September 14, 2026 20:33
@jterapin
jterapin requested a review from a team as a code owner September 14, 2026 20:33
@jterapin
jterapin added this pull request to stack #370 September 14, 2026 20:34
add_filter 'gems/smithy-client/'
add_filter 'gems/smithy-json/'
add_filter 'gems/smithy-schema/'
skip '/spec/'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also I just noticed these, but what does changing add_filter to skip do?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There’s no behavior change. skip is the replacement for the deprecated add_filter API so we won't get annoying SimpleCov warning anymore! :D

jterapin added a commit that referenced this pull request Sep 21, 2026
## Summary

Migrates Smithy client plugins and parameter handling to the cached
Schema metadata established by the earlier foundation PRs.

- Migrates default parameters, parameter conversion, and validation to
cached target-shape and collection metadata.
- Uses cached required-member, streaming, host-label, idempotency-token,
and event-stream metadata.
- Uses cached operation metadata for checksum, host prefix, request
compression, retry long-polling, and transfer encoding.
- Retains a narrow trait fallback only for non-model operation doubles
in retry tests.

## Out of scope

- Serde micro-optimizations and compatibility fixes in #367 and #369.
- Legacy helper removal in #366.
- Staging runtime/regeneration work.

## Validation

- smithy-client RBS task: 839 examples, 0 failures, 2 expected pending.
- RuboCop and git diff --check passed.
jterapin added a commit that referenced this pull request Sep 21, 2026
## Summary

Removes the obsolete Schema legacy_wire_name compatibility helper after
the migrated consumers no longer need it.

- Migrates Schema document deserialization to the canonical cached wire
index.
- Removes legacy_wire_name, its RBS declaration, and focused
compatibility coverage.

## Merge order

Merge after #367 and #369. GitHub does not allow this existing stacked
PR to be retargeted, so it remains based on #365.

## Validation

- smithy-schema RBS task: 135 examples, 0 failures.
- git diff --check passed.
@jterapin
jterapin removed this pull request from stack #370 September 21, 2026 17:58
@jterapin
jterapin force-pushed the serde-opt/7-compatibility branch from a616b43 to b08c5f8 Compare September 23, 2026 20:06
@jterapin
jterapin added this pull request to stack #371 September 23, 2026 20:19
@jterapin
jterapin force-pushed the serde-opt/7-compatibility branch from b08c5f8 to 3fc4be5 Compare September 23, 2026 20:44
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