Skip to content

chore(ci): node24 setup-node + fix fuzz_bootstrap flake8 false positive#43

Merged
lallaria merged 1 commit into
mainfrom
chore/ci-green-followups
Jun 5, 2026
Merged

chore(ci): node24 setup-node + fix fuzz_bootstrap flake8 false positive#43
lallaria merged 1 commit into
mainfrom
chore/ci-green-followups

Conversation

@lallaria

@lallaria lallaria commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Two small CI-greenness fixes (no runtime behavior change).

setup-node → v5 (node24)

actions/setup-node@v4 runs on the node20 action runtime, which GitHub deprecated and force-migrates to node24 on 2026-06-16. It was the only node20-runtime action left across .github/workflows/. Bumped to @v5 (node24). node-version: '22' (the Node that runs vitest) is unchanged; there's no packageManager field in WebHostLib/static/js-tests/package.json, so v5's auto-caching doesn't kick in.

fuzz_bootstrap.py F821

GitHubLib/fuzz-image/fuzz_bootstrap.py is a fragment sed-spliced into upstream fuzz.py (see run_fuzz.sh), never run standalone. Its os, sys, and ap_path references are owned by the host fuzz.py at the splice point, so the blocking flake8 --select=E9,F63,F7,F82 step in analyze-modified-files.yml flags them as F821 (undefined name) whenever the file is in a diff. Suppressed per-line with # noqa: F821. A file-level # flake8: noqa: F821 was avoided — in flake8 7.x it silences the entire file regardless of the listed code, which would mask real future issues.

Verified locally: the exact blocking flake8 command now exits 0 on the file.

🤖 Generated with Claude Code

…F821

actions/setup-node@v4 runs on the deprecated node20 runtime (force-migrated 2026-06-16); @v5 uses node24. It was the only node20 action left in .github/workflows.

fuzz_bootstrap.py is sed-spliced into upstream fuzz.py, so os/sys/ap_path are host-owned — the blocking flake8 --select=E9,F63,F7,F82 step flagged them as F821. Suppress per-line; a file-level # flake8: noqa silences the whole file in flake8 7.x.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@lallaria lallaria merged commit 63af6d2 into main Jun 5, 2026
20 checks passed
@lallaria lallaria deleted the chore/ci-green-followups branch June 5, 2026 01:12
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