diff --git a/pm-stack/aggregator/test/curation-1497.test.ts b/pm-stack/aggregator/test/curation-1497.test.ts index 2fd1daf8d4..d52741b804 100644 --- a/pm-stack/aggregator/test/curation-1497.test.ts +++ b/pm-stack/aggregator/test/curation-1497.test.ts @@ -68,6 +68,10 @@ const DECISIONS: Record = { // find the question stack) promotes it to primary — a curation // ruling recorded here like the others. decisions: "primary", + // Post-#1497 addition (#12491, 2026-11-22): the report-conflict + // review page enters at dropdown tier — no curation ruling promotes + // it, and new pages do not take primary slots without one. + reports: "dropdown", }; describe("the #1497 decision table is applied to the manifest", () => { diff --git a/pm-stack/opencode-claimant/test/install.test.mjs b/pm-stack/opencode-claimant/test/install.test.mjs index 9e6df17724..5fb723f8ce 100644 --- a/pm-stack/opencode-claimant/test/install.test.mjs +++ b/pm-stack/opencode-claimant/test/install.test.mjs @@ -59,12 +59,14 @@ async function expectNoWrites(stores) { // runs the installer (observed on CI runners where bun is installed under // ~/.bun); that is a runtime artifact, not an installer write, so it is // excluded from the no-write assertion. See developing-today/code#9532. - const homeEntries = (await readdir(stores.home)).filter( - (name) => name !== ".bun", - ); - expect(homeEntries).toEqual([ - ".config", "explicit-store.json", - ]); + // A directory is listed in whatever order the filesystem keeps it: on + // the CI runner that is not the order the entries were made in, which + // failed this assertion on every scheduled run. What is asserted is + // which entries exist, so both sides are put in one order. + const homeEntries = (await readdir(stores.home)) + .filter((name) => name !== ".bun") + .sort(); + expect(homeEntries).toEqual([".config", "explicit-store.json"].sort()); expect(await readdir(stores.defaultDir)).toEqual([ "path_L2hvbWUvdXNlci9naXQvY29kZQ.json", ]);