Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Generate conformance-test SAM templates from handler metadata

未关闭
#553 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
38/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
aws, java

调研方向

从 PR #552 和现有的手动维护的 conformance-test SAM templates 开始,然后追踪 Java handlers 及其 TestingMetadata.TestDescription mappings。将本地/CI conformance-test workflow 与 SAM validation/build 以及 step 和 wait suites 进行比较。完成的标准是:templates 具有确定性、handler registration 有文档说明、suites 成功运行,并且 CI 能防止过时的生成输出。

由索引模型根据 Issue 内容生成。

描述

Summary

PR #552 adds hand-maintained SAM templates for the Java conformance test suites. Each handler requires a largely repetitive Lambda resource plus a TestingMetadata.TestDescription mapping to conformance requirement IDs. As the number of handlers and suites grows, maintaining these mappings in both Java code and SAM YAML will be error-prone.

Add a script or build step that generates the conformance-test SAM templates from handler metadata.

Review context: https://github.com/aws/aws-durable-execution-sdk-java/pull/552#discussion_r3617917672

Requirements

  • Define one source of truth for the mapping between each Java handler and its conformance requirement IDs. This could be a Java annotation, a small manifest, or another explicit convention.
  • Generate template_<suite>.yaml files deterministically for all conformance suites.
  • Preserve the shared SAM configuration and each function's TestingMetadata.TestDescription values.
  • Integrate generation into the local/CI conformance-test workflow so templates cannot silently drift from handlers or metadata.
  • Document how to add a handler and its requirement mapping to an existing or new suite.

Acceptance criteria

  • Adding or removing a conformance handler requires no manual duplication of its Lambda resource in a SAM template.
  • Generated templates pass SAM validation/build and run the existing step and wait conformance suites successfully.
  • Generation is stable: running it twice without source changes produces no diff.
  • CI fails when checked-in generated templates are stale, or generates templates before they are consumed if they are not checked in.
主要语言
Java
星标
28
派生
13
平均合并
2 天 3 小时
30 天内合并 PR
44

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aws/aws-durable-execution-sdk-java 的其他 Issue

查看 aws/aws-durable-execution-sdk-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。