Skip to content

Document SDK discovery and workspace classification - #6502

Open
DanTupBot wants to merge 1 commit into
Dart-Code:masterfrom
DanTupBot:issue6492_docs
Open

DanTupBot wants to merge 1 commit into
Dart-Code:masterfrom
DanTupBot:issue6492_docs

Conversation

@DanTupBot

Copy link
Copy Markdown
Collaborator

Adds high-level, decision-focused documentation for workspace classification and SDK discovery:

  • docs/sdk-and-workspace-discovery.md: Documents bounded project scanning, exclusions, and caching (dart.projectSearchDepth); workspace classification (Dart, Flutter, Bazel, Fuchsia, Dart/Flutter SDK repos, remote SSH, and standalone .dart fallback/suppression); Flutter and Dart SDK search precedence and rationale (.dart_tool/package_config.json after PATH, and Flutter's embedded Dart SDK before PATH only in Flutter workspaces); Flutter/Snap initialization ordering; missing-SDK prompting vs. suppression; and workspace/project/configuration/version reload triggers.
  • docs/README.md: Indexes sdk-and-workspace-discovery.md under Contents.

Fixes #6492 (part of #6490).

@DanTupBot
DanTupBot requested a review from DanTup November 27, 2026 18:11
@DanTupBot DanTupBot added in docs / website Relates to documentation, including the Dart Code website non-functional Something that doesn't affect users and should be excluded from release notes labels Nov 27, 2026
@DanTupBot DanTupBot added this to the v3.150.0 milestone Nov 27, 2026
@DanTup DanTup added is enhancement An enhancement or improvement that should be listed in release notes but is not a bug fix. and removed non-functional Something that doesn't affect users and should be excluded from release notes labels Nov 27, 2026
@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.85%. Comparing base (f133e2d) to head (b4ec793).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6502      +/-   ##
==========================================
- Coverage   81.97%   81.85%   -0.12%     
==========================================
  Files         173      173              
  Lines       14034    14034              
  Branches     2879     2879              
==========================================
- Hits        11504    11488      -16     
- Misses       2065     2079      +14     
- Partials      465      467       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

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

Labels

in docs / website Relates to documentation, including the Dart Code website is enhancement An enhancement or improvement that should be listed in release notes but is not a bug fix.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document SDK discovery and workspace classification (docs/sdk-and-workspace-discovery.md)

2 participants