Skip to content

ci: Separate static analysis from Pana - #3914

Draft
buenaflor wants to merge 2 commits into
mainfrom
ci/always-run-analysis
Draft

ci: Separate static analysis from Pana#3914
buenaflor wants to merge 2 commits into
mainfrom
ci/always-run-analysis

Conversation

@buenaflor

@buenaflor buenaflor commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

analyze.yml now owns the always-on package matrix and static-analysis steps directly, removing the single-use analyze-package.yml reusable workflow. The path-filtered scoring workflow is renamed to pana.yml, with package callers using matching pana jobs.

This keeps the existing required check unchanged while making each workflow responsibility explicit: static analysis always runs, while Pana remains reusable and path-scoped.

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>
@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Features

  • (replay) Record segment names on Android by buenaflor in #3897
  • (tracing) Emit segment name source by buenaflor in #3904

Fixes

Flutter

  • Guard script completion by buenaflor in #3912
  • Add app start screen attribute by buenaflor in #3893
  • Prevent StateError when delayed frames list is empty by muhammadkamel in #3876

Other

  • (metrics) Add missing metric byte outcomes by buenaflor in #3905

Dependencies

Deps

  • chore(deps): update Native SDK to v0.15.4 by github-actions in #3910
  • chore(deps): update Android SDK to v8.49.0 by github-actions in #3895
  • chore(deps): update Cocoa SDK to v8.58.4 by github-actions in #3864

Internal Changes

  • (dart) Accept beta wasm function name by sentry-junior in #3898
  • Separate static analysis from Pana by buenaflor in #3914

🤖 This preview updates automatically when you update the PR.

@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.56%. Comparing base (acb1c2e) to head (65f3397).
✅ All tests successful. No failed tests found.

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           
Flag Coverage Δ
sentry 87.62% <ø> (ø)
sentry_dio 97.73% <ø> (ø)
sentry_drift 93.57% <ø> (ø)
sentry_file 65.29% <ø> (ø)
sentry_firebase_remote_config 100.00% <ø> (ø)
sentry_flutter 91.52% <ø> (ø)
sentry_grpc 99.09% <ø> (ø)
sentry_hive 77.48% <ø> (ø)
sentry_isar 74.37% <ø> (ø)
sentry_link 21.50% <ø> (ø)
sentry_logging 97.01% <ø> (ø)
sentry_sqflite 88.81% <ø> (ø)
sentry_supabase 97.27% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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>
@buenaflor buenaflor changed the title ci: Rename package analysis workflow to pana ci: Separate static analysis from Pana Jul 21, 2026
Comment on lines 11 to 12
- '.github/actions/flutter-test/**'
- '.github/actions/coverage/**'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.yml pull_request.paths list on line 9 shows .github/workflows/logging.yml instead 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.yml to pana.yml, likely via a regex/sed that incorrectly matched the logging package pattern in the sqflite file.

Identified by Warden review · WYK-LJW

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