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

dart-lang / native / 13948811216
82%

Build:
DEFAULT BRANCH: main
Ran 19 Mar 2025 02:19PM UTC
Jobs 14
Files 242
Run time 3min
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

19 Mar 2025 02:18PM UTC coverage: 86.693% (+0.05%) from 86.642%
13948811216

push

github

web-flow
[native_assets_cli] Add paths to syntax views (#2107)

Bug: https://github.com/dart-lang/native/issues/1826

This PR adds the path that was navigated through the JSON to the syntax classes. This makes syntax errors more descriptive: `Unexpected value '123' for 'target_os'. Expected a String.` -> `Unexpected value '123' (int) for 'config.code.target_os'. Expected a String.`.

Because the data asset and code asset extensions don't know the internals of the base protocol extension, the extension points now expose both a `json` and a `jsonPath`. That path is then used to instantiate the syntax view of the extension, so it can give more precise error messages.

* For `CodeConfig` this comes naturally, it's a clean view.
* For `EncodedAsset` this is somewhat weird because it is half-used as value class: https://github.com/dart-lang/native/issues/2045

(The next PR will add a full syntax validation pass, at which point we should be able to address https://github.com/dart-lang/native/issues/2039.)

168 of 207 new or added lines in 7 files covered. (81.16%)

1 existing line in 1 file now uncovered.

13401 of 15458 relevant lines covered (86.69%)

36.49 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
73.77
2.28% pkgs/native_assets_cli/lib/src/hook/syntax.g.dart
17
72.02
1.99% pkgs/native_assets_cli/lib/src/code_assets/syntax.g.dart
17
35.42
-0.95% pkgs/native_assets_cli/lib/src/data_assets/syntax.g.dart

Uncovered Existing Lines

Lines Coverage ∆ File
1
59.57
3.57% pkgs/native_assets_cli/lib/src/code_assets/c_compiler_config.dart
Subprojects
ID Flag name Job ID Ran Files Coverage
6 native_toolchain_c_macos 13948811216.6 19 Mar 2025 02:19PM UTC 26
68.94
GitHub Action Run
7 native_assets_builder_windows 13948811216.7 19 Mar 2025 02:26PM UTC 11
89.56
GitHub Action Run
8 native_assets_cli_windows 13948811216.8 19 Mar 2025 02:21PM UTC 31
71.14
GitHub Action Run
9 native_toolchain_c_windows 13948811216.9 19 Mar 2025 02:23PM UTC 26
79.15
GitHub Action Run
10 native_assets_builder_macos 13948811216.10 19 Mar 2025 02:22PM UTC 11
89.56
GitHub Action Run
11 native_assets_builder_ubuntu 13948811216.11 19 Mar 2025 02:25PM UTC 11
89.56
GitHub Action Run
12 native_toolchain_c_ubuntu 13948811216.12 19 Mar 2025 02:20PM UTC 26
74.53
GitHub Action Run
13 native_assets_cli_macos 13948811216.13 19 Mar 2025 02:19PM UTC 31
71.32
GitHub Action Run
14 native_assets_cli_ubuntu 13948811216.14 19 Mar 2025 02:20PM UTC 31
71.32
GitHub Action Run
14 jnigen 13905423754.14 17 Mar 2025 05:15PM UTC 21
90.47
GitHub Action Run
13 jni 13905423754.13 17 Mar 2025 05:07PM UTC 31
70.55
GitHub Action Run
14 ffigen 13742814161.14 09 Mar 2025 12:25AM UTC 75
91.9
GitHub Action Run
14 objective_c 13877952997.14 16 Mar 2025 12:19AM UTC 76
79.34
GitHub Action Run
14 swift2objc 13688465141.14 06 Mar 2025 12:35AM UTC 46
85.29
GitHub Action Run
Source Files on build 13948811216
  • Tree
  • List 242
  • Changed 13
  • Source Changed 13
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13948811216
  • 543902c0 on github
  • Prev Build on main (#13948564067)
  • Next Build on main (#13963499826)
  • 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