Skip to content

chore(fidelity): absorb verified-harmless model drift (botocore 1.43.120) - #20

Merged
pingedbrain merged 1 commit into
mainfrom
chore/fidelity-snapshot-1-43-120
Oct 28, 2026
Merged

pingedbrain merged 1 commit into
mainfrom
chore/fidelity-snapshot-1-43-120

Conversation

@pingedbrain

Copy link
Copy Markdown
Owner

Summary

Closes #7 — the drift cycle is absorbed with evidence instead of a blind re-capture.

The model-drift watcher flagged cumulative drift (botocore 1.43.111 → 1.43.114 → 1.43.118 → 1.43.120). I diffed the digest surface (service metadata + per-operation http/errors + all error/exception shapes — exactly what model_snapshot hashes) between 1.43.109 and 1.43.120:

  • 48 changed services, 2 added, 3 removed — only 4 have committed captures: ec2, kms, lambda, rds.
  • In all four, every change is additive: new operations (ec2 TransitGateway NAT config, kms Encapsulate/Decapsulate, rds DBCapacityReservation family), new error shapes for those ops, and extra error refs on InvokeWithResponseStream (not probed).
  • Zero changes to http routes, error refs, or error shapes of any probed operation (DescribeInstances, DescribeRegions, DescribeKey, ListKeys, GetFunction, ListFunctions, DescribeDBInstances).
  • fidelity report re-parses all committed captures under 1.43.120: 28/28 pass — the wire error contract the goldens verify did not move, so re-capturing would record byte-identical envelopes.

Committing the regenerated snapshot (1.43.120, 435 service digests) resets the drift baseline so the weekly watcher signals only new incremental drift.

Test plan

  • fidelity report — 28/28 captures conform under botocore 1.43.120
  • pytest — snapshot file carries no test assertions (drift baseline only)

…120)

The model-drift watcher flagged cumulative drift since 1.43.109. Diffing
the digest surface (meta + per-op http/errors + error shapes) between
1.43.109 and 1.43.120 for the four captured services that moved — ec2,
kms, lambda, rds — shows additive-only changes: new operations
(TransitGateway NAT config, KMS Encapsulate/Decapsulate, RDS
DBCapacityReservation family), new error shapes for those ops, and extra
error refs on ops we don't probe (InvokeWithResponseStream). Zero
changes to http routes, error refs, or error shapes of any probed
operation, and `fidelity report` re-parses all committed captures under
1.43.120 at 28/28 — the wire error contract the goldens verify did not
move, so re-capturing would record byte-identical envelopes.

Committing the regenerated snapshot absorbs the verified drift so the
weekly watcher signals incremental changes only.

Closes #7.
@pingedbrain
pingedbrain merged commit a43a01e into main Oct 28, 2026
5 checks passed
@pingedbrain
pingedbrain deleted the chore/fidelity-snapshot-1-43-120 branch October 28, 2026 02:52
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.

botocore model drift — refresh fidelity captures

1 participant