ci: Separate static analysis from Pana - #3914
Conversation
Use the tool name for the path-filtered package scoring workflow so it is clearly distinct from the always-on static analysis workflow. Co-Authored-By: Codex <noreply@openai.com>
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog. Features
FixesFlutter
Other
DependenciesDeps
Internal Changes
🤖 This preview updates automatically when you update the PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3914 +/- ##
=======================================
Coverage 87.56% 87.56%
=======================================
Files 338 338
Lines 12345 12345
=======================================
Hits 10810 10810
Misses 1535 1535
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Keep the always-on analysis matrix and its package steps in one workflow. Remove the single-consumer reusable worker while leaving Pana scoring reusable for package-specific workflows. Co-Authored-By: Codex <noreply@openai.com>
| - '.github/actions/flutter-test/**' | ||
| - '.github/actions/coverage/**' |
There was a problem hiding this comment.
sqflite workflow self-reference path trigger incorrectly changed to logging.yml
The sqflite.yml workflow's pull_request.paths trigger references .github/workflows/logging.yml instead of .github/workflows/sqflite.yml, so changes to sqflite.yml itself will not trigger the workflow.
Evidence
- The
sqflite.ymlpull_request.pathslist on line 9 shows.github/workflows/logging.ymlinstead of the expected.github/workflows/sqflite.yml. - Every other package workflow (dart, dio, drift, file, firebase_remote_config, grpc, hive, isar, link, logging, supabase, flutter) correctly references its own workflow file in its path triggers.
- The issue was introduced during the mass rename from
package-analysis.ymltopana.yml, likely via a regex/sed that incorrectly matched theloggingpackage pattern in thesqflitefile.
Identified by Warden review · WYK-LJW
analyze.ymlnow owns the always-on package matrix and static-analysis steps directly, removing the single-useanalyze-package.ymlreusable workflow. The path-filtered scoring workflow is renamed topana.yml, with package callers using matchingpanajobs.This keeps the existing required check unchanged while making each workflow responsibility explicit: static analysis always runs, while Pana remains reusable and path-scoped.