Skip to content

Conversation

@camd
Copy link
Collaborator

@camd camd commented Dec 20, 2025

This fixes some deprecations in the SASS usage for Bootstrap for imports.

@camd camd self-assigned this Dec 20, 2025
@codecov-commenter
Copy link

codecov-commenter commented Dec 20, 2025

Codecov Report

❌ Patch coverage is 71.45455% with 314 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.91%. Comparing base (2248cd0) to head (6ba414f).

Files with missing lines Patch % Lines
ui/job-view/pushes/Push.jsx 65.31% 72 Missing and 5 partials ⚠️
ui/job-view/pushes/FuzzyJobFinder.jsx 52.94% 31 Missing and 1 partial ⚠️
ui/job-view/pushes/PushJobs.jsx 70.73% 10 Missing and 2 partials ⚠️
ui/intermittent-failures/Layout.jsx 0.00% 10 Missing ⚠️
ui/shared/RevisionInformation.jsx 0.00% 9 Missing ⚠️
ui/job-view/pushes/PushHeader.jsx 76.47% 7 Missing and 1 partial ⚠️
ui/job-view/details/summary/SummaryPanel.jsx 0.00% 7 Missing ⚠️
ui/intermittent-failures/BugDetailsView.jsx 0.00% 5 Missing ⚠️
ui/intermittent-failures/DateRangePicker.jsx 68.75% 5 Missing ⚠️
ui/intermittent-failures/MainView.jsx 0.00% 4 Missing and 1 partial ⚠️
... and 65 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9133      +/-   ##
==========================================
+ Coverage   81.43%   81.91%   +0.48%     
==========================================
  Files         601      604       +3     
  Lines       33793    33859      +66     
  Branches     3067     3259     +192     
==========================================
+ Hits        27520    27737     +217     
+ Misses       6118     5793     -325     
- Partials      155      329     +174     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@camd camd changed the title Fix sass import deprecations 4th: Fix sass import deprecations Dec 21, 2025
@camd camd force-pushed the camd/fix-sass-after-rspack branch 2 times, most recently from f80031e to e038b55 Compare December 28, 2025 17:27
@camd camd requested review from Archaeopteryx and jmaher December 28, 2025 19:54
@camd camd force-pushed the camd/fix-sass-after-rspack branch 2 times, most recently from 43ab69f to d4a36a1 Compare January 1, 2026 21:46
camd and others added 18 commits January 17, 2026 09:30
- Add tests/ui/App.test.jsx: Test URL transformations and routing
  - URL backwards compatibility (perf.html, pushhealth.html, logviewer.html)
  - Permalink hash preservation
  - Document title updates for perfherder alerts
  - Export verification (no react-hot-loader wrapper)

- Expand tests/ui/helpers/filter.test.js: Comprehensive filter helper tests
  - thMatchType, thFieldChoices, thFilterDefaults constants
  - arraysEqual and matchesDefaults functions
  - hasUrlFilterChanges URL comparison
  - reloadOnChangeParameters and allFilterParams arrays

- Add tests/ui/perfherder/App.test.jsx: Export and structure verification
  - Verify no hot loader wrapper (RSPack migration regression test)
  - Validate class component structure and lifecycle methods

- Add tests/ui/push-health/App.test.jsx: Component and routing tests
  - Component loading and API call verification
  - Route handling (push, my-pushes, usage)
  - Export verification for RSPack migration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Change server command from 'yarn start' to 'pnpm start' to match
the package manager migration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add tests for dayjs helper module (UTC, customParseFormat, isSameOrAfter, relativeTime plugins)
- Add tests for display.js dayjs migration (toMercurialDateStr, toMercurialShortDateStr)
- Add tests for taskcluster.js credential expiration with dayjs
- Add tests for DateRangePicker MUI component migration
- Add tests for intermittent-failures helpers (prettyDate, calculateMetrics)
- Add tests for perfherder helpers (getFilledBugSummary date formatting)
- Add tests for GraphsContainer and TableView date formatting
- Add tests for job-view App react-resizable-panels migration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add format:md, format:md:check, and lint:md scripts using prettier
- Fix lint errors in test files:
  - taskcluster.test.js: Use toThrow() instead of try/catch
  - DateRangePicker.test.jsx: Remove jest.mock with require(), use toHaveLength()
  - helpers.test.jsx: Use toHaveLength()
  - GraphsContainer.test.jsx: Remove unused variable

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add tests/ui/App.test.jsx: Test URL transformations and routing
  - URL backwards compatibility (perf.html, pushhealth.html, logviewer.html)
  - Permalink hash preservation
  - Document title updates for perfherder alerts
  - Export verification (no react-hot-loader wrapper)

- Expand tests/ui/helpers/filter.test.js: Comprehensive filter helper tests
  - thMatchType, thFieldChoices, thFilterDefaults constants
  - arraysEqual and matchesDefaults functions
  - hasUrlFilterChanges URL comparison
  - reloadOnChangeParameters and allFilterParams arrays

- Add tests/ui/perfherder/App.test.jsx: Export and structure verification
  - Verify no hot loader wrapper (RSPack migration regression test)
  - Validate class component structure and lifecycle methods

- Add tests/ui/push-health/App.test.jsx: Component and routing tests
  - Component loading and API call verification
  - Route handling (push, my-pushes, usage)
  - Export verification for RSPack migration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Change server command from 'yarn start' to 'pnpm start' to match
the package manager migration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add comprehensive test coverage for changes introduced in the
defaultProps deprecation fixes:

- tests/ui/hooks/useDebounce.test.js: Tests for useDebouncedValue and
  useDebouncedCallback hooks (17 tests)
- tests/ui/hooks/useJobButtonRegistry.test.js: Tests for job button
  registry functions and hook lifecycle (25 tests)
- tests/ui/helpers/job.test.js: Tests for getBtnClass, isReftest,
  isPerfTest, canConfirmFailure, isClassified, isUnclassifiedFailure,
  findInstance, getResultState, addAggregateFields, getTaskRunStr,
  getTaskRun (57 tests)
- tests/ui/job-view/pushes/JobButton.test.jsx: Tests for the converted
  functional JobButton component (23 tests)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
camd and others added 2 commits January 17, 2026 13:37
- Replace require() with ES module import in job.test.js to fix global-require
- Use shorthand boolean attributes (visible, intermittent) in JobButton.test.jsx

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@camd camd force-pushed the camd/fix-sass-after-rspack branch from d4a36a1 to 5b70e27 Compare January 17, 2026 21:52
@camd camd force-pushed the camd/fix-sass-after-rspack branch from 5b70e27 to 6ba414f Compare January 18, 2026 19:40
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.

3 participants