Bug: Hot Restart returns null at initState

Problem
I need a card with a row of checkboxes. On tap on each checkbox, I need to know if checkboxes are checked and then do some stuff. You can see three additional classes here: for checkbox, row, and card. With hot restart I except to normally restart the app, however, it throws an exception. At first load and after rebuilding this page with BottomNavigationBar it works fine.
Steps to Reproduce

Update the files as follows:
main.dart:

import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: MyCard(),
      ),
    );
  }
}

class MyCheckBox extends StatefulWidget {
  final String weekDay;
  final Function onTap;
  bool _isChecked = false;

  bool get isChecked => this._isChecked;

  MyCheckBox({this.weekDay, this.onTap});

  @override
  _MyCheckBoxState createState() => _MyCheckBoxState();
}

class _MyCheckBoxState extends State<MyCheckBox> {
  @override
  Widget build(BuildContext context) {
    return InkWell(
      onTap: widget.onTap,
      child: Text(widget.weekDay),
    );
  }
}

class MyCheckBoxRow extends StatefulWidget {
  final Function onTap;
  List<MyCheckBox> checkBoxes;

  List<int> get activeDays {
    List<int> _activeDays = <int>[];
    for (MyCheckBox day in this.checkBoxes) {
      if (day.isChecked) _activeDays.add(this.checkBoxes.indexOf(day));
    }
    return _activeDays;
  }

  MyCheckBoxRow({this.onTap});

  @override
  _MyCheckBoxRowState createState() => _MyCheckBoxRowState();
}

class _MyCheckBoxRowState extends State<MyCheckBoxRow> {
  @override
  void initState() {
    super.initState();
    widget.checkBoxes = [
      MyCheckBox(weekDay: 'Monday', onTap: widget.onTap),
      MyCheckBox(weekDay: 'Tuesday', onTap: widget.onTap),
    ];
  }

  @override
  Widget build(BuildContext context) {
    return Row(children: widget.checkBoxes);
  }
}

class MyCard extends StatefulWidget {
  MyCheckBoxRow _myCheckBoxRow;

  List<int> get activeDays => this._myCheckBoxRow.activeDays;

  @override
  _MyCardState createState() => _MyCardState();
}

class _MyCardState extends State<MyCard> {
  @override
  void initState() {
    super.initState();
    widget._myCheckBoxRow =
        MyCheckBoxRow(onTap: () => print(widget.activeDays));
  }

  @override
  Widget build(BuildContext context) {
    return widget._myCheckBoxRow;
  }
}

Run flutter run.
Run Hot Restart

Expected results:
App will normally restart
Actual results:
I got this exception
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞══════════════════════════
The following assertion was thrown building MyCard(dirty, state: _MyCardState#114a9):
A build function returned null.
The offending widget is:
  MyCard
Build functions must never return null.

Logs
flutter run --verbose
[  +95 ms] executing: [/home/j/Downloads/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +22 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] bbfbf1770cca2da7c82e887e4e4af910034800b6
[        ] executing: [/home/j/Downloads/flutter/] git tag --contains HEAD
[ +162 ms] Exit code 0 from: git tag --contains HEAD
[        ] 1.20.2
[   +6 ms] executing: [/home/j/Downloads/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +2 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/j/Downloads/flutter/] git ls-remote --get-url origin
[   +2 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +35 ms] executing: [/home/j/Downloads/flutter/] git rev-parse --abbrev-ref HEAD
[   +2 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +31 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +9 ms] executing: /home/j/Android/Sdk/platform-tools/adb devices -l
[  +27 ms] List of devices attached
           emulator-5554          device product:sdk_google_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:2
[   +6 ms] /home/j/Android/Sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +15 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +155 ms] Generating /home/j/AndroidStudioProjects/buggy_app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +17 ms] ro.hardware = ranchu
[  +10 ms] Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +24 ms] Starting incremental build...
[   +1 ms] Initializing file store
[   +8 ms] Skipping target: gen_localizations
[   +6 ms] complete
[   +3 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode...
[   +5 ms] /home/j/Downloads/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/j/Downloads/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/j/Downloads/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names -Ddart.developer.causal_async_stacks=true --output-dill /tmp/flutter_tools.PROEFG/flutter_tool.CIGWAC/app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill
[   +7 ms] executing: /home/j/Android/Sdk/build-tools/29.0.3/aapt dump xmltree /home/j/AndroidStudioProjects/buggy_app/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +3 ms] Exit code 0 from: /home/j/Android/Sdk/build-tools/29.0.3/aapt dump xmltree /home/j/AndroidStudioProjects/buggy_app/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.pinkertone.buggy_app" (Raw: "com.pinkertone.buggy_app")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="buggy_app" (Raw: "buggy_app")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.pinkertone.buggy_app.MainActivity" (Raw: "com.pinkertone.buggy_app.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +7 ms] executing: /home/j/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +10 ms] Exit code 0 from: /home/j/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           08-22 13:38:33.049 D/MDnsDS  ( 1183): Going to poll with pollCount 1
[   +1 ms] executing: /home/j/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[   +9 ms] Exit code 0 from: /home/j/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           08-22 13:38:33.049 D/MDnsDS  ( 1183): Going to poll with pollCount 1
[   +4 ms] <- compile package:buggy_app/main.dart
[   +9 ms] executing: /home/j/Android/Sdk/platform-tools/adb version
[   +4 ms] Android Debug Bridge version 1.0.41
           Version 30.0.4-6686687
           Installed as /home/j/Android/Sdk/platform-tools/adb
[   +2 ms] executing: /home/j/Android/Sdk/platform-tools/adb start-server
[   +3 ms] Building APK
[  +24 ms] Running Gradle task 'assembleDebug'...
[   +2 ms] gradle.properties already sets `android.enableR8`
[   +2 ms] Using gradle from /home/j/AndroidStudioProjects/buggy_app/android/gradlew.
[        ] /home/j/AndroidStudioProjects/buggy_app/android/gradlew mode: 33261 rwxr-xr-x.
[  +10 ms] executing: /home/j/Downloads/android-studio/jre/bin/java -version
[  +45 ms] Exit code 0 from: /home/j/Downloads/android-studio/jre/bin/java -version
[        ] openjdk version "1.8.0_212-release"
           OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
           OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode)
[   +3 ms] executing: [/home/j/AndroidStudioProjects/buggy_app/android/] /home/j/AndroidStudioProjects/buggy_app/android/gradlew -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=/home/j/AndroidStudioProjects/buggy_app/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +715 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[   +2 ms] > Task :app:checkDebugManifest UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[  +65 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders UP-TO-DATE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[  +99 ms] > Task :app:copyFlutterAssetsDebug
[   +1 ms] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[  +96 ms] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:signingConfigWriterDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] Compatible side by side NDK version was not found.
[        ] > Task :app:packageDebug UP-TO-DATE
[        ] > Task :app:assembleDebug
[        ] BUILD SUCCESSFUL in 927ms
[        ] 31 actionable tasks: 4 executed, 27 up-to-date
[ +349 ms] Running Gradle task 'assembleDebug'... (completed in 1.4s)
[  +32 ms] calculateSha: LocalDirectory: '/home/j/AndroidStudioProjects/buggy_app/build/app/outputs/flutter-apk'/app.apk
[  +30 ms] calculateSha: reading file took 29us
[ +453 ms] calculateSha: computing sha took 452us
[   +3 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[   +1 ms] executing: /home/j/Android/Sdk/build-tools/29.0.3/aapt dump xmltree /home/j/AndroidStudioProjects/buggy_app/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +3 ms] Exit code 0 from: /home/j/Android/Sdk/build-tools/29.0.3/aapt dump xmltree /home/j/AndroidStudioProjects/buggy_app/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.pinkertone.buggy_app" (Raw: "com.pinkertone.buggy_app")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="buggy_app" (Raw: "buggy_app")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.pinkertone.buggy_app.MainActivity" (Raw: "com.pinkertone.buggy_app.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +1 ms] Stopping app 'app.apk' on Android SDK built for x86.
[        ] executing: /home/j/Android/Sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.pinkertone.buggy_app
[ +301 ms] executing: /home/j/Android/Sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.pinkertone.buggy_app
[ +118 ms] package:com.pinkertone.buggy_app
[   +1 ms] executing: /home/j/Android/Sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.pinkertone.buggy_app.sha1
[   +5 ms] a58c13ec77011fec61d0774d0bb42147aa42f71b
[        ] Latest build already installed.
[        ] Android SDK built for x86 startApp
[   +1 ms] executing: /home/j/Android/Sdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.pinkertone.buggy_app/com.pinkertone.buggy_app.MainActivity
[ +279 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.pinkertone.buggy_app/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +254 ms] Observatory URL on device: http://<IP_ADDRESS>:34671/VaAtXh5Hlm0=/
[   +1 ms] executing: /home/j/Android/Sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:34671
[   +4 ms] 39905
[        ] Forwarded host port 39905 to device port 34671 for Observatory
[   +6 ms] Caching compiled dill
[  +31 ms] Connecting to service protocol: http://<IP_ADDRESS>:39905/VaAtXh5Hlm0=/
[ +297 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:39905/VaAtXh5Hlm0=/
[        ] Waiting for Android SDK built for x86 to report its views...
[   +6 ms] Waiting for Android SDK built for x86 to report its views... (completed in 5ms)
[   +6 ms] DevFS: Creating new filesystem on the device (null)
[  +23 ms] DevFS: Created new filesystem on the device (file:///data/data/com.pinkertone.buggy_app/code_cache/buggy_appQZUMLG/buggy_app/)
[   +2 ms] Updating assets
[  +77 ms] Syncing files to device Android SDK built for x86...
[   +1 ms] Scanning asset files
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] <- recompile package:buggy_app/main.dart 231f2116-547a-4b45-be05-9816879cc54c
[        ] <- 231f2116-547a-4b45-be05-9816879cc54c
[  +59 ms] Updating files
[  +92 ms] DevFS: Sync finished
[        ] Syncing files to device Android SDK built for x86... (completed in 155ms)
[        ] Synced 0.9MB.
[        ] <- accept
[   +2 ms] Connected to _flutterView/0xb4034810.
[        ] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://<IP_ADDRESS>:39905/VaAtXh5Hlm0=/
[+8095 ms] Starting incremental build...
[   +2 ms] Skipping target: gen_localizations
[   +1 ms] complete
[   +4 ms] Performing hot restart...
[  +14 ms] Scanned through 479 files in 8ms
[        ] Syncing files to device Android SDK built for x86...
[        ] Scanning asset files
[        ] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] <- recompile package:buggy_app/main.dart 7c60ca04-5ade-41ee-b782-68a9671fcb80
[        ] <- 7c60ca04-5ade-41ee-b782-68a9671fcb80
[  +49 ms] Updating files
[ +353 ms] DevFS: Sync finished
[        ] Syncing files to device Android SDK built for x86... (completed in 405ms)
[        ] Synced 21.1MB.
[        ] <- accept
[   +5 ms] error: HttpException: Connection closed while receiving data, uri = http://<IP_ADDRESS>:39905/VaAtXh5Hlm0=/
[ +133 ms] E/flutter (17366): [ERROR:flutter/shell/common/shell.cc(209)] Dart Error: Can't load Kernel binary: Invalid kernel binary: Indicated size is invalid.
[        ] E/flutter (17366): [ERROR:flutter/shell/common/engine.cc(205)] Could not prepare to run the isolate.
[        ] E/flutter (17366): [ERROR:flutter/shell/common/engine.cc(144)] Engine not prepare and launch isolate.
[  +64 ms] Performing hot restart... (completed in 624ms)
[        ] Restarted application in 634ms.
[  +10 ms] Application finished.
[   +5 ms] hot restart failed to complete: _flutter.runInView: (-32000) Could not run configuration in engine.

[   +2 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
           #1      TerminalHandler._commonTerminalInputHandler (package:flutter_tools/src/resident_runner.dart:1528:11)
           <asynchronous suspension>
           #2      TerminalHandler.processTerminalInput (package:flutter_tools/src/resident_runner.dart:1584:13)
           #3      _rootRunUnary (dart:async/zone.dart:1198:47)
           #4      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #5      _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
           #6      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:357:11)
           #7      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:285:7)
           #8      _SyncBroadcastStreamController._sendData (dart:async/broadcast_stream_controller.dart:385:25)
           #9      _BroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:250:5)
           #10     _AsBroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:484:11)
           #11     _rootRunUnary (dart:async/zone.dart:1198:47)
           #12     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
           #14     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:357:11)
           #15     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:285:7)
           #16     _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:69:11)
           #17     _EventSinkWrapper.add (dart:async/stream_transformers.dart:15:11)
           #18     _StringAdapterSink.add (dart:convert/string_conversion.dart:238:11)
           #19     _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:243:7)
           #20     _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:317:20)
           #21     _ErrorHandlingAsciiDecoderSink.addSlice (dart:convert/ascii.dart:256:17)
           #22     _ErrorHandlingAsciiDecoderSink.add (dart:convert/ascii.dart:242:5)
           #23     _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:72:18)
           #24     _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:121:24)
           #25     _rootRunUnary (dart:async/zone.dart:1198:47)
           #26     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #27     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
           #28     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:357:11)
           #29     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:285:7)
           #30     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:808:19)
           #31     _StreamController._add (dart:async/stream_controller.dart:682:7)
           #32     _StreamController.add (dart:async/stream_controller.dart:624:5)
           #33     _Socket._onData (dart:io-patch/socket_patch.dart:2020:41)
           #34     _rootRunUnary (dart:async/zone.dart:1206:13)
           #35     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #36     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
           #37     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:357:11)
           #38     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:285:7)
           #39     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:808:19)
           #40     _StreamController._add (dart:async/stream_controller.dart:682:7)
           #41     _StreamController.add (dart:async/stream_controller.dart:624:5)
           #42     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1556:33)
           #43     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1052:14)
           #44     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
           #45     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
           #46     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
           #47     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

[   +2 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +6 ms] executing: /home/j/Android/Sdk/platform-tools/adb -s emulator-5554 forward --list
[   +5 ms] Exit code 0 from: /home/j/Android/Sdk/platform-tools/adb -s emulator-5554 forward --list
[        ] emulator-5554 tcp:39905 tcp:34671
[   +1 ms] executing: /home/j/Android/Sdk/platform-tools/adb -s emulator-5554 forward --remove tcp:39905
[        ] Shutdown hooks complete
[   +2 ms] exiting with code 1

flutter analyze:
Analyzing buggy_app...

   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: MyCheckBox._isChecked • lib/main.dart:18:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: MyCheckBoxRow.checkBoxes • lib/main.dart:41:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: MyCard._myCheckBoxRow • lib/main.dart:75:7 • must_be_immutable

flutter doctor -v:
[✓] Flutter (Channel stable, 1.20.2, on Linux, locale en_US.UTF-8)
    • Flutter version 1.20.2 at /home/j/Downloads/flutter
    • Framework revision bbfbf1770c (9 days ago), 2020-08-13 08:33:09 -0700
    • Engine revision 9d5b21729f
    • Dart version 2.9.1

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /home/j/Android/Sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /home/j/Downloads/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Android Studio (version 3.6)
    • Android Studio at /home/j/Downloads/android-studio
    • Flutter plugin version 48.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (1 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 5.1.1 (API 22) (emulator)

• No issues found!

Hi @Umbrien
Not sure what are you trying to achieve but I suggest you to try the code suggested on https://github.com/flutter/flutter/issues/64384#issuecomment-678675107 since improves your code and makes it a lot simpler. It is recommended to setup your widgets inside the Build method since it guarantees that your widgets will be read in the build/layout phase of your Stateful/Stateless widget.
Closing this as this is not an issue with Flutter itself. If you disagree comment and I will reopen if necessary.
Thank you.


Display Polygon With Holes in Dynmap/BlueMap

Is your feature request related to a problem? Please describe.
Currently, MapTowny does not display a polygon with holes on Dynmap or BlueMap, but does display it for other web-map plugins. This makes claims rendered inaccurate since the rendered claim fills in the holes of the polygon.
Describe the solution you'd like
The holes in the polygon will not be filled in on BlueMap or Dynmap.
Describe alternatives you've considered
N/A
Additional context
Some great ideas on how to approach this were provided by PolitcubesDeveloper:
https://github.com/TownyAdvanced/MapTowny/issues/22#issuecomment-1083129568

Anything from this?

https://github.com/Chicken/BlueMap-Towny/ has holes for wilderness chunks, might be useful

Anything from this?

If someone finds a solution to effectively split the set of points with holes, maybe I will implement it as a separate plugin.
You can find the nearest possible exit from the region by moving in 4 directions, paint the path red and draw it separately from the main region (black). In other words, extrude holes. But this method looks unreliable if there is no direct path, and I haven't done any research on it.

https://github.com/Chicken/BlueMap-Towny/ has holes for wilderness chunks, might be useful

That plugin seems to use this file with algorithms for achieving holes in wilderness. I haven't had time to look into those algorithms, but I'm sure it would be possible to adapt them for MapTowny. If anyone wants to take a shot at it and PR it to MapTowny, that would be heavily appreciated.
That code is licensed under GPL v3 and integrating it into the project is a little tricky. I would have to make MapTowny mostly MIT, and include an MIT portion.
In terms of a sort of ETA on this, it will definitely be a while. I currently want to work on mapping the town blocks like Dynmap-Towny does so that both plugins can be at feature parity with each other. Then I would take a look at this.

That plugin seems to use this file

regions with holes are divided into segments using breadth-first search and the border-line is drawn separately.

Finally added this in v3.0.0. Thanks for everyone's tips and suggestions, it really helped in implementing this! Try the alpha version and let me know if it doesn't work.


Add support for ignoring dialyzer warnings

This introduces the dialyzer_ignored_warnings configuration for ignoring dialyzer warnings.
Suggested solution for #136

An improvement to this would be to warn about unmatched ignores

Cool! Have you discussed with @fishcakez and looked at @tuncer 's https://github.com/rebar/rebar/pull/460 from rebar?

There's also the implicit assumption that the argument passed in is a list -- issue #136 mentioned using a format like {file, ...} or soemthing like that. Should we tag the list?

This has a feature that rebar/rebar#460 doesn't, right? The matching supports a wildcard here but not in #460, right? I like the wildcard.

Yes this implements a similar filtering to rebar/rebar#460 there are few differences however:

It preserves the errors order
It support wildcard filtering using '_'
It special cases filenames (suffix matching for now, should really be glob matching)
It does not warn yet about unused ignore patterns

I didn't get the opportunity to discuss with @fishcakez yet, I just wanted to have something around which we can have a discussion.
The main drawback of this approach in my opinion is that it is hard for the user to find the correct ignore patterns (dialyzer messages are opaque). Also I am not quite certain about supporting different styles of ignoring patterns (external text file vs list of tuples vs matchspecs?), I think it would be simpler to just support 1 option and make sure it covers all use cases.

We're also totally gonna need tests for that, unless you think it's not doable.

We're also totally gonna need tests for that, unless you think it's not doable.

I think it should be possible to test this with a simple application/module with 2 warnings, one of which is ignored.

The main drawback of this approach in my opinion is that it is hard for the user to find the correct ignore patterns (dialyzer messages are opaque).

Is it enough to show the raw warnings with ?DEBUG/2? This would create some friction in ignoring a warning, but perhaps that is not a bad thing?

Maybe it would be better to try and support a format similar to the format in the upcoming erlang 18.0? It would require more work in translating and matching the errors, but at least it will be coherent. What do you guys think?

I don't think its possible to use the 18.0 format because it requires knowledge of the mod-fun-arity, which we can't get at. Also the format is not compatible with erlang term files.

Can we close this given the decision in #136?


Implement DISA K8s STIG 242390 for Managed K8s provider

What this PR does / why we need it:
This PR adds a new implementation of rule 242390, specific for the managed kubernetes provider. The rule is implemented via an http client that uses the external URL of the kube-apiserver and evaluates the state of the anonymous authentication based on the response code.
Which issue(s) this PR fixes:
Fixes #284
Special notes for your reviewer:
This implementation may require additional changes concerning the handling of the URL.
Release note:

DISA K8s STIG rule 242390 is now implemented for provider `managedk8s`.

/lgtm


distance matrix and labels on it

Hi there
and congrats for the nice tool! I am using UMAP reduction to clusterize my own custom distance matrix (using metric='precomputed') and as suggested here https://umap-learn.readthedocs.io/en/latest/clustering.html#umap-enhanced-clustering I applied HDBSCAN too to clusterize the results. Actually, the cluster analysis directly from UMAP is alreayd good but I'd like to get the info from each cloud points. Is there any way to achieve this without passing through HDBSCAN?
Best

Hi there,
Have a look at umap.plot.interactive() (
https://umap-learn.readthedocs.io/en/latest/plotting.html).  It should
allow you to pass in a data frame of labels along with you UMAP model and
have those labels be displayed when you hover your mouse over the points in
the plot.  This should allow you to quickly and easily see what each cloud
of points was representing.
On Wed, May 20, 2020 at 11:24 AM Andrea Spitaleri<EMAIL_ADDRESS>wrote:

Hi there
and congrats for the nice tool! I am using UMAP reduction to clusterize my
own custom distance matrix (using metric='precomputed') and as suggested
here
https://umap-learn.readthedocs.io/en/latest/clustering.html#umap-enhanced-clustering
I applied HDBSCAN too to clusterize the results. Actually, the cluster
analysis directly from UMAP is alreayd good but I'd like to get the info
from each cloud points. Is there any way to achieve this without passing
through HDBSCAN?
Best
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lmcinnes/umap/issues/434, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3IUWXTZ5UA7CSUEU53CETRSPY3DANCNFSM4NGBD22A
.

Hi @jc-healy thanks for the reply. Actually I have a lot points to see, so I was something like to get the coordinate of the plot in order to assign them in downstream analysis such as a dataframe:
UMAP1 UMAP2 Label
is there any way to extract the coordinates from the plot?

Sorry ... it was easier than I thought
#169


Add verbose and stdout flag

Why
see https://github.com/m-manu/go-find-duplicates/issues/10
I add two flags  --verbose and --stdout, and the default value is both false.
if --verbose was not enabled.   the fmte.Off() will called, and disable the running log print.
if --stdout was enabled,  the program will not create a file to report, it will print the report to stdout.
How
./go-find-duplicates ./
./go-find-duplicates --verbose ./
./go-find-duplicates --stdout  ./
./go-find-duplicates --stdout  -o json ./
./go-find-duplicates --stdout  -o csv ./

What changed
the only changed behavior is --verbose is default false
so there is no running log now
./go-find-duplicates --verbose ./
Scanning 1 directories...
Done. Found 8 files of total size 3.17 MiB.
Finding potential duplicates...
No duplicates found!

cc @m-manu


What are you using System Designer for?

I would like to know in which context you are using System Designer. I will help me to know what kind of features I need to add to improve the app.

actually i was looking for an uml app for ios. than i found this. i am in the process of refactoring a python app i wrote and need to finally write it down graphically before i start codeing. system designer is not really a fully fledged uml tool but in the end it is enough for me to roughly pin down  my classes and inheritances.
a question while we are at it: was it initially designed for javascript coding?

System Designer was designed first for Javascript (because we missed tools like this for modeling in JS). But main concepts can be applied to any languages (definition of schemas, modals, types and components are agnostics, so there is no dependency to a specific language, only runtime is language specific).

thanks for the answer. Back to your initial question: I would love to have something like at least a very simple code export of classes+comments+methods+attributes. Python would be nice but even nicer would be Apple Swift. Do you think there is any chance you will consider adding something like this in the future?
I was using Umbrello before, it does do that for a lot of languages but a lot of them very sparingly, like python but it still is a quite helpful tool! It generates one file per class and puts in the attributes and empty method definitions (def something: pass). each class and method has also added all the comments one puts into the uml diagram. if the comments have useful information about what eg the method should do, this helps a lot to immediately start coding in the functionality.
hope that inspires for new features to add to system designer :-))
all the best
Jojo

Thanks for the idea! In fact, I did work on a similar task to adapt System Designer to other language, but I have preferred to stabilize first the project before going any further.
A big part of the work was done, I just need to find a find to make it work properly with other language. I really would like to avoid generating code, to be more dynamic in the process of creating an app, but if I do not find an easy way, I will finally generate code.
Anyway, I have it in mind, it will depend of the time I have to do it.

System Designer is really impressive, but I'm not using it right now.  I'm trying to pick up an obscure language called Red/Rebol, so I really don't have a need for it.
I'm keeping an eye on this project to see if/when it gets support for additional languages.  Red claims to have a highly embeddable runtime, but I'm not at the level to use it.

Not so obscure, I heard about it :p. Learning new languages is always great but it can be difficult at first, so courage.
We asked me many times to make System Designer support other languages. It could be done, but I do not have unfortunately the time to do it. I prefer to focus my free time on bugs fixing and improving the dev workflow process of System Designer.
Anyway thank you for your good words about the project.

Hello, thanks for the emails!  I have a really good idea for an app but I am still learning lingos honestly. But I’m more hands on.
Dee Deans

On Jul 11, 2019, at 4:15 PM, Erwan Carriou<EMAIL_ADDRESS>wrote:
Not so obscure, I heard about it :p. Learning new languages is always great but it can be difficult at first, so courage.
We asked me many times to make System Designer support other languages. It could be done, but I do not have unfortunately the time to do it. I prefer to focus my free time on bugs fixing and improving the dev workflow process of System Designer.
Anyway thank you for your good words about the project.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

You’re welcome. I think I will be a pretty bad mentor by always saying evidences. All I can say is to go to Meetups/Conferences to learn about technologies and to discuss with people using these technologies and find allies and support from tech associations because, unfortunately, world of tech is often hard, not technically, but humanly. Focus on what you believe and never give up.

Freecodecamp.org is a good one that I used for JavaScript.
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon
Virus-free.
www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Sat, Jul 13, 2019 at 6:37 AM Erwan Carriou<EMAIL_ADDRESS>wrote:

You’re welcome. I think I will be a pretty bad mentor by always saying
evidences. All I can say is to go to Meetups/Conferences to learn about
technologies and to discuss with people using these technologies and find
allies and support from tech associations because, unfortunately, world of
tech is often hard, not technically, but humanly. Focus on what you believe
and never give up.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/design-first/system-designer/issues/121?email_source=notifications&email_token=AAUEEH2REI73EMNOVIDWXDLP7HLDHA5CNFSM4GX4REXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3R3BY#issuecomment-511122823,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUEEH7OUO4P23OZ4THTNN3P7HLDHANCNFSM4GX4REXA
.

The complete list of available methods is here. What miss you in the current documentation?
The project is still under maintenance. The project is quite stable so my main focus is documentation, I plan to add video tutorials.

Videos would be nice but what I think @rodrigogalvez is trying to say and something I have been wanting is a centralized listing of all predefined syntax usable within System Designer/Runtime.  It’s hard to find some information and takes clicking randomly  through various pages.  Although I do appricate the little variations upon the example jedi system.  It makes it less boring and seeing Things more than once but done in a slightly different way helped me with a number of “awe-ah!” moments.  TypeDoc comes to mind as an example of what I’m talking about.
I think the biggest thing you could do is bring the syntax definitions into one place and then have a separate area where you dive deeper with full examples.  But I struggled a lot figuring out how to get started using this awesome tool. (I am just starting my adventure into coding and I am still learning the basics.)  I would also recommend  moving most all crossover functionality documentation to the Designer  side of things. As soon as a finished that thought I took it back. Maybe keep the Designer docs more focused on using the native editor and the in line js/dB in Runtime.
But I’m getting long winded here. Lol.  I really love the project. And I hope I can contribute some to the project. I have some ideas that I want to start working on that could at least be offered as addons if they don’t align with your roadmap.

Thank you for your suggestions and your support! Very helpful. I thought that putting all the list of available methods in one page would be enough, but I will try to add more examples focus on code edition, so that users will be more aware of what they can do in the IDE.
Moreover, I will give more examples of extensions APIs, we can customize a lot System Designer, but all APIs are not yet documented.
Good luck on your coding journey!

Hello, came across System Designer and am impressed! I'm a designer, and am teaching myself to code keep up the good work.

I'm new here I was wanting to do a dictionary app like A wiki and put my own information in the dictionary???

I'm using it to create projects that I hope to put in the app stores.


Modules listed in package.json don't exist in bundled package

Looking at the most recent version of ts-jest-mock, the dist/ directory contains the following:
types/
ts-jest-mock.js
ts-jest-mock.umd.cjs

This does not match with the values listed in package.json:
{
  "main": "./dist/ts-jest-mock.umd.js",
  "module": "./dist/ts-jest-mock.es.js",
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/ts-jest-mock.es.js",
      "require": "./dist/ts-jest-mock.umd.js"
    }
  },
}

and leads to a module resolution error when importing ts-jest-mock

@ryanwilsonperkin I'm releasing a new version, forgot to rename these when I released as an es module

fixed in 1.4.1


Fixing the logic on accessing mount path for 2 scenarios.

We basically have 2 scenarios for accessing mount path:

synfs/
synfs:

We have the helper function only for the scenario 1: getMountPath

@vonrogve - thanks for the submission. we can move forward with reviewing your suggestions as soon as you respond to the CLA request here:  https://github.com/MicrosoftDocs/azure-docs/pull/117567#issuecomment-1832569345
Thanks.

@JeneZhang  - if @vonrogve agrees to the CLA, please review this PR

IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@microsoft-github-policy-service agree company="Microsoft"

From: microsoft-github-policy-service[bot] @.>
Sent: Wednesday, November 29, 2023 11:28 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Zhenya Gornov @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Fixing the logic on accessing mount path for 2 scenarios. (PR #117567)
@vonrogvehttps://github.com/vonrogve please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.orghttp://www.opensource.org/).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/117567#issuecomment-1832569345, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUXXT6QJ2YANDRR4LZJNM5DYG6EHBAVCNFSM6AAAAABAAAAN3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSGU3DSMZUGU.
You are receiving this because you were mentioned.Message ID: @.***>

@JeneZhang
Can you review this old PR and determine whether it needs to be closed or merged?

Thanks, @jenezhang. If this PR should be closed, enter a #please-close comment.

#please-close


Merge ra_vfs_glob and ra_lsp_server

bors r+
🤖

Can ra_cli be a binary in ra_lsp_server instead?

bors r+

we can, but having a single binary (to be renamed rust-analyzer by the next relesae) is a part of a motivation here. I think this will be useful for folks to minimize and reproduce bugs.


Leave Chat error

Unsupported service. Your client may be out of date. Please update it to the latest version. ({"api:timestamp":"2023-02-17T19:24:15Z","api:statuscode":100,"api:duration":"0.002s","api:message":"Unsupported service. Your client may be out of date. Please update it to the latest version."}).

Pls provide the function being used

Pls provide the function being used
u have it already ☠


Exception when running vsdbg on RHEL

When I start vsdbg on a RHEL 7 based Docker container I get the following error:
terminate called after throwing an instance of 'vsdbg_exception'
what(): Pal initialization failed
Aborted
Anyone got any suggestions/ideas?

What version of the runtime are you using is this container? Do .NET apps run?

Oh, and what version of vsdbg are you using?

.Net Core Runtime version is 2.2.6
.Net Core SDK version is 2.2.401
VSDBG version is 16.3.10904.1 for linux_x64
Asp.Net Core apps run fine in container.


CppZMQ library version leveraged to 4.3.0.

Updates CppZMQ library to version 4.3.0. This resolves CMake issue: https://github.com/Microsoft/vcpkg/issues/3356

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: machpavel sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@3kwa I don't know when this will be merged into master branch, but in the meantime, you can always checkout my branch...

Thanks for the PR, looks great!
This regressed Windows (interestingly enough) due to the tests. We currently do not build tests for libraries, so I've disabled that along with slightly tweaking the installed cmake files.
Assuming this CI passes, LGTM!

You are very welcome!


Fix: Loading Saved Game Data

[This commit can be squashed into one commit if needed] :card_file_box:
This PR:

fixes loading saved game data.
It also makes the loading of data a bit more robust.
partially makes code to load a GameBoard{} more generic.

Looks good! I think it can be merged :smile:

Another PR (which fixes some constexpr errors) will arrive and be merged before this one is merged. Will close this PR for now. :)

Feel free to squash and merge when ready.
(12:00Z will do so automatically)


One

Workflow

diff --git a/One b/One
new file mode 100644
index 000000000..33bcda7b2
--- /dev/null
+++ b/One
@@ -0,0 +1,17 @@
+name: CI
+
+on: [push]
+
+jobs:

build:

runs-on: ubuntu-latest

steps:

uses: actions/checkout@v1

name: Run a one-line script

 run: echo Hello, world!

name: Run a multi-line script

 run: |

   echo Add other actions to build,

   echo test, and deploy your project.


E0401:Unable to import 'ip2geotools.databases.noncommercial'

Getting this error, when basic program in python

Please show (part of) your code. Which version of Python do you use?


Cycle error on destroy when updating from 12.0 to 12.2

I have issues
I see the following issue on destroy:
Error: Cycle: module.eks.aws_security_group_rule.cluster_https_worker_ingress[0] (destroy), module.eks.aws_security_group.workers[0] (destroy), module.eks.aws_eks_cluster.this[0] (destroy)
I'm submitting a...

[x] bug report

Explanation
I'm not using any security groups variables apart from  "worker_additional_security_group_ids", the issue seems to come after upgrading the module to 12.2 from 12.1 or 12.0 (probably 12.1 but not sure, sorry, I had ~> 12.0 set and don't remember when I did init)
Workaround
I downgraded to 12.1 and deleted the cluster successfully. Sadly, I have a few clusters I won't delete and I fear having further issues in the future.
Any thoughts?

We're seeing this too, I'm thinking its this change https://github.com/terraform-aws-modules/terraform-aws-eks/pull/933?

Annoying that you have to say "yes" to destroy in order to trigger the error. Makes debugging really time consuming using the module. It doesn't appear to happen with terraform 0.12.9 (module minimum version) but does with 0.12.28 (latest). So this is a terraform bug they introduced at some point. I wouldn't hold out much hope of this being addressed in 0.12 what with 0.13 being near to release.
This is related to Terraform storing dependency information in the state file. This is not correctly updated when an apply is performed that is not causing modification to the resource. So module.eks.aws_security_group.workers[0] still thinks it depends on module.eks.aws_eks_cluster.this[0] even though it doesn't in the Terraform config:
cat terraform.tfstate | jq '.resources[] | select(.type=="aws_security_group" and .name=="workers").instances[0].dependencies'
[
  "module.eks.aws_cloudwatch_log_group.this",
  "module.eks.aws_eks_cluster.this",
  "module.eks.aws_iam_role.cluster",
  "module.eks.aws_iam_role_policy_attachment.cluster_AmazonEKSClusterPolicy",
  "module.eks.aws_iam_role_policy_attachment.cluster_AmazonEKSServicePolicy",
  "module.eks.aws_security_group.cluster",
  "module.vpc.aws_subnet.private",
  "module.vpc.aws_vpc.this",
  "module.vpc.aws_vpc_ipv4_cidr_block_association.this",
  "random_string.suffix"
]

The only current solution is to break the cycle as seen by terraform. Manually delete the cluster_https_worker_ingress rule and then drop it from the state file:
terraform state show module.eks.aws_security_group_rule.cluster_https_worker_ingress[0]
aws ec2 revoke-security-group-ingress --group-id $security_group_id --source-group $source_security_group_id --port 443 --protocol tcp
terraform state rm module.eks.aws_security_group_rule.cluster_https_worker_ingress

I'll see if I can create a minimal working example and raise a Terraform issue.

Dealing with this as well. Not trying to judge here, but I am surprised that this was not caught by CI/CD.

What CI/CD? 😅 We're an unfunded open source community project.
I did test the upgrade and destroy but happened to use terraform 0.12.9 for ensuring it still works with the minimum version. Didn't check for bugs in the latest version.

Ran into this as well, though it appears to me that the interaction of terraform-aws-eks 12.2 and TF>= 0.12.20 may not be the entire story. So long as they are running with AWS provider ~> 2.70, I am able to successfully update the cluster. With AWS 3.0.0, updating the cluster runs into the cycle issue noted above. I've not yet had the opportunity to try simply deleting. Will update when I have the chance.

Did some testing. Given:

terraform 0.12.29
terraform-provider-aws 2.70.0

install terraform-aws-eks 12.1
upgrade to terraform-aws-eks 12.2
destroy

Steps 1 and 2 work without issues.
Step 3 (destroy) throws the cycle error:
Error: Cycle: module.eks.module.eks.aws_eks_cluster.this[0] (destroy), module.eks.module.eks.aws_security_group_rule.cluster_https_worker_ingress[0] (destroy), module.eks.module.eks.aws_security_group.workers[0] (destroy)

Yes, this is caused by a bug present in Terraform since 0.12.15.
Terraform never prunes dependency information from the state file leading to configuration drift. Unfortunately we've highlighted this bug by rearranging some of the dependencies in the module. More details in the Terraform issue: https://github.com/hashicorp/terraform/issues/25611

@dpiddock assuming I want to upgrade to module version 13.0.0 and also upgrade to terraform 0.13 should I do something in advance to avoid this?
I don't want to have to downgrade to 0.12 when I need to delete a cluster or do it manually, I'm not sure downgrading to 0.12 is even possible
thank you

I'm having the same issue here!
But, I have that error when I run terraform apply and. Then when I answer yes to apply the Plan I got this message:
Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

Error: Cycle: module.eks_cluster.aws_launch_template.workers_launch_template[0], module.eks_cluster.random_pet.workers_launch_template[0], module.eks_cluster.random_pet.workers_launch_template[0] (destroy deposed c67826c4), module.eks_cluster.aws_launch_template.workers_launch_template[1] (destroy), module.eks_cluster.aws_iam_instance_profile.workers_launch_template[1] (destroy)

Tested:

I tried running on Module version 12.0.0, 12.1.0 and 12.2.0
I tried running on Terraform version 0.12.24, 0.12.29

More context:

All of the resources have already been created, I'm trying to change the key_name of the key pair.

Module definition:
module "eks_cluster" {
  source = "terraform-aws-modules/eks/aws"
  version = "12.1.0"

  .....

  cluster_name                    = data.terraform_remote_state.reg.outputs.network.dashname
  cluster_version                 = "1.17"
  subnets                         = [for subnet in data.terraform_remote_state.reg.outputs.network.subnets.public : subnet.id]
  vpc_id                          = data.terraform_remote_state.reg.outputs.network.vpc.id
  enable_irsa                     = true
  kubeconfig_name                 = data.terraform_remote_state.reg.outputs.network.dashname
  cluster_endpoint_private_access = true

  ....

  worker_groups_launch_template = [
    {
      name                    = "spot01",
      override_instance_types = ["m5dn.xlarge"]
      spot_instance_pools     = 2
      asg_max_size            = 3
      asg_desired_capacity    = 3
      spot_price              = "0.11"
      kubelet_extra_args      = "--node-labels=kubernetes.io/lifecycle=spot"
      public_ip               = true
      key_name                = "ElevateDev"
      root_volume_size        = 30

      ....
    }
  ]
}

Thanks!

We solved a lot of issue about cycle error lastly. Can you please test this with the latest module's version ? See changelog for more info https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/CHANGELOG.md

Hi @barryib Thanks for your answer.
I have just tested with the latest version v13.2.1 and the result was the same error.
...
Initializing modules...
Downloading terraform-aws-modules/eks/aws 13.2.1 for eks_cluster...
- eks_cluster in .terraform/modules/eks_cluster
- eks_cluster.fargate in .terraform/modules/eks_cluster/modules/fargate
- eks_cluster.node_groups in .terraform/modules/eks_cluster/modules/node_groups

Initializing the backend...

Initializing provider plugins...

The following providers do not have any version constraints in configuration,
so the latest version was installed.
...

After applying the plan I got:
...
Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

Error: Cycle: module.eks_cluster.local.auth_launch_template_worker_roles, module.eks_cluster.local.configmap_roles, module.eks_cluster.kubernetes_config_map.aws_auth[0], module.eks_cluster.aws_launch_template.workers_launch_template[0], module.eks_cluster.aws_autoscaling_group.workers_launch_template[0], module.eks_cluster.random_pet.workers_launch_template[0] (destroy deposed 3c546aca), module.eks_cluster.aws_launch_template.workers_launch_template[1] (destroy), module.eks_cluster.aws_iam_instance_profile.workers_launch_template[1] (destroy), module.eks_cluster.random_pet.workers_launch_template[0]

@ingluife Can you please share your plan output ? Why Terraform wants to destroy module.eks_cluster.aws_iam_instance_profile.workers_launch_template and module.eks_cluster.aws_launch_template.workers_launch_template ? Did you change your worker groups order in var.workers_launch_templates ? Or Remove something in that list ?

Sure @barryib!

Did you change your worker groups order in var.workers_launch_templates ?:

Answer: No, I didn't.

Or Removed something in that list ?:

Answer: Yes, I changed the key_name on worker_groups_launch_template and update the ingress on one of SG additional_security_group_ids.
Terraform Plan:
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  + create
  ~ update in-place
  - destroy
+/- create replacement and then destroy

Terraform will perform the following actions:

  # aws_security_group.admin_ssh will be updated in-place
  ~ resource "aws_security_group" "admin_ssh" {
        arn                    = "arn:aws:ec2:XXXXXXXXX:...."
        description            = "nodes that can be connected to via ssh by administrators"
        egress                 = []
        id                     = "sg-ddddddd"
      ~ ingress                = [
            {
                cidr_blocks      = [
                    "x.x.x.x/32",
                ]
                description      = "Ingress1 "
                from_port        = 22
                ipv6_cidr_blocks = []
                prefix_list_ids  = []
                protocol         = "tcp"
                security_groups  = []
                self             = false
                to_port          = 22
            },
            {
                cidr_blocks      = [
                    "<IP_ADDRESS>/32",
                ]
                description      = "Ingress2"
                from_port        = 22
                ipv6_cidr_blocks = []
                prefix_list_ids  = []
                protocol         = "tcp"
                security_groups  = []
                self             = false
                to_port          = 22
            },
            {
                cidr_blocks      = [
                    "x.x.x.x/32",
                ]
                description      = "Ingress3"
                from_port        = 22
                ipv6_cidr_blocks = []
                prefix_list_ids  = []
                protocol         = "tcp"
                security_groups  = []
                self             = false
                to_port          = 22
            },
            {
                cidr_blocks      = [
                    "x.x.x.x/32",
                ]
                description      = "Ingress4"
                from_port        = 22
                ipv6_cidr_blocks = []
                prefix_list_ids  = []
                protocol         = "tcp"
                security_groups  = []
                self             = false
                to_port          = 22
            },
            {
                cidr_blocks      = [
                    "x.x.x.x/13",
                ]
                description      = "Ingress5"
                from_port        = 22
                ipv6_cidr_blocks = []
                prefix_list_ids  = []
                protocol         = "tcp"
                security_groups  = []
                self             = false
                to_port          = 22
            },
            {
                cidr_blocks      = [
                    "x.x.x.x/32",
                ]
                description      = "Ingress5"
                from_port        = 22
                ipv6_cidr_blocks = []
                prefix_list_ids  = []
                protocol         = "tcp"
                security_groups  = []
                self             = false
                to_port          = 22
            },
            {
                cidr_blocks      = [
                    "x.x.x.x/14",
                ]
                description      = "Ingress6"
                from_port        = 22
                ipv6_cidr_blocks = []
                prefix_list_ids  = []
                protocol         = "tcp"
                security_groups  = []
                self             = false
                to_port          = 22
            },
            {
                cidr_blocks      = [
                    "x.x.x.x/32",
                ]
                description      = "Ingress7"
                from_port        = 22
                ipv6_cidr_blocks = []
                prefix_list_ids  = []
                protocol         = "tcp"
                security_groups  = []
                self             = false
                to_port          = 22
            },
          - {
              - cidr_blocks      = [
                  - "x.x.x.x/32",
                ]
              - description      = "Ingress8"
              - from_port        = 22
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 22
            },
          + {
              + cidr_blocks      = [
                  + "x.x.x.x/32",
                ]
              + description      = "Ingress9"
              + from_port        = 22
              + ipv6_cidr_blocks = []
              + prefix_list_ids  = []
              + protocol         = "tcp"
              + security_groups  = []
              + self             = false
              + to_port          = 22
            },
            {
                cidr_blocks      = [
                    "x.x.x.x/13",
                ]
                description      = "Ingress10"
                from_port        = 22
                ipv6_cidr_blocks = []
                prefix_list_ids  = []
                protocol         = "tcp"
                security_groups  = []
                self             = false
                to_port          = 22
            },
            {
                cidr_blocks      = [
                    "x.x.x.x/12",
                ]
                description      = "Ingress11"
                from_port        = 22
                ipv6_cidr_blocks = []
                prefix_list_ids  = []
                protocol         = "tcp"
                security_groups  = []
                self             = false
                to_port          = 22
            },
        ]
        name                   = "terraform-20xxxxxx"
        owner_id               = "xxxxxxxxxxxxxxxxx"
        revoke_rules_on_delete = false
        tags                   = {}
        vpc_id                 = "vpc-xxxxxxxxxxx"
    }

  # module.eks_cluster.aws_autoscaling_group.workers_launch_template[0] will be updated in-place
  ~ resource "aws_autoscaling_group" "workers_launch_template" {
        arn                       = "arn:aws:autoscaling:us-west-2:xxxxxxxxxxxxxxxxxxxx"
        availability_zones        = [
            "us-west-2a",
            "us-west-2b",
        ]
        default_cooldown          = 300
        desired_capacity          = 3
        enabled_metrics           = []
        force_delete              = false
        health_check_grace_period = 300
        health_check_type         = "EC2"
        id                        = "dev-uxxxxxxxxxx"
        load_balancers            = []
        max_instance_lifetime     = 0
        max_size                  = 3
        metrics_granularity       = "1Minute"
        min_size                  = 1
        name                      = "dev-uxxxxxxxx"
        name_prefix               = "dev-usw2-spot01"
        protect_from_scale_in     = false
        service_linked_role_arn   = "arn:aws:iam::xxxxxxxxxxxxxxxx:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling"
        suspended_processes       = [
            "AZRebalance",
        ]
      ~ tags                      = [
          - {
              - "key"                 = "Name"
              - "propagate_at_launch" = "true"
              - "value"               = "dev-usw2-spot01-eks_asg"
            },
          - {
              - "key"                 = "kubernetes.io/cluster/xxxxxxxxxx"
              - "propagate_at_launch" = "true"
              - "value"               = "owned"
            },
        ]
        target_group_arns         = []
        termination_policies      = []
        vpc_zone_identifier       = [
            "subnet-xxxxxxxxx",
            "subnet-xxxxxxxxxx",
        ]
        wait_for_capacity_timeout = "10m"

        mixed_instances_policy {
            instances_distribution {
                on_demand_allocation_strategy            = "prioritized"
                on_demand_base_capacity                  = 0
                on_demand_percentage_above_base_capacity = 0
                spot_allocation_strategy                 = "lowest-price"
                spot_instance_pools                      = 2
            }

            launch_template {
                launch_template_specification {
                    launch_template_id   = "lt-0d1xxxxx55dfb92cxxxxxxxxxx"
                    launch_template_name = "dev-uxxxxxxxxxxxxxx"
                    version              = "$Latest"
                }

                override {
                    instance_type = "m5dn.xlarge"
                }
            }
        }

      + tag {
          + key                 = "Name"
          + propagate_at_launch = true
          + value               = "dev-usw2-spot01-eks_asg"
        }
      + tag {
          + key                 = "kubernetes.io/cluster/xxxxxxxxxxxx"
          + propagate_at_launch = true
          + value               = "owned"
        }
    }

  # module.eks_cluster.aws_autoscaling_group.workers_launch_template[1] will be destroyed
  - resource "aws_autoscaling_group" "workers_launch_template" {
      - arn                       = "arn:aws:autoscaling:us-west-2:xxxxxxxxxxxxxxxx:autoScalingGroup:xxxxxxxxxxxxxxxxx:autoScalingGroupName/dev-uxxxxxxxxxxx" -> null
      - availability_zones        = [
          - "us-west-2a",
          - "us-west-2b",
        ] -> null
      - default_cooldown          = 300 -> null
      - desired_capacity          = 3 -> null
      - enabled_metrics           = [] -> null
      - force_delete              = false -> null
      - health_check_grace_period = 300 -> null
      - health_check_type         = "EC2" -> null
      - id                        = "dev-usw2-mxxxxxxxxxx" -> null
      - load_balancers            = [] -> null
      - max_instance_lifetime     = 0 -> null
      - max_size                  = 3 -> null
      - metrics_granularity       = "1Minute" -> null
      - min_size                  = 1 -> null
      - name                      = "dev-usw2-mxxxxxxxxxxxxxxx" -> null
      - name_prefix               = "dev-usw2-main01" -> null
      - protect_from_scale_in     = false -> null
      - service_linked_role_arn   = "arn:aws:iam::xxxxxxxxxxxxxxxx:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling" -> null
      - suspended_processes       = [] -> null
      - tags                      = [
          - {
              - "key"                 = "Name"
              - "propagate_at_launch" = "true"
              - "value"               = "dev-usw2-main01-eks_asg"
            },
          - {
              - "key"                 = "kubernetes.io/cluster/xxxxxxxxxx"
              - "propagate_at_launch" = "true"
              - "value"               = "owned"
            },
        ] -> null
      - target_group_arns         = [] -> null
      - termination_policies      = [] -> null
      - vpc_zone_identifier       = [
          - "subnet-xxxxxxxxxxxxxx",
          - "subnet-zxxxxxxxxxxxxxxxxx",
        ] -> null
      - wait_for_capacity_timeout = "10m" -> null

      - launch_template {
          - id      = "lt-xxxxxxx" -> null
          - name    = "dev-usw2-mxxxxxxxxxxxx" -> null
          - version = "$Latest" -> null
        }
    }

  # module.eks_cluster.aws_iam_instance_profile.workers_launch_template[1] will be destroyed
  - resource "aws_iam_instance_profile" "workers_launch_template" {
      - arn         = "arn:aws:iam::xxxxxxxxxxx:instance-profile/dev-uxxxxxxxxxx" -> null
      - create_date = "2020-07-16T21:34:08Z" -> null
      - id          = "dev-uxxxxxxxxxxx" -> null
      - name        = "dev-uxxxxxxxxxxxxxxxxxxxx" -> null
      - name_prefix = "dev-usw2" -> null
      - path        = "/" -> null
      - role        = "dev-uxxxxxxxxxxxxxxxxxxxxx" -> null
      - unique_id   = "AIPXXXXXXXXXXXXXX" -> null
    }

  # module.eks_cluster.aws_iam_policy.cluster_elb_sl_role_creation[0] will be created
  + resource "aws_iam_policy" "cluster_elb_sl_role_creation" {
      + arn         = (known after apply)
      + description = "Permissions for EKS to create AWSServiceRoleForElasticLoadBalancing service-linked role"
      + id          = (known after apply)
      + name        = (known after apply)
      + name_prefix = "dev-uxxxxxxxxx-elb-sl-role-creation"
      + path        = "/"
      + policy      = jsonencode(
            {
              + Statement = [
                  + {
                      + Action   = [
                          + "ec2:DescribeInternetGateways",
                          + "ec2:DescribeAccountAttributes",
                        ]
                      + Effect   = "Allow"
                      + Resource = "*"
                      + Sid      = ""
                    },
                ]
              + Version   = "2012-10-17"
            }
        )
    }

  # module.eks_cluster.aws_iam_role_policy_attachment.cluster_AmazonEKSVPCResourceControllerPolicy[0] will be created
  + resource "aws_iam_role_policy_attachment" "cluster_AmazonEKSVPCResourceControllerPolicy" {
      + id         = (known after apply)
      + policy_arn = "arn:aws:iam::xxxxxxx"
      + role       = "dev-uxxxxxxxxxxxxxxxxxxxx"
    }

  # module.eks_cluster.aws_iam_role_policy_attachment.cluster_elb_sl_role_creation[0] will be created
  + resource "aws_iam_role_policy_attachment" "cluster_elb_sl_role_creation" {
      + id         = (known after apply)
      + policy_arn = (known after apply)
      + role       = "dev-uxxxxxxxxxxxxxxxx"
    }

  # module.eks_cluster.aws_launch_template.workers_launch_template[0] will be updated in-place
  ~ resource "aws_launch_template" "workers_launch_template" {
        arn                     = "arn:aws:ec2:us-west-2:xxxxxxxxxxx:launch-template/lt-xxxxxxxxxxxxxxxxxx"
        default_version         = 1
        disable_api_termination = false
        ebs_optimized           = "true"
        id                      = "lt-xxxxxxxxxxxxx"
      ~ image_id                = "ami-0e7c64dcd14089a77" -> "ami-0865553b27df49930"
        instance_type           = "m4.large"
        key_name                = "KeyName"
      ~ latest_version          = 3 -> (known after apply)
        name                    = "dev-uxxxxxxxx-sxxxxxxxxxxxxxx"
        name_prefix             = "dev-uxxxxxxx-spot01"
        security_group_names    = []
        tags                    = {}
        user_data               = "XXXXXmluL2Jhc2ggLxxxxxxxxxxxxxxxx"
        vpc_security_group_ids  = []

      + block_device_mappings {
          + device_name = "/dev/xvda"

          + ebs {
              + delete_on_termination = "true"
              + encrypted             = "false"
              + iops                  = 0
              + volume_size           = 30
              + volume_type           = "gp2"
            }
        }

        credit_specification {
            cpu_credits = "standard"
        }

        iam_instance_profile {
            name = "dev-usxxxxxxxxxxxxx"
        }

      + metadata_options {
          + http_endpoint = "enabled"
          + http_tokens   = "optional"
        }

        monitoring {
            enabled = true
        }

        network_interfaces {
            associate_public_ip_address = "true"
            delete_on_termination       = "true"
            device_index                = 0
            ipv4_address_count          = 0
            ipv4_addresses              = []
            ipv6_address_count          = 0
            ipv6_addresses              = []
            security_groups             = [
                "sg-01b4be739xxxxxxxxxx",
                "sg-05aexxxxx",
                "sg-xxxxef2a59xxxxxxxxxx",
            ]
        }

        tag_specifications {
            resource_type = "volume"
            tags          = {
                "Name" = "dev-usxx"
            }
        }
        tag_specifications {
            resource_type = "instance"
            tags          = {
                "Name" = "dev-usxxxx"
            }
        }
    }

  # module.eks_cluster.aws_launch_template.workers_launch_template[1] will be destroyed
  - resource "aws_launch_template" "workers_launch_template" {
      - arn                     = "arn:aws:ec2:us-west-2:xxxxxxxxxxxxx:launch-template/lt-xxxxxxxxxxxxxxxxx" -> null
      - default_version         = 1 -> null
      - disable_api_termination = false -> null
      - ebs_optimized           = "true" -> null
      - id                      = "lt-0dexxxxxxxx" -> null
      - image_id                = "ami-010e52511bbeb82e7" -> null
      - instance_type           = "m5dn.xlarge" -> null
      - key_name                = "oldKeyName" -> null
      - latest_version          = 1 -> null
      - name                    = "dev-usxxxxxxxxxxxxxx" -> null
      - name_prefix             = "dev-usssssssssaa-main01" -> null
      - security_group_names    = [] -> null
      - tags                    = {} -> null
      - user_data               = "IyEvYmluL2Jhc2ggLXhlCgojIEFsbG93IHVzZXIgxxxxxxxxxx" -> null
      - vpc_security_group_ids  = [] -> null

      - block_device_mappings {
          - device_name = "/dev/xvda" -> null

          - ebs {
              - delete_on_termination = "true" -> null
              - encrypted             = "false" -> null
              - iops                  = 0 -> null
              - volume_size           = 30 -> null
              - volume_type           = "gp2" -> null
            }
        }

      - credit_specification {
          - cpu_credits = "standard" -> null
        }

      - iam_instance_profile {
          - name = "dev-usxxxxxxxxxx" -> null
        }

      - monitoring {
          - enabled = true -> null
        }

      - network_interfaces {
          - associate_public_ip_address = "true" -> null
          - delete_on_termination       = "true" -> null
          - device_index                = 0 -> null
          - ipv4_address_count          = 0 -> null
          - ipv4_addresses              = [] -> null
          - ipv6_address_count          = 0 -> null
          - ipv6_addresses              = [] -> null
          - security_groups             = [
              - "sg-01b4be73xxxxx",
              - "sg-xx0ab294axxx",
              - "sg-09xxxxxxxxxxxxx",
            ] -> null
        }

      - tag_specifications {
          - resource_type = "volume" -> null
          - tags          = {
              - "Name" = "dev-ussssssssss-main01-eks_asg"
            } -> null
        }
      - tag_specifications {
          - resource_type = "instance" -> null
          - tags          = {
              - "Name" = "dev-usasassssa-main01-eks_asg"
            } -> null
        }
    }

  # module.eks_cluster.kubernetes_config_map.aws_auth[0] will be updated in-place
  ~ resource "kubernetes_config_map" "aws_auth" {
        binary_data = {}
        data        = {
            "mapAccounts" = jsonencode([])
            "mapRoles"    = <<~EOT
                - "groups":
                  - "system:bootstrappers"
                  - "system:nodes"
                  "rolearn": "arn:aws:iam::xxxxxxxxx:role/dev-uxxxxxxxxx"
                  "username": "system:node:{{EC2PrivateDNSName}}"
                - "groups":
                  - "system:masters"
                  "rolearn": "arn:aws:iam::xxxxxxxxxxx:role/role_name"
                  "username": "dev-cxxxxxxxxxxxx"
                - "groups":
                  - "system:masters"
                  "rolearn": "arn:aws:iam::xxxxxxxxxxxx:role/role_name"
                  "username": "dev-cxxxxxxxxxxxxx"
            EOT
            "mapUsers"    = jsonencode([])
        }
        id          = "kube-system/aws-auth"

      ~ metadata {
            annotations      = {}
            generation       = 0
          ~ labels           = {
              + "app.kubernetes.io/managed-by" = "Terraform"
              + "terraform.io/module"          = "terraform-aws-modules.eks.aws"
            }
            name             = "aws-auth"
            namespace        = "kube-system"
            resource_version = "5271277"
            self_link        = "/api/v1/namespaces/kube-system/configmaps/aws-auth"
            uid              = "819b7bxxxxxxxxx-xxxxxxx"
        }
    }

  # module.eks_cluster.local_file.kubeconfig[0] will be created
  + resource "local_file" "kubeconfig" {
      + content              = <<~EOT
            apiVersion: v1
            preferences: {}
            kind: Config

            clusters:
            - cluster:
                server: https://xxxxxxxxxxxxx.xxxxx7.xxxxxxxxxxxxxxx.eks.amazonaws.com
                certificate-authority-data: LSxxxxxXXXXXXXXXXXXXXXXXXXXX
              name: xxxxxxxxxxxxxxx

            contexts:
            - context:
                cluster: xxxxxxxxx
                user: xxxxxxxxx
              name: xxxxxxxxxxx

            current-context: xxxxxxxxxx

            users:
            - name: xxxxxxxxxxxxxxxxxxx
              user:
                exec:
                  apiVersion: client.authentication.k8s.io/v1alpha1
                  command: aws-iam-authenticator
                  args:
                    - "token"
                    - "-i"
                    - "xxxxxxxxxxxxxxx"
                  env:
                    - name: AWS_PROFILE
                      value: zxXZXXXXXXXXXXXX

        EOT
      + directory_permission = "0755"
      + file_permission      = "0644"
      + filename             = "./kubeconfig_xxxxxxxxxxx"
      + id                   = (known after apply)
    }

  # module.eks_cluster.random_pet.workers_launch_template[0] must be replaced
+/- resource "random_pet" "workers_launch_template" {
      ~ id        = "closing-shad" -> (known after apply)
      ~ keepers   = {
          - "lt_name" = "dev-uxxxxxxxxxx"
        } -> (known after apply) # forces replacement
        length    = 2
        separator = "-"
    }

  # module.eks_cluster.random_pet.workers_launch_template[1] will be destroyed
  - resource "random_pet" "workers_launch_template" {
      - id        = "united-cicada" -> null
      - keepers   = {
          - "lt_name" = "dev-uxxxxxxxxxxxxxxx"
        } -> null
      - length    = 2 -> null
      - separator = "-" -> null
    }

.........

Plan: 5 to add, 4 to change, 6 to destroy.

Thanks!

Or Removed something in that list ?:

Answer: Yes, I changed the key_name on worker_groups_launch_template and updated the ingress on one of SG >additional_security_group_ids.

How did you do to remove a worker group in var.worker_groups_launch_template ? I can see that you had 2 worker groups.
I'm trying to understand the cycle error. For now, I can't say with your plan, why module.eks_cluster.random_pet.workers_launch_template[0] depends on module.eks_cluster.aws_iam_instance_profile.workers_launch_template[1] in your error https://github.com/terraform-aws-modules/terraform-aws-eks/issues/950#issuecomment-727234278. It doesn't make sense to my understanding right now.
I'm trying to reproduce it.

I have faced the same issue.
With version 12.2 and later (tested with 14.0 too) I'm getting into cycle error when destroying the kubernetes infrastructure.
Current solution is to pin version to 12.1.0 to get unblocked.

I want to update this and state I too am receiving the same error currently using version 0.13.7

I wanted to update that I too am receiving this error, but I can get around it by simply running;
terraform state rm "module.eks.aws_security_group_rule.cluster_https_worker_ingress[0]"

There is no need to even remove the sg rule in aws, it'll get removed when the sg gets deleted.

Thank you!😄 I have been looking for a solution to this problem all day 🎉

can anybody test does this issue is still in current version of module?
@vbakayev @ingluife

@daroga0002 I'm working with these combinations:
1.)
     - Module: 13.0.0
     - Terraform:  v0.12.29
     - Provider AWS: v3.37.0

2.)
     - Module: 13.1.0
     - Terraform:  v0.12.31
     - Provider AWS: v3.55.0

and it's working perfectly.

Same issue
│ Error: Cycle: module.banyan.module.aks.output.aks_client_key (expand), module.banyan.module.aks.output.aks_client_certificate (expand), module.banyan.module.aks.output.aks_cluster_ca_certificate (expand), module.banyan.module.aks.var.resource_group_name (expand), module.banyan.module.flux.kubectl_manifest.sync["source.toolkit.fluxcd.io/v1beta1/gitrepository/flux-system/flux-system"] (destroy), module.banyan.module.aks.azurerm_kubernetes_cluster.azure-aks-cluster, module.banyan.module.aks.output.aks_host (expand), module.banyan.provider["registry.terraform.io/gavinbunney/kubectl"], module.banyan.module.flux.kubectl_manifest.sync["kustomize.toolkit.fluxcd.io/v1beta1/kustomization/flux-system/flux-system"] (destroy), module.banyan.module.aks.azurerm_kubernetes_cluster.azure-aks-cluster (destroy), module.banyan.module.resource-group.azurerm_resource_group.resource-group, module.banyan.module.resource-group.output.resource_group_name (expand)

I have the same issue. Any new update on this?

There are no new updates that will come here - the module has undergone significant changes since this issue was filed and closed


Tasks: for #34

[x] #36
[x] #37
[x] #41
[x] #38
[x] #40
[x] #39

chores done :+1: :1st_place_medal: :smiley:


Not an issue but a return of experience

Hi gladius
Maybe just a point about securityProperties.getAllowedPublicApis()
It should be useful to create another service method to take care of the regexp annotation antMatchers(securityProperties.getAllowedPublicApis()
I mean in complement of this method
public boolean isPublic() {
   return securityProperties.getAllowedPublicApis().contains(httpServletRequest.getRequestURI());
}

Something like that
	public boolean isPublic() {
		if (securityProperties.getAllowedPublicApis() == null || securityProperties.getAllowedPublicApis().isEmpty()) {
			return false; //By default 'false' for protection
		}

		for (String antRegexp : securityProperties.getAllowedPublicApis()) {
			AntPathRequestMatcher matcher = new AntPathRequestMatcher(antRegexp);
			if (matcher.matches(httpServletRequest)) {
				//LOG.info("--> IS  PUBLIC : "+httpServletRequest.getRequestURI()+" <==> "+antRegexp);
				return true;
			}
		}
		//LOG.info("--> NOT PUBLIC : "+httpServletRequest.getRequestURI());
		return false;
	}

@Sylvain-Assemat-DGC that is a really nice enhancement to have :) . If you have tested this piece of code already and don't mind creating a pull request, please go ahead, if not I will test this out and push during the weekend.

I found time to check on this. If I understand correctly, you are expecting an annotation like @isPublic which can be defined along with @RequestMapping to dynamically make a rest api public.
I couldn't find a straight forward way of doing this in sync with the existing flow right now, but will keep an eye out for doing this eventually.

Hi Gladius
I think that using the "contains" way to compare URL in the method "isPublic" is a little too restrictive.
The regexp way is more elegant and more suitable in the security configuration.
.antMatchers(securityProperties.getAllowedPublicApis().stream().toArray(String[]::new)).permitAll()
The antMacthers use antPatterns, that's why i advise to use regexp way.
No need to use an annotation, just un update with my previous code is enough to see the magic :-)


chore: update code reviewer rules

I don't know if it needs to be formalized (I imagine anything nontrivial here would end up touching the other stuff anyway) but on the C, sh, and cmake parts of https://github.com/ockam-network/ockam/tree/develop/implementations/elixir/ockam/ockam_vault_software I would like to be a reviewer.
That said, I'd like to move[^1] most of this into Rust, and will at some point when I have time. So it might not matter, since that stuff will change anyway.
[^1]: While the previous version of this C code used Rust, I gather it brought in a bunch of heavyweight dependencies, which is not needed.


fix: render correct filter pattern

fix #206

What is the result in the database ?

What is the result in the database ?

.+_(config|start)

When we read a deployment in the database, how do we know if this is a regex or a glob pattern ?

When we read a deployment in the database, how do we know if this is a regex or a glob pattern ?

Added filter type in deploymentlog model


it`s not work

it`s report:   Error: Uncaught ReferenceError: age is not defined.
【html】

【js】
var routes = [
{ path: '/form1', component: {template:"{{name}}"}} ,
{ path: '/form2', component: {template:"{{age}}"}}
];
var router = new VueRouter({ routes});
var app = new Vue({
el:'#viewApp',
data:{
name:'cx',
age:12,
},
router,
});

Please ask questions on the forum or StackOverflow.

The age variable is referring to the inline component. Take a look at the docs: https://vuejs.org/guide/ 😉


Image asset "unassigned" issue

Description
I'm not sure whether the issue is from Xcode side or SPM side.
If there's any image that uses other characters, not English, I always face the image-unassigned issue whenever I clone or pull a branch of my Swift package repository.
Expected behavior
It should be built fine even if the image uses other language characters.

Actual behavior
I always face the issues saying:

The file "{IMAGE.FILE.NAME}" for the image set "{IMAGE.SET.NAME}" does not exist.
The image set "{IMAGE.SET.NAME}" has 3 unassigned children

Steps to reproduce

Create a new Swift package and add resource to the target.
Create an image set and assign image files that use other language characters for their names.
Push to remote.
Clone the repository with a new path.
Build.

Swift Package Manager version/commit hash
0.6.0
Swift & OS version (output of swift --version ; uname -a)

Xcode15, Swift 5.9 (swift --version output)
Swift Package compiler version is set to 5.7.1

Sounds like an issue with asset catalog handling itself which is part of Xcode. Please file this through http://feedbackassistant.apple.com instead.


Refactor api-sdk tests to make them more atomic

Description
The idea is to remove the let apiSdk: ApiSdk variable from here to make the api-sdk tests more atomic. Then the assignments should be all constants: const apiSdk = new ApiSdk(... instead of apiSdk = new ApiSdk(....

Can I jump on this task?

Hey @jaykayudo! Yes. Do you want me to assign this issue to you?

Hey @jaykayudo! Yes. Do you want me to assign this issue to you?

@vplasencia Yes. I will like that.

Hey @jaykayudo! Done. Feel free to ask any questions you may have.

@vplasencia  PR made.


lab 2

Lab 2 pdf, check google drive for slides
Overleaf link: https://www.overleaf.com/4858576929rspbfqxnhgvt

Adds updated lab 2 materials and week 2 slides