[PR #1298] Add uv parser: GUI tracking of uv downloads / installation #1471

Open
opened 2026-10-31 22:22:36 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/desktop/pull/1298
Author: @webfiltered
Created: 9/7/2025
Status: 🔄 Open

Base: main ← Head: parse-uv-v


📝 Commits (10+)

  • 1c2528c Document UV package manager research findings
  • 6982a24 Add comprehensive UV pip install output analysis
  • ec3c2a1 Fix UV output analysis after complete file reading
  • 5ae553f Add specific output examples for each stage transition
  • 9c25d8f Document exact verbatim output for stage transitions
  • a574909 Fix UV output documentation accuracy
  • fc79b91 Remove cache checking as separate stage
  • e0ca85d Add rationale for each phase start marker
  • 9eb4c9e Make time unit patterns flexible in UV parser
  • a9dfd1d Remove erroneously re-added cache_checking stage

📊 Changes

19 files changed (+4797 additions, -3 deletions)

View changed files

➕ astral-uv-research-document.md (+109 -0)
📝 src/main-process/appState.ts (+9 -0)
➕ src/uv-parser/interfaces.ts (+58 -0)
➕ src/uv-parser/parseFile.ts (+46 -0)
➕ src/uv-parser/parser.ts (+507 -0)
➕ src/uv-parser/patterns.ts (+156 -0)
➕ src/uv-parser/stateManager.ts (+298 -0)
➕ src/uv-parser/statelessAnalysis.md (+172 -0)
➕ src/uv-parser/testParser.ts (+185 -0)
➕ src/uv-parser/types.ts (+343 -0)
➕ src/uv-parser/uvIntegration.ts (+193 -0)
➕ src/uv-parser/uvProcess.ts (+626 -0)
➕ src/uv-parser/uvProcessExamples.ts (+107 -0)
➕ src/uv-parser/uvState.ts (+503 -0)
➕ src/uv-parser/uvStateInterfaces.ts (+360 -0)
📝 src/virtualEnvironment.ts (+1 -3)
➕ tests/unit/uv-parser/stateManager.test.ts (+161 -0)
➕ tests/unit/uv-parser/uvProcess.test.ts (+453 -0)
➕ uv-output-structure-analysis.md (+510 -0)

📄 Description

WIP - on hold until time permits.

Layers:

  • Parses the debug process output of uv
  • Translates this into uv state store
  • Adds IPC to allow this data to be presented in the GUI

┆Issue is synchronized with this Notion page by Unito


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/desktop/pull/1298 **Author:** [@webfiltered](https://github.com/webfiltered) **Created:** 9/7/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `parse-uv-v` --- ### 📝 Commits (10+) - [`1c2528c`](https://github.com/Comfy-Org/desktop/commit/1c2528c01c1b02d8896a467bdfed92891a115777) Document UV package manager research findings - [`6982a24`](https://github.com/Comfy-Org/desktop/commit/6982a245dc1d2d6596e41b9944080db3d3366bae) Add comprehensive UV pip install output analysis - [`ec3c2a1`](https://github.com/Comfy-Org/desktop/commit/ec3c2a1ebff5001e42e5b849f6782e6fcfff9157) Fix UV output analysis after complete file reading - [`5ae553f`](https://github.com/Comfy-Org/desktop/commit/5ae553f8f42b7d028999c9dd6ff54f2d58c43d25) Add specific output examples for each stage transition - [`9c25d8f`](https://github.com/Comfy-Org/desktop/commit/9c25d8fc87ac84f0a4ca7c858f16402ff08dfc41) Document exact verbatim output for stage transitions - [`a574909`](https://github.com/Comfy-Org/desktop/commit/a574909ff2d0c0afabdddb48a948517e2edda8da) Fix UV output documentation accuracy - [`fc79b91`](https://github.com/Comfy-Org/desktop/commit/fc79b91b8edd46e327772461f6402b3bae6ce5a0) Remove cache checking as separate stage - [`e0ca85d`](https://github.com/Comfy-Org/desktop/commit/e0ca85d4a174db1dd071597c6e9b951e29ab4c5d) Add rationale for each phase start marker - [`9eb4c9e`](https://github.com/Comfy-Org/desktop/commit/9eb4c9ee872805fd6f1d1a8e1e134a8160fa84ab) Make time unit patterns flexible in UV parser - [`a9dfd1d`](https://github.com/Comfy-Org/desktop/commit/a9dfd1d1d6b489db3f619bd4db31fa55f9042b3e) Remove erroneously re-added cache_checking stage ### 📊 Changes **19 files changed** (+4797 additions, -3 deletions) <details> <summary>View changed files</summary> ➕ `astral-uv-research-document.md` (+109 -0) 📝 `src/main-process/appState.ts` (+9 -0) ➕ `src/uv-parser/interfaces.ts` (+58 -0) ➕ `src/uv-parser/parseFile.ts` (+46 -0) ➕ `src/uv-parser/parser.ts` (+507 -0) ➕ `src/uv-parser/patterns.ts` (+156 -0) ➕ `src/uv-parser/stateManager.ts` (+298 -0) ➕ `src/uv-parser/statelessAnalysis.md` (+172 -0) ➕ `src/uv-parser/testParser.ts` (+185 -0) ➕ `src/uv-parser/types.ts` (+343 -0) ➕ `src/uv-parser/uvIntegration.ts` (+193 -0) ➕ `src/uv-parser/uvProcess.ts` (+626 -0) ➕ `src/uv-parser/uvProcessExamples.ts` (+107 -0) ➕ `src/uv-parser/uvState.ts` (+503 -0) ➕ `src/uv-parser/uvStateInterfaces.ts` (+360 -0) 📝 `src/virtualEnvironment.ts` (+1 -3) ➕ `tests/unit/uv-parser/stateManager.test.ts` (+161 -0) ➕ `tests/unit/uv-parser/uvProcess.test.ts` (+453 -0) ➕ `uv-output-structure-analysis.md` (+510 -0) </details> ### 📄 Description WIP - on hold until time permits. Layers: - Parses the debug process output of uv - Translates this into uv state store - Adds IPC to allow this data to be presented in the GUI ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-1298-Add-uv-parser-GUI-tracking-of-uv-downloads-installation-2676d73d365081c78c6be094e16ed2a7) by [Unito](https://www.unito.io) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/desktop#1471
No description provided.