Skip to content

Validate embedded viewport package - #1

Merged
JosephGabito merged 2 commits into
mainfrom
joseph/housekeeping
Aug 28, 2026
Merged

JosephGabito merged 2 commits into
mainfrom
joseph/housekeeping

Conversation

@JosephGabito

Copy link
Copy Markdown
Owner

Resolve, format, analyze, and test quiet_viewport alongside the app while excluding it from the root analyzer. Document its separate validation context.

Resolve, format, analyze, and test `quiet_viewport` alongside the app while excluding it from the root analyzer. Document its separate validation context.
Copilot AI lite review requested due to automatic review settings August 28, 2026 15:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The formatting script now performs dependency resolution (side effects) and the contributor documentation should be updated to accurately reflect the new script behavior.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the project’s validation pipeline to treat the embedded packages/quiet_viewport as a separately validated Dart package while keeping it excluded from the root Flutter analyzer configuration.

Changes:

  • Add dependency resolution (flutter pub get + dart pub get for quiet_viewport) as an explicit step in the toolchain scripts.
  • Extend validate.sh to analyze and run tests for packages/quiet_viewport in its own dependency context.
  • Exclude packages/** from the root analyzer to prevent the embedded package from being analyzed as part of the app’s source set.
File summaries
File Description
docs/09-contributing/02-testing-and-validation.md Updates contributor docs to mention validating quiet_viewport separately.
bin/tools/validate.sh Adds explicit dependency resolution and runs dart analyze/dart test in packages/quiet_viewport.
bin/tools/beautify.sh Adds explicit dependency resolution before formatting.
bin/tools/_shared.sh Introduces QUIET_VIEWPORT_ROOT, expands DART_PATHS, and adds resolve_dependencies.
analysis_options.yaml Excludes packages/** from the root analyzer.
Review details
  • Files reviewed: 2/5 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/09-contributing/02-testing-and-validation.md Outdated
Co-authored-by: JosephGabito <81974552+JosephGabito@users.noreply.github.com>
@JosephGabito
JosephGabito merged commit 8c5053a into main Aug 28, 2026
@JosephGabito
JosephGabito deleted the joseph/housekeeping branch August 28, 2026 15:40
JosephGabito added a commit that referenced this pull request Aug 28, 2026
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.

3 participants