{"draft":null,"from":96,"to":318,"files":[{"path":"worker/project/test/queue.test.ts","added":11,"removed":11,"diff":"--- a/worker/project/test/queue.test.ts\n+++ b/worker/project/test/queue.test.ts\n@@ -38,7 +38,7 @@\n \treturn a.queued;\n }\n \n-test(\"without the queue a publish lands as before\", () => {\n+test(\"without the queue a push lands as before\", () => {\n \tconst { project } = setup(false);\n \tedit(project, \"one\", { file: \"a.ts\", old: \"1\", new: \"2\" }, 1);\n \tconst a = project.publish(\"one\", \"a is 2\", 2);\n@@ -46,7 +46,7 @@\n \tassert.deepEqual(project.queue().items, []);\n });\n \n-test(\"a queued publish waits, shows in status and the candidate, and lands as its own version with the same tree\", () => {\n+test(\"a queued push waits, shows in status and the candidate, and lands as its own version with the same tree\", () => {\n \tconst { project } = setup();\n \tedit(project, \"one\", { file: \"a.ts\", old: \"1\", new: \"2\" }, 1);\n \tconst a = project.publish(\"one\", \"a is 2\", 2);\n@@ -71,10 +71,10 @@\n \tassert.equal(project.treeAt(1), candidate.tree);\n \tassert.deepEqual(project.queue().items, []);\n \tassert.equal(project.status().agents.find((x) => x.agent === \"one\")?.queued, undefined);\n-\tassert.ok(project.news(\"one\").news.some((n) => n.includes('Your queued publish \"a is 2\" landed as version 1')));\n+\tassert.ok(project.news(\"one\").news.some((n) => n.includes('Your queued push \"a is 2\" landed as version 1')));\n });\n \n-test(\"a publish that changes lines queued ahead of it is refused at once, naming the queued one\", () => {\n+test(\"a push that changes lines queued ahead of it is refused at once, naming the queued one\", () => {\n \tconst { project } = setup();\n \tedit(project, \"one\", { file: \"a.ts\", old: \"1\", new: \"2\" }, 1);\n \tqueued(project, \"one\", \"a is 2\", 2);\n@@ -87,7 +87,7 @@\n \tassert.equal(project.queue().items.length, 1);\n });\n \n-test(\"a name defined both in a queued publish and in a new one is refused\", () => {\n+test(\"a name defined both in a queued push and in a new one is refused\", () => {\n \tconst { project } = setup();\n \tedit(\n \t\tproject,\n@@ -110,7 +110,7 @@\n \t);\n });\n \n-test(\"publishes to different files queue behind each other and land in order\", () => {\n+test(\"pushes to different files queue behind each other and land in order\", () => {\n \tconst { project } = setup();\n \tedit(project, \"one\", { file: \"a.ts\", old: \"1\", new: \"2\" }, 1);\n \tqueued(project, \"one\", \"a is 2\", 2);\n@@ -133,20 +133,20 @@\n \t);\n });\n \n-test(\"a failed publish is pulled with the check's output; its changes stay in the draft and can be queued again\", () => {\n+test(\"a failed push is turned back with the check's output; its changes stay in the draft and can be queued again\", () => {\n \tconst { project } = setup();\n \tedit(project, \"one\", { file: \"a.ts\", old: \"1\", new: \"2\" }, 1);\n \tqueued(project, \"one\", \"a is 2\", 2);\n \tassert.deepEqual(project.queuePull(1, \"failed\", 3, \"line 1\\nnot ok 1 - a is 1\\n\").pulled, [1]);\n \tassert.deepEqual(project.queue().items, []);\n \tconst news = project.news(\"one\").news.join(\"\\n\");\n-\tassert.ok(news.includes(\"was pulled: the project's check failed on it\"), news);\n+\tassert.ok(news.includes(\"was turned back: the project's check failed on it\"), news);\n \tassert.ok(news.includes(\"not ok 1 - a is 1\"));\n \tassert.equal(project.diff(\"one\").files.length, 1, \"the change is still in the draft\");\n \tassert.equal(queued(project, \"one\", \"a is 2, again\", 4), 2);\n });\n \n-test(\"a queued publish built on a pulled one comes out with it\", () => {\n+test(\"a queued push built on a pulled one comes out with it\", () => {\n \tconst { project } = setup();\n \tedit(project, \"one\", { file: \"a.ts\", old: \"1\", new: \"2\" }, 1);\n \tqueued(project, \"one\", \"a is 2\", 2);\n@@ -159,10 +159,10 @@\n \t\tproject.queue().items.map((q) => q.id),\n \t\t[3],\n \t);\n-\tassert.ok(project.news(\"one\").news.some((n) => n.includes(\"it builds on queued publish 1, which was pulled\")));\n+\tassert.ok(project.news(\"one\").news.some((n) => n.includes(\"it builds on queued push 1, which was turned back\")));\n });\n \n-test(\"an agent can withdraw its queued publishes while they wait, not while they are being checked\", () => {\n+test(\"an agent can withdraw its queued pushes while they wait, not while they are being checked\", () => {\n \tconst { project } = setup();\n \tedit(project, \"one\", { file: \"a.ts\", old: \"1\", new: \"2\" }, 1);\n \tqueued(project, \"one\", \"a is 2\", 2);"}],"unmatched":[]}