Skip to content

[BUG] TypeScript Sandbox is not running updated code #72

Open

Description

@25f1002610

Bug Description

The TypeScript sandbox does not seem to execute the latest code written in the editor.

Even after making changes or intentionally adding syntax errors, clicking Run Tests still shows the previous successful output instead of compiling the updated code.

Steps to Reproduce

  1. Open any DSA problem.
  2. Modify the solution or add a syntax error.
  3. Click Run Tests.

Expected Behavior

The sandbox should compile and run the latest code, or show a compilation error if the code is invalid.

Actual Behavior

The tests still pass and display the previous output, as if the updated code is not being executed.

Environment:

  • Browser: Chrome
  • OS: Windows 11

I found this issue while exploring the project as part of ECSoC'26.

Image Image

Activity

  1. 25f1002610 commented on Jul 24, 2026

    @25f1002610
    Author

    Please Can you assign this issue to me under ECSOC'26 @pari-28 ?

  2. Jilanmansuri commented on Aug 12, 2026

    @Jilanmansuri

    Hi @Vijaykumar5623 , I would like to work on this issue. I’ll investigate why the TypeScript sandbox is executing stale code and fix it so the latest editor content is compiled and tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions