Skip to content

Fix: Pin Dockerfile to node:22-alpine (node:26 removed corepack) - #33

Merged
pdettori merged 1 commit into
mainfrom
ci/ghcr-build-workflow
Jun 30, 2026
Merged

pdettori merged 1 commit into
mainfrom
ci/ghcr-build-workflow

Conversation

@pdettori

Copy link
Copy Markdown
Member

Summary

First build run failed: https://github.com/kagenti/serverless-harness/actions — corepack: not found

Test plan

  • CI build workflow passes after merge (image pushed to GHCR)

Assisted-By: Claude Code

Node.js 26 no longer ships corepack in the default distribution,
causing the build to fail with 'corepack: not found'. Pin both
stages to node:22-alpine (current LTS, matches CI test matrix).

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
@pdettori
pdettori merged commit 19523a7 into main Jun 30, 2026
9 checks passed
@pdettori
pdettori deleted the ci/ghcr-build-workflow branch June 30, 2026 19:15
pdettori added a commit to pdettori/moca that referenced this pull request Jul 13, 2026
…-injection)

Strip CR/LF from req.method/req.url/Authorization before logging in the RC1-2
echo target so a crafted request cannot forge or split log lines. Addresses the
CodeQL js/log-injection alerts (rossoctl#32/rossoctl#33) on PR rossoctl#97. The reflected JSON response
is unchanged (already safe via JSON.stringify), so the Hop-2 smoke assertions
(which read the response body, not the log) are unaffected.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant