Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Print the final minimized test plan before sending it to zed.dev

Max Brunsfeld8f25b98e6f5c
diff --git a/script/randomized-test-ci b/script/randomized-test-ci
index 31fdea6aee8..7816ebfbbf2 100755
--- a/script/randomized-test-ci
+++ b/script/randomized-test-ci
@@ -40,13 +40,15 @@ async function main() {
console.log("found failure at seed", failingSeed)
const minimizedSeed = minimizeTestPlan(planPath, minPlanPath)
- const minimizedPlan = JSON.parse(fs.readFileSync(minPlanPath, 'utf8'))
+ const minimizedPlan = fs.readFileSync(minPlanPath, 'utf8')
+
+ console.log("minimized plan:\n", minimizedPlan)
const url = `${ZED_SERVER_URL}/api/randomized_test_failure`
const body = {
seed: minimizedSeed,
token: ZED_CLIENT_SECRET_TOKEN,
- plan: minimizedPlan,
+ plan: JSON.parse(minimizedPlan),
commit: commit,
}
await fetch(url, {