OpenFn / OpenFn/lightning

Inspector: Editor keeps redownloading monaco files

Open
#2,998 4 comments 0 reactions 1 assignee View on GitHub

@josephjclark is already working on this.

Since Mar 7, 2025.

bug DevX
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

When typing in the inspector, monaco files appear to constantly get re-downloaded

To repro:

  • Open the Inspector
  • Open browser devtools
  • Go to the network log and clear it
  • Locally, you should see no traffic. In prod, you should see polling from clarity and pighog (maybe we can talk about this later??)
  • Wait for like 5 minutes?
  • Now edit some random characters into the inspector
  • You should see random monaco/editor files being downloaded. Like this:

Image

It's as if the component is re-mounting itself all the time

We've had reports of jumping cursors while editing in the app. It's likely that this is the cause.

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.