Repository navigation
CI: add Ubuntu Polish locale lane and locale bootstrap to CLI PR tests - #4607
Conversation
Agent-Logs-Url: https://github.com/beamable/BeamableProduct/sessions/52e7b1da-0b7c-4ba3-95ac-792d71d1a8c2 Co-authored-by: cdhanna <3848374+cdhanna@users.noreply.github.com>
cdhanna
left a comment
There was a problem hiding this comment.
@copilot , is it possible to only urn the PL stuff on the ubuntu-latest side?
Agent-Logs-Url: https://github.com/beamable/BeamableProduct/sessions/54bf7625-5604-4047-8940-10e56532a4eb Co-authored-by: cdhanna <3848374+cdhanna@users.noreply.github.com>
Done — I removed the Windows |
|
@copilot , see the test output for the cli github action
|
Agent-Logs-Url: https://github.com/beamable/BeamableProduct/sessions/353c6acc-6de9-48d5-8edc-0a1094eea639 Co-authored-by: cdhanna <3848374+cdhanna@users.noreply.github.com>
Agent-Logs-Url: https://github.com/beamable/BeamableProduct/sessions/353c6acc-6de9-48d5-8edc-0a1094eea639 Co-authored-by: cdhanna <3848374+cdhanna@users.noreply.github.com>
Agent-Logs-Url: https://github.com/beamable/BeamableProduct/sessions/353c6acc-6de9-48d5-8edc-0a1094eea639 Co-authored-by: cdhanna <3848374+cdhanna@users.noreply.github.com>
Agent-Logs-Url: https://github.com/beamable/BeamableProduct/sessions/353c6acc-6de9-48d5-8edc-0a1094eea639 Co-authored-by: cdhanna <3848374+cdhanna@users.noreply.github.com>
Fixed in |
Agent-Logs-Url: https://github.com/beamable/BeamableProduct/sessions/c53a7823-61c0-4eb2-8939-4c011ae6ffd7 Co-authored-by: cdhanna <3848374+cdhanna@users.noreply.github.com>
|
Lightbeam link |
There was a problem hiding this comment.
Pull request overview
This PR aims to make CLI PR testing resilient to non-English locales (specifically Polish) by running an additional Ubuntu lane with pl-PL settings and by fixing a culture-sensitive parse in NewStorageCommand that can fail under locales using , as the decimal separator.
Changes:
- Make
NewStorageCommandtarget framework parsing culture-invariant. - Expand the CLI PR test workflow matrix to add an Ubuntu
pl-PLlane and bootstrap locale settings. - Pass an explicit NUnit default culture into
dotnet testfor the CLI test job.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
cli/cli/Commands/Project/NewStorageCommand.cs |
Uses invariant culture for framework version parsing to avoid locale-dependent failures. |
.github/workflows/buildPR.yml |
Adds Ubuntu Polish locale lane and locale bootstrapping; updates concurrency grouping and test invocation culture. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| matrix: | ||
| dotnet-version: ['10.0.x' ] | ||
| runners: [ windows-latest, ubuntu-latest ] | ||
| include: | ||
| - runners: windows-latest | ||
| test-culture: en-US |
| concurrency: | ||
| group: cli-pr-${{ github.sha }}-${{ matrix.dotnet-version }}-${{matrix.runners}} | ||
| group: cli-pr-${{ github.sha }}-${{ matrix.dotnet-version }}-${{ matrix.runners }}-${{ matrix.test-culture }} | ||
| cancel-in-progress: true |
| env: | ||
| BEAM_DOCKER_WINDOWS_CONTAINERS: ${{ matrix.runners == 'windows-latest' && '1' || '0' }} | ||
| DOTNET_CLI_UI_LANGUAGE: ${{ matrix.dotnet-cli-ui-language }} |
…emantics The locale work in #4607 replaced the two-value `runners` matrix dimension with a hand-enumerated `include:` block. GitHub merges an include entry into an existing combination when its keys are absent from the base matrix instead of appending a new one, so all three entries collapsed onto the single `dotnet-version: 10.0.x` combination and the last one won. Since 2026-05-21 testCli has run exactly one lane: ubuntu, Polish. Windows and English CLI coverage were silently dropped, and every lane would have been named `testCli (10.0.x)` regardless, so nothing looked missing. Promote `runners` and `test-culture` back to matrix dimensions, drop the Windows/Polish pair with `exclude`, and use `include` for what it is for -- attaching keys to combinations that already exist. This yields the three intended lanes and makes them self-identifying in the checks list. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
NewStorageCommandNewMicroserviceCommand) uses invariant parsingdotnet build cli/cli/cli.csprojwith local version override)