Skip to content

Feature: Serialization context tests - #868

Open
xepozz wants to merge 5 commits into
temporalio:mainfrom
xepozz:feature/serialization-context-tests
Open

Feature: Serialization context tests#868
xepozz wants to merge 5 commits into
temporalio:mainfrom
xepozz:feature/serialization-context-tests

Conversation

@xepozz

@xepozz xepozz commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

What was changed

Why?

Implementing Serialization Context for PHP, need parity tests

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@xepozz
xepozz requested review from a team as code owners August 14, 2026 11:02

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 69da1abdf9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread features/features.go
serialization_context_continue_as_new.Feature,
serialization_context_external_signal.Feature,
serialization_context_failure.Feature,
serialization_context_local_activity_payloads.Feature,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Do not register a known-broken Go feature

When the full Go feature suite runs, this registration executes local_activity_payloads, but its README explicitly documents that the current Go SDK encodes the local-activity result without context and then decodes it with workflow context. The signing codec therefore returns a context-mismatch error before CheckResult; because the config has no skip or expected-failure mechanism, every supported current Go run reports a failure. Skip this implementation until the SDK gap is fixed.

Useful? React with 👍 / 👎.

Comment on lines +39 to +40
serialization_context.child_workflow_payloads.feature.Impl.class,
serialization_context.continue_as_new.feature.Impl.class,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Register the generated-ID Java feature

When the Java runner is given the full feature list discovered by GlobFeatures, it includes serialization_context/child_workflow_payloads_default_id because that directory now contains feature.java. Main resolves every requested directory through PreparedFeature.ALL, but this list jumps directly from the explicit-ID child feature to continue_as_new, so it throws NoSuchElementException and aborts the Java harness before running the remaining features.

Useful? React with 👍 / 👎.

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.

1 participant