Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Add a placeholder test used to time a revert

garrytan1e145d6a8948
diff --git a/changelog.d/capy-revert-drill-canary-2.md b/changelog.d/capy-revert-drill-canary-2.md
new file mode 100644
index 0000000000..68f3e6fbdf
--- /dev/null
+++ b/changelog.d/capy-revert-drill-canary-2.md
@@ -0,0 +1,4 @@
+**Adds a placeholder test used to time a revert.**
+
+### Added
+- `test/revert-drill-canary.test.ts`: one always-passing test. It lands only to be reverted, so the time from deciding a landing is bad to a merged revert can be measured before PRs land without containing current master.
diff --git a/test/revert-drill-canary.test.ts b/test/revert-drill-canary.test.ts
new file mode 100644
index 0000000000..d7baa8fc95
--- /dev/null
+++ b/test/revert-drill-canary.test.ts
@@ -0,0 +1,7 @@
+import { describe, expect, test } from 'bun:test';
+
+describe('revert drill canary', () => {
+ test('passes, so the drill times only the revert', () => {
+ expect(['land', 'revert'].join(' then ')).toBe('land then revert');
+ });
+});