GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fs: improve fs.watch ENOSPC error message by addaleax · Pull Request #21846 · nodejs/node

Conversation

@addaleax

@addaleax addaleax commented Jul 17, 2018

Copy link
Copy Markdown
Member

Providing No space left on device is misleading in this case.
Replace it with something that describes it more accurately.

Refs: https://stackoverflow.com/questions/22475849/node-js-error-enospc/32600959

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

steelbrain reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@nodejs-github-bot

This comment has been minimized.

Sign in to view
@nodejs-github-bot nodejs-github-bot added errors Issues and PRs related to JavaScript errors originating in Node.js core. fs Issues and PRs related to file-system APIs and the fs module. labels Jul 17, 2018
@addaleax
addaleax force-pushed the fs-watch-enospc branch from 179598d to b2b052c Compare July 17, 2018 01:13
@addaleax

addaleax commented Jul 17, 2018

Copy link
Copy Markdown
Member Author

The test probably needs some per-platform tweaking, so:

CI: https://ci.nodejs.org/job/node-test-pull-request/15905/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax addaleax added the wip Issues and PRs that are still a work in progress. label Jul 17, 2018
@addaleax
addaleax force-pushed the fs-watch-enospc branch from b2b052c to fd21126 Compare July 18, 2018 13:22
@addaleax

addaleax commented Jul 18, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

New CI: https://ci.nodejs.org/job/node-test-pull-request/15933/

CI: https://ci.nodejs.org/job/node-test-pull-request/16034/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jasnell
jasnell approved these changes Jul 18, 2018
View reviewed changes
lpinca
lpinca approved these changes Jul 18, 2018
View reviewed changes
Comment thread test/sequential/test-fs-watch-system-limit.js Outdated

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax
addaleax force-pushed the fs-watch-enospc branch 2 times, most recently from 6f4bd38 to b156539 Compare August 1, 2018 16:16
@addaleax addaleax removed the wip Issues and PRs that are still a work in progress. label Aug 1, 2018
@addaleax

addaleax commented Aug 1, 2018

Copy link
Copy Markdown
Member Author

CI: https://ci.nodejs.org/job/node-test-pull-request/16123/

Might be good to get another @nodejs/tsc review – this error comes with a code already, so I don’t think this has to be semver-major.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

targos
targos approved these changes Aug 1, 2018
View reviewed changes
Comment thread test/sequential/test-fs-watch-system-limit.js Outdated

@targos targos Aug 1, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

TBD (to be deleted)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

addaleax reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread lib/internal/fs/watchers.js Outdated

@targos targos Aug 1, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Nit: Might want to call it message?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

addaleax reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

@joyeecheung joyeecheung Aug 1, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

+1 to call it message. By the way if the key is message it currently will not appear in the final error object as an additional property whereas description will.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jasnell jasnell Aug 12, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

ping @addaleax

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jasnell

jasnell commented Sep 10, 2018

Copy link
Copy Markdown
Member

Ping again @addaleax

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell jasnell added the stalled Issues and PRs manually marked as stalled and scheduled for automatic closure. label Sep 10, 2018
@addaleax
fs: improve fs.watch ENOSPC error message
73f4325
Providing `No space left on device` is misleading in this case.
Replace it with something that describes it more accurately.

Refs: https://stackoverflow.com/questions/22475849/node-js-error-enospc/32600959
@addaleax addaleax removed the stalled Issues and PRs manually marked as stalled and scheduled for automatic closure. label Sep 11, 2018
@addaleax
fixup! fs: improve fs.watch ENOSPC error message
310fdd4
@addaleax
addaleax force-pushed the fs-watch-enospc branch from b156539 to 310fdd4 Compare September 11, 2018 10:39
@addaleax addaleax added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Sep 11, 2018
@addaleax

addaleax commented Sep 11, 2018

Copy link
Copy Markdown
Member Author

Rebased, with comments addressed.

CI: https://ci.nodejs.org/job/node-test-pull-request/17115/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Sep 16, 2018

Copy link
Copy Markdown
Member

New CI: https://ci.nodejs.org/job/node-test-pull-request/17213/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

BridgeAR
BridgeAR approved these changes Sep 16, 2018
View reviewed changes
thefourtheye
thefourtheye approved these changes Sep 17, 2018
View reviewed changes
@addaleax
fixup! fs: improve fs.watch ENOSPC error message
f4f948a
@addaleax

addaleax commented Sep 17, 2018

Copy link
Copy Markdown
Member Author

New CI: https://ci.nodejs.org/job/node-test-pull-request/17245/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joyeecheung joyeecheung mentioned this pull request Sep 18, 2018
CI failures: 20180918 nodejs/reliability#16
Closed
@addaleax

addaleax commented Sep 22, 2018

Copy link
Copy Markdown
Member Author

Arm re-build: https://ci.nodejs.org/job/node-test-commit-arm-fanned/3689/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax

addaleax commented Sep 22, 2018

Copy link
Copy Markdown
Member Author

… and again: https://ci.nodejs.org/job/node-test-commit-arm-fanned/3692/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax

addaleax commented Sep 22, 2018

Copy link
Copy Markdown
Member Author

Landed in 13245dc

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax addaleax closed this Sep 22, 2018
@addaleax
addaleax deleted the fs-watch-enospc branch September 22, 2018 15:47
@addaleax addaleax added the dont-land-on-v8.x label Sep 22, 2018
addaleax added a commit that referenced this pull request Sep 22, 2018
@addaleax
fs: improve fs.watch ENOSPC error message
13245dc
Providing `No space left on device` is misleading in this case.
Replace it with something that describes it more accurately.

Refs: https://stackoverflow.com/questions/22475849/node-js-error-enospc/32600959

PR-URL: #21846
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
targos pushed a commit that referenced this pull request Sep 23, 2018
@addaleax @targos
fs: improve fs.watch ENOSPC error message
c29734c
Providing `No space left on device` is misleading in this case.
Replace it with something that describes it more accurately.

Refs: https://stackoverflow.com/questions/22475849/node-js-error-enospc/32600959

PR-URL: #21846
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
@targos targos mentioned this pull request Oct 7, 2018
Release proposal: v10.12.0 #23313
Merged
This was referenced Oct 10, 2018
2018-10-10 Version 10.12.0 (Current) @targos beevelop/docker-nodejs#225
Closed
2018-10-10 Version 10.12.0 (Current) @targos beevelop/docker-android-nodejs#239
Closed
2018-10-10 Version 10.12.0 (Current) @targos beevelop/docker-nodejs#226
Closed
2018-10-10 Version 10.12.0 (Current) @targos beevelop/docker-android-nodejs#240
Closed
2018-10-10 Version 10.12.0 (Current) @targos beevelop/docker-nodejs#227
Closed
2018-10-10 Version 10.12.0 (Current) @targos beevelop/docker-android-nodejs#241
Closed
2018-10-10 Version 10.12.0 (Current) @targos beevelop/docker-android-nodejs#242
Closed
2018-10-10 Version 10.12.0 (Current) @targos beevelop/docker-nodejs#228
Closed
2018-10-10 Version 10.12.0 (Current) @targos beevelop/docker-android-nodejs#243
Closed
2018-10-10 Version 10.12.0 (Current) @targos beevelop/docker-nodejs#229
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jasnell jasnell jasnell approved these changes
@lpinca lpinca lpinca approved these changes
@joyeecheung joyeecheung joyeecheung left review comments
@BridgeAR BridgeAR BridgeAR approved these changes
+2 more reviewers
@thefourtheye thefourtheye thefourtheye approved these changes
@targos targos targos approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. errors Issues and PRs related to JavaScript errors originating in Node.js core. fs Issues and PRs related to file-system APIs and the fs module.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

8 participants

@addaleax @nodejs-github-bot @jasnell @targos @thefourtheye @lpinca @joyeecheung @BridgeAR
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.