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

module: tidy code string concat → string templates #55820

Conversation

JakobJingleheimer
Copy link
Contributor

I'm already git blamed for these lines. The changes are code hygiene.

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Nov 11, 2024

Review requested:

  • @nodejs/loaders

@nodejs-github-bot nodejs-github-bot added module Issues and PRs related to the module subsystem. needs-ci PRs that need a full CI run. labels Nov 11, 2024
@JakobJingleheimer JakobJingleheimer added the fast-track PRs that do not need to wait for 48 hours to land. label Nov 11, 2024
Copy link
Contributor

Fast-track has been requested by @JakobJingleheimer. Please 👍 to approve.

Copy link

codecov bot commented Nov 11, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 88.41%. Comparing base (3a0968d) to head (c46b198).
Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
lib/internal/modules/package_json_reader.js 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #55820      +/-   ##
==========================================
- Coverage   88.41%   88.41%   -0.01%     
==========================================
  Files         654      654              
  Lines      187811   187810       -1     
  Branches    36134    36129       -5     
==========================================
- Hits       166052   166043       -9     
- Misses      15008    15011       +3     
- Partials     6751     6756       +5     
Files with missing lines Coverage Δ
lib/internal/modules/package_json_reader.js 99.38% <83.33%> (-0.01%) ⬇️

... and 28 files with indirect coverage changes

@JakobJingleheimer JakobJingleheimer added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 12, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 12, 2024
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@JakobJingleheimer
Copy link
Contributor Author

CI stalled a few hours ago. Everything has passed except the top task. Should I kill it and resume?

@richardlau
Copy link
Member

richardlau commented Nov 12, 2024

CI stalled a few hours ago. Everything has passed except the top task. Should I kill it and resume?

I'd recommend not. Apparently we only have one macos11-x64 machine available, so there's a large backlog of jobs waiting for it to become available. Cancelling and requeuing will put your job at the back of the queue.

cc @nodejs/build

@JakobJingleheimer
Copy link
Contributor Author

Apparently we only have one macos11-x64 machine available, so there's a large backlog of jobs waiting for it to become available

I think that was not the problem because all jobs had finished (including the macos ones) except the root container job. IIR, this happened to my previous PR when a release was in progress, so I think there is a problem with the CI config.

@JakobJingleheimer JakobJingleheimer added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. and removed needs-ci PRs that need a full CI run. labels Nov 13, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 13, 2024
@nodejs-github-bot nodejs-github-bot merged commit b52a49b into nodejs:main Nov 13, 2024
76 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in b52a49b

@aduh95
Copy link
Contributor

aduh95 commented Nov 13, 2024

because all jobs had finished (including the macos ones) except the root container job

That's not correct, you were likely confused by the Jenkins UI. FWIW I can confirm what Richard said, the osx11 job was still pending 13 hours ago and only started later when the backlog of jobs from other PRs was eaten up. You can see that the child job says it "took 2 hr 27 min", while the parent job says it "took 17 hr".

this happened to my previous PR when a release was in progress

It may be that during a release preparation a backlog is more likely build up – going from one branch to another means machine cannot reuse as much binary cache and therefore spend more time building. But I don't see what CI config could we change, to me it feels more a problem that would be solved by having more OSX machines at our disposal.

@JakobJingleheimer JakobJingleheimer deleted the chore/tidy-pjson-reader-strings branch November 13, 2024 20:10
@JakobJingleheimer
Copy link
Contributor Author

Ah, okay! Very okay to concede I was confused bt the Jenkins UI 😅

Thanks for the investigation and explanation! I don't know how much work it would be or if it's even possible, but some kind of banner "Release in progress, hang tight" would be great!

aduh95 pushed a commit that referenced this pull request Nov 16, 2024
PR-URL: #55820
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. fast-track PRs that do not need to wait for 48 hours to land. module Issues and PRs related to the module subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants