rsschool-app icon indicating copy to clipboard operation
rsschool-app copied to clipboard

Node.js version mismatch causing issues in algorithmic tasks

Open dzmitry-varabei opened this issue 10 months ago • 10 comments

Most algorithmic tasks currently run on Node 16, but RS App can technically support Node 22. Some tasks fail or produce inconsistent results when run under Node 16.

Image

We need to compile a list of all algorithmic tasks in our courses and update them to Node.js 22. Courses requiring updates:

  1. https://github.com/rolling-scopes-school/tasks/tree/master/stage0
  2. https://github.com/rolling-scopes-school/tasks/tree/master/stage1
  3. https://github.com/rolling-scopes-school/tasks/tree/master/stage2
  4. https://github.com/rolling-scopes-school/js-fe-course-en

After updating the tasks, Maxim Shilov will update the Node.js version in RS APP to version 22.

dzmitry-varabei avatar Mar 12 '25 10:03 dzmitry-varabei

Related issue https://github.com/rolling-scopes-school/tasks/issues/766

dzmitry-varabei avatar Mar 12 '25 12:03 dzmitry-varabei

  • stage0
    • [x] human-readable-number - https://github.com/rolling-scopes-school/human-readable-number/pull/58
    • [x] reverse-int ~~(old repo)~~ - https://github.com/rolling-scopes-school/reverse-int/pull/44
    • [x] morse-decoder - https://github.com/rolling-scopes-school/morse-decoder/pull/1
    • [x] towel-sort ~~(old repo)~~ - https://github.com/rolling-scopes-school/towel-sort/pull/21
    • [x] brackets - https://github.com/rolling-scopes-school/brackets/pull/17
    • [x] core-js-101 ~~(old repo)~~ - https://github.com/rolling-scopes-school/core-js-101-stage0/pull/1
    • [x] guessing-game - https://github.com/rolling-scopes-school/guessing-game/pull/54
  • stage1
  • stage2
    • [x] core-js-objects - https://github.com/rolling-scopes-school/core-js-objects/pull/13
    • [x] core-js-dates - https://github.com/rolling-scopes-school/core-js-dates/pull/14
    • [x] core-js-functions - https://github.com/rolling-scopes-school/core-js-functions/pull/3
    • [x] core-js-promises - https://github.com/rolling-scopes-school/core-js-promises/pull/8

EternalRival avatar Mar 12 '25 13:03 EternalRival

Как быть с этими заданиями? https://github.com/Shastel/reverse-int https://github.com/romacher/morse-decoder Ведь скорее всего авторы за ними не следят и PR к ним никто не вмержит.

У задания https://github.com/Shastel/reverse-int есть аналог https://github.com/rolling-scopes-school/reverse-int, но почему в расписании stage0 используется именно https://github.com/Shastel/reverse-int, я не знаю.

natein avatar Mar 14 '25 14:03 natein

задание https://github.com/rolling-scopes-school/towel-sort тоже стоит осмотреть. в списке два репозитория, т.к. в readme.md одного ссылка на второй.

EternalRival avatar Mar 14 '25 14:03 EternalRival

Как быть с этими заданиями? https://github.com/Shastel/reverse-int https://github.com/romacher/morse-decoder Ведь скорее всего авторы за ними не следят и PR к ним никто не вмержит.

У задания https://github.com/Shastel/reverse-int есть аналог https://github.com/rolling-scopes-school/reverse-int, но почему в расписании stage0 используется именно https://github.com/Shastel/reverse-int, я не знаю.

Привет! Давай форкать такие задания в github аккаунт rs school и использовать эти форки в RS APP. У меня лучше идей нету

dzmitry-varabei avatar Mar 15 '25 22:03 dzmitry-varabei

Давай форкать такие задания в github аккаунт rs school и использовать эти форки в RS APP. У меня лучше идей нету

Форкни тогда https://github.com/romacher/morse-decoder

А ещё нужно решить, что делать с https://github.com/Luffi2539/core-js-101/ Виктор сам поправит, или он больше курсом не занимается?

natein avatar Mar 16 '25 09:03 natein

Давай форкать такие задания в github аккаунт rs school и использовать эти форки в RS APP. У меня лучше идей нету

Форкни тогда https://github.com/romacher/morse-decoder

А ещё нужно решить, что делать с https://github.com/Luffi2539/core-js-101/ Виктор сам поправит, или он больше курсом не занимается?

✅ Форкнул https://github.com/rolling-scopes-school/morse-decoder ✅ Обновил таск morse-decoder в RS APP

✅ Форкнул https://github.com/rolling-scopes-school/core-js-101-stage0 ✅ Обновил таск core-js-101-stage0 в RS APP

А так Витя курсом занимается. Можешь ему писать без проблем.

dzmitry-varabei avatar Mar 16 '25 20:03 dzmitry-varabei

ttps://github.com/rolling-scopes-school/towel-sort

Везде используем только форки или таски которые изначально в https://github.com/rolling-scopes-school/ Readme.md и ссылки в RS APP тоже обновляем

dzmitry-varabei avatar Mar 16 '25 20:03 dzmitry-varabei

Сделала все таски Stage 0 https://github.com/rolling-scopes-school/core-js-101-stage0/pull/1 https://github.com/rolling-scopes-school/human-readable-number/pull/58 https://github.com/rolling-scopes-school/morse-decoder/pull/1 https://github.com/rolling-scopes-school/towel-sort/pull/21 https://github.com/rolling-scopes-school/reverse-int/pull/44 https://github.com/rolling-scopes-school/brackets/pull/17 https://github.com/rolling-scopes-school/guessing-game/pull/54

natein avatar Mar 21 '25 06:03 natein

обновил список

EternalRival avatar Mar 21 '25 09:03 EternalRival