Keyboard unexpectedly closes if its in a bottomSheet of a named Route

Issue
If I'm tapping on a TextField inside a Bottom Sheet of a Scaffold of a Page which is not the home page, the keyboard disappears.
This behavior also occures on the home screen if i set:
MaterialApp(
      routes: {
        'home':(_) => Home(),
        'secondPage': (_) => SecondPage(),
      },
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      initalRoute: 'home',
    );

Steps to Reproduce

Tap on the Textfield on the Bottom. => Normal behavior
Tap on the red Button => Navigation to 2nd screen
Tap on the Textfield on the Bottom. => Keyboard does not stay open.

Sample Code
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      routes: {
        'secondPage': (_) => SecondPage(),
      },
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Home(),
    );
  }
}

class Home extends StatefulWidget {
  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('it does work here'),
      ),
      body: Center(
        child: FlatButton(
            onPressed: () => Navigator.of(context).pushNamed('secondPage'),
            child: Container(
              width: 123,
              height: 23,
              color: Colors.red,
              child: Text(
                '2nd Page',
                textAlign: TextAlign.center,
              ),
            )),
      ),
      bottomSheet: Container(
        width: double.infinity,
        color: Colors.lightGreen,
        height: 90,
        child: Center(child: Container(width: 200, child: TextField())),
      ),
    );
  }
}

class SecondPage extends StatefulWidget {
  SecondPage({Key key}) : super(key: key);

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

class _SecondPageState extends State<SecondPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('it does not work here'),
      ),
      bottomSheet: Container(
        width: double.infinity,
        color: Colors.lightGreen,
        height: 90,
        child: Center(child: Container(width: 200, child: TextField())),
      ),
    );
  }
}

Logs
    ACTION = build
               AD_HOC_CODE_SIGNING_ALLOWED = NO
               ALTERNATE_GROUP = staff
               ALTERNATE_MODE = u+w,go-w,a+rX
               ALTERNATE_OWNER = mhein
               ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO
               ALWAYS_SEARCH_USER_PATHS = NO
               ALWAYS_USE_SEPARATE_HEADERMAPS = NO
               APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
               APPLE_INTERNAL_DIR = /AppleInternal
               APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
               APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
               APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
               APPLICATION_EXTENSION_API_ONLY = NO
               APPLY_RULES_IN_COPY_FILES = NO
               ARCHS = armv7 arm64
               ARCHS_STANDARD = armv7 arm64
               ARCHS_STANDARD_32_64_BIT = armv7 arm64
               ARCHS_STANDARD_32_BIT = armv7
               ARCHS_STANDARD_64_BIT = arm64
               ARCHS_STANDARD_INCLUDING_64_BIT = armv7 arm64
               ARCHS_UNIVERSAL_IPHONE_OS = armv7 arm64
               ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
               AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator
               BITCODE_GENERATION_MODE = marker
               BUILD_ACTIVE_RESOURCES_ONLY = NO
               BUILD_COMPONENTS = headers build
               BUILD_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios
               BUILD_ROOT = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios
               BUILD_STYLE =
               BUILD_VARIANTS = normal
               BUILT_PRODUCTS_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Release-iphoneos
               CACHE_ROOT = /var/folders/cv/w2jpfd_j59l92p6zyb878fc80000gp/C/com.apple.DeveloperTools/10.2.1-10E1001/Xcode
               CCHROOT = /var/folders/cv/w2jpfd_j59l92p6zyb878fc80000gp/C/com.apple.DeveloperTools/10.2.1-10E1001/Xcode
               CHMOD = /bin/chmod
               CHOWN = /usr/sbin/chown
               CLANG_ANALYZER_NONNULL = YES
               CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
               CLANG_CXX_LIBRARY = libc++
               CLANG_ENABLE_MODULES = YES
               CLANG_ENABLE_OBJC_ARC = YES
               CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
               CLANG_WARN_BOOL_CONVERSION = YES
               CLANG_WARN_COMMA = YES
               CLANG_WARN_CONSTANT_CONVERSION = YES
               CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES
               CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
               CLANG_WARN_EMPTY_BODY = YES
               CLANG_WARN_ENUM_CONVERSION = YES
               CLANG_WARN_INFINITE_RECURSION = YES
               CLANG_WARN_INT_CONVERSION = YES
               CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
               CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
               CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
               CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
               CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
               CLANG_WARN_STRICT_PROTOTYPES = YES
               CLANG_WARN_SUSPICIOUS_MOVE = YES
               CLANG_WARN_UNREACHABLE_CODE = YES
               CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
               CLASS_FILE_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/JavaClasses
               CLEAN_PRECOMPS = YES
               CLONE_HEADERS = NO
               CODESIGNING_FOLDER_PATH = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Release-iphoneos/Runner.app
               CODE_SIGNING_ALLOWED = YES
               CODE_SIGNING_REQUIRED = YES
               CODE_SIGN_CONTEXT_CLASS = XCiPhoneOSCodeSignContext
               CODE_SIGN_IDENTITY = iPhone Developer
               CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES
               COLOR_DIAGNOSTICS = NO
               COMBINE_HIDPI_IMAGES = NO
               COMPILER_INDEX_STORE_ENABLE = Default
               COMPOSITE_SDK_DIRS = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/CompositeSDKs
               COMPRESS_PNG_FILES = YES
               CONFIGURATION = Release
               CONFIGURATION_BUILD_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Release-iphoneos
               CONFIGURATION_TEMP_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos
               CONTENTS_FOLDER_PATH = Runner.app
               COPYING_PRESERVES_HFS_DATA = NO
               COPY_HEADERS_RUN_UNIFDEF = NO
               COPY_PHASE_STRIP = NO
               COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
               CORRESPONDING_SIMULATOR_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
               CORRESPONDING_SIMULATOR_PLATFORM_NAME = iphonesimulator
               CORRESPONDING_SIMULATOR_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk
               CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator12.2
               CP = /bin/cp
               CREATE_INFOPLIST_SECTION_IN_BINARY = NO
               CURRENT_ARCH = arm64
               CURRENT_PROJECT_VERSION = 1
               CURRENT_VARIANT = normal
               DEAD_CODE_STRIPPING = YES
               DEBUGGING_SYMBOLS = YES
               DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
               DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
               DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
               DEFINES_MODULE = NO
               DEPLOYMENT_LOCATION = NO
               DEPLOYMENT_POSTPROCESSING = NO
               DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
               DEPLOYMENT_TARGET_CLANG_FLAG_NAME = miphoneos-version-min
               DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -miphoneos-version-min=
               DEPLOYMENT_TARGET_LD_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
               DEPLOYMENT_TARGET_LD_FLAG_NAME = ios_version_min
               DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
               DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0 12.1 12.2
               DERIVED_FILES_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
               DERIVED_FILE_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
               DERIVED_SOURCES_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
               DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
               DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
               DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
               DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
               DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
               DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library
               DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
               DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools
               DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
               DEVELOPMENT_LANGUAGE = en
               DOCUMENTATION_FOLDER_PATH = Runner.app/en.lproj/Documentation
               DO_HEADER_SCANNING_IN_JAM = NO
               DSTROOT = /tmp/Runner.dst
               DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
               DWARF_DSYM_FILE_NAME = Runner.app.dSYM
               DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
               DWARF_DSYM_FOLDER_PATH = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Release-iphoneos
               EFFECTIVE_PLATFORM_NAME = -iphoneos
               EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
               EMBEDDED_PROFILE_NAME = embedded.mobileprovision
               EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
               ENABLE_BITCODE = NO
               ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
               ENABLE_HEADER_DEPENDENCIES = YES
               ENABLE_NS_ASSERTIONS = NO
               ENABLE_ON_DEMAND_RESOURCES = YES
               ENABLE_STRICT_OBJC_MSGSEND = YES
               ENABLE_TESTABILITY = NO
               ENTITLEMENTS_ALLOWED = YES
               ENTITLEMENTS_DESTINATION = Signature
               ENTITLEMENTS_REQUIRED = YES
               EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS
               EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj
               EXECUTABLES_FOLDER_PATH = Runner.app/Executables
               EXECUTABLE_FOLDER_PATH = Runner.app
               EXECUTABLE_NAME = Runner
               EXECUTABLE_PATH = Runner.app/Runner
               EXPANDED_CODE_SIGN_IDENTITY =
               EXPANDED_CODE_SIGN_IDENTITY_NAME =
               EXPANDED_PROVISIONING_PROFILE =
               FILE_LIST = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects/LinkFileList
               FIXED_FILES_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/FixedFiles
               FLUTTER_APPLICATION_PATH = /Users/mhein/AndroidStudioProjects/flutter_app
               FLUTTER_BUILD_DIR = build
               FLUTTER_BUILD_NAME = 1.0.0
               FLUTTER_BUILD_NUMBER = 1
               FLUTTER_FRAMEWORK_DIR = /Users/mhein/Documents/flutter/bin/cache/artifacts/engine/ios
               FLUTTER_ROOT = /Users/mhein/Documents/flutter
               FLUTTER_TARGET = /Users/mhein/AndroidStudioProjects/flutter_app/lib/main.dart
               FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks
               FRAMEWORK_FLAG_PREFIX = -framework
               FRAMEWORK_SEARCH_PATHS =  /Users/mhein/AndroidStudioProjects/flutter_app/ios/Flutter
               FRAMEWORK_VERSION = A
               FULL_PRODUCT_NAME = Runner.app
               GCC3_VERSION = 3.3
               GCC_C_LANGUAGE_STANDARD = gnu99
               GCC_INLINES_ARE_PRIVATE_EXTERN = YES
               GCC_NO_COMMON_BLOCKS = YES
               GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
               GCC_SYMBOLS_PRIVATE_EXTERN = YES
               GCC_THUMB_SUPPORT = YES
               GCC_TREAT_WARNINGS_AS_ERRORS = NO
               GCC_VERSION = com.apple.compilers.llvm.clang.1_0
               GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
               GCC_WARN_64_TO_32_BIT_CONVERSION = YES
               GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
               GCC_WARN_UNDECLARED_SELECTOR = YES
               GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
               GCC_WARN_UNUSED_FUNCTION = YES
               GCC_WARN_UNUSED_VARIABLE = YES
               GENERATE_MASTER_OBJECT_FILE = NO
               GENERATE_PKGINFO_FILE = YES
               GENERATE_PROFILING_CODE = NO
               GENERATE_TEXT_BASED_STUBS = NO
               GID = 20
               GROUP = staff
               HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
               HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
               HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
               HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
               HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
               HEADERMAP_USES_VFS = NO
               HIDE_BITCODE_SYMBOLS = YES
               HOME = /Users/mhein
               ICONV = /usr/bin/iconv
               INFOPLIST_EXPAND_BUILD_SETTINGS = YES
               INFOPLIST_FILE = Runner/Info.plist
               INFOPLIST_OUTPUT_FORMAT = binary
               INFOPLIST_PATH = Runner.app/Info.plist
               INFOPLIST_PREPROCESS = NO
               INFOSTRINGS_PATH = Runner.app/en.lproj/InfoPlist.strings
               INLINE_PRIVATE_FRAMEWORKS = NO
               INSTALLHDRS_COPY_PHASE = NO
               INSTALLHDRS_SCRIPT_PHASE = NO
               INSTALL_DIR = /tmp/Runner.dst/Applications
               INSTALL_GROUP = staff
               INSTALL_MODE_FLAG = u+w,go-w,a+rX
               INSTALL_OWNER = mhein
               INSTALL_PATH = /Applications
               INSTALL_ROOT = /tmp/Runner.dst
               IPHONEOS_DEPLOYMENT_TARGET = 8.0
               JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8
               JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
               JAVA_ARCHIVE_CLASSES = YES
               JAVA_ARCHIVE_TYPE = JAR
               JAVA_COMPILER = /usr/bin/javac
               JAVA_FOLDER_PATH = Runner.app/Java
               JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
               JAVA_JAR_FLAGS = cv
               JAVA_SOURCE_SUBDIR = .
               JAVA_USE_DEPENDENCIES = YES
               JAVA_ZIP_FLAGS = -urg
               JIKES_DEFAULT_FLAGS = +E +OLDCSO
               KASAN_DEFAULT_CFLAGS = -DKASAN=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow
               KEEP_PRIVATE_EXTERNS = NO
               LD_DEPENDENCY_INFO_FILE = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/Runner_dependency_info.dat
               LD_GENERATE_MAP_FILE = NO
               LD_MAP_FILE_PATH = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/Runner-LinkMap-normal-arm64.txt
               LD_NO_PIE = NO
               LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
               LD_RUNPATH_SEARCH_PATHS =  @executable_path/Frameworks
               LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
               LEX = lex
               LIBRARY_FLAG_NOSPACE = YES
               LIBRARY_FLAG_PREFIX = -l
               LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
               LIBRARY_SEARCH_PATHS =  /Users/mhein/AndroidStudioProjects/flutter_app/ios/Flutter
               LINKER_DISPLAYS_MANGLED_NAMES = NO
               LINK_FILE_LIST_normal_arm64 =
               LINK_FILE_LIST_normal_armv7 =
               LINK_WITH_STANDARD_LIBRARIES = YES
               LOCALIZABLE_CONTENT_DIR =
               LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/en.lproj
               LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFLocalizedString
               LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
               LOCAL_APPS_DIR = /Applications
               LOCAL_DEVELOPER_DIR = /Library/Developer
               LOCAL_LIBRARY_DIR = /Library
               LOCROOT =
               LOCSYMROOT =
               MACH_O_TYPE = mh_execute
               MAC_OS_X_PRODUCT_BUILD_VERSION = 18F132
               MAC_OS_X_VERSION_ACTUAL = 101405
               MAC_OS_X_VERSION_MAJOR = 101400
               MAC_OS_X_VERSION_MINOR = 1405
               METAL_LIBRARY_FILE_BASE = default
               METAL_LIBRARY_OUTPUT_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Release-iphoneos/Runner.app
               MODULE_CACHE_DIR = /Users/mhein/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
               MTL_ENABLE_DEBUG_INFO = NO
               NATIVE_ARCH = armv7
               NATIVE_ARCH_32_BIT = i386
               NATIVE_ARCH_64_BIT = x86_64
               NATIVE_ARCH_ACTUAL = x86_64
               NO_COMMON = YES
               OBJECT_FILE_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects
               OBJECT_FILE_DIR_normal = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal
               OBJROOT = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios
               ONLY_ACTIVE_ARCH = NO
               OS = MACOS
               OSAC = /usr/bin/osacompile
               PACKAGE_TYPE = com.apple.package-type.wrapper.application
               PASCAL_STRINGS = YES
               PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/Users/mhein/.fastlane/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/Documents/flutter/bin
               PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs
               /Applications/Xcode.app/Contents/Developer/Platforms
               PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist
               PFE_FILE_C_DIALECTS = objective-c
               PKGINFO_FILE_PATH = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/PkgInfo
               PKGINFO_PATH = Runner.app/PkgInfo
               PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications
               PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
               PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
               PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
               PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools
               PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
               PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
               PLATFORM_DISPLAY_NAME = iOS
               PLATFORM_NAME = iphoneos
               PLATFORM_PREFERRED_ARCH = arm64
               PLATFORM_PRODUCT_BUILD_VERSION = 16E226
               PLIST_FILE_OUTPUT_FORMAT = binary
               PLUGINS_FOLDER_PATH = Runner.app/PlugIns
               PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
               PRECOMP_DESTINATION_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/PrefixHeaders
               PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
               PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders
               PRODUCT_BUNDLE_IDENTIFIER = multamadio.de.flutterApp
               PRODUCT_MODULE_NAME = Runner
               PRODUCT_NAME = Runner
               PRODUCT_SETTINGS_PATH = /Users/mhein/AndroidStudioProjects/flutter_app/ios/Runner/Info.plist
               PRODUCT_TYPE = com.apple.product-type.application
               PROFILING_CODE = NO
               PROJECT = Runner
               PROJECT_DERIVED_FILE_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/DerivedSources
               PROJECT_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/ios
               PROJECT_FILE_PATH = /Users/mhein/AndroidStudioProjects/flutter_app/ios/Runner.xcodeproj
               PROJECT_NAME = Runner
               PROJECT_TEMP_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build
               PROJECT_TEMP_ROOT = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios
               PROVISIONING_PROFILE_REQUIRED = YES
               PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers
               RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
               REMOVE_CVS_FROM_RESOURCES = YES
               REMOVE_GIT_FROM_RESOURCES = YES
               REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
               REMOVE_HG_FROM_RESOURCES = YES
               REMOVE_SVN_FROM_RESOURCES = YES
               RESOURCE_RULES_REQUIRED = YES
               REZ_COLLECTOR_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerResources
               REZ_OBJECTS_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerResources/Objects
               SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
               SCRIPTS_FOLDER_PATH = Runner.app/Scripts
               SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk
               SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk
               SDK_DIR_iphoneos12_2 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk
               SDK_NAME = iphoneos12.2
               SDK_NAMES = iphoneos12.2
               SDK_PRODUCT_BUILD_VERSION = 16E226
               SDK_VERSION = 12.2
               SDK_VERSION_ACTUAL = 120200
               SDK_VERSION_MAJOR = 120000
               SDK_VERSION_MINOR = 200
               SED = /usr/bin/sed
               SEPARATE_STRIP = NO
               SEPARATE_SYMBOL_EDIT = NO
               SET_DIR_MODE_OWNER_GROUP = YES
               SET_FILE_MODE_OWNER_GROUP = NO
               SHALLOW_BUNDLE = YES
               SHARED_DERIVED_FILE_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Release-iphoneos/DerivedSources
               SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks
               SHARED_PRECOMPS_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/SharedPrecompiledHeaders
               SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport
               SKIP_INSTALL = NO
               SOURCE_ROOT = /Users/mhein/AndroidStudioProjects/flutter_app/ios
               SRCROOT = /Users/mhein/AndroidStudioProjects/flutter_app/ios
               STRINGS_FILE_OUTPUT_ENCODING = binary
               STRIP_BITCODE_FROM_COPIED_FILES = YES
               STRIP_INSTALLED_PRODUCT = YES
               STRIP_STYLE = all
               STRIP_SWIFT_SYMBOLS = YES
               SUPPORTED_DEVICE_FAMILIES = 1,2
               SUPPORTED_PLATFORMS = iphonesimulator iphoneos
               SUPPORTS_TEXT_BASED_API = NO
               SWIFT_COMPILATION_MODE = wholemodule
               SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h
               SWIFT_OPTIMIZATION_LEVEL = -O
               SWIFT_PLATFORM_TARGET_PREFIX = ios
               SWIFT_SWIFT3_OBJC_INFERENCE = On
               SWIFT_VERSION = 4.0
               SYMROOT = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios
               SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities
               SYSTEM_APPS_DIR = /Applications
               SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices
               SYSTEM_DEMOS_DIR = /Applications/Extras
               SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
               SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
               SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples
               SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
               SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library
               SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools
               SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools
               SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools
               SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes
               SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools
               SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools
               SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools
               SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
               SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities
               SYSTEM_DOCUMENTATION_DIR = /Library/Documentation
               SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions
               SYSTEM_LIBRARY_DIR = /System/Library
               TAPI_VERIFY_MODE = ErrorsOnly
               TARGETED_DEVICE_FAMILY = 1,2
               TARGETNAME = Runner
               TARGET_BUILD_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Release-iphoneos
               TARGET_NAME = Runner
               TARGET_TEMP_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build
               TEMP_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build
               TEMP_FILES_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build
               TEMP_FILE_DIR = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios/Runner.build/Release-iphoneos/Runner.build
               TEMP_ROOT = /Users/mhein/AndroidStudioProjects/flutter_app/build/ios
               TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
               TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
               UID = 502
               UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app
               UNSTRIPPED_PRODUCT = NO
               USER = mhein
               USER_APPS_DIR = /Users/mhein/Applications
               USER_LIBRARY_DIR = /Users/mhein/Library
               USE_DYNAMIC_NO_PIC = YES
               USE_HEADERMAP = YES
               USE_HEADER_SYMLINKS = NO
               VALIDATE_PRODUCT = YES
               VALID_ARCHS = arm64 arm64e armv7 armv7s
               VERBOSE_PBXCP = NO
               VERSIONING_SYSTEM = apple-generic
               VERSIONPLIST_PATH = Runner.app/version.plist
               VERSION_INFO_BUILDER = mhein
               VERSION_INFO_FILE = Runner_vers.c
               VERSION_INFO_STRING = "@(#)PROGRAM:Runner  PROJECT:Runner-1"
               WRAPPER_EXTENSION = app
               WRAPPER_NAME = Runner.app
               WRAPPER_SUFFIX = .app
               WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO
               XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode
               XCODE_PRODUCT_BUILD_VERSION = 10E1001
               XCODE_VERSION_ACTUAL = 1021
               XCODE_VERSION_MAJOR = 1000
               XCODE_VERSION_MINOR = 1020
               XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices
               YACC = yacc
               arch = arm64
               variant = normal

Flutter analyze
Analyzing flutter_app...
No issues found! (ran in 1.6s)

Flutter doctor
[✓] Flutter (Channel stable, v1.7.8+hotfix.3, on Mac OS X 10.14.5 18F132, locale de-DE)
    • Flutter version 1.7.8+hotfix.3 at /Users/mhein/Documents/flutter
    • Framework revision b712a172f9 (7 days ago), 2019-07-09 13:14:38 -0700
    • Engine revision 54ad777fd2
    • Dart version 2.4.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/mhein/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • CocoaPods version 1.7.0

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 37.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.36.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.2.0

[✓] Connected device (1 available)
    • iPhone X • 722C7839-1DF7-4E11-837F-0CFBC9E4041D • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

Update 1:
Providing a Global Key to the Container in the bottom Sheet forces the keyboard to stay alive, but then a red screen flickers on Ios and i get the following error:
I/flutter (15864): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (15864): The following assertion was thrown while finalizing the widget tree:
I/flutter (15864): Duplicate GlobalKey detected in widget tree.
I/flutter (15864): The following GlobalKey was specified multiple times in the widget tree. This will lead to parts of
I/flutter (15864): the widget tree being truncated unexpectedly, because the second time a key is seen, the previous
I/flutter (15864): instance is moved to the new location. The key was:
I/flutter (15864): - [GlobalKey#06a16]
I/flutter (15864): This was determined by noticing that after the widget with the above global key was moved out of its
I/flutter (15864): previous parent, that previous parent never updated during this frame, meaning that it either did
I/flutter (15864): not update at all or updated before the widget was moved, in either case implying that it still
I/flutter (15864): thinks that it should have a child with that global key.
I/flutter (15864): The specific parent that did not update after having one or more children forcibly removed due to
I/flutter (15864): GlobalKey reparenting is:
I/flutter (15864): - _InheritedResetNotifier
I/flutter (15864): A GlobalKey can only be specified on one widget at a time in the widget tree.
I/flutter (15864):
I/flutter (15864): When the exception was thrown, this was the stack:
I/flutter (15864): #0      BuildOwner.finalizeTree.<anonymous closure> (package:flutter/src/widgets/framework.dart:2485:15)
I/flutter (15864): #1      BuildOwner.finalizeTree (package:flutter/src/widgets/framework.dart:2510:8)
I/flutter (15864): #2      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:702:18)
I/flutter (15864): #3      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5)
I/flutter (15864): #4      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1016:15)
I/flutter (15864): #5      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:958:9)
I/flutter (15864): #6      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:874:5)
I/flutter (15864): #10     _invoke (dart:ui/hooks.dart:236:10)
I/flutter (15864): #11     _drawFrame (dart:ui/hooks.dart:194:3)
I/flutter (15864): (elided 3 frames from package dart:async)
I/flutter (15864): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/HwSecImmHelper(15864): mSecurityInputMethodService is null
I/flutter (15864): Another exception was thrown: Duplicate GlobalKey detected in widget tree.

updated CodeSnippet:
class SecondPage extends StatefulWidget {
  SecondPage({Key key}) : super(key: key);

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

class _SecondPageState extends State<SecondPage> {
  static final Key _key = GlobalKey();
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('it does not work here'),
      ),
      bottomSheet: Container(
        key: _key,
        width: double.infinity,
        color: Colors.lightGreen,
        height: 90,
        child: Center(child: Container(width: 200, child: TextField())),
      ),
    );
  }
}

Addition, Not using Named Routes solves the problem. => Is there a bug in the Named Routes? Or do I use them wrong?

Thank you Menelphor, you solved it!

Hi @Menelphor
given your last message I feel safe to close this issue,
if you disagree please write in the comments and I will reopen it.
Thank you

You also can wrapped it with stack then using Positioned with bottom: 0..


Automatically add reviewers

Currently, when you open a pull request, you can add reviewers, but no reviewer is automatically assigned to the pull request.
But:

At least 1 approving review is required by reviewers with write access.

For contributors, and especially for new contributors, it may be difficult to choose reviewers.
Consider adding reviewers automatically from the GitHub group.

something like this? https://github.com/marketplace/actions/auto-request-review


After building , navigating to "app1" gives 404

Hi @joeldenning @Vallerious ,

cd navbar && npm ci && npm run build:single-spa
cd ../app1 && npm ci && npm run build:single-spa
cd ../app2 && npm ci && npm run build:single-spa
cd .. && mkdir static && cp -a navbar/dist app1/dist app2/dist static
cp root-html-file/index.html static
sed -i 's/http://localhost:4201/main//dist/app1/main/g' static/index.html
sed -i 's/http://localhost:4202/main//dist/app2/main/g' static/index.html
sed -i 's/http://localhost:4300/main//dist/navbar/main/g' static/index.html
cp static/index.html static/200.html
echo "The static directory uploaded to surge:"
find static

i tried to build by using above steps, i've got my static  folder ready, When i put static folder inside apache or other server, I was able to load initial page properly.
The issue is when i navigate to '/app1' or '/app2' 'm getting 404 error.
Can you please help.

Hi @ajaykumarsana !
You would have to tell apache to serve the index.html on every request, no matter if it's /app1, /app2, /, /some-other.
single-spa-router would take care of the in-app routing.
By the way, you have double slashes in your sed command (http://localhost:4201/main//dist/app1/main/g). How does that work?

Hi @ajaykumarsana !
You would have to tell apache to serve the index.html on every request, no matter if it's /app1, /app2, /, /some-other.
single-spa-router would take care of the in-app routing.
By the way, you have double slashes in your sed command (http://localhost:4201/main//dist/app1/main/g). How does that work?

Hi @Vallerious ,
Thanks for response,
i manually replaced 'http://localhost:4201/main.js' with  '/dist/app1/main.js' .
And Could you please tell me how to tell apche to serve index.html for every request?

@Vallerious , @joeldenning
Any solution?


[Rendering] Cards overlap on IPad

Target Platforms
iOS
SDK Version
Adpative Card 1.4
Application Name
Microsoft Teams
Problem Description
Sometimes cards are not displayed right on iPad. On the screenshot you see how on card cuts the other and hides some of the content.
IPad
Version: 15.4.1
Model: IPad Air (4. Generation)
Screenshots

Card JSON
Not related to the card.json

Sample Code Language
No response
Sample Code
No response

This issue has been copied over to Microsoft Teams repo here: https://github.com/MicrosoftDocs/msteams-docs/issues/6110


Gardener upgrade overwrites shoot backup schedule

We keep our shoot definitions in git and when we apply changes we simply kubectl apply -f my-shoot.yaml
I've changed the autoScaler values and applied the shoot definition and then I realised that etcd-main-0 pod was replaced for that shoot.
I asked on gardener slack channel what kind of changes on the shoot definition can cause an update on etcd-main statefulset and I been told:
only if you change the backup section it will affect etcd
So I checked our shoot definition and realised that there is a difference between what we have in git and the actual shoot definition on garden cluster.
I realised that when we upgrade gardener that overwrites the backup schedule on the shoots definitions causing the misalignment between what we have in git and what is actually on garden cluster.
gardener v0.13.1 to gardener v0.13.4 example:
kubectl get deploy -n garden -o wide
NAME                          DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE   CONTAINERS                    IMAGES                                                          SELECTOR
gardener-apiserver            1         1         1            1           93d   gardener-apiserver            eu.gcr.io/gardener-project/gardener/apiserver:0.13.1            app=gardener,role=apiserver
gardener-controller-manager   1         1         1            1           93d   gardener-controller-manager   eu.gcr.io/gardener-project/gardener/controller-manager:0.13.1   app=gardener,role=controller-manager
gardener-metrics-exporter     1         1         1            1           86d   gardener-metrics-exporter     eu.gcr.io/gardener-project/gardener/metrics-exporter:latest     app=gardener,chart=gardener-metrics-exporter-0.1.0,heritage=Tiller,release=gardener-metric-exporter,role=metrics-exporter

Our shoot definition from git:
cat msa-sandbox/shoots/testbed.yaml
apiVersion: garden.sapcloud.io/v1beta1
kind: Shoot
metadata:
  name: testbed
  namespace: test
  annotations:
    msa_approved_by: "Levente Lajko"
    msa_created_by: ""
    msa_requested_by: "Levente Lajko"
    msa_project_name: "na"
    msa_project_start_date: "na"
    msa_project_end_date: "na"
    msa_owner:  ""
    msa_customer: "knightriders"
    msa_slack_channel: "iot-devops-dublin"
spec:
  cloud:
    profile: azure
    region: eastus
    secretBindingRef:
      name: core-azure
    azure:
    # resourceGroup:
    #   name: mygroup
      networks:
        vnet: # specify either 'name' or 'cidr'
        # name: my-vnet
          cidr: <IP_ADDRESS>/16
        workers: <IP_ADDRESS>/19
      workers:
      - name: cpu-worker
        machineType: Standard_D8s_v3
        volumeType: standard
        volumeSize: 35Gi # must be at least 35Gi for Azure VMs
        autoScalerMin: 2
        autoScalerMax: 10
  kubernetes:
    version: 1.12.1
    allowPrivilegedContainers: true
  dns:
    provider: aws-route53
    domain: testbed.dub.rd2.thingworx.io
  maintenance:
    timeWindow:
      begin: 220000+0100
      end: 230000+0100
    autoUpdate:
      kubernetesVersion: false
  backup:
    schedule: "*/5 * * * *"
    maximum: 7
  addons:
    heapster:
      enabled: true
    kubernetes-dashboard:
      enabled: true
    cluster-autoscaler:
      enabled: true
    nginx-ingress:
      enabled: true
      loadBalancerSourceRanges:
      - <IP_ADDRESS>/32
    kube-lego:
      enabled: false
      email<EMAIL_ADDRESS>    monocular:
      enabled: false

Shoot resource on garden cluster:
kubectl get shoots testbed -n test -o yaml
apiVersion: garden.sapcloud.io/v1beta1
kind: Shoot
metadata:
  annotations:
    garden.sapcloud.io/createdBy: client
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"garden.sapcloud.io/v1beta1","kind":"Shoot","metadata":{"annotations":{"msa_approved_by":"Levente Lajko","msa_created_by":"","msa_customer":"knightriders","msa_owner":"","msa_project_end_date":"na","msa_project_name":"na","msa_project_start_date":"na","msa_requested_by":"Levente Lajko","msa_slack_channel":"iot-devops-dublin"},"name":"testbed","namespace":"test"},"spec":{"addons":{"cluster-autoscaler":{"enabled":true},"heapster":{"enabled":true},"kube-lego":{"email":"john.doe@example.com","enabled":false},"kubernetes-dashboard":{"enabled":true},"monocular":{"enabled":false},"nginx-ingress":{"enabled":true,"loadBalancerSourceRanges":["<IP_ADDRESS>/32"]}},"backup":{"maximum":7,"schedule":"*/5 * * * *"},"cloud":{"azure":{"networks":{"vnet":{"cidr":"<IP_ADDRESS>/16"},"workers":"<IP_ADDRESS>/19"},"workers":[{"autoScalerMax":10,"autoScalerMin":2,"machineType":"Standard_D8s_v3","name":"cpu-worker","volumeSize":"35Gi","volumeType":"standard"}]},"profile":"azure","region":"eastus","secretBindingRef":{"name":"core-azure"}},"dns":{"domain":"testbed.dub.rd2.thingworx.io","provider":"aws-route53"},"kubernetes":{"allowPrivilegedContainers":true,"version":"1.12.1"},"maintenance":{"autoUpdate":{"kubernetesVersion":false},"timeWindow":{"begin":"220000+0100","end":"230000+0100"}}}}
    msa_approved_by: Levente Lajko
    msa_created_by: ""
    msa_customer: knightriders
    msa_owner: ""
    msa_project_end_date: na
    msa_project_name: na
    msa_project_start_date: na
    msa_requested_by: Levente Lajko
    msa_slack_channel: iot-devops-dublin
  creationTimestamp: 2018-10-31T09:47:35Z
  finalizers:
  - gardener
  generation: 7
  name: testbed
  namespace: test
  resourceVersion: "1216088"
  selfLink: /apis/garden.sapcloud.io/v1beta1/namespaces/test/shoots/testbed
  uid: feec8e34-dcf1-11e8-b98f-a258c3c480a2
spec:
  addons:
    cluster-autoscaler:
      enabled: true
    heapster:
      enabled: true
    kube-lego:
      email<EMAIL_ADDRESS>      enabled: false
    kubernetes-dashboard:
      enabled: true
    monocular:
      enabled: false
    nginx-ingress:
      enabled: true
      loadBalancerSourceRanges:
         - <IP_ADDRESS>/32
  backup:
    maximum: 7
    schedule: '*/5 * * * *'
  cloud:
    azure:
      machineImage:
        name: CoreOS
        offer: CoreOS
        publisher: CoreOS
        sku: Stable
        version: 1745.7.0
      networks:
        nodes: <IP_ADDRESS>/19
        pods: <IP_ADDRESS>/11
        services: <IP_ADDRESS>/13
        vnet:
          cidr: <IP_ADDRESS>/16
        workers: <IP_ADDRESS>/19
      workers:
      - autoScalerMax: 10
        autoScalerMin: 2
        machineType: Standard_D8s_v3
        maxSurge: 1
        maxUnavailable: 0
        name: cpu-worker
        volumeSize: 35Gi
        volumeType: standard
    profile: azure
    region: eastus
    secretBindingRef:
      name: core-azure
    seed: azure-eastus-01
  dns:
    domain: testbed.dub.rd2.thingworx.io
    hostedZoneID: Z3LZYLLCXZ4N3D
    provider: aws-route53
  kubernetes:
    allowPrivilegedContainers: true
    version: 1.12.1
  maintenance:
    autoUpdate:
      kubernetesVersion: false
    timeWindow:
      begin: 220000+0100
      end: 230000+0100
status:
  conditions:
  - lastTransitionTime: 2018-11-23T11:35:08Z
    message: All control plane components are healthy.
    reason: ControlPlaneRunning
    status: "True"
    type: ControlPlaneHealthy
  - lastTransitionTime: 2018-11-23T11:32:07Z
    message: Every node registered to the cluster is ready
    reason: EveryNodeReady
    status: "True"
    type: EveryNodeReady
  - lastTransitionTime: 2018-11-23T11:32:07Z
    message: All system components are healthy.
    reason: SystemComponentsRunning
    status: "True"
    type: SystemComponentsHealthy
  gardener:
    id: dd58ea231dd54527a8a9cec2864f2a25fdf0b8364661570ccf6fba7f4cfa2c10
    name: gardener-controller-manager-6f67566f7b-hbmzc
    version: 0.13.1-dev
  lastOperation:
    description: Shoot cluster state has been successfully reconciled.
    lastUpdateTime: 2018-11-23T13:48:42Z
    progress: 100
    state: Succeeded
    type: Reconcile
  observedGeneration: 7
  seed: azure-eastus-01
  technicalID: shoot--test--testbed
  uid: feec8e34-dcf1-11e8-b98f-a258c3c480a2

Upgraded gardener to v0.13.4
kubectl get deploy -n garden -o wide
NAME                          DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE   CONTAINERS                    IMAGES                                                          SELECTOR
gardener-apiserver            1         1         1            1           93d   gardener-apiserver            eu.gcr.io/gardener-project/gardener/apiserver:0.13.4            app=gardener,role=apiserver
gardener-controller-manager   1         1         1            1           93d   gardener-controller-manager   eu.gcr.io/gardener-project/gardener/controller-manager:0.13.4   app=gardener,role=controller-manager
gardener-metrics-exporter     1         1         1            1           86d   gardener-metrics-exporter     eu.gcr.io/gardener-project/gardener/metrics-exporter:latest     app=gardener,chart=gardener-metrics-exporter-0.1.0,heritage=Tiller,release=gardener-metric-exporter,role=metrics-exporter

Shoot definition on garden cluster after upgrade:
kubectl get shoots testbed -n test -o yaml
apiVersion: garden.sapcloud.io/v1beta1
kind: Shoot
metadata:
  annotations:
    garden.sapcloud.io/createdBy: client
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"garden.sapcloud.io/v1beta1","kind":"Shoot","metadata":{"annotations":{"msa_approved_by":"Levente Lajko","msa_created_by":"","msa_customer":"knightriders","msa_owner":"","msa_project_end_date":"na","msa_project_name":"na","msa_project_start_date":"na","msa_requested_by":"Levente Lajko","msa_slack_channel":"iot-devops-dublin"},"name":"testbed","namespace":"test"},"spec":{"addons":{"cluster-autoscaler":{"enabled":true},"heapster":{"enabled":true},"kube-lego":{"email":"john.doe@example.com","enabled":false},"kubernetes-dashboard":{"enabled":true},"monocular":{"enabled":false},"nginx-ingress":{"enabled":true,"loadBalancerSourceRanges":["<IP_ADDRESS>/32"]}},"backup":{"maximum":7,"schedule":"*/5 * * * *"},"cloud":{"azure":{"networks":{"vnet":{"cidr":"<IP_ADDRESS>/16"},"workers":"<IP_ADDRESS>/19"},"workers":[{"autoScalerMax":10,"autoScalerMin":2,"machineType":"Standard_D8s_v3","name":"cpu-worker","volumeSize":"35Gi","volumeType":"standard"}]},"profile":"azure","region":"eastus","secretBindingRef":{"name":"core-azure"}},"dns":{"domain":"testbed.dub.rd2.thingworx.io","provider":"aws-route53"},"kubernetes":{"allowPrivilegedContainers":true,"version":"1.12.1"},"maintenance":{"autoUpdate":{"kubernetesVersion":false},"timeWindow":{"begin":"220000+0100","end":"230000+0100"}}}}
    msa_approved_by: Levente Lajko
    msa_created_by: ""
    msa_customer: knightriders
    msa_owner: ""
    msa_project_end_date: na
    msa_project_name: na
    msa_project_start_date: na
    msa_requested_by: Levente Lajko
    msa_slack_channel: iot-devops-dublin
  creationTimestamp: 2018-10-31T09:47:35Z
  finalizers:
  - gardener
  generation: 8
  name: testbed
  namespace: test
  resourceVersion: "1216348"
  selfLink: /apis/garden.sapcloud.io/v1beta1/namespaces/test/shoots/testbed
  uid: feec8e34-dcf1-11e8-b98f-a258c3c480a2
spec:
  addons:
    cluster-autoscaler:
      enabled: true
    heapster:
      enabled: true
    kube-lego:
      email<EMAIL_ADDRESS>      enabled: false
    kubernetes-dashboard:
      enabled: true
    monocular:
      enabled: false
    nginx-ingress:
      enabled: true
      loadBalancerSourceRanges:
      - <IP_ADDRESS>/32
  backup:
    maximum: 7
    schedule: 0 */24 * * *
  cloud:
    azure:
      machineImage:
        name: CoreOS
        offer: CoreOS
        publisher: CoreOS
        sku: Stable
        version: 1745.7.0
      networks:
        nodes: <IP_ADDRESS>/19
        pods: <IP_ADDRESS>/11
        services: <IP_ADDRESS>/13
        vnet:
          cidr: <IP_ADDRESS>/16
        workers: <IP_ADDRESS>/19
      workers:
      - autoScalerMax: 10
        autoScalerMin: 2
        machineType: Standard_D8s_v3
        maxSurge: 1
        maxUnavailable: 0
        name: cpu-worker
        volumeSize: 35Gi
        volumeType: standard
    profile: azure
    region: eastus
    secretBindingRef:
      name: core-azure
    seed: azure-eastus-01
  dns:
    domain: testbed.dub.rd2.thingworx.io
    hostedZoneID: Z3LZYLLCXZ4N3D
    provider: aws-route53
  kubernetes:
    allowPrivilegedContainers: true
    version: 1.12.1
  maintenance:
    autoUpdate:
      kubernetesVersion: false
    timeWindow:
      begin: 220000+0100
      end: 230000+0100
status:
  conditions:
  - lastTransitionTime: 2018-11-23T14:12:31Z
    message: All control plane components are healthy.
    reason: ControlPlaneRunning
    status: "True"
    type: ControlPlaneHealthy
  - lastTransitionTime: 2018-11-23T14:11:00Z
    message: Every node registered to the cluster is ready
    reason: EveryNodeReady
    status: "True"
    type: EveryNodeReady
  - lastTransitionTime: 2018-11-23T14:13:01Z
    message: All system components are healthy.
    reason: SystemComponentsRunning
    status: "True"
    type: SystemComponentsHealthy
  gardener:
    id: 612ef7c1a358160444765a3f4b470e561be7d0b3240fb41c21e3a80777ceff59
    name: gardener-controller-manager-5c5f8cf987-tt6f7
    version: 0.13.4-dev
  lastOperation:
    description: Shoot cluster state has been successfully reconciled.
    lastUpdateTime: 2018-11-23T14:09:51Z
    progress: 100
    state: Succeeded
    type: Reconcile
  observedGeneration: 8
  seed: azure-eastus-01
  technicalID: shoot--test--testbed
  uid: feec8e34-dcf1-11e8-b98f-a258c3c480a2

Please note that the shoot backup schedule has changed after the gardener upgrade:
Before upgrade
  backup:
    maximum: 7
    schedule: '*/5 * * * *'

After upgrade
  backup:
    maximum: 7
    schedule: 0 */24 * * *

It happened when we upgraded from gardener version 0.12.1 to 0.13.1  and also happened from 0.13.1 to 0.13.4

@georgekuruvillak can you please take a look? You did implement the change of the backup schedule some time back, is it still needed? Can we remove it? Does schedule: '*/5 * * * *' make sense or is it too frequent? Should we add rather a proper validation in the Garden API than resetting it the hard way on every start?

@rfranzke 5 minute full backups are too frequent. We would go with 24 hr full backup interval and have incremental backups in between. We can remove the validation at: https://github.com/gardener/gardener/blob/master/pkg/controller/shoot/shoot.go#L242
This would prevent shoots from having a full backup schedule less than 24 hrs which is now the default. What should we validate? Whether it is a proper schedule or not?

We should validate in pkg/apis/garden/validation that the .spec.backup.schedule is not too frequent, i.e. not more often than 24h . Then we can remove the part in pkg/controller/shoot/shoot.go. Does that make sense?

Isn't the .spec.backup.schedule supposed to be configurable?

Yes, at least back then (when it was introduced) it was. However, some values (more frequent than 24h) might not make sense.
@georgekuruvillak does it still make sense to have that field configurable? If so, what do you think about the validation mentioned above?
/cc @swapnilgm

Sorry for late reply. It just skipped out of mind.
We had given another thought for global configuration vs. per-shoot. And we are on the conclusion that let's just keep the configuration field in shoot spec, as it is currently.
We should keep the default backup schedule to 24hr if not specified in spec (as it is currently). But we should change  garden.DefaultETCDBackupSchedule to 1 hour, so that if somebody wants frequent full snapshots then they can configure it that way. Below 1 hour it will loose the optimisation efforts of delta snapshots.  If somebody tries to configure it lower than 1 hour we should set it to 1 hour and the logic for this should be moved from pkg/controller/shoot/shoot.go to  pkg/apis/garden/validation.  or rather we should simply raise validation error with proper message.


Claude Dev and Aider prompting question

hey, thanks for Claude Dev. I'd been using Aider up until a few days ago when I first tried Claude Dev. I've been curious about whether my perceived increased success, in getting prompts to result in what I want through Dev, is real or imaginary.
Afaik, the differences between the two are that Aider uses Git, Dev uses history and that both tools have their own set of internal prompt instructions. In theory, if the prompt instructions were the same from Dev to Aider, should Aider deliver the same results? Also, are there any plans to have Git with Dev be an option?

Thanks for the feedback friend! There's a lot of differences, but I built claude dev with the intention of getting the most out of claude 3.5 sonnet's nuances (rather than being model agnostic like aider) which is maybe why you're getting different results.
If you'd like a similar git functionality you can just prompt claude dev to git commit every now and then, summarizing recent changes in the commit message (in fact you could put this in 'custom instructions' in settings to do this across tasks)

Can you give us an example of system instructions for a successful git functionality?

This has worked for me quite well:
At the start of any task, automatically check if the current directory is a git repository by running `git status`. If it’s not, initialize a git repository with `git init`. After completing a task or making significant changes, automatically run `git commit -am` with a message summarizing the recent updates.

Thanks for the feedback friend! There's a lot of differences, but I built claude dev with the intention of getting the most out of claude 3.5 sonnet's nuances (rather than being model agnostic like aider) which is maybe why you're getting different results. If you'd like a similar git functionality you can just prompt claude dev to git commit every now and then, summarizing recent changes in the commit message (in fact you could put this in 'custom instructions' in settings to do this across tasks)

Thanks for the response, out of curiosity I wanted to contribute to the original question:
just like you said, Yes! there's a lot of difference, after checking Aider's source code, the system prompts processes are different.
@drhouse said "Afaik, the differences between the two are that Aider uses Git, Dev uses history and that both tools have their own set of internal prompt instructions."
I think what he meant was that Aider AI uses git commit history for Context aware memory management, meaning that Aider can avoid making some mistakes that users are facing with ClaudeDev currently because it's more than just writing a system prompt to commit changes.

Aider AI knows the recent changes from the git commit history.
Aider can avoid overwriting files that just need an update, as mentioned in: #141

I hope you get my point, and I would love to see that ClaudeDev is something that's awesome!

Aider AI knows the recent changes from the git commit history.

Definitely want to add this to claude dev as well, a tool to get git log and then he could ask to look at certain commits and their changes.

Aider can avoid overwriting files that just need an update

I updated the tool prompt to see if that helps with that issue. I'm looking into ways to apply edits without outputting the whole file, but anthropic is coming out with a fast edit mode feature that uses speculative decoding that essentially speeds this up significantly. I'd like to wait to test that out before implementing some stopgap that could affect the quality of claude's output (asking to provide a structured output such as diff format like aider does has been shown to reduce reasoning abilities, ie asking it to do a hard math problem step by step usually fails if forced to do in json format)

Thanks @saoudrizwan I appreciate your good work.
I'm open to contribution in anyway. Ws thinking about the recent prompt caching functionality


More -Wextra-semi fixes

BTW I unsuppressed -Wextra-semi on one of my cdash submissions yesterday, and no warnings today!  So we are now -Wextra-semi-clean!


Received unexpected HTTP status: 500 Internal Server Error when pushing large image from windows

When pushing a particularly large image from Windows (18.5GB) I receive a 500 error after all the parts have seemingly been uploaded succesfully. I have pushed images from my linux machine (largest was ~1gb) and those have all pushed fine.
I have tried both a memory blob descriptor and a redis one. I thought that maybe that might be the cause but it isn't. I also deleted the data folder and recreated it just to test if maybe something got corrupted, but that doesn't seem to be the case.
Note that I have pushed this exact image to Dockerhub just fine.
I have have a very basic setup of the registry that I started with the following settings.
docker run -d \
        -u root \
        --net=internal \
        --ip <IP_ADDRESS> \
        --hostname=aeon-registry \
        --restart always \
        -v /docker/containers/registry/data:/var/lib/registry \
        -v /docker/containers/registry/config.yml:/etc/docker/registry/config.yml \
        --name registry registry:2

My config is as follows:
version: 0.1
log:
  fields:
    service: registry
storage:
  cache:
    blobdescriptor: redis
  filesystem:
    rootdirectory: /var/lib/registry
http:
  addr: :80
  secret: secret
  headers:
    X-Content-Type-Options: [nosniff]
  timeout: 500s
health:
  storagedriver:
    enabled: true
    interval: 10s
    threshold: 3
redis:
  addr: <IP_ADDRESS>:6379

Output on the windows machine:
C:\Users\robindegen>docker push aeon-registry:80/aeon/win10_vs2019
The push refers to repository [aeon-registry:80/aeon/win10_vs2019]
fe6c60f0b272: Pushed
fc8571232b39: Pushed
62d48696a9ef: Pushed
a24ec4408d2d: Pushed
d1cc15672172: Pushed
0ac52f8f59f5: Pushed
b118e3229ea4: Pushed
f4b2822d9a53: Pushed
29c500f2d4f3: Pushed
314ba5f39117: Pushed
b8f2c26808e8: Pushed
546fcb2020b4: Pushed
2ab0b02dd7a4: Pushed
2e2f393b58c7: Pushed
b13274851650: Pushed
e484a57d56c2: Pushed
a2789f22b6ad: Pushed
a445a20ceb6c: Pushed
bdb2337ae74b: Pushed
a0b9942faa26: Pushed
a394458f5b6b: Skipped foreign layer
a7c7908171f7: Skipped foreign layer
received unexpected HTTP status: 500 Internal Server Error

C:\Users\robindegen>

I attached the full log of this happening. This is where i cleared out the data folder and started clean. Then the only thing i did was push this image from the windows machine.
log.txt
What stands out to me are the following lines at the bottom
time="2020-07-01T12:51:00.540239795Z" level=error msg="response completed with error" err.code=unknown err.message="unknown error" go.version=go1.11.2 http.request.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.request.host="aeon-registry:80" http.request.id=5d5154ca-a8bc-4287-958a-c67cc26713ab http.request.method=PUT http.request.remoteaddr="<IP_ADDRESS>:53036" http.request.uri="/v2/aeon/win10_vs2019/manifests/latest" http.request.useragent="docker/19.03.5 go/go1.12.12 git-commit/2ee0c57608 os/windows arch/amd64 UpstreamClient(Docker-Client/19.03.5 \(windows\))" http.response.contenttype="application/json; charset=utf-8" http.response.duration=7.220894ms http.response.status=500 http.response.written=523 vars.name="aeon/win10_vs2019" vars.reference=latest
time="2020-07-01T12:51:00.540268343Z" level=error msg="response completed with error" err.code=unknown err.message="invalid URL on layer" go.version=go1.11.2 http.request.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.request.host="aeon-registry:80" http.request.id=5d5154ca-a8bc-4287-958a-c67cc26713ab http.request.method=PUT http.request.remoteaddr="<IP_ADDRESS>:53036" http.request.uri="/v2/aeon/win10_vs2019/manifests/latest" http.request.useragent="docker/19.03.5 go/go1.12.12 git-commit/2ee0c57608 os/windows arch/amd64 UpstreamClient(Docker-Client/19.03.5 \(windows\))" http.response.contenttype="application/json; charset=utf-8" http.response.duration=7.249434ms http.response.status=500 http.response.written=523 vars.name="aeon/win10_vs2019" vars.reference=latest
time="2020-07-01T12:51:00.54028954Z" level=error msg="response completed with error" err.code="manifest blob unknown" err.detail=sha256:830e00eda3f1e66421f779823d61a1e8f5529ddb20ac80716c817e2e9658d313 err.message="blob unknown to registry"

Update: Disabling "validation" seems to help, but now i'm not sure what the implications of that are. Will things just corrupt over time? What is failing validation?

Since you have registry version 2.7.1 deployed, have a look at #2866.

@robindegen You set the validation through config.yml file? Can I update the running registry through config.yml file without effecting anything?

@alpharameeztech No I stopped the registry, edited the file and started it up again.

I had the same problem, I fixed it by disabling validation.
docker run -d -p 5000:5000 --name registry -e REGISTRY_VALIDATION_DISABLED=true registry:2


Linux Task 01 completed

OSPF Membershipt Number = "123456"
Full Name = "Naveed Abdul Sattar"
Task requirements
Paste the original task URL
https://github.com/DevOps-With-Babar-Zahoor/Linux/tree/main/Task 01
Your Solution / Completion README.MD URL
Paste the URL of readme.md file that you created in your own account stating the task is complete.
https://github.com/naveed-a-sattar/internship-osfp/tree/main/Task01

< enter task requirement>
List of Issues you faced while doing the tasks

Not faced any

Submission
Youtbe video:

]
LinkedIn Post Link:

I have solaved the OSFP internship Linux Task 01

Bookmark is not correct.

I have fixed the bookmark issue.


Option to set the is_srgb flag when loading textures

What problem does this solve or what need does it fill?
When manually loading some types of textures like normal maps, roughness maps, and occlusion maps, you do not want sRGB compensation, as this ruins images. There should be some option to disable it.
Right now when loading textures from a .gltf file normal maps etc. are already marked linear:
https://github.com/bevyengine/bevy/blob/main/crates/bevy_gltf/src/loader.rs
if let Some(texture) = material.normal_texture() {
            linear_textures.insert(texture.texture().index());
        }

let is_srgb = !linear_textures.contains(&gltf_texture.index());
Image::from_buffer(
                buffer,
                ImageType::MimeType(mime_type),
                supported_compressed_formats,
                is_srgb,
            )?

However, in https://github.com/bevyengine/bevy/blob/main/crates/bevy_render/src/texture/image_texture_loader.rs the sRGB setting is hard coded to true:
let dyn_img = Image::from_buffer(
                bytes,
                ImageType::Extension(ext),
                self.supported_compressed_formats,
                true,
            )

This option should also be exposed for manually loaded textures.
What solution would you like?
A long term solution would be to store this info in a .meta file as suggested here: https://github.com/bevyengine/bevy/discussions/3972
However, just to make normal mapping even possible right now I'd suggest adding a URL parameter to the asset loader, something like this:
let texture: Handle<Image> = asset_server.load("normal_map.png#?colors=linear");

This uses the existing extended parameter syntax also used in the GLTF loader. It's also consistent with how URLs work which is something you seem to be trying to emulate.
This could also be extended to other settings like the various options in the sampler.
This syntax might still be useful even with the new asset system if for some reason you need to load the same texture with different settings in different situations. For example you might want to change the filtering mode depending on performance settings.
What alternative(s) have you considered?
Removing the bevy image system and writing my own image loaded that doesn't have this limitation
Additional context
Any other information you would like to add such as related previous work,
screenshots, benchmarks, etc.

Another option that might be better, as it is more type safe, is to extend the asset loader to allow for settings, something like:
pub trait AssetLoader: Send + Sync + 'static {
    type Settings: Default = ();
    /// Processes the asset in an asynchronous closure.
    fn load<'a>(
        &'a self,
        bytes: &'a [u8],
        load_context: &'a mut LoadContext,
        settings: Settings
    ) -> BoxedFuture<'a, Result<(), Error>>;

    /// Returns a list of extensions supported by this asset loader, without the preceding dot.
    fn extensions(&self) -> &[&str];
}

Then it can be used something like:
asset_server.load_with_settings("normal_map.png", {is_srgb: false, ..default()})

aset_server.load() could keep working like normal. This would break all existing asset loaders though.

I prefer the latter solution. Breaking existing asset loaders is fine.

I don't think those two solutions are possible without a very large refactor of bevy_assets. This will be done as part of https://github.com/bevyengine/bevy/discussions/3972

If anyone comes across this issue this is how I solved it in the meantime:
use bevy::asset::{AssetLoader, Error, LoadContext, LoadedAsset};
use bevy::render::texture::{CompressedImageFormats, Image, ImageType};
use bevy::utils::BoxedFuture;

#[derive(Default)]
pub struct NormalMappedImageTextureLoader;

impl AssetLoader for NormalMappedImageTextureLoader {
    fn load<'a>(
        &'a self,
        bytes: &'a [u8],
        load_context: &'a mut LoadContext,
    ) -> BoxedFuture<'a, Result<(), Error>> {
        Box::pin(async move {
            // use the file extension for the image type
            let ext = load_context.path().extension().unwrap().to_str().unwrap();

            let dyn_img = Image::from_buffer(
                bytes,
                ImageType::Extension("png"),
                CompressedImageFormats::all(),
                false,
            )
            .unwrap();

            load_context.set_default_asset(LoadedAsset::new(dyn_img));
            Ok(())
        })
    }

    fn extensions(&self) -> &[&str] {
        &["norm"]
    }
}

Most of this code is copies verbatim from the normal texture loader.
This has the major disadvantage of requiring to change your textures to .norm extension.

@mockersf Is this issue resolved by the ability to configure loader settings in asset metadata files?

is_rgb is one of the field of the new ImageLoaderSettings so I would say yes, but didn't try it myself

I can confirm this is fixed in my own app when I added the asset metadata files.


4 spaces vs. 2 spaces

Thanks for this very fast formatter. Could you add an argument so that people can choose the size of indentation?

Thanks for the suggestion! Implemented in 73d1d50029a41ffbdd446587aab607fdaae69f86.


Tinkers Alloying Support

Should probably be somewhat straight forward to be honest.
See https://github.com/SlimeKnights/TinkersConstruct/wiki/Recipe-JSON-List

I would be interested in taking this task

@Rover656 Would I add the recipes here: https://github.com/Team-EnderIO/EnderIO/blob/dev/1.20.1/src/machines/java/com/enderio/machines/data/recipes/AlloyRecipeProvider.java#L35
Or as json files?


how to visualize positional encoding  in visdom?

Figure 5 in the paper shows NeRF naive postinal encoding result, which displays the GT pose and refine pose of full postional encoding.
I looked into nerf part codes, but there is no relevant ones.
https://github.com/chenhsuanlin/bundle-adjusting-NeRF/blob/803291bd0ee91c7c13fb5cc42195383c5ade7d15/model/nerf.py#L89
Visulization function in nerf.py only supports Tensorbord but not includes visdom like barf.py.
It would be great if you could provide some suggestion about this issue. thx a lot

Hi @thekaka, nerf.py in the codebase is for NeRF where cameras are fixed and non-optimizable. For the full positional encoding baseline, please use barf.py without the --barf_c2f argument (see README for more details).


Launching a dev box from the pinned Start Menu icon is broken

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug

Pin the dev box to start menu
Launch it from Start menu

Expected result
Launching works fine
Actual result

Included System Information
No response
Included Extensions Information
No response

Start menu launched app does not glom with the task bar pinned instance

Verified working on the latest Preview version.


Arabic numbers flow in the wrong direction

hello dears,
I am using Arabic as the main language of the application.
My main problem is that numbers gets flowed with the language direction, right-to-left,
by which they should be left-to-right.

cc @jason-simmons

Can you provide source code for an example application that demonstrates this problem?
Flutter calls ICU's implementation of the Unicode bidirectional algorithm to break text into LTR and RTL runs.  We might need to configure ICU differently in order to handle this.

actually, it is my fault.
I was using a space after the comma, e.g., '5, 000'.
it was solved by removing the space.
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
  Directionality appDirectionality(Widget child) {
    return new Directionality(
      textDirection: TextDirection.rtl,
      child: new Builder(
        builder: (BuildContext context) {
          return new MediaQuery(
            data: MediaQuery.of(context).copyWith(
                  textScaleFactor: 1.0,
                ),
            child: child,
          );
        },
      ),
    );
  }

  ThemeData appTheme() {
    return new ThemeData(
      primaryColor: Colors.lightBlue,
      hintColor: Colors.grey,
      fontFamily: 'GE SS',
    );
  }

  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      builder: (BuildContext context, Widget child) {
        return appDirectionality(child);
      },
      theme: appTheme(),
      home: new Scaffold(
        body: new Center(
          child: new Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              new Text(
                '55, 000',  // space after the comma
                style: new TextStyle(fontSize: 20.0),
              ),
              new Text(
                '55,000', // removing the space solved the problem
                style: new TextStyle(fontSize: 20.0),
              ),
              new Text(
                '55000',
                style: new TextStyle(fontSize: 20.0),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

perhaps it is out of topic, but can I use the Arabic numbers instead of the Indian ones shown above?


what Voyager::canOrFail('') should return ?

what Voyager::canOrFail('') should return ?
I couldnt understand the documents
it always return 1
thanks ,,

Maybe you have permissions for all items in the application and it always return true?

@Sndan, Please feel free to look through the code to find what you're looking for.  Specifically, https://github.com/the-control-group/voyager/blob/master/src/Voyager.php#L181 is where that function is defined.  canOrFail() will always return true or an UnauthorizedHttpException;


Solution for problem 22 issue #42

closes #42

Input format:
Line 1: length of array
Line 2: Space separated array of integers
Eg:
5
-1 3 -2 0 1
Output format:
Line 1: Total number of triplets found that add up to 0
Eg: (for above input)
2


Access to viewer avatars

It would be great if when a Participant joined we had access to their avatar.

Thank you, this is working now.


How can I add it to my project please

Hello , I want to use it but I don't know how to add this library to my project

you can import it use android studio as project to your project


Fix release input in PooledSparseProduct and tuple inputs

Continuing from discussion 1-2 weeks ago on the extra allocations in evaluation of spherical harmonics observed in EQM. The reason is that PooledSparseProductLayer did not release layer properly.
Major updates from this PR:

Update PooledSparseProductLayer, added the release_input field
Broadcast release_input in PolyLuxLayer for tuple inputs

Minor fix:

printing format in LinearLayer's test

I also ran the test of EQM locally and it works fine.

can I review and merge?


Add option to specify target Python version

Previously, dartpy always was built for Python 2 because CMake finds PythonInterp and PythonLibs packages for Python 2 by default if the version is not specified. This PR enables us to specify the target Python version when running cmake.
The default Python version is now 3.4 (default version on Trusty), but I'm open to change it to other versions.

When I import dartpy on Python 3, I get this error:
Python 3.4.3 (default, Nov 17 2016, 01:08:31)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dartpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/lib/python3/dist-packages/dartpy.so: undefined symbol: _ZNK5boost6python7objects21py_function_impl_base9max_arityEv

@jslee02 maybe some of the solutions proposed in this post will help?
https://stackoverflow.com/questions/1780003/import-error-on-boost-python-hello-program

The above error turned out that it was due to different CMake variable name for Boost.Python 3 libraries. This should be addressed by 949c8a2.
Now I get a different error:
Python 3.4.3 (default, Nov 17 2016, 01:08:31)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dartpy as dart
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: initialization of dartpy raised unreported exception

Got the same error on different version of Python3:
Python 3.6.3 (default, Oct  3 2017, 21:45:48)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dartpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: initialization of dartpy raised unreported exception

I think I figured out the problem: Boost.NumPy and Boost.NumPy_Eigen were always built for Python3. https://github.com/personalrobotics/Boost.NumPy/pull/3 and https://github.com/personalrobotics/Boost.NumPy_Eigen/pull/5 should fix the problem. This is tested on Ubuntu Artful with Python 3.6.3.


Semantic Path Spike/POC "Dimensionality reduction"

Background

We see a lot of value in vizualizing why a search result was included
Our previous attempts didn't yield good enough results

Idea

We want to experiment if dimensionality reduction algos (e.g. t-SNE) make it easier to build a viable path
For this we could include the query datapoint, neighbors of both the query and the results and potentially other points from the c11y

Questions to be answered

What would a path look like if we had search items and their neighbors plotted in 2d?
How can we use this to come up with a path algorithm

Related to: #1136

Closing as complete.


Explore caching npm and Java dependencies to speedup GitHub Action workflows

Is your feature request related to a problem? Please describe.
You might be able to speed up your workflow runs by using the caching features that come with the latest versions of actions/setup-node and actions/setup-java.
Describe the solution you'd like
With the new actions, enabling caching is very easy, you don't need to figure out any caching keys or do other complicated things. You only need to add a few lines to the workflow files.
Make sure the version of the action you're using supports the cache feature. 😉 I think you need to update your version of setup-java first to be able to use caching.
Official documentation:

setup-node readme, caching packages dependencies
setup-java readme, caching packages dependencies

Describe alternatives you've considered
Keep things as they are.
Additional context
I suggested this in a PR that we've now closed: https://github.com/openequella/openEQUELLA/pull/3386#discussion_r707067347

Thanks @HonkingGoose , we'll see what we can do here. We can definitely make use of both in different ways and get rid of a lot of our current manually caching configurations.


Remove implicit conversions from array to bool

In preparation for the warning in https://github.com/D-Programming-Language/dmd/pull/2885

OK I guess. As @MartinNowak said, it might break some of my code too :)

Yeah, it's a bit of a pain.  It will be nice to have it fixed eventually.


[HW]  Vishal

Name: Vishal Prabhachandar
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/vishalprabha/
Screenshots:
Astra DB creation

Deployment in netlify with custom domain name

Swagger UI

Serverless functions in netlify

The serverless function executed in chrome

Deployed URL: https://documentapi-tiktok.vishalprabha.com/#/

Hey Vishal Prabhachandar, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/wHQc7cxPTbCgvQycjMosXQ


Add hyperlink to video URL

Summary
As per CSS rules, video's are hidden for mobile resolutions.
This at least lets the user view them by clicking on the title.
Going forward we should make a proper layout for mobile users.

Test plan

Should be able to click title to view video.

Works for me!


Fix azure pipelines

Summary
In #422 the azure pipelines jobs were updated to simplify the dependency
installation to no longer require build scs against openblas. However
there was a bug in that which caused the jobs to not really run, but
still return success. This commit corrects the oversight so we're still
running CI for windows and actually testing it.
Details and comments

This was already fixed on stable in: #427


Fixes to unittests

================ 663 passed, 8 skipped, 14 xfailed, 2 xpassed, 142 warnings in 214.74s (0:03:34) =================
(dask-ml-dev-skl024)
After installing Scikit-learn nightly build into dask-ml's ci latest env via:
pip install --pre --extra-index https://pypi.anaconda.org/scipy-wheels-nightly/simple scikit-learn==0.24.dev0

why do we use a dev version of sklearn instead of waiting for an official release?

Dask dask-ml maintainers use the dev build for their CI. See below:
https://github.com/dask/dask-ml/blob/v1.6.0/tests/model_selection/dask_searchcv/test_model_selection.py#L491
https://github.com/dask/dask-ml/blob/7f6dcb5b1082f5ef9f53217809efac21e0232f7f/dask_ml/_compat.py#L20
Dask-ml build logs here: https://dev.azure.com/dask-dev/dask/_build/results?buildId=1514&view=results

LGTM. Are these changes backward compatible before sklearn 0.24?

Yes they are I tested with 0.23.2 and everything passed except for the two marked xfail requiring the scikit-learn 0.24.dev0 nightly build.

https://dev.azure.com/dask-dev/dask/_build/results?buildId=1514&view=results

Got it. Thank you!


Remove repo name from random instance name generation

Purpose

Removes repo name from random instance name generation when -n flag is not given with cellery run command.

Goals

Minimize probability of hitting the k8s character limit for resource names

Codecov Report

Merging #334 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #334   +/-   ##
=======================================
  Coverage   65.58%   65.58%
=======================================
  Files          28       28
  Lines         712      712
  Branches       48       48
=======================================
  Hits          467      467
  Misses        212      212
  Partials       33       33

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c2831ba...b00669a. Read the comment docs.


Milestone 2 General Feedback

Excellent report! Question, analysis and conclusions are clear, but missing future directions. Even though you wrote it, make sure you save your figures with the appropriate dimensions to show them properly in the report.
Remember to write tests/assertions in every function.

Thanks for the feedback, Javier!
We've added a section for 'Future Directions' in the report for Milestone 3, and will add test/assertions for all functions for Milestone 4.

The team has added tests for all the scripts. Closing issue now :)


Pinpoint web not starting up

Hi,
I am trying to deploy pinpoint in our linux machine.
Hbase is up and running in the same machine.
I deployed collector and web war files in the webapps folder, started it. But the UI is not coming up in the webbrowser. Getting 404 error.
Can you help please me at the ealriest.
Attaching the logs for further debugging.
catalinalog.txt
Thanks,
vivek

Hi @xbblq7n
There seems to be a lot going on from your log. Please check out the exceptions for their causes. I'm not sure I can help you much as they seem to be related to your deployment environment.
(eg error in opening zip due to permission and too many open files due to file limit?)
One thing I would like to suggest though is to try to launch the collector and web in separate Tomcat instances and see if that works better.

Thanks @Xylus.
I am not able to get the JDBC details in pinpoint. Please help me on how to get them.

Can somebody help on this?

@xbblq7n You shouldn't need to do anything to trace JDBC details, they should be traced automatically given the agent started up okay.
Also note that some versions of whatever jdbc driver you're using might not be supported (ie mysql driver 6+ support is only available from the master branch).
If you had provided more details on your issue such as the jdbc driver and version you're using, it would have been much easier to help you.
Please provide more details on the issue if you're looking for a solution.

I will give you the details shortly.. Thanks for coming up.

I am using pinpoint 1.6.2 version. I have tracing an application in which the JDBC details are not getting captured.  Application is using SQL 2014 version.


Jitter when import blend file as Vehicle

Godot version
v4.1.dev2.official [668cf3c66]
System information
window10 64bit
Issue description
When I import a blend file as a Vehicle, it jitter.

Steps to reproduce
Pleanse run the reproduction project (Need blender)
Minimal reproduction project
VehicleTest.zip

Please provide some more information on the imported model, what kind of collisions are you using? This seems likely to be an issue of trimesh colliders which are known to cause issues in physics

The Scene only two collision: The groud and the Vechile, 2 of them was build-in BoxShape collision.
ADD: The groud I tested Use BoxShape and create Trimesh Collision by CubeMesh, all will be jitter.

Related to https://github.com/godotengine/godot/issues/45339#issuecomment-1050273752.

The ZIP included is not a complete MRP, as I cannot open it despite having Blender 3.5 configured in the Editor Settings:
Cannot open file 'res://Test.tscn'.
  Failed loading resource: res://Test.tscn. Make sure resources have been imported by opening the project in the editor at least once.
  editor/editor_data.cpp:574 - Index p_idx = 1 is out of bounds (edited_scene.size() = 1).
  res://StoreRoom/ExcavatorSimulator/Test2.tscn::GDScript_jtpsn:5 - Parse Error: Identifier "XGlobal" not declared in the current scope.
  Cannot open file 'res://.godot/imported/Excavator3.blend-5c02441e5356daf43e6d95ebadd7474d.scn'.
  Failed loading resource: res://.godot/imported/Excavator3.blend-5c02441e5356daf43e6d95ebadd7474d.scn. Make sure resources have been imported by opening the project in the editor at least once.
  Failed loading resource: res://StoreRoom/ExcavatorSimulator/Excavator3.blend. Make sure resources have been imported by opening the project in the editor at least once.
  scene/resources/resource_format_text.cpp:174 - res://StoreRoom/ExcavatorSimulator/Excavator3.tscn:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://StoreRoom/ExcavatorSimulator/Excavator3.blend
  scene/resources/resource_format_text.cpp:621 - res://StoreRoom/ExcavatorSimulator/Excavator3.tscn:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://StoreRoom/ExcavatorSimulator/Excavator3.blend
  Failed loading resource: res://StoreRoom/ExcavatorSimulator/Excavator3.tscn. Make sure resources have been imported by opening the project in the editor at least once.
  Cannot open file 'res://.godot/imported/Excavator3.blend-5c02441e5356daf43e6d95ebadd7474d.scn'.
  Failed loading resource: res://.godot/imported/Excavator3.blend-5c02441e5356daf43e6d95ebadd7474d.scn. Make sure resources have been imported by opening the project in the editor at least once.
  Failed loading resource: res://StoreRoom/ExcavatorSimulator/Excavator3.blend. Make sure resources have been imported by opening the project in the editor at least once.
  scene/resources/resource_format_text.cpp:174 - res://StoreRoom/ExcavatorSimulator/Excavator3.tscn:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://StoreRoom/ExcavatorSimulator/Excavator3.blend
  scene/resources/resource_format_text.cpp:621 - res://StoreRoom/ExcavatorSimulator/Excavator3.tscn:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://StoreRoom/ExcavatorSimulator/Excavator3.blend
  Failed loading resource: res://StoreRoom/ExcavatorSimulator/Excavator3.tscn. Make sure resources have been imported by opening the project in the editor at least once.
  Cannot open file 'res://.godot/imported/Excavator3.blend-5c02441e5356daf43e6d95ebadd7474d.scn'.
  Failed loading resource: res://.godot/imported/Excavator3.blend-5c02441e5356daf43e6d95ebadd7474d.scn. Make sure resources have been imported by opening the project in the editor at least once.
  Failed loading resource: res://StoreRoom/ExcavatorSimulator/Excavator3.blend. Make sure resources have been imported by opening the project in the editor at least once.
  scene/resources/resource_format_text.cpp:174 - res://StoreRoom/ExcavatorSimulator/Excavator3.tscn:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://StoreRoom/ExcavatorSimulator/Excavator3.blend
  scene/resources/resource_format_text.cpp:621 - res://StoreRoom/ExcavatorSimulator/Excavator3.tscn:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://StoreRoom/ExcavatorSimulator/Excavator3.blend
  Failed loading resource: res://StoreRoom/ExcavatorSimulator/Excavator3.tscn. Make sure resources have been imported by opening the project in the editor at least once.
  scene/resources/resource_format_text.cpp:174 - res://StoreRoom/ExcavatorSimulator/ExcavatorSimulator.tscn:62 - Parse Error: [ext_resource] referenced non-loaded resource at: res://StoreRoom/ExcavatorSimulator/Excavator3.tscn
  Cannot open file 'res://.godot/imported/Excavator3.blend-5c02441e5356daf43e6d95ebadd7474d.scn'.
  Failed loading resource: res://.godot/imported/Excavator3.blend-5c02441e5356daf43e6d95ebadd7474d.scn. Make sure resources have been imported by opening the project in the editor at least once.
  Failed loading resource: res://StoreRoom/ExcavatorSimulator/Excavator3.blend. Make sure resources have been imported by opening the project in the editor at least once.
  scene/resources/resource_format_text.cpp:174 - res://StoreRoom/ExcavatorSimulator/Excavator3.tscn:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://StoreRoom/ExcavatorSimulator/Excavator3.blend
  scene/resources/resource_format_text.cpp:621 - res://StoreRoom/ExcavatorSimulator/Excavator3.tscn:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://StoreRoom/ExcavatorSimulator/Excavator3.blend
  Failed loading resource: res://StoreRoom/ExcavatorSimulator/Excavator3.tscn. Make sure resources have been imported by opening the project in the editor at least once.
  scene/resources/resource_format_text.cpp:174 - res://StoreRoom/ExcavatorSimulator/ExcavatorSimulator.tscn:62 - Parse Error: [ext_resource] referenced non-loaded resource at: res://StoreRoom/ExcavatorSimulator/Excavator3.tscn

@Calinou
The test.tscn was only a test scene, it not important.
And the version of blender I used was 3.3, I don't know why 3.5 can't open Excavator.blend, myabe I will test it later.
The Vehicle's mass center I was set to Vector3(0,0,0)

And all Wheel's setting I only changed the stiffness to 20:

This settings I was test a new scene that not import from blend file, it work well.

I'm try open Excavator.blend file with Blender3.5.1, it's OK.

Hi, my friends, I'm clean up the reproduction project, wish it can help for this issue.
VehicleTest.zip

Hi, my friends, I'm test again, and found this issue maybe was cause by CollisionShape's size.
https://github.com/godotengine/godot/assets/35988767/6bd6f7ff-bbb7-4524-9a07-b4da577f935b
Look the video, if set the CollisionShape's size to (2.428, 1.059, 3.571), the vehicle not jitter, if set to (2, 0.5, 2), it jitter.
ADD: For the reproduction project, I can't found a valid value which not jitter, so I'm upload my new test project.
VehicleTest.zip


The plugin crushes encoding

Hi!
If you have some non-latin character in jsx, you have a problem with the plugin.
Example:
日本語

becomes
 æ—¥æœ¬èªž

Fixed when I added into index.html following line of code
<meta charset="UTF-8">

Can you notice this in README.md?

Which part of the code transforms the content?

I think content is not transformed. Because changing page encoding in browser helped.
Maybe its not issue with the plugin. I think we always  have to add charset meta tag to avoid issues with encoding. I'll close ticket.

We have that in the default template:
https://github.com/ampedandwired/html-webpack-plugin/blob/master/default_index.ejs#L4


Unable to deploy a fresh cluster (v18+)

Description
I'm trying to create a brand new cluster from the new module version, but i get a for_each error which is not described in the readme.

Users may encounter an error such as Error: Invalid for_each argument - The "for_each" value depends on resource attributes that cannot be determined until apply, so Terraform cannot predict how many instances will be created. To work around this, use the -target argument to first apply ...

From what i understand is the aforementioned error happens when attaching additional policies, right? and that i'm not doing, though i get the following error:
Error: Invalid for_each argument

  on .terraform/modules/eks_cluster/main.tf line 208, in resource "aws_iam_role_policy_attachment" "this":
 208:   for_each = var.create && var.create_iam_role ? toset(compact(distinct(concat([
 209:     "${local.policy_arn_prefix}/AmazonEKSClusterPolicy",
 210:     "${local.policy_arn_prefix}/AmazonEKSVPCResourceController",
 211:   ], var.iam_role_additional_policies)))) : toset([])

The "for_each" value depends on resource attributes that cannot be determined
until apply, so Terraform cannot predict how many instances will be created.
To work around this, use the -target argument to first apply only the
resources that the for_each depends on.

am i missing something?
Versions

Terraform: v0.14.11

Provider(s):

provider registry.terraform.io/hashicorp/aws v3.72.0
provider registry.terraform.io/hashicorp/cloudinit v2.2.0
provider registry.terraform.io/hashicorp/helm v2.4.1
provider registry.terraform.io/hashicorp/kubernetes v2.8.0
provider registry.terraform.io/hashicorp/random v3.1.0
provider registry.terraform.io/hashicorp/tls v3.1.0

Module: v18.7.2

Reproduction

Steps to reproduce the behavior:

Use the new module to create a cluster

Code Snippet to Reproduce

module "eks_cluster" {
  source                          = "terraform-aws-modules/eks/aws"
  version                         = "18.7.2"
  cluster_name                    = local.eks_cluster_name
  cluster_version                 = "1.21"
  cluster_endpoint_private_access = true
  cluster_endpoint_public_access  = true
  vpc_id                          = "vpc-12345678"
  subnet_ids                      = ["subnet-1234678"]
  cluster_enabled_log_types       = ["api", "audit", "authenticator", "controllerManager", "scheduler"]
  cluster_encryption_config = [{
    provider_key_arn = aws_kms_key.eks_cluster.arn
    resources        = ["secrets"]
  }]

  eks_managed_node_group_defaults = {
    iam_role_attach_cni_policy = true
  }

  eks_managed_node_groups = {
    default = {}
  }
  fargate_profiles = {
    subnet_ids = ["subnet-1234678"]
    platform = {
      name = format("%s-platform", local.eks_cluster_name)
      selectors = [
        {
          namespace = "kube-system"
        },
        {
          namespace = "karpenter"
        },
      ]
      tags = local.my_tags
      timeouts = {
        create = "20m"
        delete = "20m"
      }
    }
  }

  tags = merge(
    { "karpenter.sh/discovery" = local.eks_cluster_name },
  local.my_tags)
}

Expected behavior
Being able to create an eks cluster
Actual behavior
Error due to not-yet-known resources
Terminal Output Screenshot(s)
Error: Invalid for_each argument

  on .terraform/modules/eks_cluster/main.tf line 208, in resource "aws_iam_role_policy_attachment" "this":
 208:   for_each = var.create && var.create_iam_role ? toset(compact(distinct(concat([
 209:     "${local.policy_arn_prefix}/AmazonEKSClusterPolicy",
 210:     "${local.policy_arn_prefix}/AmazonEKSVPCResourceController",
 211:   ], var.iam_role_additional_policies)))) : toset([])

The "for_each" value depends on resource attributes that cannot be determined
until apply, so Terraform cannot predict how many instances will be created.
To work around this, use the -target argument to first apply only the
resources that the for_each depends on.

Error: Invalid for_each argument

  on .terraform/modules/eks_cluster/modules/fargate-profile/main.tf line 47, in resource "aws_iam_role_policy_attachment" "this":
  47:   for_each = var.create && var.create_iam_role ? toset(compact(distinct(concat([
  48:     "${local.iam_role_policy_prefix}/AmazonEKSFargatePodExecutionRolePolicy",
  49:     var.iam_role_attach_cni_policy ? local.cni_policy : "",
  50:   ], var.iam_role_additional_policies)))) : toset([])

The "for_each" value depends on resource attributes that cannot be determined
until apply, so Terraform cannot predict how many instances will be created.
To work around this, use the -target argument to first apply only the
resources that the for_each depends on.

Error: Invalid for_each argument

  on .terraform/modules/eks_cluster/modules/fargate-profile/main.tf line 47, in resource "aws_iam_role_policy_attachment" "this":
  47:   for_each = var.create && var.create_iam_role ? toset(compact(distinct(concat([
  48:     "${local.iam_role_policy_prefix}/AmazonEKSFargatePodExecutionRolePolicy",
  49:     var.iam_role_attach_cni_policy ? local.cni_policy : "",
  50:   ], var.iam_role_additional_policies)))) : toset([])

The "for_each" value depends on resource attributes that cannot be determined
until apply, so Terraform cannot predict how many instances will be created.
To work around this, use the -target argument to first apply only the
resources that the for_each depends on.

welp, seems like my issue is duplicated of #1753 #1782

The issue stated above persists. However, I went ahead and commented the resource "aws_iam_role_policy_attachment" but seeing other errors with respect to subnet_ids and desired size not enough .


[FIX] add frameguard to prevent clickjacking

To prevent clickjacking, we need to return X-Frame-Options with certain options, this pull request integrate soya-next with frameguard to fix that

Coverage remained the same at 100.0% when pulling 9209970a7df3dfe551f2e2104f15a51825edcaec on khaeransori:feature/add-frameguard into e8741a54e3cbf52ef0337532471fbad6cc4ee917 on traveloka:master.


Hiding a frozen column causes Actions dropdown list to get out of sync

Description
Hide a frozen column:
The grid seems to do the right thing, but if you open the actions button dropdown, note the wrong column is shown as hidden.
This is reproducible in the demo.  Unclear if this should even be allowable?  Can't think of a use case so might be a design question as to whether we want to disable the ability to hide a frozen column all together?
Version
Datagrid: V1.1.11
Screenshot

This is still happening in V1.2.0 in all browsers.

@alump Retested in V1.2.4, same thing is still happening.

This is still outstanding as of V1.2.5


fixes bug on the org_admin plans page

where plans without owners would cause the page load to fail
noted in #2450 and #2346

looks fine @xsrust so I am going to merge.
The tests were failing with weird errors (one is an intermittent error we've been seeing. I added a new ticket to address the failure in the Rails 5 work) so I restarted them.