Skip to content

feat: task graph loading#48

Merged
wan9chi merged 31 commits into
mainfrom
11-20-feat_new_rust_api_and_binary
Dec 5, 2025
Merged

feat: task graph loading#48
wan9chi merged 31 commits into
mainfrom
11-20-feat_new_rust_api_and_binary

Conversation

@wan9chi

@wan9chi wan9chi commented Dec 5, 2025

Copy link
Copy Markdown
Member

feat: Add vite_task_graph crate for task dependency management

This PR introduces a new vite_task_graph crate that provides a robust implementation for building and managing task dependency graphs in monorepo workspaces. The crate handles package discovery, task resolution, and dependency tracking between tasks.

Key changes:

  • Created new vite_task_graph crate with clean API for task graph management
  • Implemented TaskGraph structure to represent task dependencies with proper edge types
  • Added support for explicit and topological dependency types
  • Migrated test fixtures from vite_task to vite_task_graph for better organization
  • Added snapshot testing for task graph validation
  • Renamed get_package_graph to discover_package_graph and added load_package_graph in workspace module

wan9chi commented Dec 5, 2025

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@wan9chi wan9chi changed the title feat: new rust API and binary feat: redo task graph loading Dec 5, 2025
@wan9chi wan9chi changed the title feat: redo task graph loading feat: task graph loading Dec 5, 2025
@wan9chi
wan9chi marked this pull request as ready for review December 5, 2025 04:24
@wan9chi
wan9chi merged commit e4dae7c into main Dec 5, 2025
6 checks passed
@Brooooooklyn
Brooooooklyn deleted the 11-20-feat_new_rust_api_and_binary branch December 11, 2025 06:39
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.

2 participants