Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (8)
Included review availability: Your plan provides up to 10 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe configuration loader now preserves task source metadata, separates global overlays from regular tasks, applies local and global precedence rules, suppresses duplicate task sources, and resolves inputs in distinct stages. End-to-end tests cover these behaviors. ChangesTask configuration resolution
Estimated code review effort: 4 (Complex) | ~45 minutes Merge Risk: ⚪ Minimal · up to This change preserves explicit local task precedence while avoiding duplicate task sources, with targeted end-to-end coverage; no actionable merge-blocking risk remains beyond normal checks and review. Sequence Diagram(s)sequenceDiagram
participant mise_tasks
participant load_config_tasks
participant TaskSources
participant local_task_loader
mise_tasks->>load_config_tasks: load configuration tasks
load_config_tasks->>TaskSources: collect regular tasks and overlays
local_task_loader->>TaskSources: mark local tasks for global deduplication
TaskSources-->>mise_tasks: return effective tasks and source context
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR refines task discovery and overlay merging so explicit local task context takes precedence while incidental copies of sources loaded by the system or global pass are suppressed.
Confidence Score: 5/5The PR appears safe to merge, with no concrete changed-code failure established by the reviewed task-precedence paths. The new ownership and overlay logic preserves explicit local context while restricting deduplication to incidental global-source copies, and the added end-to-end cases cover the principal precedence and rendering boundaries. Important Files Changed
Reviews (1): Last reviewed commit: "fix(task): preserve system task preceden..." | Re-trigger Greptile |
|
This PR currently has merge conflicts. If this continues for 7 days, it will be closed automatically. This is warning day 1 of 7. Please update the PR when you have a chance. Feel free to reopen or create a new PR if it is closed and you'd like to continue working on it. This comment was generated by an automated workflow. |
|
This PR currently has merge conflicts. If this continues for 7 days, it will be closed automatically. This is warning day 4 of 7. Please update the PR when you have a chance. Feel free to reopen or create a new PR if it is closed and you'd like to continue working on it. This comment was generated by an automated workflow. |
|
This PR currently has merge conflicts. If this continues for 7 days, it will be closed automatically. This is warning day 6 of 7. Please update the PR when you have a chance. Feel free to reopen or create a new PR if it is closed and you'd like to continue working on it. This comment was generated by an automated workflow. |
|
This PR has had merge conflicts for more than 7 days, so it is being closed automatically. Feel free to reopen or create a new PR if you'd like to continue working on this. This comment was generated by an automated workflow. |
Recreates #11206 on the current configuration architecture.
Stacked on #12203. The final commit is the system-precedence delta; #12203 should be reviewed and merged first.
Summary
.mise/conf.downership without replaying the obsolete global-first loaderBug examples
SYSTEM_METADATA=appliedto~/.config/mise/tasks/system-meta. The local HOME walk previously rediscovered the same script and its undecorated copy could win, so the task printedSYSTEM_METADATA=<unset>. This fix suppresses that incidental duplicate and retains the system metadata.$HOME/.mise/conf.d/local.tomlexplicitly includes that script and supplies a local directory or task metadata, broad same-source deduplication could discard the intentional local definition. The selective suppression now preserves explicit local context, so the local directory and metadata override the lower-precedence system values.Testing
mise run lint-fixmise run test:e2e e2e/tasks/test_task_system_config_home_dedup e2e/tasks/test_task_ls_global e2e/tasks/test_task_global_source_context_precedenceAI-assisted — Tool: Codex; model: openai/gpt-5; version: unavailable.
Summary by CodeRabbit