Skip to content

fix: open only the produced output folder, not the whole build/ root - #31

Merged
kimdzhekhon merged 2 commits into
mainfrom
fix/flutter-open-single-output-folder
Jul 17, 2026
Merged

fix: open only the produced output folder, not the whole build/ root#31
kimdzhekhon merged 2 commits into
mainfrom
fix/flutter-open-single-output-folder

Conversation

@kimdzhekhon

Copy link
Copy Markdown
Member

Summary

  • Flutter builds always leave unrelated plugin build caches (mobile_scanner, shared_preferences_android, ...) under build/. When only one output type (e.g. an .aab) was actually produced, the result-folder opener still collapsed to the whole build/ root because grouping was based on static ARTIFACT_PATTERNS regardless of what was actually built.
  • Now prefixes are only merged into a shared root when more than one output type produced a real artifact this build (e.g. both an .aab and build/web) — a single-output build opens its own specific folder instead.

Test plan

  • python3 -m unittest tests.test_python_core (32 tests, all pass)
  • Added test_flutter_single_output_opens_its_own_folder_not_whole_build regression test

🤖 Generated with Claude Code

kimdzhekhon and others added 2 commits July 17, 2026 22:59
Flutter's preferred output root collapsed to build/ whenever any one
output pattern matched, dragging in unrelated plugin build caches
(mobile_scanner, shared_preferences_android, ...). Now prefixes are
only merged when more than one output type actually produced an
artifact this build.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@kimdzhekhon
kimdzhekhon merged commit c7d61bb into main Jul 17, 2026
4 checks passed
@kimdzhekhon
kimdzhekhon deleted the fix/flutter-open-single-output-folder branch July 17, 2026 14:03
kimdzhekhon added a commit that referenced this pull request Jul 29, 2026
…31)

* fix: open only the produced output folder, not the whole build/ root

Flutter's preferred output root collapsed to build/ whenever any one
output pattern matched, dragging in unrelated plugin build caches
(mobile_scanner, shared_preferences_android, ...). Now prefixes are
only merged when more than one output type actually produced an
artifact this build.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* chore: regenerate update-manifest.txt for ubs.py checksum

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---------

Co-authored-by: Kim Jaehyun <231584193+kimdzhekhon@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
kimdzhekhon added a commit that referenced this pull request Jul 29, 2026
…31)

* fix: open only the produced output folder, not the whole build/ root

Flutter's preferred output root collapsed to build/ whenever any one
output pattern matched, dragging in unrelated plugin build caches
(mobile_scanner, shared_preferences_android, ...). Now prefixes are
only merged when more than one output type actually produced an
artifact this build.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* chore: regenerate update-manifest.txt for ubs.py checksum

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---------

Co-authored-by: Kim Jaehyun <231584193+kimdzhekhon@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
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.

1 participant