From f58fa9d95dcce2dd9d9222d231779e6e3c682e08 Mon Sep 17 00:00:00 2001 From: yetone Date: Fri, 6 Nov 2026 03:54:20 +0800 Subject: [PATCH] autoclaw: the ledger-key test's comment gets back its first line #769 cut "Two accounts can carry the same display name (#254), so the ledger key is" off the comment over the signinAccountKey test, and left a blank line at the end of the file. Test file only; no version bump. Run: HOME=$(mktemp -d) bun test in packages/autoclaw on mote: 61 pass, 0 fail. --- packages/autoclaw/index.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/autoclaw/index.test.mjs b/packages/autoclaw/index.test.mjs index 80aa77f..189e70d 100644 --- a/packages/autoclaw/index.test.mjs +++ b/packages/autoclaw/index.test.mjs @@ -1516,6 +1516,7 @@ test("checkin: two concurrent expired-token checkins share one refresh", async ( } }) +// Two accounts can carry the same display name (#254), so the ledger key is // signinAccountKey - uid, or the refresh token when an old account has none - // never the name. Both accounts here have NO uid on purpose: the pre-review // key (uid ?? accountId ?? provider) fell back to the shared display name and @@ -1581,4 +1582,3 @@ test("usage: an unreadable total_balance is unknown, not a drained pool", async rmSync(dir, { recursive: true, force: true }) } }) -