Skip to content

fix(cowork): skip ensuring-python toast when already installed#265

Merged
Saul-Gomez-J merged 1 commit into
developfrom
fix/cowork-prereq-skip-installed-python
Apr 22, 2026
Merged

fix(cowork): skip ensuring-python toast when already installed#265
Saul-Gomez-J merged 1 commit into
developfrom
fix/cowork-prereq-skip-installed-python

Conversation

@Saul-Gomez-J
Copy link
Copy Markdown
Contributor

Summary

  • Skip emitting the ensuring-python progress event when a Levante-managed Python runtime already exists on disk
  • Eliminates the brief toast flash on app restarts when Python was previously cached
  • Keeps the original install flow intact for first-time Cowork entry

Test plan

  • pnpm test — 6 unit tests pass for ensureCoworkPrerequisites
  • pnpm typecheck — clean (only pre-existing sharp errors)
  • Manual: launch app with ~/levante/runtimes/python/<version>/ present → no toast
  • Manual: first launch (no managed Python) → ensuring-python toast appears and resolves to ready

🤖 Generated with Claude Code

Emit the 'ensuring-python' progress event only when the Levante-managed
Python runtime is missing and needs to be provisioned. Previously the
event fired on every Cowork entry (first per process), causing a brief
toast flash on each app restart even though Python was already cached.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@Saul-Gomez-J Saul-Gomez-J merged commit d7fe7b5 into develop Apr 22, 2026
4 of 5 checks passed
@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot Bot commented Apr 22, 2026

Kilo Code Review could not run — your account is out of credits.

Add credits or switch to a free model to enable reviews on this change.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant