fix: only serialize PTY spawn on musl, not entire lifetime #2
Workflow file for this run
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
| name: Musl Stability Test | |
| permissions: | |
| contents: read | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - claude/reproduce-flaky-failure-RuwlG | |
| concurrency: | |
| group: musl-stability-${{ github.sha }} | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| test-musl: | |
| name: 'Musl Run #${{ matrix.run }}' | |
| runs-on: ubuntu-latest | |
| container: | |
| image: node:22-alpine3.21 | |
| options: --shm-size=256m | |
| env: | |
| RUSTFLAGS: --cfg tokio_unstable -D warnings | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] | |
| steps: | |
| - name: Install Alpine dependencies | |
| shell: sh {0} | |
| run: apk add --no-cache bash curl git musl-dev gcc g++ python3 | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| persist-credentials: false | |
| submodules: true | |
| - name: Install rustup | |
| run: | | |
| curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none | |
| echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" | |
| - name: Install Rust toolchain | |
| run: rustup show | |
| - name: Install pnpm and Node tools | |
| run: | | |
| corepack enable | |
| pnpm install | |
| - run: cargo test |