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

Proposal: Schedule `results.tests[].id` for Removement Before CTRF Release 1.0.0

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

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
半天
新手友好度
32/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
json
领域
documentation

调研方向

The change belongs in the spec text for section 9.1 (id) of the CTRF specification, which should point to section 9.2 (testId). Read the deprecation notice and the sentence about consumers treating id as legacy, then settle that sentence with the maintainers before editing. Done means the agreed wording is merged and the 1.0.0 removal date is stated consistently.

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

描述

I propose to document the removement of results.tests[].id with the release of CTRF version 1.0.0 latest.
The goal is to avoid starting with a legacy in the first CTRF version.

Below is my preliminary draft proposal for updating the documentation to apply some pressure and make it clear that id will be removed by version 1.0.0 at the latest.

9.1. id

Legacy. id is deprecated and scheduled for removement. Producers SHALL use/switch to testId (Section 9.2).

Description:
A unique, stable identifier for the test case.

Requirements:
id is OPTIONAL.
If present, it MUST be a valid UUID as defined in [RFC4122].

Deprecation Notice:
For producers id is scheduled for removement with CTRF version 1.0.0.
New producer implementations MUST use testId instead of id from beginning.
Existing producers implementations SHALL switch from id to testId before CTRF version 1.0.0.
Consumers may support id beyond CTRF version 1.0.0 as follows for CTRF versions < 1.0.0:
When both id and testId are present, consumers SHALL use testId.

I do not understand the intention behind:

Consumers SHOULD treat id as legacy unless a producer documents stronger semantics.

So I felt free to just remove this sentence :-).

P.S.: Of course, the wording suggested above is a pre-1.0 wording.
For version 1.0.0 it will then need to be reworded accordingly.

What do you think about this?

主要语言
没有语言数据
星标
98
派生
4
平均合并
1 小时 21 分钟
30 天内合并 PR
1

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

ctrf-io/ctrf 的其他 Issue

查看 ctrf-io/ctrf 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

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