Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DPL-1047-18: Upgrade Node to v18 (as a stepping stone) #1645

Merged
merged 96 commits into from
Aug 5, 2024

Conversation

StephenHulme
Copy link
Contributor

@StephenHulme StephenHulme commented Mar 22, 2024

Moves closer to closing #1541, as upgrading to v20 is non-trivial (see #1555)

This PR is built on top of the Node 16 upgrade PR

Changes proposed in this pull request

  • Upgrade Node 16 -> 18

Deployment Instructions

  • Needs to be thoroughly tested in UAT before merging and deploying

Developer Hints

Run this command from the repository's root directory to remove old coverage and build files:

rm -r app/javascript/coverage/ public/packs*/ public/assets/

These are auto-generated, so nothing should be lost.

Instructions for Reviewers

[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to main]
    - Check story numbers included
    - Check for debug code
    - Check version

Copy link

codecov bot commented Mar 22, 2024

Codecov Report

Attention: Patch coverage is 92.68293% with 6 lines in your changes missing coverage. Please review.

Project coverage is 91.48%. Comparing base (baf1b58) to head (5df096e).
Report is 13 commits behind head on dpl-1047-16-upgrade.

Files Patch % Lines
lib/purpose_config.rb 0.00% 4 Missing ⚠️
app/frontend/javascript/test_support/factories.js 33.33% 2 Missing ⚠️
Additional details and impacted files
@@                   Coverage Diff                   @@
##           dpl-1047-16-upgrade    #1645      +/-   ##
=======================================================
+ Coverage                91.40%   91.48%   +0.07%     
=======================================================
  Files                      376      378       +2     
  Lines                     7656     7713      +57     
=======================================================
+ Hits                      6998     7056      +58     
+ Misses                     658      657       -1     
Flag Coverage Δ
javascript 93.67% <81.81%> (+0.02%) ⬆️
pull_request 91.48% <92.68%> (?)
push 91.48% <92.68%> (+0.07%) ⬆️
ruby 91.17% <94.36%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@StephenHulme
Copy link
Contributor Author

StephenHulme commented Jul 12, 2024

Version 18 checklist:

  • rm -fr node_modules
  • Update .nvmrc
  • nvm install
  • nvm use
  • yarn install --dev
  • yarn prettier --write .
  • yarn lint
  • yarn test
  • ./compile-build
  • docker-compose build --no-cache
  • docker-compose up

@StephenHulme StephenHulme self-assigned this Jul 16, 2024
@@ -76,14 +80,16 @@
.aliquot:hover {
color: #ffd600;
cursor: pointer;
@extend .selected-aliquot;
// @extend .selected-aliquot; // TODO: Remove circular reference
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should be checked in UAT, likely related to failing wells

})(window,jQuery);
</script>
<div id="labware-creator-config"
data-tag-plates-list="<%= @labware_creator.tag_plates_list.to_json %>"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Check if quoted quotes work with .to_json

StephenHulme and others added 2 commits July 29, 2024 16:18
Co-authored-by: Stuart McHattie <sm49@sanger.ac.uk>
…babel7-7.25.2"

This reverts commit 4a2b695, reversing
changes made to d4e0743.
I suspect this is not actually used in production...
See deployment:/roles/deploy_limber/templates/environment_template.rb.j2
Base automatically changed from dpl-1047-16-upgrade to develop August 5, 2024 11:02
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 9776 lines exceeds the maximum allowed for the inline comments feature.

Copy link

codeclimate bot commented Aug 5, 2024

Code Climate has analyzed commit 2257718 and detected 92 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 35
Duplication 57

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 91.1% (0.0% change).

View more on Code Climate.

@StephenHulme StephenHulme merged commit 1b14bff into develop Aug 5, 2024
10 checks passed
@StephenHulme StephenHulme deleted the dpl-1047-18-upgrade branch August 5, 2024 11:16
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.

7 participants