meta: use form schema for flaky test template

PR-URL: https://github.com/nodejs/node/pull/40737
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
Michaël Zasso
2021-11-06 09:46:35 +01:00
parent a420da6173
commit 8e42eaec53
2 changed files with 47 additions and 34 deletions

View File

@@ -1,34 +0,0 @@
---
name: Report a flaky test
about: Report a flaky test in our CI
labels: "CI / flaky test"
---
<!--
Thank you for reporting a flaky test.
Flaky tests are tests that fail occasionally in the Node.js CI, but not
consistently enough to block PRs from landing, or that are failing in CI jobs or
test modes that are not run for every PR.
Please fill in as much of the template below as you're able.
Test: The test that is flaky - e.g. `test-fs-stat-bigint`
Platform: The platform the test is flaky on - e.g. `macos` or `linux`
Console Output: A pasted console output from a failed CI job showing the whole
failure of the test
Build Links: Links to builds affected by the flaky test
If any investigation has been done, please include any information found, such
as how consistently the test fails, whether the failure could be reproduced
locally, when the test started failing, or anything else you think is relevant.
-->
* **Test**:
* **Platform**:
* **Console Output:**
```
REPLACE ME
```
* **Build Links**:

View File

@@ -0,0 +1,47 @@
name: Report a flaky test
description: Report a flaky test in our CI
title: "Investigate flaky test - "
labels: ["flaky-test"]
body:
- type: markdown
attributes:
value: |
Thank you for reporting a flaky test.
Flaky tests are tests that fail occasionally in the Node.js CI, but not
consistently enough to block PRs from landing, or that are failing in CI
jobs or test modes that are not run for every PR.
Please fill in as much of the form below as you're able.
- type: input
attributes:
label: Test
description: The test that is flaky.
placeholder: e.g. `test-fs-stat-bigint`
validations:
required: true
- type: input
attributes:
label: Platform
description: The platform the test is flaky on.
placeholder: e.g. `macos` or `linux`
- type: textarea
attributes:
label: Console output
description: >
A pasted console output from a failed CI job showing the whole failure
of the test.
render: console
- type: textarea
attributes:
label: Build links
description: Links to builds affected by the flaky test.
value: '- '
- type: textarea
attributes:
label: Additional information
description: >
If any investigation has been done, please include any information
found, such as how consistently the test fails, whether the failure
could be reproduced locally, when the test started failing, or anything
else you think is relevant.