Skip to content

feat: task query#52

Merged
wan9chi merged 16 commits into
mainfrom
12-07-feat_task_query
Dec 7, 2025
Merged

feat: task query#52
wan9chi merged 16 commits into
mainfrom
12-07-feat_task_query

Conversation

@wan9chi

@wan9chi wan9chi commented Dec 7, 2025

Copy link
Copy Markdown
Member

Task Query System

This PR adds a task query system to Vite, enabling users to run tasks with various filtering options. Key changes include:

  • Implemented task specifier parsing for both package-qualified (packageName#taskName) and simple task names
  • Created a query system that supports:
    • Running specific tasks by name
    • Running tasks with their dependencies (explicit and/or topological)
    • Running tasks recursively across all packages
  • Added support for finding nearest topological tasks when a package doesn't contain the requested task
  • Improved the task graph structure with better indexing for faster lookups
  • Added comprehensive test coverage for various query scenarios

@wan9chi
wan9chi marked this pull request as ready for review December 7, 2025 01:12

wan9chi commented Dec 7, 2025

Copy link
Copy Markdown
Member Author

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

@wan9chi
wan9chi force-pushed the 12-07-feat_task_query branch from 100df77 to 36b457d Compare December 7, 2025 01:48
@wan9chi
wan9chi force-pushed the 12-07-feat_task_query branch from 36b457d to 548b93e Compare December 7, 2025 02:06

wan9chi commented Dec 7, 2025

Copy link
Copy Markdown
Member Author

Merge activity

  • Dec 7, 8:34 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Dec 7, 8:35 AM UTC: Graphite rebased this pull request as part of a merge.
  • Dec 7, 8:36 AM UTC: @branchseer merged this pull request with Graphite.

@wan9chi
wan9chi changed the base branch from 12-07-feat_allow_duplicated_package_names to graphite-base/52 December 7, 2025 08:34
@wan9chi
wan9chi changed the base branch from graphite-base/52 to main December 7, 2025 08:34
@wan9chi
wan9chi force-pushed the 12-07-feat_task_query branch from 548b93e to a0b6de1 Compare December 7, 2025 08:35
@wan9chi
wan9chi merged commit 6761f92 into main Dec 7, 2025
5 checks passed
@Brooooooklyn
Brooooooklyn deleted the 12-07-feat_task_query 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