Repository navigation
test/doctool/test-doctool-html requires internet connection? #29918
Description
Activity
Has there been any changes that add this new requirement? It seems weird to require internet connection to run the doc tests.
- addedbuildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.toolsIssues and PRs related to the tools directory.Issues and PRs related to the tools directory.
on Oct 11, 2019 cc @nodejs/testing
@richardlau Thanks for the pointer. Can we use something in the file system instead? (That is to go back to what #27661 originally did, cc @BridgeAR ). In my opinion, the default test suites should not require an Internet connection , otherwise it should be placed under
test/internet- not every access point guarantees stable, unpolluted connection to raw.githubusercontent.com and requiring the connection to it in the default test suite leads to false failures that have nothing to do with the code.It's not the test suite but the actual doctool that is making the connection (the test added by that PR was placed in internet but obviously with hindsight existing tests that ran the tool were affected). Also doctool tests are not in the default set of test suites.
I guess the question is whether we care whether or not that the API docs can point to a newer release line? e.g. the 12.x docs pointing to the 13.x equivalent in the "View another version" drop down -- the issue with the file system is the changelog in the 12.x branch will not have a reference to 13.x (even after it is released as we don't backport those kinds of changes).
Open to any suggestions. The original aim of #27661 was to reduce the manual effort in keeping the version picker in the docs accurate.
I am preparing for the code and learn tomorrow and I noticed that this may cause issues with the conference WiFi where connections to raw.githubusercontent.com result in ETIMEOUT. I'll ask the participants to use
make test-onlyfor now (even then this still shows up but it does not stop the build)PR: #30214
Reacted by Joyee Cheung- added a commit that references this issue
on Nov 6, 2019 #30214 still does not fix the issue:
versions()is run in multiple processes when building the docs and it's still excruciatingly slow to wait for the fallback (this already took minutes for me and it is still running).1 remaining item
- added a commit that references this issue
on Nov 17, 2019 - added a commit that references this issue
on Dec 1, 2019 - added a commit that references this issue
on Dec 17, 2019 - added a commit that references this issue
on Feb 27, 2020 - added 2 commits that reference this issue
on Mar 15, 2020 - added a commit that references this issue
on Mar 30, 2020 - added 2 commits that reference this issue
on Apr 6, 2020 - added a commit that references this issue
on Jul 27, 2026

I got this today:
And if I turn off Wifi..
Has there been any changes that add this new requirement? It seems weird to require internet connection to run the doc tests.