[Feature]: Java Workflow Insight plugin follow-up work
Maintainer thường phản hồi trong vòng 1 ngày
@wangyb-A đang làm issue này rồi.
Từ ngày 2/9/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
What would you like?
Add a Workflow Insight plugin to the AWS Lambda Durable Execution SDK for Java.
The plugin should emit a structured summary of each durable execution, including
execution status, timing, input/output, errors, and operation details. It should
follow the JavaScript Workflow Insight contract where practical while accounting
for Java-specific threading, serialization, and plugin lifecycle behavior.
Why?
Customers need an easier way to inspect and analyze durable workflows without
reconstructing execution state from raw Lambda logs and execution history.
Workflow Insight records enable:
- Execution monitoring and troubleshooting
- Workflow latency and failure analysis
- Operation-level visibility
- Querying records through CloudWatch Logs, S3, and analytics tools
- Consistent observability across JavaScript, Python, and Java SDKs
Initial scope
- Add a publishable
insight-pluginMaven module. - Support schema version
1.0of the Workflow Insight record. - Support
ON_COMPLETE,ON_FAILURE, andON_CHANGEemission modes. - Support deterministic per-execution sampling.
- Support top-level and full-tree operation detail.
- Support input/output transforms, operation result transforms, filtering, and
error controls. - Support record-size limits and deterministic truncation.
- Isolate plugin and exporter failures from durable execution.
- Publish the plugin to Maven Central and attach it to GitHub releases.
Acceptance criteria
- Java plugin hooks expose the execution and operation data required by the
record contract. - Workflow Insight module builds as part of the Maven reactor.
- Records include execution metadata, operation summaries, errors, attempts,
and opted-in results. - S3 emits the canonical
operationsarray. - Lambda and CloudWatch Logs emit
operationsByName. - Sampling, content controls, filtering, truncation, and exporter isolation
have unit coverage. - S3 Workflow Insight conformance passes all applicable requirements.
- CloudWatch Workflow Insight conformance passes all applicable requirements.
- Release automation publishes the new Maven artifact.
- Public preview APIs use
@Experimental. -
includeErrors(false)suppresses execution and operation errors. - Plugin
Throwables do not disrupt durable execution. - Add an ADR documenting the record contract, lifecycle, sampling,
truncation, content-transform, and exporter-ordering decisions. - Add customer-facing installation, IAM, configuration, schema, and
troubleshooting documentation. - Add automated cloud integration coverage for both S3 and CloudWatch.
- Complete final human review and merge the implementation PR.
Design constraints
- Plugin failures must never change the durable execution result.
- Remote exporter I/O must not block SDK checkpoint coordination.
- Memory use must remain bounded across suspended and resumed executions.
- Terminal records must not be overwritten by delayed
RUNNINGrecords. - Sensitive input, output, and error content must be configurable.
- Sampling decisions and record behavior should remain aligned across SDKs.
- Breaking record-contract changes require a schema-version change.
Follow-up work
Check the comments
Links
- Java implementation:
PR #661 - Follow-up work:
Issue #679 - Conformance requirements:
Conformance PR #73 - JavaScript reference:
Workflow Insight package
Is this a breaking change?
No.
Does this require an RFC?
No.
- Ngôn ngữ chính
- Java
- Star
- 28
- Fork
- 13
- Merge trung bình
- 2 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 40
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws/aws-durable-execution-sdk-java
-
bug pkg:sdk
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
aws/aws-durable-execution-sdk-java#773 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation pkg:sdk
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
aws/aws-durable-execution-sdk-java#645 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
aws/aws-durable-execution-sdk-java#300 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: root handler instrumentation misses the canonical OTel execution contextCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởneeds-triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 40/100
aws/aws-durable-execution-sdk-java#770 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature]: Propagate per-operation trace context for chained invokesCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởenhancement needs-triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
aws/aws-durable-execution-sdk-java#764 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của aws/aws-durable-execution-sdk-java
Issue tương tự
-
[destination-snowflake] Custom domains rejected unlike source connectionsCó thể đã có người làm @kuza55 đã nhận hôm nay. Đang mởautoteam community connectors/destination/snowflake team/use
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area-dashboard
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
component/operate kind/feature-request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Forge coverage prompts carry text the agent cannot act onCó thể đã có người làm @graalvmbot đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
oracle/graalvm-reachability-metadata#10572 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bundled migration plansĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
IBM/sample-app-mod#55 ·