mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-24 04:33:17 +00:00
Accept unsafe one-off failures in community intake
The bug and v6 pre-release forms previously required reproduction steps even when a retry could cause a host outage, duplicate update, alert storm or data loss. Ask for the original sequence and safe evidence instead, and mirror the guidance in the public triage document. Contract-Neutral: Community intake wording only; release and installation contracts unchanged. Change-source: pulse-maintainer
This commit is contained in:
@@ -275,6 +275,17 @@ test("bug and pre-release forms accept truthful evidence for installs that never
|
||||
}
|
||||
});
|
||||
|
||||
test("bug and pre-release forms accept unsafe one-off failures without a second run", () => {
|
||||
const templateDir = path.resolve(__dirname, "../ISSUE_TEMPLATE");
|
||||
for (const name of ["bug_report.yml", "v6_rc_feedback.yml"]) {
|
||||
const form = fs.readFileSync(path.join(templateDir, name), "utf8");
|
||||
assert.match(form, /do not repeat/i);
|
||||
assert.match(form, /original sequence/i);
|
||||
assert.match(form, /second reproduction is not required/);
|
||||
assert.match(form, /data loss, an outage, duplicate changes, or excessive notifications/);
|
||||
}
|
||||
});
|
||||
|
||||
test("older-version reports cannot trigger event or scheduled retest posting", async () => {
|
||||
const issue = {
|
||||
number: 1200,
|
||||
|
||||
Reference in New Issue
Block a user