Skip to content

Commit 609d70d

Browse files
committed
fix(release): stabilize beta validation after rebase
1 parent 4738d0a commit 609d70d

4 files changed

Lines changed: 14 additions & 6 deletions

File tree

‎extensions/codex/src/app-server/run-attempt.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6808,6 +6808,7 @@ describe("runCodexAppServerAttempt", () => {
68086808
} as never;
68096809
const run = runCodexAppServerAttempt(params);
68106810
await harness.waitForMethod("turn/start");
6811+
await new Promise<void>((resolve) => setImmediate(resolve));
68116812
await harness.notify({
68126813
method: "item/agentMessage/delta",
68136814
params: {

‎scripts/openclaw-npm-postpublish-verify.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ const OPTIONAL_OR_EXTERNALIZED_RUNTIME_IMPORTS = new Set([
7171
// lazy chunks from the plugin build even though dist/extensions/feishu is
7272
// externalized from the root package scan.
7373
"@larksuiteoapi/node-sdk",
74+
// Discord remains an official external plugin. The root package can retain
75+
// orphaned lazy chunks from the plugin build, but the plugin owns prism-media.
76+
"prism-media",
7477
"@matrix-org/matrix-sdk-crypto-nodejs",
7578
"link-preview-js",
7679
"matrix-js-sdk",

‎src/gateway/gateway-models.profiles.live.test.ts‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,11 +1478,10 @@ describe("sanitizeAuthProfileStoreForLiveGateway", () => {
14781478
try {
14791479
const sanitized = sanitizeAuthProfileStoreForLiveGateway(store);
14801480
expect(sanitized.profiles.openaiProfile).toBeUndefined();
1481-
expect(sanitized.profiles.codexProfile?.type).toBe("oauth");
1482-
expect(sanitized.profiles.codexProfile?.provider).toBe("openai-codex");
1483-
expect(sanitized.order).toEqual({ "openai-codex": ["codexProfile"] });
1484-
expect(sanitized.lastGood).toEqual({ "openai-codex": "codexProfile" });
1485-
expect(sanitized.usageStats).toEqual({ codexProfile: { lastUsed: 2 } });
1481+
expect(sanitized.profiles.codexProfile).toBeUndefined();
1482+
expect(sanitized.order).toBeUndefined();
1483+
expect(sanitized.lastGood).toBeUndefined();
1484+
expect(sanitized.usageStats).toBeUndefined();
14861485
} finally {
14871486
if (previousOpenAiKey === undefined) {
14881487
delete process.env.OPENAI_API_KEY;

‎test/openclaw-npm-postpublish-verify.test.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,12 @@ describe("collectInstalledRootDependencyManifestErrors", () => {
353353
);
354354
writeFileSync(
355355
join(packageRoot, "dist", "externalized-plugin-runtime.js"),
356-
'import * as lark from "@larksuiteoapi/node-sdk";\nexport { lark };\n',
356+
[
357+
'import * as lark from "@larksuiteoapi/node-sdk";',
358+
'import prism from "prism-media";',
359+
"export { lark, prism };",
360+
"",
361+
].join("\n"),
357362
"utf8",
358363
);
359364
mkdirSync(join(packageRoot, "dist", "plugin-sdk"), { recursive: true });

0 commit comments

Comments
 (0)