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

dart-lang / native / 14134165751
76%

Build:
DEFAULT BRANCH: main
Ran 28 Mar 2025 05:08PM UTC
Jobs 14
Files 242
Run time 2min
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

28 Mar 2025 05:06PM UTC coverage: 85.163% (-0.2%) from 85.376%
14134165751

push

github

web-flow
[native_assets_cli] Namespace asset types (#2142)

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

This PR starts recognizing `code_assets/code` and `data_assets/data` as asset types besides `native_code` and `data`.

The `config.build_asset_types` now contains `["code_assets/code", "native_code"]` for code assets and `["data_assets/data", "data"]` for data assets.

The asset `type`s are still written as the old `"data"` and `"native_code"` to prevent breaking combinations with older hooks and SDKs.

### PR changes

* `pkgs/hooks`, `pkgs/code_assets`, and `pkgs/data_assets`
  * Add new syntax nodes for the new asset types.
    * These new nodes don't inline all the encoding in the object itself, encoding is only in `encoding`.
  * Adds test data with the new asset keys.
  * Added JSON schema tests that exercise the new asset keys.

* `package:native_assets_cli`
  * Recognize code and data assets with both the old a new asset keys.
  * Emit both old and new asset type in `config.build_asset_types`.
  * Emit the old asset type in assets for now.

6 of 66 new or added lines in 8 files covered. (9.09%)

13793 of 16196 relevant lines covered (85.16%)

35.3 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
74.39
-2.82% pkgs/native_assets_cli/lib/src/code_assets/config.dart
4
55.93
-3.0% pkgs/native_assets_cli/lib/src/data_assets/config.dart
25
20.74
-2.7% pkgs/native_assets_cli/lib/src/data_assets/syntax.g.dart
27
66.27
-2.77% pkgs/native_assets_cli/lib/src/code_assets/syntax.g.dart
Subprojects
ID Flag name Job ID Ran Files Coverage
6 native_assets_cli_ubuntu 14134165751.6 28 Mar 2025 05:09PM UTC 31
65.97
GitHub Action Run
7 native_toolchain_c_windows 14134165751.7 28 Mar 2025 05:11PM UTC 26
79.06
GitHub Action Run
8 native_assets_builder_ubuntu 14134165751.8 28 Mar 2025 05:12PM UTC 11
89.44
GitHub Action Run
9 native_assets_builder_windows 14134165751.9 28 Mar 2025 05:16PM UTC 11
89.44
GitHub Action Run
10 native_toolchain_c_macos 14134165751.10 28 Mar 2025 05:08PM UTC 26
68.86
GitHub Action Run
11 native_assets_cli_windows 14134165751.11 28 Mar 2025 05:09PM UTC 31
65.85
GitHub Action Run
12 native_assets_builder_macos 14134165751.12 28 Mar 2025 05:11PM UTC 11
89.44
GitHub Action Run
13 native_assets_cli_macos 14134165751.13 28 Mar 2025 05:08PM UTC 31
65.97
GitHub Action Run
14 native_toolchain_c_ubuntu 14134165751.14 28 Mar 2025 05:09PM UTC 26
74.45
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
14 ffigen 13742814161.14 09 Mar 2025 12:25AM UTC 75
91.9
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
Source Files on build 14134165751
  • Tree
  • List 242
  • Changed 14
  • Source Changed 13
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14134165751
  • 03d3fff7 on github
  • Prev Build on main (#14133376156)
  • Next Build on main (#14138121093)
  • 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

© 2025 Coveralls, Inc