Prepare a hotfix release of DWDS 21.0.0+1 (#2319)
diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml
index 41d2955..34ac4c5 100644
--- a/.github/workflows/dart.yml
+++ b/.github/workflows/dart.yml
@@ -1,4 +1,4 @@
-# Created with package:mono_repo v6.5.7
+# Created with package:mono_repo v6.5.3
name: Dart CI
on:
push:
@@ -22,7 +22,7 @@
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable"
@@ -30,14 +30,14 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: stable
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- name: mono_repo self validate
- run: dart pub global activate mono_repo 6.5.7
+ run: dart pub global activate mono_repo 6.5.3
- name: mono_repo self validate
run: dart pub global run mono_repo generate --validate
job_002:
@@ -45,7 +45,7 @@
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds;commands:format-analyze_0-test_0"
@@ -55,12 +55,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
@@ -83,7 +83,7 @@
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:example-fixtures/_webdevSoundSmoke-frontend_server_client-frontend_server_common-test_common;commands:format-analyze_0"
@@ -93,12 +93,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: example_pub_upgrade
name: example; dart pub upgrade
run: dart pub upgrade
@@ -169,7 +169,7 @@
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:webdev;commands:format-analyze_0-test_7"
@@ -179,12 +179,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: webdev_pub_upgrade
name: webdev; dart pub upgrade
run: dart pub upgrade
@@ -207,7 +207,7 @@
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds;commands:command-test_1"
@@ -217,12 +217,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
@@ -246,7 +246,7 @@
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds;commands:test_2"
@@ -256,12 +256,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
@@ -281,7 +281,7 @@
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds;commands:test_3"
@@ -291,12 +291,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
@@ -316,7 +316,7 @@
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dwds;commands:test_4"
@@ -326,12 +326,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
@@ -351,7 +351,7 @@
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:frontend_server_client;commands:test_5"
@@ -361,12 +361,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: frontend_server_client_pub_upgrade
name: frontend_server_client; dart pub upgrade
run: dart pub upgrade
@@ -386,7 +386,7 @@
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:test_common;commands:command-test_6"
@@ -396,12 +396,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: test_common_pub_upgrade
name: test_common; dart pub upgrade
run: dart pub upgrade
@@ -425,7 +425,7 @@
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:webdev;commands:command-test_5"
@@ -435,12 +435,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: webdev_pub_upgrade
name: webdev; dart pub upgrade
run: dart pub upgrade
@@ -460,155 +460,11 @@
- job_003
- job_004
job_012:
- name: "unit_test; linux; Dart main; PKG: dwds; `Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &`, `dart test --tags=extension`"
- runs-on: ubuntu-latest
- steps:
- - name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
- with:
- path: "~/.pub-cache/hosted"
- key: "os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:dwds;commands:command-test_1"
- restore-keys: |
- os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:dwds
- os:ubuntu-latest;pub-cache-hosted;sdk:main
- os:ubuntu-latest;pub-cache-hosted
- os:ubuntu-latest
- - name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
- with:
- sdk: main
- - id: checkout
- name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: dwds_pub_upgrade
- name: dwds; dart pub upgrade
- run: dart pub upgrade
- if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: dwds
- - name: "dwds; Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
- run: "Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
- if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
- working-directory: dwds
- - name: "dwds; dart test --tags=extension"
- run: "dart test --tags=extension"
- if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
- working-directory: dwds
- needs:
- - job_001
- - job_002
- - job_003
- - job_004
- job_013:
- name: "unit_test; linux; Dart main; PKG: dwds; `dart test --total-shards 3 --shard-index 0 --exclude-tags=extension`"
- runs-on: ubuntu-latest
- steps:
- - name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
- with:
- path: "~/.pub-cache/hosted"
- key: "os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:dwds;commands:test_2"
- restore-keys: |
- os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:dwds
- os:ubuntu-latest;pub-cache-hosted;sdk:main
- os:ubuntu-latest;pub-cache-hosted
- os:ubuntu-latest
- - name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
- with:
- sdk: main
- - id: checkout
- name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: dwds_pub_upgrade
- name: dwds; dart pub upgrade
- run: dart pub upgrade
- if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: dwds
- - name: "dwds; dart test --total-shards 3 --shard-index 0 --exclude-tags=extension"
- run: "dart test --total-shards 3 --shard-index 0 --exclude-tags=extension"
- if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
- working-directory: dwds
- needs:
- - job_001
- - job_002
- - job_003
- - job_004
- job_014:
- name: "unit_test; linux; Dart main; PKG: dwds; `dart test --total-shards 3 --shard-index 1 --exclude-tags=extension`"
- runs-on: ubuntu-latest
- steps:
- - name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
- with:
- path: "~/.pub-cache/hosted"
- key: "os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:dwds;commands:test_3"
- restore-keys: |
- os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:dwds
- os:ubuntu-latest;pub-cache-hosted;sdk:main
- os:ubuntu-latest;pub-cache-hosted
- os:ubuntu-latest
- - name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
- with:
- sdk: main
- - id: checkout
- name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: dwds_pub_upgrade
- name: dwds; dart pub upgrade
- run: dart pub upgrade
- if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: dwds
- - name: "dwds; dart test --total-shards 3 --shard-index 1 --exclude-tags=extension"
- run: "dart test --total-shards 3 --shard-index 1 --exclude-tags=extension"
- if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
- working-directory: dwds
- needs:
- - job_001
- - job_002
- - job_003
- - job_004
- job_015:
- name: "unit_test; linux; Dart main; PKG: dwds; `dart test --total-shards 3 --shard-index 2 --exclude-tags=extension`"
- runs-on: ubuntu-latest
- steps:
- - name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
- with:
- path: "~/.pub-cache/hosted"
- key: "os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:dwds;commands:test_4"
- restore-keys: |
- os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:dwds
- os:ubuntu-latest;pub-cache-hosted;sdk:main
- os:ubuntu-latest;pub-cache-hosted
- os:ubuntu-latest
- - name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
- with:
- sdk: main
- - id: checkout
- name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: dwds_pub_upgrade
- name: dwds; dart pub upgrade
- run: dart pub upgrade
- if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: dwds
- - name: "dwds; dart test --total-shards 3 --shard-index 2 --exclude-tags=extension"
- run: "dart test --total-shards 3 --shard-index 2 --exclude-tags=extension"
- if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
- working-directory: dwds
- needs:
- - job_001
- - job_002
- - job_003
- - job_004
- job_016:
name: "unit_test; linux; Dart main; PKG: frontend_server_client; `dart test -j 1`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:frontend_server_client;commands:test_5"
@@ -618,12 +474,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: main
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: frontend_server_client_pub_upgrade
name: frontend_server_client; dart pub upgrade
run: dart pub upgrade
@@ -638,12 +494,12 @@
- job_002
- job_003
- job_004
- job_017:
+ job_013:
name: "unit_test; linux; Dart main; PKG: test_common; `Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &`, `dart test --exclude-tags=release`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:test_common;commands:command-test_6"
@@ -653,12 +509,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: main
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: test_common_pub_upgrade
name: test_common; dart pub upgrade
run: dart pub upgrade
@@ -677,402 +533,238 @@
- job_002
- job_003
- job_004
- job_018:
- name: "unit_test; linux; Dart main; PKG: webdev; `Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &`, `dart test -j 1`"
- runs-on: ubuntu-latest
+ job_014:
+ name: "unit_test; windows; Dart dev; PKG: dwds; `dart test --tags=extension`"
+ runs-on: windows-latest
steps:
- - name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
- with:
- path: "~/.pub-cache/hosted"
- key: "os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:webdev;commands:command-test_5"
- restore-keys: |
- os:ubuntu-latest;pub-cache-hosted;sdk:main;packages:webdev
- os:ubuntu-latest;pub-cache-hosted;sdk:main
- os:ubuntu-latest;pub-cache-hosted
- os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
- sdk: main
+ sdk: dev
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: webdev_pub_upgrade
- name: webdev; dart pub upgrade
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
+ - id: dwds_pub_upgrade
+ name: dwds; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: webdev
- - name: "webdev; Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
- run: "Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &"
- if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
- working-directory: webdev
- - name: "webdev; dart test -j 1"
+ working-directory: dwds
+ - name: "dwds; dart test --tags=extension"
+ run: "dart test --tags=extension"
+ if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
+ working-directory: dwds
+ needs:
+ - job_001
+ - job_002
+ - job_003
+ - job_004
+ job_015:
+ name: "unit_test; windows; Dart dev; PKG: dwds; `dart test --total-shards 3 --shard-index 0 --exclude-tags=extension`"
+ runs-on: windows-latest
+ steps:
+ - name: Setup Dart SDK
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
+ with:
+ sdk: dev
+ - id: checkout
+ name: Checkout repository
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
+ - id: dwds_pub_upgrade
+ name: dwds; dart pub upgrade
+ run: dart pub upgrade
+ if: "always() && steps.checkout.conclusion == 'success'"
+ working-directory: dwds
+ - name: "dwds; dart test --total-shards 3 --shard-index 0 --exclude-tags=extension"
+ run: "dart test --total-shards 3 --shard-index 0 --exclude-tags=extension"
+ if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
+ working-directory: dwds
+ needs:
+ - job_001
+ - job_002
+ - job_003
+ - job_004
+ job_016:
+ name: "unit_test; windows; Dart dev; PKG: dwds; `dart test --total-shards 3 --shard-index 1 --exclude-tags=extension`"
+ runs-on: windows-latest
+ steps:
+ - name: Setup Dart SDK
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
+ with:
+ sdk: dev
+ - id: checkout
+ name: Checkout repository
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
+ - id: dwds_pub_upgrade
+ name: dwds; dart pub upgrade
+ run: dart pub upgrade
+ if: "always() && steps.checkout.conclusion == 'success'"
+ working-directory: dwds
+ - name: "dwds; dart test --total-shards 3 --shard-index 1 --exclude-tags=extension"
+ run: "dart test --total-shards 3 --shard-index 1 --exclude-tags=extension"
+ if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
+ working-directory: dwds
+ needs:
+ - job_001
+ - job_002
+ - job_003
+ - job_004
+ job_017:
+ name: "unit_test; windows; Dart dev; PKG: dwds; `dart test --total-shards 3 --shard-index 2 --exclude-tags=extension`"
+ runs-on: windows-latest
+ steps:
+ - name: Setup Dart SDK
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
+ with:
+ sdk: dev
+ - id: checkout
+ name: Checkout repository
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
+ - id: dwds_pub_upgrade
+ name: dwds; dart pub upgrade
+ run: dart pub upgrade
+ if: "always() && steps.checkout.conclusion == 'success'"
+ working-directory: dwds
+ - name: "dwds; dart test --total-shards 3 --shard-index 2 --exclude-tags=extension"
+ run: "dart test --total-shards 3 --shard-index 2 --exclude-tags=extension"
+ if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
+ working-directory: dwds
+ needs:
+ - job_001
+ - job_002
+ - job_003
+ - job_004
+ job_018:
+ name: "unit_test; windows; Dart dev; PKG: frontend_server_client; `dart test -j 1`"
+ runs-on: windows-latest
+ steps:
+ - name: Setup Dart SDK
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
+ with:
+ sdk: dev
+ - id: checkout
+ name: Checkout repository
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
+ - id: frontend_server_client_pub_upgrade
+ name: frontend_server_client; dart pub upgrade
+ run: dart pub upgrade
+ if: "always() && steps.checkout.conclusion == 'success'"
+ working-directory: frontend_server_client
+ - name: "frontend_server_client; dart test -j 1"
run: dart test -j 1
- if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
- working-directory: webdev
+ if: "always() && steps.frontend_server_client_pub_upgrade.conclusion == 'success'"
+ working-directory: frontend_server_client
needs:
- job_001
- job_002
- job_003
- job_004
job_019:
- name: "unit_test; windows; Dart dev; PKG: dwds; `dart test --tags=extension`"
+ name: "unit_test; windows; Dart dev; PKG: webdev; `dart test -j 1`"
runs-on: windows-latest
steps:
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: dwds_pub_upgrade
- name: dwds; dart pub upgrade
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
+ - id: webdev_pub_upgrade
+ name: webdev; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: dwds
- - name: "dwds; dart test --tags=extension"
- run: "dart test --tags=extension"
- if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
- working-directory: dwds
+ working-directory: webdev
+ - name: "webdev; dart test -j 1"
+ run: dart test -j 1
+ if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
+ working-directory: webdev
needs:
- job_001
- job_002
- job_003
- job_004
job_020:
- name: "unit_test; windows; Dart dev; PKG: dwds; `dart test --total-shards 3 --shard-index 0 --exclude-tags=extension`"
+ name: "unit_test; windows; Dart dev; PKG: test_common; `dart test --exclude-tags=release`"
runs-on: windows-latest
steps:
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: dwds_pub_upgrade
- name: dwds; dart pub upgrade
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
+ - id: test_common_pub_upgrade
+ name: test_common; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: dwds
- - name: "dwds; dart test --total-shards 3 --shard-index 0 --exclude-tags=extension"
- run: "dart test --total-shards 3 --shard-index 0 --exclude-tags=extension"
- if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
- working-directory: dwds
+ working-directory: test_common
+ - name: "test_common; dart test --exclude-tags=release"
+ run: "dart test --exclude-tags=release"
+ if: "always() && steps.test_common_pub_upgrade.conclusion == 'success'"
+ working-directory: test_common
needs:
- job_001
- job_002
- job_003
- job_004
job_021:
- name: "unit_test; windows; Dart dev; PKG: dwds; `dart test --total-shards 3 --shard-index 1 --exclude-tags=extension`"
+ name: "unit_test; windows; Dart main; PKG: frontend_server_client; `dart test -j 1`"
runs-on: windows-latest
steps:
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
- sdk: dev
+ sdk: main
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: dwds_pub_upgrade
- name: dwds; dart pub upgrade
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
+ - id: frontend_server_client_pub_upgrade
+ name: frontend_server_client; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: dwds
- - name: "dwds; dart test --total-shards 3 --shard-index 1 --exclude-tags=extension"
- run: "dart test --total-shards 3 --shard-index 1 --exclude-tags=extension"
- if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
- working-directory: dwds
+ working-directory: frontend_server_client
+ - name: "frontend_server_client; dart test -j 1"
+ run: dart test -j 1
+ if: "always() && steps.frontend_server_client_pub_upgrade.conclusion == 'success'"
+ working-directory: frontend_server_client
needs:
- job_001
- job_002
- job_003
- job_004
job_022:
- name: "unit_test; windows; Dart dev; PKG: dwds; `dart test --total-shards 3 --shard-index 2 --exclude-tags=extension`"
+ name: "unit_test; windows; Dart main; PKG: test_common; `dart test --exclude-tags=release`"
runs-on: windows-latest
steps:
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
- sdk: dev
+ sdk: main
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: dwds_pub_upgrade
- name: dwds; dart pub upgrade
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
+ - id: test_common_pub_upgrade
+ name: test_common; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: dwds
- - name: "dwds; dart test --total-shards 3 --shard-index 2 --exclude-tags=extension"
- run: "dart test --total-shards 3 --shard-index 2 --exclude-tags=extension"
- if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
- working-directory: dwds
+ working-directory: test_common
+ - name: "test_common; dart test --exclude-tags=release"
+ run: "dart test --exclude-tags=release"
+ if: "always() && steps.test_common_pub_upgrade.conclusion == 'success'"
+ working-directory: test_common
needs:
- job_001
- job_002
- job_003
- job_004
job_023:
- name: "unit_test; windows; Dart dev; PKG: frontend_server_client; `dart test -j 1`"
- runs-on: windows-latest
- steps:
- - name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
- with:
- sdk: dev
- - id: checkout
- name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: frontend_server_client_pub_upgrade
- name: frontend_server_client; dart pub upgrade
- run: dart pub upgrade
- if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: frontend_server_client
- - name: "frontend_server_client; dart test -j 1"
- run: dart test -j 1
- if: "always() && steps.frontend_server_client_pub_upgrade.conclusion == 'success'"
- working-directory: frontend_server_client
- needs:
- - job_001
- - job_002
- - job_003
- - job_004
- job_024:
- name: "unit_test; windows; Dart dev; PKG: webdev; `dart test -j 1`"
- runs-on: windows-latest
- steps:
- - name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
- with:
- sdk: dev
- - id: checkout
- name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: webdev_pub_upgrade
- name: webdev; dart pub upgrade
- run: dart pub upgrade
- if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: webdev
- - name: "webdev; dart test -j 1"
- run: dart test -j 1
- if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
- working-directory: webdev
- needs:
- - job_001
- - job_002
- - job_003
- - job_004
- job_025:
- name: "unit_test; windows; Dart dev; PKG: test_common; `dart test --exclude-tags=release`"
- runs-on: windows-latest
- steps:
- - name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
- with:
- sdk: dev
- - id: checkout
- name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: test_common_pub_upgrade
- name: test_common; dart pub upgrade
- run: dart pub upgrade
- if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: test_common
- - name: "test_common; dart test --exclude-tags=release"
- run: "dart test --exclude-tags=release"
- if: "always() && steps.test_common_pub_upgrade.conclusion == 'success'"
- working-directory: test_common
- needs:
- - job_001
- - job_002
- - job_003
- - job_004
- job_026:
- name: "unit_test; windows; Dart main; PKG: dwds; `dart test --tags=extension`"
- runs-on: windows-latest
- steps:
- - name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
- with:
- sdk: main
- - id: checkout
- name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: dwds_pub_upgrade
- name: dwds; dart pub upgrade
- run: dart pub upgrade
- if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: dwds
- - name: "dwds; dart test --tags=extension"
- run: "dart test --tags=extension"
- if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
- working-directory: dwds
- needs:
- - job_001
- - job_002
- - job_003
- - job_004
- job_027:
- name: "unit_test; windows; Dart main; PKG: dwds; `dart test --total-shards 3 --shard-index 0 --exclude-tags=extension`"
- runs-on: windows-latest
- steps:
- - name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
- with:
- sdk: main
- - id: checkout
- name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: dwds_pub_upgrade
- name: dwds; dart pub upgrade
- run: dart pub upgrade
- if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: dwds
- - name: "dwds; dart test --total-shards 3 --shard-index 0 --exclude-tags=extension"
- run: "dart test --total-shards 3 --shard-index 0 --exclude-tags=extension"
- if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
- working-directory: dwds
- needs:
- - job_001
- - job_002
- - job_003
- - job_004
- job_028:
- name: "unit_test; windows; Dart main; PKG: dwds; `dart test --total-shards 3 --shard-index 1 --exclude-tags=extension`"
- runs-on: windows-latest
- steps:
- - name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
- with:
- sdk: main
- - id: checkout
- name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: dwds_pub_upgrade
- name: dwds; dart pub upgrade
- run: dart pub upgrade
- if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: dwds
- - name: "dwds; dart test --total-shards 3 --shard-index 1 --exclude-tags=extension"
- run: "dart test --total-shards 3 --shard-index 1 --exclude-tags=extension"
- if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
- working-directory: dwds
- needs:
- - job_001
- - job_002
- - job_003
- - job_004
- job_029:
- name: "unit_test; windows; Dart main; PKG: dwds; `dart test --total-shards 3 --shard-index 2 --exclude-tags=extension`"
- runs-on: windows-latest
- steps:
- - name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
- with:
- sdk: main
- - id: checkout
- name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: dwds_pub_upgrade
- name: dwds; dart pub upgrade
- run: dart pub upgrade
- if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: dwds
- - name: "dwds; dart test --total-shards 3 --shard-index 2 --exclude-tags=extension"
- run: "dart test --total-shards 3 --shard-index 2 --exclude-tags=extension"
- if: "always() && steps.dwds_pub_upgrade.conclusion == 'success'"
- working-directory: dwds
- needs:
- - job_001
- - job_002
- - job_003
- - job_004
- job_030:
- name: "unit_test; windows; Dart main; PKG: frontend_server_client; `dart test -j 1`"
- runs-on: windows-latest
- steps:
- - name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
- with:
- sdk: main
- - id: checkout
- name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: frontend_server_client_pub_upgrade
- name: frontend_server_client; dart pub upgrade
- run: dart pub upgrade
- if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: frontend_server_client
- - name: "frontend_server_client; dart test -j 1"
- run: dart test -j 1
- if: "always() && steps.frontend_server_client_pub_upgrade.conclusion == 'success'"
- working-directory: frontend_server_client
- needs:
- - job_001
- - job_002
- - job_003
- - job_004
- job_031:
- name: "unit_test; windows; Dart main; PKG: webdev; `dart test -j 1`"
- runs-on: windows-latest
- steps:
- - name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
- with:
- sdk: main
- - id: checkout
- name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: webdev_pub_upgrade
- name: webdev; dart pub upgrade
- run: dart pub upgrade
- if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: webdev
- - name: "webdev; dart test -j 1"
- run: dart test -j 1
- if: "always() && steps.webdev_pub_upgrade.conclusion == 'success'"
- working-directory: webdev
- needs:
- - job_001
- - job_002
- - job_003
- - job_004
- job_032:
- name: "unit_test; windows; Dart main; PKG: test_common; `dart test --exclude-tags=release`"
- runs-on: windows-latest
- steps:
- - name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
- with:
- sdk: main
- - id: checkout
- name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- - id: test_common_pub_upgrade
- name: test_common; dart pub upgrade
- run: dart pub upgrade
- if: "always() && steps.checkout.conclusion == 'success'"
- working-directory: test_common
- - name: "test_common; dart test --exclude-tags=release"
- run: "dart test --exclude-tags=release"
- if: "always() && steps.test_common_pub_upgrade.conclusion == 'success'"
- working-directory: test_common
- needs:
- - job_001
- - job_002
- - job_003
- - job_004
- job_033:
name: "beta_cron; linux; Dart beta; PKG: dwds; `Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &`, `dart test -j 1`"
runs-on: ubuntu-latest
if: "github.event_name == 'schedule'"
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:beta;packages:dwds;commands:command-test_5"
@@ -1082,12 +774,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: beta
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
@@ -1124,23 +816,13 @@
- job_020
- job_021
- job_022
- - job_023
- - job_024
- - job_025
- - job_026
- - job_027
- - job_028
- - job_029
- - job_030
- - job_031
- - job_032
- job_034:
+ job_024:
name: "beta_cron; linux; Dart beta; PKG: webdev; `Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &`, `dart test -j 1`"
runs-on: ubuntu-latest
if: "github.event_name == 'schedule'"
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:beta;packages:webdev;commands:command-test_5"
@@ -1150,12 +832,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: beta
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: webdev_pub_upgrade
name: webdev; dart pub upgrade
run: dart pub upgrade
@@ -1192,23 +874,13 @@
- job_020
- job_021
- job_022
- - job_023
- - job_024
- - job_025
- - job_026
- - job_027
- - job_028
- - job_029
- - job_030
- - job_031
- - job_032
- job_035:
+ job_025:
name: "beta_cron; linux; Dart beta; PKG: dwds; `dart analyze .`"
runs-on: ubuntu-latest
if: "github.event_name == 'schedule'"
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:beta;packages:dwds;commands:analyze_1"
@@ -1218,12 +890,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: beta
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
@@ -1256,23 +928,13 @@
- job_020
- job_021
- job_022
- - job_023
- - job_024
- - job_025
- - job_026
- - job_027
- - job_028
- - job_029
- - job_030
- - job_031
- - job_032
- job_036:
+ job_026:
name: "beta_cron; linux; Dart beta; PKG: webdev; `dart analyze .`"
runs-on: ubuntu-latest
if: "github.event_name == 'schedule'"
steps:
- name: Cache Pub hosted dependencies
- uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
+ uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:beta;packages:webdev;commands:analyze_1"
@@ -1282,12 +944,12 @@
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: beta
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: webdev_pub_upgrade
name: webdev; dart pub upgrade
run: dart pub upgrade
@@ -1320,28 +982,18 @@
- job_020
- job_021
- job_022
- - job_023
- - job_024
- - job_025
- - job_026
- - job_027
- - job_028
- - job_029
- - job_030
- - job_031
- - job_032
- job_037:
+ job_027:
name: "beta_cron; windows; Dart beta; PKG: dwds; `dart test -j 1`"
runs-on: windows-latest
if: "github.event_name == 'schedule'"
steps:
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: beta
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: dwds_pub_upgrade
name: dwds; dart pub upgrade
run: dart pub upgrade
@@ -1374,28 +1026,18 @@
- job_020
- job_021
- job_022
- - job_023
- - job_024
- - job_025
- - job_026
- - job_027
- - job_028
- - job_029
- - job_030
- - job_031
- - job_032
- job_038:
+ job_028:
name: "beta_cron; windows; Dart beta; PKG: webdev; `dart test -j 1`"
runs-on: windows-latest
if: "github.event_name == 'schedule'"
steps:
- name: Setup Dart SDK
- uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
+ uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: beta
- id: checkout
name: Checkout repository
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
+ uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- id: webdev_pub_upgrade
name: webdev; dart pub upgrade
run: dart pub upgrade
@@ -1428,17 +1070,7 @@
- job_020
- job_021
- job_022
- - job_023
- - job_024
- - job_025
- - job_026
- - job_027
- - job_028
- - job_029
- - job_030
- - job_031
- - job_032
- job_039:
+ job_029:
name: Notify failure
runs-on: ubuntu-latest
if: "(github.event_name == 'push' || github.event_name == 'schedule') && failure()"
@@ -1478,13 +1110,3 @@
- job_026
- job_027
- job_028
- - job_029
- - job_030
- - job_031
- - job_032
- - job_033
- - job_034
- - job_035
- - job_036
- - job_037
- - job_038
diff --git a/dwds/CHANGELOG.md b/dwds/CHANGELOG.md
index ce85f61..eedb190 100644
--- a/dwds/CHANGELOG.md
+++ b/dwds/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 21.0.0+1
+
+- Fix a null cast error when debugging a `Class` from VS Code. - [#2303](https://github.com/dart-lang/webdev/pull/2303)
+
## 21.0.0
- Update Dart SDK constraint to `>=3.2.0-36.0.dev <4.0.0`. - [#2207](https://github.com/dart-lang/webdev/pull/2207)
diff --git a/dwds/lib/src/debugging/classes.dart b/dwds/lib/src/debugging/classes.dart
index 1cd7da5..2ca2f97 100644
--- a/dwds/lib/src/debugging/classes.dart
+++ b/dwds/lib/src/debugging/classes.dart
@@ -96,10 +96,9 @@
throw ChromeDebugException(e.json, evalContents: expression);
}
- final classDescriptor = result.value as Map<String, dynamic>;
+ final classDescriptor = _mapify(result.value);
final methodRefs = <FuncRef>[];
- final methodDescriptors =
- classDescriptor['methods'] as Map<String, dynamic>;
+ final methodDescriptors = _mapify(classDescriptor['methods']);
methodDescriptors.forEach((name, descriptor) {
final methodId = 'methods|$classId|$name';
methodRefs.add(
@@ -118,7 +117,7 @@
});
final fieldRefs = <FieldRef>[];
- final fieldDescriptors = classDescriptor['fields'] as Map<String, dynamic>;
+ final fieldDescriptors = _mapify(classDescriptor['fields']);
fieldDescriptors.forEach((name, descriptor) {
final classMetaData = ClassMetaData(
runtimeKind: RuntimeObjectKind.type,
@@ -168,4 +167,7 @@
superClass: superClassRef,
);
}
+
+ Map<String, dynamic> _mapify(dynamic map) =>
+ (map as Map<String, dynamic>?) ?? <String, dynamic>{};
}
diff --git a/dwds/lib/src/debugging/location.dart b/dwds/lib/src/debugging/location.dart
index e009965..81f0405 100644
--- a/dwds/lib/src/debugging/location.dart
+++ b/dwds/lib/src/debugging/location.dart
@@ -78,7 +78,7 @@
int get hashCode => Object.hashAll([uri, line, column]);
@override
- bool operator ==(Object? other) {
+ bool operator ==(Object other) {
if (other is! DartLocation) {
return false;
}
diff --git a/dwds/lib/src/version.dart b/dwds/lib/src/version.dart
index 83e6edf..f229269 100644
--- a/dwds/lib/src/version.dart
+++ b/dwds/lib/src/version.dart
@@ -1,2 +1,2 @@
// Generated code. Do not modify.
-const packageVersion = '21.0.0';
+const packageVersion = '21.0.0+1';
diff --git a/dwds/mono_pkg.yaml b/dwds/mono_pkg.yaml
index 15b5504..27c09d8 100644
--- a/dwds/mono_pkg.yaml
+++ b/dwds/mono_pkg.yaml
@@ -15,7 +15,6 @@
- test: --tags=extension
sdk:
- dev
- - main
os:
- linux
# Windows extension tests:
@@ -23,7 +22,6 @@
- test: --tags=extension
sdk:
- dev
- - main
os:
- windows
# First test shard:
@@ -31,7 +29,6 @@
- test: --total-shards 3 --shard-index 0 --exclude-tags=extension
sdk:
- dev
- - main
os:
- linux
- windows
@@ -40,7 +37,6 @@
- test: --total-shards 3 --shard-index 1 --exclude-tags=extension
sdk:
- dev
- - main
os:
- linux
- windows
@@ -49,7 +45,6 @@
- test: --total-shards 3 --shard-index 2 --exclude-tags=extension
sdk:
- dev
- - main
os:
- linux
- windows
diff --git a/dwds/pubspec.yaml b/dwds/pubspec.yaml
index 2e4e40c..1178b86 100644
--- a/dwds/pubspec.yaml
+++ b/dwds/pubspec.yaml
@@ -1,6 +1,6 @@
name: dwds
# Every time this changes you need to run `dart run build_runner build`.
-version: 21.0.0
+version: 21.0.0+1
description: >-
A service that proxies between the Chrome debug protocol and the Dart VM
service protocol.
diff --git a/dwds/test/inspector_test.dart b/dwds/test/inspector_test.dart
index 553e664..5ac590c 100644
--- a/dwds/test/inspector_test.dart
+++ b/dwds/test/inspector_test.dart
@@ -11,6 +11,7 @@
import 'package:dwds/src/utilities/globals.dart';
import 'package:test/test.dart';
import 'package:test_common/test_sdk_configuration.dart';
+import 'package:test_common/utilities.dart';
import 'package:vm_service/vm_service.dart';
import 'package:webkit_inspection_protocol/webkit_inspection_protocol.dart';
@@ -160,6 +161,10 @@
final names =
properties.map((p) => p.name).where((x) => x != '__proto__').toList();
final expected = [
+ if (dartSdkIsAtLeast(
+ newDdcTypeSystemVersion,
+ ))
+ '\$ti',
'_privateField',
'abstractField',
'closure',
diff --git a/dwds/test/instances/class_inspection_test.dart b/dwds/test/instances/class_inspection_test.dart
new file mode 100644
index 0000000..6b0a437
--- /dev/null
+++ b/dwds/test/instances/class_inspection_test.dart
@@ -0,0 +1,124 @@
+// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+@Tags(['daily'])
+@TestOn('vm')
+@Timeout(Duration(minutes: 2))
+
+import 'package:test/test.dart';
+import 'package:test_common/logging.dart';
+import 'package:test_common/test_sdk_configuration.dart';
+import 'package:vm_service/vm_service.dart';
+
+import '../fixtures/context.dart';
+import '../fixtures/project.dart';
+import 'common/test_inspector.dart';
+
+void main() {
+ // Enable verbose logging for debugging.
+ final debug = false;
+
+ final provider = TestSdkConfigurationProvider(
+ verbose: debug,
+ );
+
+ final context =
+ TestContext(TestProject.testExperimentWithSoundNullSafety, provider);
+ final testInspector = TestInspector(context);
+
+ late VmService service;
+ late Stream<Event> stream;
+ late String isolateId;
+ late ScriptRef mainScript;
+
+ onBreakPoint(breakPointId, body) => testInspector.onBreakPoint(
+ stream,
+ isolateId,
+ mainScript,
+ breakPointId,
+ body,
+ );
+
+ getObject(instanceId) => service.getObject(isolateId, instanceId);
+
+ group('Class |', () {
+ tearDownAll(provider.dispose);
+
+ for (var compilationMode in CompilationMode.values) {
+ group('$compilationMode |', () {
+ setUpAll(() async {
+ setCurrentLogWriter(debug: debug);
+ await context.setUp(
+ compilationMode: compilationMode,
+ enableExpressionEvaluation: true,
+ verboseCompiler: debug,
+ );
+ service = context.debugConnection.vmService;
+
+ final vm = await service.getVM();
+ isolateId = vm.isolates!.first.id!;
+ final scripts = await service.getScripts(isolateId);
+
+ await service.streamListen('Debug');
+ stream = service.onEvent('Debug');
+
+ mainScript = scripts.scripts!
+ .firstWhere((each) => each.uri!.contains('main.dart'));
+ });
+
+ tearDownAll(() async {
+ await context.tearDown();
+ });
+
+ setUp(() => setCurrentLogWriter(debug: debug));
+ tearDown(() => service.resume(isolateId));
+
+ group('calling getObject for an existent class', () {
+ test('returns the correct class representation', () async {
+ await onBreakPoint('testClass1Case1', (event) async {
+ // classes|dart:core|Object_Diagnosticable
+ final result = await getObject(
+ 'classes|org-dartlang-app:///web/main.dart|GreeterClass',
+ );
+ final clazz = result as Class?;
+ expect(clazz!.name, equals('GreeterClass'));
+ expect(
+ clazz.fields!.map((field) => field.name),
+ unorderedEquals([
+ 'greeteeName',
+ 'useFrench',
+ ]),
+ );
+ expect(
+ clazz.functions!.map((fn) => fn.name),
+ containsAll([
+ 'sayHello',
+ 'greetInEnglish',
+ 'greetInFrench',
+ ]),
+ );
+ });
+ });
+ });
+
+ group('calling getObject for a non-existent class', () {
+ // TODO(https://github.com/dart-lang/webdev/issues/2297): Ideally we
+ // should throw an error in this case for the client to catch instead
+ // of returning an empty class.
+ test('returns an empty class representation', () async {
+ await onBreakPoint('testClass1Case1', (event) async {
+ final result = await getObject(
+ 'classes|dart:core|Object_Diagnosticable',
+ );
+ final clazz = result as Class?;
+ expect(clazz!.name, equals('Object_Diagnosticable'));
+ expect(clazz.fields, isEmpty);
+ expect(clazz.functions, isEmpty);
+ });
+ });
+ });
+ });
+ }
+ });
+}
diff --git a/dwds/test/instances/common/instance_common.dart b/dwds/test/instances/common/instance_common.dart
index 01ef9c6..5069293 100644
--- a/dwds/test/instances/common/instance_common.dart
+++ b/dwds/test/instances/common/instance_common.dart
@@ -7,6 +7,7 @@
import 'package:test/test.dart';
import 'package:test_common/logging.dart';
import 'package:test_common/test_sdk_configuration.dart';
+import 'package:test_common/utilities.dart';
import 'package:vm_service/vm_service.dart';
import 'package:webkit_inspection_protocol/webkit_inspection_protocol.dart';
@@ -73,7 +74,12 @@
);
expect(
remoteObject.json['className'],
- canaryFeatures ? 'dart_rti.Rti.new' : 'Function',
+ canaryFeatures ||
+ dartSdkIsAtLeast(
+ newDdcTypeSystemVersion,
+ )
+ ? 'dart_rti.Rti.new'
+ : 'Function',
);
});
});
diff --git a/dwds/test/variable_scope_test.dart b/dwds/test/variable_scope_test.dart
index a89d94d..d60d00e 100644
--- a/dwds/test/variable_scope_test.dart
+++ b/dwds/test/variable_scope_test.dart
@@ -9,6 +9,7 @@
import 'package:test/test.dart';
import 'package:test_common/logging.dart';
import 'package:test_common/test_sdk_configuration.dart';
+import 'package:test_common/utilities.dart';
import 'package:vm_service/vm_service.dart';
import 'fixtures/context.dart';
@@ -203,7 +204,18 @@
final variableNames = variables.keys.toList()..sort();
expect(
variableNames,
- ['closureLocalInsideMethod', 'local', 'parameter', 'this'],
+ [
+ // TODO(https://github.com/dart-lang/webdev/issues/2316): Make sure T
+ // doesn't show up here.
+ if (dartSdkIsAtLeast(
+ newDdcTypeSystemVersion,
+ ))
+ 'T',
+ 'closureLocalInsideMethod',
+ 'local',
+ 'parameter',
+ 'this',
+ ],
);
});
@@ -213,7 +225,15 @@
await expectDartVariables(variables);
final variableNames = variables.keys.toList()..sort();
- expect(variableNames, ['this']);
+ expect(variableNames, [
+ // TODO(https://github.com/dart-lang/webdev/issues/2316): Make sure T
+ // doesn't show up here.
+ if (dartSdkIsAtLeast(
+ newDdcTypeSystemVersion,
+ ))
+ 'T',
+ 'this',
+ ]);
});
test('variables in extension method', () async {
diff --git a/fixtures/_experimentSound/web/main.dart b/fixtures/_experimentSound/web/main.dart
index 3783bc6..b68f1d4 100644
--- a/fixtures/_experimentSound/web/main.dart
+++ b/fixtures/_experimentSound/web/main.dart
@@ -20,6 +20,8 @@
testPattern([3.14, 'b']);
testPattern([0, 1]);
testPattern2();
+ print('Classes');
+ testClass();
});
document.body!.appendText('Program is running!');
@@ -55,6 +57,11 @@
print(record); // Breakpoint: printNestedNamedLocalRecord
}
+void testClass() {
+ final greeter = GreeterClass(greeteeName: 'Charlie Brown');
+ greeter.sayHello();
+}
+
String testPattern(Object obj) {
switch (obj) {
case [var a, int n] || [int n, var a] when n == 1 && a is String:
@@ -73,3 +80,25 @@
print(firstCat); // Breakpoint: testPattern2Case2
return '$dog, $firstCat, $secondCat';
}
+
+class GreeterClass {
+ final String greeteeName;
+ final bool useFrench;
+
+ GreeterClass({
+ this.greeteeName = 'Snoopy',
+ this.useFrench = false,
+ });
+
+ void sayHello() {
+ useFrench ? greetInFrench() : greetInEnglish();
+ }
+
+ void greetInEnglish() {
+ print('Hello $greeteeName'); // Breakpoint: testClass1Case1
+ }
+
+ void greetInFrench() {
+ print('Bonjour $greeteeName');
+ }
+}
diff --git a/frontend_server_client/test/frontend_sever_client_test.dart b/frontend_server_client/test/frontend_sever_client_test.dart
index 4deab4f..ccab70b 100644
--- a/frontend_server_client/test/frontend_sever_client_test.dart
+++ b/frontend_server_client/test/frontend_sever_client_test.dart
@@ -111,7 +111,8 @@
expect(await stdoutLines.next, p.join('goodbye', 'world'));
expect(await process.exitCode, 0);
- });
+ // TODO(https://github.com/dart-lang/webdev/issues/2315): Fix and re-enable.
+ }, skip: true);
test('can handle compile errors and reload fixes', () async {
var entrypoint = p.join(packageRoot, 'bin', 'main.dart');
@@ -174,7 +175,8 @@
expect(await stdoutLines.next, p.join('goodbye', 'world'));
expect(await process.exitCode, 0);
- });
+ // TODO(https://github.com/dart-lang/webdev/issues/2315): Fix and re-enable.
+ }, skip: true);
test('can compile and recompile a dartdevc app', () async {
var entrypoint =
diff --git a/test_common/lib/utilities.dart b/test_common/lib/utilities.dart
index 3b53bf4..7ba1dca 100644
--- a/test_common/lib/utilities.dart
+++ b/test_common/lib/utilities.dart
@@ -1,13 +1,17 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+import 'dart:io';
import 'package:path/path.dart' as p;
+import 'package:pub_semver/pub_semver.dart';
const webdevDirName = 'webdev';
const dwdsDirName = 'dwds';
const fixturesDirName = 'fixtures';
+const newDdcTypeSystemVersion = '3.3.0-242.0.dev';
+
/// The path to the webdev directory in the local machine, e.g.
/// '/workstation/webdev'.
String get webdevPath {
@@ -61,3 +65,9 @@
}
throw Exception('Expected a path parameter.');
}
+
+bool dartSdkIsAtLeast(String sdkVersion) {
+ final expectedVersion = Version.parse(sdkVersion);
+ final actualVersion = Version.parse(Platform.version.split(' ')[0]);
+ return actualVersion >= expectedVersion;
+}
diff --git a/test_common/pubspec.yaml b/test_common/pubspec.yaml
index 760d45f..39da787 100644
--- a/test_common/pubspec.yaml
+++ b/test_common/pubspec.yaml
@@ -10,9 +10,9 @@
file: ">=6.0.0 <8.0.0"
logging: ^1.0.1
path: ^1.8.1
+ pub_semver: ^2.1.1
test: ^1.21.1
dev_dependencies:
lints: ^2.0.0
pubspec_parse: ^1.2.2
- pub_semver: ^2.1.1
diff --git a/tool/ci.sh b/tool/ci.sh
index b834a52..cfb1ea3 100755
--- a/tool/ci.sh
+++ b/tool/ci.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Created with package:mono_repo v6.5.7
+# Created with package:mono_repo v6.5.3
# Support built in commands on windows out of the box.
# When it is a flutter repo (check the pubspec.yaml for "sdk: flutter")
diff --git a/webdev/mono_pkg.yaml b/webdev/mono_pkg.yaml
index 8fd3057..77d9f44 100644
--- a/webdev/mono_pkg.yaml
+++ b/webdev/mono_pkg.yaml
@@ -12,12 +12,10 @@
- test: -j 1
sdk:
- dev
- - main
- test: -j 1
os: windows
sdk:
- dev
- - main
- beta_cron:
- analyze: .
sdk: beta