Skip to content

docs: add filesystem serdes section#214

Merged
yaythomas merged 1 commit into
mainfrom
docs/filesystem-serdes
Jun 24, 2026
Merged

docs: add filesystem serdes section#214
yaythomas merged 1 commit into
mainfrom
docs/filesystem-serdes

Conversation

@yaythomas

Copy link
Copy Markdown
Contributor

Description

Document the FileSystem serdes as a new section in the serialization reference page (docs/sdk-reference/state/serialization.md).

The section covers:

  • Storage prerequisites: Amazon EFS and Amazon S3 Files, with links to the AWS Lambda docs for each. Warning admonition forbidding Lambda's /tmp.
  • createFileSystemSerdes signature and FileSystemSerdesConfig fields.
  • Storage modes: ALWAYS and OVERFLOW.
  • Path encoding: URI and HASH.
  • Inline previews and PII masking via buildPreview and PreviewConfig.
  • Setting the serdes as the handler default with configureSerdes.

The walkthrough leads with the conservative per-operation StepConfig pattern. Setting it as the handler default lives in its own subsection.

Coverage is TypeScript only at this stage. Python and Java tabs link to the parity issues aws-durable-execution-sdk-python#479 and aws-durable-execution-sdk-java#463.

Verified against packages/aws-durable-execution-sdk-js/src/utils/serdes/filesystem-serdes.ts and preview.ts at origin/main. zensical build --clean reports no issues. mdformat is idempotent on the changed file.

Closes #207

Comment thread docs/sdk-reference/state/serialization.md Outdated
Comment thread docs/sdk-reference/state/serialization.md Outdated
Comment thread docs/sdk-reference/state/serialization.md Outdated
Document the FileSystem serdes as a new section in the serialization
reference page. The section covers storage prerequisites (Amazon EFS
and Amazon S3 Files), the createFileSystemSerdes signature and
FileSystemSerdesConfig, storage modes (ALWAYS and OVERFLOW), path
encoding (URI and HASH), the buildPreview helper for inline previews
and PII masking, and how to set the serdes as the handler default with
configureSerdes.

The walkthrough leads with the conservative per-operation StepConfig
pattern. Setting it as the handler default lives in its own subsection.

Coverage is TypeScript only at this stage. Python and Java tabs link to
the parity issues aws-durable-execution-sdk-python#479 and
aws-durable-execution-sdk-java#463.

Verified against packages/aws-durable-execution-sdk-js/src/utils/serdes/
filesystem-serdes.ts and preview.ts at origin/main.

Closes #207
@yaythomas yaythomas force-pushed the docs/filesystem-serdes branch from 66a8367 to 85142d8 Compare June 24, 2026 20:16
@yaythomas yaythomas merged commit 0a5de73 into main Jun 24, 2026
3 checks passed
@yaythomas yaythomas deleted the docs/filesystem-serdes branch June 24, 2026 20:33
=== "Java"

Coming soon. See
[aws-durable-execution-sdk-java#463](https://github.com/aws/aws-durable-execution-sdk-java/issues/463).

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.

May not coming very soon as it requires extra design changes in Java SDK

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.

[docs]: Add documentation and examples for FileSystem serdes

3 participants