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

dart-lang / native / 14085150779 / 8 – native_assets_cli_ubuntu
82%
main: 82%

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2025 02:07PM UTC
Files 31
Run time 1s
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: 69.96% (-0.2%) from 70.118%
native_assets_cli_ubuntu – 14085150779.8

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`.

1579 of 2257 relevant lines covered (69.96%)

7.92 hits per line

Source Files on job native_assets_cli_ubuntu - 14085150779.8
  • Tree
  • List 31
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14085150779
  • 1563f3f0 on github
  • Prev Job for on main (#14078224011.10)
  • Next Job for on main (#14090131087.12)
  • 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