-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'nodejs:master' into remove_socket_count_increment
- Loading branch information
Showing
815 changed files
with
5,012 additions
and
23,942 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Report a flaky test | ||
description: Report a flaky test in our CI | ||
title: "Investigate flaky test - " | ||
labels: ["flaky-test"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for reporting a flaky test. | ||
Flaky tests are tests that fail occasionally in the Node.js CI, but not | ||
consistently enough to block PRs from landing, or that are failing in CI | ||
jobs or test modes that are not run for every PR. | ||
Please fill in as much of the form below as you're able. | ||
- type: input | ||
attributes: | ||
label: Test | ||
description: The test that is flaky. | ||
placeholder: e.g. `test-fs-stat-bigint` | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Platform | ||
description: The platform the test is flaky on. | ||
placeholder: e.g. `macos` or `linux` | ||
- type: textarea | ||
attributes: | ||
label: Console output | ||
description: > | ||
A pasted console output from a failed CI job showing the whole failure | ||
of the test. | ||
render: console | ||
- type: textarea | ||
attributes: | ||
label: Build links | ||
description: Links to builds affected by the flaky test. | ||
value: '- ' | ||
- type: textarea | ||
attributes: | ||
label: Additional information | ||
description: > | ||
If any investigation has been done, please include any information | ||
found, such as how consistently the test fails, whether the failure | ||
could be reproduced locally, when the test started failing, or anything | ||
else you think is relevant. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: "tools update" | ||
on: | ||
schedule: | ||
# Run once a week at 00:05 AM UTC on Saturday. | ||
- cron: '5 0 * * 6' | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
tools_update: | ||
if: github.repository == 'nodejs/node' | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false # Prevent other jobs from aborting if one fails | ||
matrix: | ||
include: | ||
- id: eslint | ||
run: | | ||
cd tools | ||
NEW_VERSION=$(npm view eslint dist-tags.latest) | ||
CURRENT_VERSION=$(node -p "require('./node_modules/eslint/package.json').version") | ||
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then | ||
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV | ||
tools/update-eslint.sh | ||
fi | ||
- id: "@babel/eslint-parser" | ||
run: | | ||
cd tools | ||
NEW_VERSION=$(npm view @babel/eslint-parser dist-tags.latest) | ||
CURRENT_VERSION=$(node -p "require('./node_modules/@babel/eslint-parser/package.json').version") | ||
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then | ||
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV | ||
tools/update-babel-eslint.sh | ||
fi | ||
- id: "lint-md dependencies" | ||
run: | | ||
cd tools/lint-md | ||
NEW_VERSION=$(npm outdated --omit=dev --parseable | cut -d: -f4 | xargs) | ||
if [ "$NEW_VERSION" != "" ]; then | ||
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV | ||
rm -rf package-lock.json node_modules && npm install --ignore-scripts) | ||
make lint-md-rollup | ||
fi | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: ${{ matrix.run }} | ||
- uses: gr2m/create-or-update-pull-request-action@v1 # Create a PR or update the Action's existing PR | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }} | ||
with: | ||
author: Node.js GitHub Bot <github-bot@iojs.org> | ||
body: "This is an automated update of ${{ matrix.id }} to ${{ env.NEW_VERSION }}." | ||
branch: "actions/tools-update-${{ matrix.id }}" # Custom branch *just* for this Action. | ||
commit-message: "tools: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}" | ||
labels: tools | ||
title: "tools: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.