Skip to content

chore: drop Node 20.x from CI matrix, add Node 24.x #44

Description

@pinecone-groundskeeper

Problem

CI's build-and-test matrix tested node-version: [20.x, 22.x]. Node.js 20 ("Iron") reached end-of-life on 2026-03-24 and no longer receives security or bug fixes, so CI was validating the project against an unsupported runtime.

Solution

Updated the matrix in .github/workflows/ci.yml to [22.x, 24.x] — the two currently-supported Node LTS lines. Left the audit job's pinned node-version: 22.x as-is, per the issue's explicit reviewer's-call note.

Verification

Ran the CI steps locally on Node 24 (this sandbox's only available runtime): npm run lint, npm run format:check, npm run typecheck, and npm test all pass (23/23 tests). Could not exercise the Node 22.x leg or a real GitHub Actions run locally, but the change is a one-line matrix edit with no code-path dependency on Node version.

Follow-ups

None — scope was intentionally limited to the CI matrix per the issue.

Closes #32

Generated by GitHub Maintenance Fixer · sonnet50 · 56.3 AIC · ⌖ 7.03 AIC · ⊞ 8.1K ·


Note

This was originally intended as a pull request, but the git push operation failed.

Original error: The process '/usr/bin/git' failed with exit code 128

Workflow Run: View run details and download bundle artifact

The bundle file is available in the agent artifact in the workflow run linked above.

To create a pull request with the changes:

# Download the artifact from the workflow run
gh run download 30747575023 -n agent -D /tmp/agent-30747575023

# Fetch the bundle into a temporary ref, then update the local branch
git fetch /tmp/agent-30747575023/aw-pinecone-io-recommender-example-typescript-agent-maintenance-issue-32.bundle refs/heads/agent/maintenance/issue-32:refs/bundles/create-pr-agent-maintenance-issue-32-8e672e2d91b8064c-08d12fce
git update-ref refs/heads/agent/maintenance/issue-32-8e672e2d91b8064c refs/bundles/create-pr-agent-maintenance-issue-32-8e672e2d91b8064c-08d12fce
git checkout agent/maintenance/issue-32-8e672e2d91b8064c
# Ensure the working tree matches the updated branch
git reset --hard
# Remove the temporary bundle ref
git update-ref -d refs/bundles/create-pr-agent-maintenance-issue-32-8e672e2d91b8064c-08d12fce

# Push the branch to origin
git push origin agent/maintenance/issue-32-8e672e2d91b8064c

# Create the pull request
gh pr create --title 'chore: drop Node 20.x from CI matrix, add Node 24.x' --base main --head agent/maintenance/issue-32-8e672e2d91b8064c --repo pinecone-io/recommender-example-typescript

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:maintenanceOpened/maintained by the maintenance agent; it recognizes its own work by this labelagentic-workflows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions