Skip to content

Recognize durable history shape rejection evidence - #147

Merged
rmcdaniel merged 1 commit into
mainfrom
fix/scope-replay-evidence-schema
Oct 3, 2026
Merged

rmcdaniel merged 1 commit into
mainfrom
fix/scope-replay-evidence-schema

Conversation

@rmcdaniel

Copy link
Copy Markdown
Member

Summary

Allow descriptive durable-history shape rejection evidence in the replay corpus
used by the cancellation scope work.
An authored Activity must not reuse a position already reserved by a recorded
scope. The new Native fixture uses workflow_history_shape_mismatch and the
official HistoryEventShapeMismatchException outcome.

Also recognize search_attribute_type_identity_mismatch, already supported by
Native's validator and checked-in typed Search Attribute replay fixture. The
shared schema previously rejected that existing valid evidence.

Verification

All 67 retained shared-contract tests pass in an ephemeral container with
Python 3.12.3, jsonschema 4.23.0 and PyYAML 6.0.2. Schema self-validation,
representative new rejection evidence, and existing unknown-type/extra-field
rejection checks pass. Repository CI is required before merge.

This changes evidence vocabulary only. It advertises no cancellation capability,
changes no Worker protocol default, and does not complete or close shared #136.

@rmcdaniel
rmcdaniel marked this pull request as ready for review October 3, 2026 03:02

@rmcdaniel rmcdaniel left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Maintainer review at 657e536: two additive evidence failure names, strict rejection shape and unknown-type refusal preserved. The supported Native search-attribute outcome and new cancellation scope reserved-position fixture both have descriptive vocabulary. No worker capability, protocol default, production behavior or approval boundary changes. Local retained-contract suite: 67 tests pass. Required Repository checks run 37091739153 passes. Safe to merge this schema prerequisite. Shared #136 remains open.

@rmcdaniel
rmcdaniel merged commit 47d7fa2 into main Oct 3, 2026
1 check passed
@rmcdaniel
rmcdaniel deleted the fix/scope-replay-evidence-schema branch October 3, 2026 03:02
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