Skip to content

chore(deps): switch from deprecated dependency in main branch - #12701

Merged
rebeccaalpert merged 2 commits into
patternfly:mainfrom
rebeccaalpert:replace-css
Oct 30, 2026
Merged

rebeccaalpert merged 2 commits into
patternfly:mainfrom
rebeccaalpert:replace-css

Conversation

@rebeccaalpert

@rebeccaalpert rebeccaalpert commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

CSS is no longer being maintained and suggested switching to @adobe version.

What: Closes #

Additional issues:

Summary by CodeRabbit

  • Chores
    • Updated internal tooling used to process styles. No changes were made to how styles are processed or how the application looks.
  • Tests
    • Updated the test environment’s time zone setting. The test command and locale remain unchanged; this does not change user-facing application behavior.

@rebeccaalpert
rebeccaalpert marked this pull request as ready for review October 30, 2026 15:12
@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d7080544-474c-463d-9b7e-63aaae5ebb60
Commits

Reviewing files that changed from the base of the PR and between 503ea36 and 27d874e.

Files selected for processing: 1
  • package.json

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.

Walkthrough

The React Core package replaces the css development dependency with @adobe/css-tools. The style-copy script imports its CSS parser and stringifier from the new package. The root test script changes its timezone setting from EST to America/New_York.

Changes

CSS tooling replacement

Layer / File(s) Summary
Update CSS tooling dependency and import
packages/react-core/package.json, packages/react-core/scripts/copyStyles.mjs
The package replaces the css development dependency with @adobe/css-tools. The style-copy script imports the parser and stringifier from @adobe/css-tools. Processing logic is unchanged.

Test timezone setting

Layer / File(s) Summary
Change the test script timezone
package.json
The test script now sets TZ=America/New_York. The locale and Jest command remain unchanged.

Priority: Low

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Possibly related PRs

Merge Risk: Minimal · up to 27d87

No concrete merge-blocking risk remains in the reviewed changes.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title accurately summarizes the primary change: replacing the deprecated CSS dependency with the suggested @adobe/css-tools package. It is concise and specific.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

CSS is no longer being maintained and suggested switching to @adobe version.
@patternfly-build

patternfly-build commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

@rebeccaalpert rebeccaalpert changed the title chore(deps): switch from deprecated dependency chore(deps): switch from deprecated dependency in main branch Oct 30, 2026
Since Oct 29 the Unit tests job fails 3 timezone-dependent Timestamp
tests on every PR. The root test script runs jest with TZ=EST, and
GitHub's ubuntu-latest image migrated from ubuntu-24.04 to ubuntu-26.04
between the last passing run (Oct 27) and the first failure (Oct 29);
on the newer image TZ=EST no longer applies the UTC-5 offset and jest
runs as UTC instead.

EST is a legacy POSIX-style abbreviation rather than an IANA zone.
America/New_York is identical to EST (UTC-5, standard time) for every
date used in the Timestamp tests (all in January/February), so no
expected values change. Full suite passes: 396 suites, 3902 tests,
914 snapshots.
@rebeccaalpert
rebeccaalpert merged commit 9e3562d into patternfly:main Oct 30, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants