calva

seancorfield 2026-01-05T03:19:41.445499Z

Slight weirdness with jack-in version stuff. Deets in 🧵

seancorfield 2026-01-05T03:20:28.335989Z

At startup I see:

Effective nREPL dependency versions:
  nrepl: 1.5.2 (configured in settings)
  cider-nrepl: 0.58.0 (Calva defaults)
  cider/piggieback: 0.6.1 (Calva defaults)

Latest available nREPL dependency versions found on Clojars:
  nrepl: 1.5.1
  cider-nrepl: 0.58.0
  cider/piggieback: 0.6.1
Note that Calva thinks nrepl 1.5.1 is the latest on Clojars, but 1.5.2 is available and I have that configured in settings.

seancorfield 2026-01-06T20:37:20.287189Z

@pez Am I misunderstanding what Calva should be doing here?

pez 2026-01-06T21:19:37.773609Z

Could it be cached?

seancorfield 2026-01-06T21:36:15.083339Z

Cached where?

seancorfield 2026-01-06T21:36:56.866069Z

I updated my settings to 1.5.2 as soon as that was released -- but it's been available for ages at this point and Calva is still saying 1.5.1.

seancorfield 2026-01-06T21:37:42.175169Z

"ages" = "a week ago"

seancorfield 2026-01-06T21:38:02.686129Z

How/when does Calva check Clojars for new versions?

pez 2026-01-06T21:54:59.877419Z

It should do that when Calva starts. Have you restarted Calva the last week?

pez 2026-01-06T21:56:26.904319Z

It should be checking using that command you cooked up. Don’t recall right now. I do note that it says 1.5.1 for me too, so something is probably broken.

seancorfield 2026-01-06T22:02:24.180539Z

Yeah, I've restarted Calva multiple times since then (mostly just reload window but also a few VS Code restarts, and even a couple of full Windows reboots 🙂 )

seancorfield 2026-01-06T22:02:49.190069Z

I don't remember the command we thought we'd agreed on... it was something with find-versions?

seancorfield 2026-01-06T22:03:41.057069Z

> clojure -X:deps find-versions :lib nrepl/nrepl :n 1
{:mvn/version "1.5.2"}

pez 2026-01-06T22:10:20.404779Z

See if we log anything in the developer tools that can be a clue.

seancorfield 2026-01-06T22:22:29.677309Z

Not really sure where to look or what to look for but in the Window log after reload there's this:

2026-01-06 17:17:27.296 [info] [Window] Started local extension host with pid 45000.
2026-01-06 17:17:27.914 [error] [Window] Extension 'betterthantomorrow.calva-backseat-driver CANNOT USE these API proposals 'extensionRuntime'. You MUST start in extension development mode or use the --enable-proposed-api command line flag
2026-01-06 17:17:27.915 [error] [Window] Extension 'betterthantomorrow.calva-power-tools CANNOT USE these API proposals 'extensionRuntime'. You MUST start in extension development mode or use the --enable-proposed-api command line flag
2026-01-06 17:17:27.915 [error] [Window] Extension 'ms-vsliveshare.vsliveshare' wants API proposal 'notebookCellExecutionState' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
🙂

seancorfield 2026-01-06T22:23:37.514059Z

And this for Calva itself (this error appears for a number of extensions at startup):

2026-01-06 17:17:36.291 [error] [Window] navigator is now a global in nodejs, please see  for additional info on this error.: PendingMigrationError: navigator is now a global in nodejs, please see  for additional info on this error.

pez 2026-01-06T22:27:46.717099Z

The extensionRuntime is needed in development for the ClojureScript REPL to work on the Calva code. We pay with a warning in prod. 😃

seancorfield 2026-01-06T22:44:00.482929Z

Anywhere specific you'd like me to look for debugging hints?

pez 2026-01-06T23:08:54.704089Z

If we don’t even log anything to the console, I think that may also indicate that there is something fundamentally wrong… Please file an issue. Then whoever takes on the issue can look for debug hints.

seancorfield 2026-01-06T23:39:08.386079Z

https://github.com/BetterThanTomorrow/calva/issues/2979

seancorfield 2026-01-06T23:39:40.541769Z

I don't understand where you want me to look for output/logs tho'...

seancorfield 2026-01-06T23:39:58.005799Z

What do you mean by "the console"?

pez 2026-01-06T23:42:46.271769Z

I’m sorry. You showed me some logs you had found and afaict they are from the console (the Developer Tools console) so I thought you had found it. 😃

seancorfield 2026-01-06T23:52:29.367599Z

I don't know how to view the Developer Tools console...

seancorfield 2026-01-06T23:53:03.263269Z

Those were from the Window log...

seancorfield 2026-01-06T23:54:26.695819Z

These are the available logs from Developer: Open log...

pez 2026-01-07T00:05:24.951079Z

Ah. You find Developer Tools in the Help menu.

seancorfield 2026-01-07T00:13:45.620479Z

Heh, and I have it full screen so the Help menu isn't visible. Okay, I see this in Developer console:

[Extension Host] Latest deps.clj.jar version: v1.12.4.1582
console.ts:139 [Extension Host] deps.clj.jar is up to date
console.ts:139 [Extension Host] [Calva] Jack-in dependency versions already populated in global storage: {nrepl: '1.5.1', cider-nrepl: '0.58.0', cider/piggieback: '0.6.1'}

seancorfield 2026-01-07T00:15:15.676359Z

And here's the Calva START/END stuff:

[Extension Host] Calva activate START
console.ts:139 [Extension Host] deps.edn launcher check, executing: 'clojure --version' ...
console.ts:139 [Extension Host] activation: 0.005ms Joyride activate START
console.ts:139 [Extension Host] Joyride Eval LM Tool registered successfully
console.ts:139 [Extension Host] joyride_request_human_input LM Tool registered successfully
console.ts:139 [Extension Host] Joyride LM Tools registered successfully
console.ts:139 [Extension Host] activation: 3.977ms Joyride activate END
console.ts:139 [Extension Host] activation: 4.195ms
console.ts:139 [Extension Host] deps.edn launcher check - 'clojure --version' - stdout: Clojure CLI version 1.12.4.1582
console.ts:139 [Extension Host] deps.edn launcher check - 'clojure --version' - stderr: 
console.ts:139 [Extension Host] deps.edn launcher check: 'clojure --version' command works, using 'clojure'
console.ts:139 [Extension Host] clojure version: 1.12.4.1582
log.ts:440  INFO Extension host (Remote) is unresponsive.
log.ts:440  INFO Extension host (Remote) is responsive.
console.ts:139 [Extension Host] vscode-redhat-telemetry 0.8.1 (redhat.vscode-yaml): Updating vscode-redhat-telemetry configuration from 
console.ts:139 [Extension Host] Current deps.clj.jar version: v1.12.4.1582
console.ts:139 [Extension Host] Issue #2071: languageConfiguration {onEnterRules: Array(0)}
console.ts:139 [Extension Host] Issue #2071: formatOnType? true
console.ts:139 [Extension Host] Issue #2071: newIndentEngine? true
console.ts:139 [Extension Host] Backing up existing clojure-lsp to /home/sean/.vscode-server/extensions/betterthantomorrow.calva-2.0.543/backup/clojure-lsp
console.ts:139 [Extension Host] Downloading clojure-lsp from 
console.ts:139 [Extension Host] Calva activate END

seancorfield 2026-01-07T00:15:29.878159Z

I'll paste this into the ticket above...

pez 2026-01-07T00:19:49.052779Z

Thanks. Doesn’t look like we have any logging on the check.

seancorfield 2026-01-07T00:20:46.590419Z

What and where is that "global storage"? Maybe if I remove that it'll recalculate the latest? Although based on the PR that implemented this, it looks like it should do all three fetches (current stored values, latest values, settings values)

pez 2026-01-05T18:19:44.196489Z