test: reproduce init hang with pinned engine 1.13.50 - #19
Closed
nachoaldamav wants to merge 1 commit into
Closed
Conversation
Pins the test workspace engine to 1.13.50 (the version a user reports hanging after "Setup complete") to reproduce on CI. Current test workspace has no engine pinned, so it installs the latest bit (2.0.26) which only warns about the Node 22.22 requirement instead of hanging. Adds a 15-minute timeout on the Initialize Bit step so a reproduced hang aborts fast instead of running to the 6h job limit.
Contributor
Author
|
Closing — this was a diagnostic branch, not for merge. Result: pinning engine Actual root cause: Fix in #20 (skip bvm update-check + PATH edit, and bump Node 22.14 → 22.22). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Reproduce the
init@v3hang some users hit afterSetup complete. Open a new terminal to start using Bit.(reported for workspaces pinning an older Bit engine).What changed
test-data/workspace.jsonc: pinteambit.harmony/bit.engineto1.13.50(previously no engine pin → installed latest bit2.0.26, which only warns about the new Node ≥ 22.22 requirement instead of hanging)..github/workflows/main.yml: addtimeout-minutes: 15on the Initialize Bit step so a reproduced hang aborts fast instead of hitting the 6h job limit.Hypothesis under test
The action pins
node-version: '22.14'(action.yml), but current Bit requires Node ≥22.22.0. Latest bit tolerates the mismatch as a warning; the older pinned engine (1.13.50) hangs at the setup boundary.This is a diagnostic branch, not for merge as-is. If the hang reproduces, the follow-up fix is bumping the action's Node pin.