• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / native / 25794786026
77%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 11:05AM UTC
Jobs 4
Files 187
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2026 10:57AM UTC coverage: 77.285% (-2.6%) from 79.895%
25794786026

push

github

web-flow
[hooks_runner] Rerun hooks if outputs are deleted (#3358)

Bug:

* https://github.com/flutter/flutter/issues/186305

The hooks_runner was not rerunning hooks if output files got deleted. Only if dependencies got deleted.
Most of the build hooks would only output to locations that users would not delete (e.g. `input.outputDirectoryShared.resolve(...)`. However, users might output to `input.packageRoot.resolve(...)` and delete files manually. This is a bad idea, because you'd write to the pub cache if your package is used as a dependency from pub! However, users might do this. And they might do this for packages/apps that are not published. So we should fix this.

Because the hooks runner doesn't know what output files are, we need to add this to the `ProtocolExtension` so that every extension can provide the right information. This means a breaking change to `package:hooks`. v2 here we come. (Open to alternative suggestions.)

35 of 37 new or added lines in 4 files covered. (94.59%)

13031 of 16861 relevant lines covered (77.28%)

41.53 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
91.17
pkgs/hooks_runner/lib/src/build_runner/build_runner.dart
1
97.39
pkgs/hooks_runner/lib/src/dependencies_hash_file/dependencies_hash_file.dart
Subprojects
ID Flag name Job ID Ran Files Coverage
2 native_pkgs_ubuntu 25794786026.2 13 May 2026 11:06AM UTC 93
72.23
GitHub Action Run
3 native_pkgs_windows 25794786026.3 13 May 2026 11:09AM UTC 93
74.14
GitHub Action Run
4 native_pkgs_macos 25794786026.4 13 May 2026 11:05AM UTC 93
72.9
GitHub Action Run
1 objective_c 25708396051.1 12 May 2026 01:54AM UTC 94
79.9
GitHub Action Run
Source Files on build 25794786026
  • Tree
  • List 187
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25794786026
  • dfc75136 on github
  • Prev Build on main (#25708396051)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc