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

dart-lang / native / 14085150779
76%

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2025 02:00PM UTC
Jobs 14
Files 242
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

26 Mar 2025 01:58PM UTC coverage: 85.954% (-0.07%) from 86.021%
14085150779

push

github

web-flow
[native_assets_cli] Nest `config` extensions (#2133)

Closes: https://github.com/dart-lang/native/issues/2091

Nests the extension configurations under an `extension` key in `config`:

```json
{
  "config": {
    "code": { // old location
      "android": {
        "target_ndk_api": 21
      },
      "link_mode_preference": "dynamic"
    },
    "extensions": {
      "code_assets": { // new location, scoped by package name
        "android": {
          "target_ndk_api": 21
        },
        "link_mode_preference": "dynamic"
      }
    }
  },
}
```

### PR changes

* `pkgs/hook` and `pkgs/code_assets`
  * Introduces new schemas in the non-generated `.schema.json` files.
  * Adds deprecation and version skew notice in schemas. (And update the generated schema to pick these comments up.)
  * Adds test data for the new location.
  * Added JSON schema tests for the new location

* `package:native_assets_cli`
  * Generated the syntax classes.
  * Deal with version skew in the mapping between syntax classes and semantic API.
  * Fix tests that deal with syntax errors.

### Version skew between hooks and SDKs

* Backwards compatibility older hooks: Still emit `config.code`.
* Backwards compatibility older SDKs: Also read `config.extensions.code_config`.

33 of 55 new or added lines in 3 files covered. (60.0%)

2 existing lines in 2 files now uncovered.

13763 of 16012 relevant lines covered (85.95%)

35.55 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
10
64.63
-0.62% pkgs/native_assets_cli/lib/src/hook/syntax.g.dart
12
79.1
-0.83% pkgs/native_assets_cli/lib/src/code_assets/syntax.g.dart

Uncovered Existing Lines

Lines Coverage ∆ File
1
79.1
-0.83% pkgs/native_assets_cli/lib/src/code_assets/syntax.g.dart
1
64.63
-0.62% pkgs/native_assets_cli/lib/src/hook/syntax.g.dart
Subprojects
ID Flag name Job ID Ran Files Coverage
6 native_assets_cli_windows 14085150779.6 26 Mar 2025 02:01PM UTC 31
69.83
GitHub Action Run
7 native_assets_builder_windows 14085150779.7 26 Mar 2025 02:06PM UTC 11
89.49
GitHub Action Run
8 native_assets_cli_ubuntu 14085150779.8 26 Mar 2025 02:00PM UTC 31
69.96
GitHub Action Run
9 native_toolchain_c_ubuntu 14085150779.9 26 Mar 2025 02:00PM UTC 26
74.45
GitHub Action Run
10 native_assets_builder_macos 14085150779.10 26 Mar 2025 02:04PM UTC 11
89.49
GitHub Action Run
11 native_toolchain_c_macos 14085150779.11 26 Mar 2025 02:00PM UTC 26
68.86
GitHub Action Run
12 native_toolchain_c_windows 14085150779.12 26 Mar 2025 02:03PM UTC 26
79.06
GitHub Action Run
13 native_assets_cli_macos 14085150779.13 26 Mar 2025 02:00PM UTC 31
69.96
GitHub Action Run
14 native_assets_builder_ubuntu 14085150779.14 26 Mar 2025 02:05PM UTC 11
89.49
GitHub Action Run
13 jni 13905423754.13 17 Mar 2025 05:07PM UTC 31
70.55
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 objective_c 13877952997.14 16 Mar 2025 12:19AM UTC 76
79.34
GitHub Action Run
14 jnigen 13905423754.14 17 Mar 2025 05:15PM UTC 21
90.47
GitHub Action Run
Source Files on build 14085150779
  • Tree
  • List 242
  • Changed 8
  • Source Changed 8
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14085150779
  • 1563f3f0 on github
  • Prev Build on main (#14078224011)
  • Next Build on main (#14090131087)
  • 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