Skip to content

Bump/primer upstream - #393

Merged
myabc merged 16 commits into
mainfrom
bump/primer-upstream
Dec 17, 2025
Merged

Bump/primer upstream#393
myabc merged 16 commits into
mainfrom
bump/primer-upstream

Conversation

@myabc

@myabc myabc commented Dec 12, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

primer Bot and others added 15 commits December 3, 2025 19:32
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>
…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>
@changeset-bot

changeset-bot Bot commented Dec 12, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 58976e4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@myabc myabc added the skip changeset For PRs that contain no relevant release data (e.g. documentation only) label Dec 12, 2025
@myabc
myabc marked this pull request as ready for review December 17, 2025 13:08
Copilot AI review requested due to automatic review settings December 17, 2025 13:08
@myabc
myabc merged commit e021308 into main Dec 17, 2025
34 of 37 checks passed

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.

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

Comment on lines 12 to 16
{
"label": "latest",
"rails_version": "latest",
"ruby_version": "3.4",
"label": "latest"
},
{
"rails_version": "main",
"ruby_version": "3.4",
"label": "main"
"ruby_version": "3.4"
}

Copilot AI Dec 17, 2025

Copy link

Choose a reason for hiding this comment

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

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.

Copilot uses AI. Check for mistakes.
group: test-accessibility-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:

Copilot AI Dec 17, 2025

Copy link

Choose a reason for hiding this comment

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

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.

Copilot uses AI. Check for mistakes.
group: test-selectors-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:

Copilot AI Dec 17, 2025

Copy link

Choose a reason for hiding this comment

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

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.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changeset For PRs that contain no relevant release data (e.g. documentation only)

Development

Successfully merging this pull request may close these issues.

4 participants