Fix Node 24 action bootstrap fallback (#556)

* Fix Node 24 action bootstrap fallback

Resolve the published CLI launcher through PATH so runners missing a sibling Node 24 npx can still start, and make post cleanup recognize prefixed leaping comments.

* Bump Pullfrog action package version

Ensure the Node 24 bootstrap and post-cleanup fixes publish to npm and move the v0 action tag.

* Walk PATH for corepack and npx in action bootstrap

ensureActionDependencies and runPackageCli now resolve corepack/npx through
PATH the same way as the npx-via-PATH fix, so Node 24 runner pools missing
either sibling can still bootstrap. Also adds a Zod-mirror settings helper
for the preview-556 repo and documents the per-PR settings workflow.

* log when corepack PATH fallback is used
This commit is contained in:
Colin McDonnell
2026-05-01 15:59:46 +00:00
committed by pullfrog[bot]
parent f662b1a0c8
commit 55c95e6f50
4 changed files with 116 additions and 18 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { LEAPING_INTO_ACTION_PREFIX } from "../mcp/comment.ts";
import { isLeapingIntoActionCommentBody } from "../mcp/comment.ts";
import { getApiUrl } from "./apiUrl.ts";
import { buildPullfrogFooter } from "./buildPullfrogFooter.ts";
import { log } from "./cli.ts";
@@ -68,7 +68,7 @@ async function validateStuckProgressComment(ctx: PostCleanupContext): Promise<nu
const body = commentResult.data.body ?? "";
if (body.startsWith(LEAPING_INTO_ACTION_PREFIX)) {
if (isLeapingIntoActionCommentBody(body)) {
log.info(`[post] comment ${commentId} is stuck on "Leaping into action"`);
return commentId;
}