Files
Pascal Jufer 9b4ac46fa7 Allow update-check to work in read-only envs & add timeout (#19636)
* Allow update-check to work in read-only envs & add timeout

* Update deps in 'update-check'

* Add changeset

* Switch to `got`

* Fix dir check

The cache dir usually doesn't exist, so we need to create it first.

If the dir shouldn't exist already, this also catches the case when fs is read only -
if it should exist but fs is read only, the cache is now forgivable enough to not fail.
'fs.access' would not be sufficiently reliable anyway,
since permission could change between the check and write action.

* Add basic test

* Disable retry
2023-09-11 13:52:54 +02:00
..