Skip to content

test(js-runtime): resolve Node aliases against a fixed version index - #3144

Merged
fengmk2 merged 1 commit into
voidzero-dev:mainfrom
liangmiQwQ:test/node-provider-offline
Oct 20, 2026
Merged

fengmk2 merged 1 commit into
voidzero-dev:mainfrom
liangmiQwQ:test/node-provider-offline

Conversation

@liangmiQwQ

Copy link
Copy Markdown
Collaborator

The Node provider tests fetch the live nodejs.org index and pin release-dependent values. For example, test_resolve_lts_alias_offset expects lts/-1 to resolve to Node 22, so it fails on every CI job once Node 26 enters LTS.

This PR serves a fixed index.json from a local mirror with an isolated VP_HOME. The alias, codename, offset, and cached-version tests now assert exact versions instead of release-dependent ranges. The helper also expects one index request per test, which covers the index cache.

No behavior changes.

🤖 Generated with Claude Code

The provider tests fetched the live nodejs.org index and pinned release-dependent
values such as `lts/-1 == 22`, which breaks when Node.js 26 enters LTS. Serve a
fixed index from a local mirror instead and assert exact versions.
@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T14:17:38.454645Z 4585024 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 4585024b68

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@liangmiQwQ
liangmiQwQ marked this pull request as ready for review October 20, 2026 14:21
@liangmiQwQ
liangmiQwQ requested a review from fengmk2 October 20, 2026 14:21
@fengmk2
fengmk2 merged commit a30bb38 into voidzero-dev:main Oct 20, 2026
53 checks passed
@liangmiQwQ
liangmiQwQ deleted the test/node-provider-offline branch October 20, 2026 14:35
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