Skip to content

ci: opt into Node.js 24 for all workflow actions (bridge)#2

Merged
DojoGenesis merged 2 commits into
mainfrom
ci/node24-migration-bridge
May 27, 2026
Merged

ci: opt into Node.js 24 for all workflow actions (bridge)#2
DojoGenesis merged 2 commits into
mainfrom
ci/node24-migration-bridge

Conversation

@DojoGenesis

Copy link
Copy Markdown
Owner

Summary

  • Adds FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" at the workflow top level for all workflows that use external GitHub Actions
  • Targets the June 2, 2026 deadline when GitHub Actions will force-migrate all Node.js 20 actions to Node.js 24 by default
  • Minimal bridge — individual action major-version bumps can land incrementally as upstream publishes Node.js 24 versions

Workflows touched

  • .github/workflows/ci.yml

Test plan

  • Verify CI passes on this branch
  • Confirm no Node.js 20 deprecation warnings appear in workflow run logs

🤖 Generated with Claude Code

Adds FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true at workflow level to suppress
Node.js 20 deprecation warnings ahead of the June 2, 2026 forced migration.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@DojoGenesis DojoGenesis force-pushed the ci/node24-migration-bridge branch from f51f0a9 to ce7617a Compare April 23, 2026 00:22
Three lint findings from the CI run annotations:

1. ci.yml: upgrade golangci-lint-action @v6@v7 and pin version: v2.11.4
   golangci-lint-action@v6 rejects golangci-lint v2.x version strings; @v7 is
   required. Also pin away from `latest` for reproducible linting (mirrors PR #1).

2. internal/decisions/writer_test.go: check os.Chdir return values (errcheck)
   Both os.Chdir calls in TestNewWriter_EmptyPath discarded errors. Check the
   setup call with t.Fatalf and wrap the deferred restore in a closure so
   t.Errorf can be called on failure.

3. internal/skills/loader.go: remove dead HasSuffix branch (SA4017)
   parseFrontmatterLines had `if strings.HasSuffix(line, ":") { continue }` inside
   an `if idx == -1` block where both branches were `continue`. The HasSuffix
   call had no effect on control flow, triggering SA4017. Collapsed to a single
   continue with an explanatory comment.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@DojoGenesis DojoGenesis merged commit 2bfaa80 into main May 27, 2026
1 check passed
@DojoGenesis DojoGenesis deleted the ci/node24-migration-bridge branch May 27, 2026 23:19
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.

2 participants