microsoft / microsoft/qdk

Kata playground: Syntax error in one exercise disables "Run" button for all exercises

Open
#1,842 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug low-priority
Dominant language
Rust
Stars
1k
Forks
212
Avg merge
3d 8h
Merged PRs (30d)
65

Description

**Describe the bug**

Syntax error in one kata exercise disables "Run" button for all exercises on the page.

**To Reproduce**
1. Open https://microsoft.github.io/qsharp/
2. Select Complex Arithmetic tutorial
3. In Exercise: Powers of Imaginary Unit, change "function PowersOfI" to "unction PowersOfI"
4. Observe that all "Run" buttons on the page are gray and not clickable

All tutorials are affected.

**Expected behavior**

Syntax errors in one kata exercise must not impact other exercises.

**Screenshots**

![Error-1](https://github.com/user-attachments/assets/f1ccb2c6-73ae-433a-9197-af97de32624e)
![Error-2](https://github.com/user-attachments/assets/29d2ee86-11c0-4606-b893-ec79f7920636)

**System information**

Windows 11
Browser Chrome and MS Edge
Reproducible on https://microsoft.github.io/qsharp/ and local playground build

**Additional context**
It might be a regression.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue at https://microsoft.github.io/qsharp/ by editing PowersOfI in the Complex Arithmetic tutorial, then compare the behavior with a local playground build. Trace how the playground enables Run buttons across exercises when one exercise has a syntax error. Done means the affected exercise remains disabled while Run buttons for other exercises stay usable.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.