Bump/primer upstream - #393
Conversation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tyler Jones <tylerjdev@github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… and configurability (primer#3784)
…cies group (primer#3756) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…rimer#3762) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Rohan <rohan@github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hector Garcia <hectahertz@github.com> Co-authored-by: Jon Rohan <rohan@github.com>
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
There was a problem hiding this comment.
Pull request overview
This PR merges upstream dependency updates from GitHub's Primer ViewComponents repository. The changes include bumping several npm development dependencies (markdownlint-cli2, related markdown processing libraries, js-yaml, and katex) and Ruby gems (nio4r and puma). Additionally, the monolithic test.yml workflow has been split into separate workflow files for better organization and the test matrix has been streamlined by removing the Rails "main" branch test configuration.
Key changes:
- Updated npm dependencies: markdownlint-cli2 (0.18.1 → 0.19.1), js-yaml (4.1.0 → 4.1.1), katex (0.16.22 → 0.16.27), and related packages
- Updated Ruby gems: puma (7.0.4 → 7.1.0) and nio4r (2.7.4 → 2.7.5)
- Refactored CI workflows: Split the monolithic test.yml into separate workflow files (test-accessibility.yml, test-components.yml, test-lib.yml, test-performance.yml, test-selectors.yml, test-system.yml, test-visual.yml)
- Simplified test matrix by removing Rails "main" branch testing and adjusting runner configurations
Reviewed changes
Copilot reviewed 11 out of 13 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Bumped markdownlint-cli2 from 0.18.1 to 0.19.1 |
| package-lock.json | Updated lockfile with new versions of markdownlint-cli2 and its dependencies (@sindresorhus/merge-streams, decode-named-character-reference, js-yaml, katex, markdownlint, markdownlint-cli2-formatter-default, globby) |
| Gemfile | Updated puma version from ~> 7.0.4 to ~> 7.1.0 |
| Gemfile.lock | Updated lockfile reflecting puma 7.1.0 and nio4r 2.7.5 |
| .github/workflows/test.yml | Deleted monolithic test workflow file (308 lines removed) |
| .github/workflows/test-visual.yml | New workflow file for visual and semantic markup regression tests (extracted from test.yml) |
| .github/workflows/test-system.yml | New workflow file for system tests with Chrome (extracted from test.yml, Firefox commented out) |
| .github/workflows/test-selectors.yml | New workflow file for CSS coverage tests (extracted from test.yml) |
| .github/workflows/test-performance.yml | New workflow file for performance tests (extracted from test.yml) |
| .github/workflows/test-lib.yml | New workflow file for lib tests (extracted from test.yml) |
| .github/workflows/test-components.yml | New workflow file for component tests (extracted from test.yml) |
| .github/workflows/test-accessibility.yml | New workflow file for accessibility tests (extracted from test.yml) |
| .github/version-matrix.json | Removed "main" Rails version from test matrix, reformatted JSON structure |
| { | ||
| "label": "latest", | ||
| "rails_version": "latest", | ||
| "ruby_version": "3.4", | ||
| "label": "latest" | ||
| }, | ||
| { | ||
| "rails_version": "main", | ||
| "ruby_version": "3.4", | ||
| "label": "main" | ||
| "ruby_version": "3.4" | ||
| } |
There was a problem hiding this comment.
The removal of the "main" Rails version from the test matrix means the codebase will no longer be tested against the Rails main branch. This could lead to compatibility issues with future Rails releases going undetected until after Rails has been released.
The Gemfile still contains support for RAILS_VERSION="main" (lines 17-24), which suggests this test matrix entry should be retained to ensure the code works with Rails edge/main branch. Consider whether this removal is intentional or if the "main" test matrix entry should be restored.
| group: test-accessibility-${{ github.head_ref || github.run_id }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: |
There was a problem hiding this comment.
The FERRUM_PROCESS_TIMEOUT environment variable was reduced from 45 seconds (in the old test.yml) to 30 seconds across all the new workflow files. This is not set in this particular workflow file, but is set in test-visual.yml, test-system.yml, test-performance.yml, test-lib.yml, and test-components.yml.
However, the test-accessibility.yml workflow runs accessibility tests that may benefit from the timeout setting as well. Consider whether this workflow should also include the FERRUM_PROCESS_TIMEOUT environment variable for consistency, or whether it's intentionally omitted because accessibility tests don't use Ferrum.
| group: test-selectors-${{ github.head_ref || github.run_id }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: |
There was a problem hiding this comment.
Similar to test-accessibility.yml, this workflow does not include the FERRUM_PROCESS_TIMEOUT environment variable that is set in the other test workflows (test-visual.yml, test-system.yml, test-performance.yml, test-lib.yml, and test-components.yml). Consider whether this is intentional or if it should be added for consistency.
No description provided.