Skip to content

Normalize PWD after sourcing nvm#27

Open
mokagio wants to merge 1 commit into
mainfrom
mokagio/nvm-normalize-after-source
Open

Normalize PWD after sourcing nvm#27
mokagio wants to merge 1 commit into
mainfrom
mokagio/nvm-normalize-after-source

Conversation

@mokagio

@mokagio mokagio commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Why

Follow-up to the dead-end #26. Across builds, the only change separating the last all-green build (104 — normalization after source nvm.sh) from every build that hangs the explicit-version Windows jobs (111/112/113 — normalization before) is commit e00aea8, which moved normalization before the source.

This PR reverts only that reorder — a single-variable test against build 112. If the explicit-version Windows jobs (v20.19.5, v24.15.0) pass here, the before-source ordering is the cause.

Tradeoff to check

e00aea8's before-source ordering is what reportedly fixed Beeper's .nvmrc Windows hang. This repo's .nvmrc Windows job passed in build 104 with the after-source ordering, but the Beeper downstream needs re-checking before this lands.

How to test

Watch this branch's Buildkite run. Success = both explicit-version Windows jobs clear Checksums matched! and finish, and the .nvmrc Windows job stays green.

🤖 Generated with Claude Code

Move `nvm_plugin_normalize_windows_pwd_for_nvm` back to after
`source nvm.sh`, reverting the reorder from e00aea8.

This is a single-variable experiment. e00aea8 is the only change
separating the last all-green build (104, normalize after source) from
every build that hangs the explicit-version Windows jobs (111/112/113,
normalize before source). If this build's Windows jobs pass, the
before-source ordering is the cause of the hang.

The exact hanging line can't be pinned from logs — the Windows hook's
stdout is block-buffered and never flushes once it hangs — so this tests
the ordering correlation empirically rather than a proven mechanism.

---

Generated with the help of Claude Code, https://claude.com/claude-code

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 30, 2026 07:58
@mokagio mokagio self-assigned this Jun 30, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Base automatically changed from mokagio/nvm-install-timeout to main July 2, 2026 08:15
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