Repository navigation
Conversation
Quiz steps can be answered in the task tool window again: choice, matching, sorting, table, number, string, math, parsons and fill-blanks. They are one server-driven QuizTask: the options belong to a server-side attempt and are requested on every opening, so only the block type and the status are stored in the course files. dataset, html, sql, prompt and video steps stay on the website. Without JCEF a quiz links to the website and syncs its status. Next continues after a completed topic with the next activity of the study plan: a topic opens in the "<Language> Problems" IDE project and a stage in the IDE project of the Hyperskill project. The page of the completed topic remains the fallback. Also fixes two problems that affect existing tasks: - theory steps were never completed on the server, so a topic could not be finished from the IDE - rejected submissions, e.g. over the submission limit, were reported as solved
maven.pkg.jetbrains.space no longer resolves: JetBrains Space package hosting is shut down. Gradle asks repositories in declaration order, and this one came before the IntelliJ Platform and Marketplace repositories, so every artifact that was not cached yet failed on it instead of falling through to the next repository. The new Rust plugin build for 263 (263.7307.313) broke `:intellij-plugin:hs-Rust:compileKotlin` this way, and any build against a new IDE version would too. The only artifact taken from it, kotlin-css-jvm 2026.8.4, is on Maven Central.
All step types Hyperskill uses are QuizTasks now, except video, which no
step uses:
- prompt: a text field in the form, the reply is {prompt}.
- sql: the task gets a query.sql file. The server runs the query, so the
check sends the file, with or without the form.
- dataset: the attempt starts the time limit, so like on the website it is
created when the learner downloads the dataset into dataset.txt, not
when the task opens. The answer is typed in the form, the reply is
{file}. Retry downloads a new dataset right away.
- html: the task gets index.html and style.css from the step templates.
The server takes the score the client sends, so the form runs the same
checklist as the website: hyperskill_html_tests.js ports html-tests.js,
and the libraries its tests need are bundled in quiz/lib (htmlhint,
csstree-validator, css-shorthand-properties, MIT, the website's
versions). The page and the checklist follow the files as they change,
and the check asks the form for the score through HtmlChecklistService.
hs-core declares intellij.platform.vcs.core and builtInServer.impl for
2026.3: they came only through the descriptor of vcs.impl, which the
Gradle plugin sometimes generates without dependencies, and then
VcsBundle and RestService don't compile.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
ALT-11077: every step type Hyperskill uses can be answered in the IDE, and Next takes the learner from topic to topic.
Step types
The list and the reply formats come from the
BlockNameenum,components/step/problems/*.vueinaltand the quiz plugins ofsubmissions-checker.choice{choices: [bool]}matching,sorting{ordering: [int]}table{choices: [{name_row, columns}]}number{number}string{text, files}math{formula, files}parsons{lines: [{line_number, level}]}fill-blanks{blanks: [...]}htmlindex.htmlandstyle.cssfiles, a live preview and the checklist in the form{html, css, score}sqlquery.sqlfile, checked without the form too{solve_sql}datasetdataset.txtand takes the answer{file}prompt{prompt}videoThe counts are the steps the steps API lists for each block type.
How the steps work
This doesn't restore the code removed in 7d18763 (about 6,000 lines of per-type tasks, YAML mixins, change appliers and Swing panels). There is one
QuizTaskinstead:hyperskill_quiz.jsrenders every block type inside the description page, so a question and its options scroll together.QuizFormBridgeconnects the page to the task.htmlandsqlare answered in the editor, so their tasks get files instead of the scratch file:htmlis graded on the client: the server takes thescorethe client sends (HtmlQuiz._checkinsubmissions-checker). So the form runs the same checklist as the website:hyperskill_html_tests.jsis a port ofutils/html-tests.js, and the libraries its tests need are bundled inquiz/lib, in the website's versions (htmlhint 1.9.2, csstree-validator 2.0.1, css-shorthand-properties 1.1.2, all MIT, about 220 KB). The preview and the checklist follow the files as the learner types; Check asks the form for the score throughHtmlChecklistService.sqlis run by the server against MySQL, so Check sends the query file, with or without the form.datasethas a time limit that starts with the attempt. Like on the website, the attempt is created when the learner downloads the dataset, not when the task opens. Retry downloads a new dataset right away.Next between topics
GET /api/learning-activities/next, the same call the website makes:<Language> ProblemsIDE project;The server still plans only code, pycharm, sql and html steps of a topic for IDE clients, so Next skips quizzes until hyperskill/alt#5690 is deployed: it gives plugins 2026.22 and newer the website's steps.
Fixes that also affect existing tasks
POST /api/steps/{id}/complete, so the server kept theory as the next step and a topic couldn't be finished from the IDE. Next now completes it.toCheckResulttreated everything exceptwrongas solved, includingrejected(for example over the submission limit). This affected code tasks too. A rejected submission now stays unchecked and shows the server's message.hs-coredidn't compile on 2026.3 at times.VcsBundleandRestServicecame only through the descriptor ofintellij.platform.vcs.impl, which the Gradle plugin sometimes generates without dependencies.intellij.platform.vcs.coreandintellij.platform.builtInServer.implare declared directly now.maven.pkg.jetbrains.spacedoesn't resolve any more and failed every IDE download in CI. The commit is the one fromide-update/2026-11-18.Known limitations
sqlis the exception: it is checked from its file.Title1. Harmless, but untidy.htmlandsqlfiles.Testing
:intellij-plugin:teston 263: 760 tests pass, using a mocked API. Classes:HyperskillCheckQuizTaskTest,HyperskillQuizTaskTest,HyperskillTopicNavigationTest.htmlchecklist ran with the bundled libraries on a passing page (score 1) and a failing one (score 0), covering every test type the steps use. That page isn't committed.choiceand a code step, Next across topics.Not tested yet in a real IDE:
html,sql,datasetandprompt.htmlstep shows the page and its checklist, which follow the files as you type, and Check sends the scoresqlstep sendsquery.sqldatasetstep starts the timer only on download, savesdataset.txt, and Retry downloads a new onepromptstep sends the prompt