mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 09:39:25 +00:00
fix(release): recognize 2026.9.8 plugin scan policy (#163464)
Co-authored-by: roboclaw-bot <309084314+roboclaw-bot@users.noreply.github.com> Co-authored-by: vincentkoc <25068+vincentkoc@users.noreply.github.com>
This commit is contained in:
parent
883013b44d
commit
45fd3352ba
2 changed files with 4 additions and 1 deletions
|
|
@ -438,6 +438,7 @@ const FROZEN_RELEASE_SECURITY_INVENTORY_POLICIES = new Map<string, PluginSecurit
|
|||
requiredSourceFindingCounts: RELEASE_2026_9_7_REQUIRED_REVIEWED_SOURCE_FINDING_COUNTS,
|
||||
},
|
||||
],
|
||||
["release/2026.9.8", CURRENT_SECURITY_INVENTORY_POLICY],
|
||||
[
|
||||
"extended-stable/2026.6.33",
|
||||
{
|
||||
|
|
|
|||
|
|
@ -262,12 +262,13 @@ describe("scripts/lib/plugin-npm-security-scan.mts", () => {
|
|||
"release/2026.9.5",
|
||||
"release/2026.9.6",
|
||||
"release/2026.9.7",
|
||||
"release/2026.9.8",
|
||||
]) {
|
||||
expect(resolveReviewedSourceLayout(current, context)?.id, context).toBe("current");
|
||||
}
|
||||
expect(resolveReviewedSourceLayout(frozenLegacy, "release/2026.9.1")).toBeUndefined();
|
||||
expect(resolveReviewedSourceLayout(current, "release/2099.1.1")).toBeUndefined();
|
||||
expect(resolveReviewedSourceLayout(current, "release/2026.9.8")).toBeUndefined();
|
||||
expect(resolveReviewedSourceLayout(current, "release/2026.9.9")).toBeUndefined();
|
||||
expect(resolveReviewedSourceLayout(frozenLegacy)).toBeUndefined();
|
||||
expect(resolveReviewedSourceLayout(frozenLegacy, "extended-stable/2026.6.33")?.id).toBe(
|
||||
"extended-stable-2026.6.33",
|
||||
|
|
@ -801,6 +802,7 @@ describe("scripts/lib/plugin-npm-security-scan.mts", () => {
|
|||
context === "" ||
|
||||
context === "release/2026.9.6" ||
|
||||
context === "release/2026.9.7" ||
|
||||
context === "release/2026.9.8" ||
|
||||
(context === "release/2026.9.5" && reviewedIn95);
|
||||
const label = `${context || "current"}: ${count ?? "absent"}`;
|
||||
const scanned = await scanPublishablePluginPackages([artifact.artifact], context);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue