| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
I'm a bit surprised ERR_FEATURE_UNAVAILABLE_ON_PLATFORM is now unused -- I was under the impression that watch mode still doesn't work on e.g. IBM i (most watch tests skip) and at one point that error was returned there. cc @nodejs/platform-ibmi |
Sorry, something went wrong.
|
If you search for the error, it's only mentioned in the docs and defined in errors.js, it is never thrown. |
Sorry, something went wrong.
I can see that, but I'm questioning whether the code was changed to not throw the error anymore on all platforms despite watch not working on IBM i -- AFAIK it's a system limitation there. |
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #55256 +/- ##
==========================================
- Coverage 88.41% 88.41% -0.01%
==========================================
Files 652 652
Lines 186572 186585 +13
Branches 36045 36061 +16
==========================================
+ Hits 164957 164967 +10
+ Misses 14899 14887 -12
- Partials 6716 6731 +15
... and 49 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
|
FWIW the tests are skipped on IBMi |
Sorry, something went wrong.
|
Looks like calling fs.watch on IBM i returns ENOSYS. const fs = require('fs');
fs.watch('dummy', (eventType, filename) => {
console.log(`event type is: ${eventType}`);
if (filename) {
console.log(`filename provided: ${filename}`);
} else {
console.log('filename not provided');
}
});Error: ENOSYS: function not implemented, watch 'dummy'
I'm not sure if ever returned ERR_FEATURE_UNAVAILABLE_ON_PLATFORM in the past but currently ENOSYS is being returned. |
Sorry, something went wrong.
|
Maybe I misremembered then. 🤷 |
Sorry, something went wrong.
|
I've added https://github.com/nodejs/node/labels/dont-land-on-v18.x as #45098 didn't land on that release line. If you could review it would be appreciated :-) |
Sorry, something went wrong.
|
Bump for reviews |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Follow-up #45098
This PR removes the unused error code ERR_FEATURE_UNAVAILABLE_ON_PLATFORM, and stops skipping some of the watch mode tests on Linux machines.