Output window shrunk on chrome and Edge browsers and will not scroll

Output window shrunk on chrome and Edge browsers and will not scroll, issue occurring on multiple katas. Refreshing browsers and logging out / back in have not resolved.

I've noticed a similar issue on Safari 11.0 over the past week or so but the only difference is that it is scrollable (at least for this time where I've deliberately tried to reproduce the issue) and it usually disappears after a page refresh:

Unfortunately this Issue did not go away even after two page refreshes this time.

Same: output window is shrunk on Google Chrome and don't scroll.

Same here as well on Chrome. I can't even scroll.

Same here on Chrome, Opera, Firefox (all up to date) on Windows and on the other computer on Chrome on Linux. Can't scroll at all.

Yeah, this is definitely happening on Chrome.
I've tried debugging it, but not sure of the exact cause. For some reason, the code window (document.querySelector("ul.tabs-content") will get the element) is being set to the appropriate height and then immedately back to "auto" 100s of times a second.
You can actually see the page repeatedly setting the height of this window by pasting this code in your console when the window is open:
window.setInterval(function() {
    var elem = document.querySelector("ul.tabs-content");
    if (elem) {
      elem.style.height = "1000px";
    }
  }, 10);

It's very weird behavior.

Chrome user here, have noticed it in versions 62, 63 (Chrome beta) and 64 (Chrome Canary), as well as the latest Opera.
Firefox does indeed seem immune for now

The issue should be resolved.

This is still happening.

The issue should be resolved.

Looks good to me, Chrome 62, including Incognito window, and beta 63 :)


Adding a 'weekLabel' property to replace the hash in the calendar view.

Example:
<DatePicker
    showWeekNumbers
    weekLabel="Wks"
/>

Codecov Report

Merging #933 into master will increase coverage by 0.16%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #933      +/-   ##
==========================================
+ Coverage   85.62%   85.78%   +0.16%
==========================================
  Files          12       12
  Lines         612      612
  Branches      116      117       +1
==========================================
+ Hits          524      525       +1
+ Misses          4        3       -1
  Partials       84       84

Impacted Files
Coverage Δ

src/datepicker.jsx
91.77% <ø> (+0.05%)
:arrow_up:

src/calendar.jsx
87.5% <0%> (+0.77%)
:arrow_up:

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 f8e85fa...b019cb2. Read the comment docs.


Flawed generation of localisation files after upgrading Flutter to 2.2.1

I localised my application using the latest 0.17.0 intl package and it had worked fine until I upgraded Flutter from 2.0.2 to 2.2.1.
Now localisation files are generated without import 'package:intl/intl.dart' as intl;, which leads to errors when trying to build the project.
Downgrading Flutter back to 2.0.2 resolves the issue.
Steps to Reproduce

While having Flutter 2.0.2, localise your applicaiton in accordance with the official guidelines.
Upgrade Flutter from 2.0.2 to 2.2.1.
Run flutter build bundle.

flutter build bundle --verbose
[ +131 ms] executing: [C:\Users\safarol\AppData\Local\Programs\Flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[ +965 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[   +2 ms] executing: [C:\Users\safarol\AppData\Local\Programs\Flutter/] git tag --points-at
02c026b03cd31dd3f867e5faeb7e104cce174c5f
[ +562 ms] Exit code 0 from: git tag --points-at 02c026b03cd31dd3f867e5faeb7e104cce174c5f
[   +1 ms] 2.2.1
[   +9 ms] executing: [C:\Users\safarol\AppData\Local\Programs\Flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +105 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[        ] executing: [C:\Users\safarol\AppData\Local\Programs\Flutter/] git ls-remote --get-url origin
[ +108 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +263 ms] executing: [C:\Users\safarol\AppData\Local\Programs\Flutter/] git rev-parse --abbrev-ref HEAD
[ +108 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +2 ms] stable
[ +212 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +29 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +224 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +125 ms] Initializing file store
[  +19 ms] Done initializing file store
[ +148 ms] Skipping target: gen_localizations
[   +8 ms] Persisting file store
[  +42 ms] Done persisting file store
[  +82 ms] Skipping pub get: version match.
[ +281 ms] Found plugin file_picker at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-3.0.2+2\
[  +38 ms] Found plugin flutter_plugin_android_lifecycle at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.2\
[  +31 ms] Found plugin flutter_tts at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\flutter_tts-3.1.0\
[ +181 ms] Found plugin package_info_plus at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\package_info_plus-1.0.1\
[  +51 ms] Found plugin package_info_plus_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\package_info_plus_macos-1.1.1\
[  +66 ms] Found plugin package_info_plus_web at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\package_info_plus_web-1.0.1\
[  +78 ms] Found plugin path_provider at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.2\
[  +26 ms] Found plugin path_provider_linux at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.0.0\
[  +24 ms] Found plugin path_provider_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.0\
[  +51 ms] Found plugin path_provider_windows at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.1\
[ +130 ms] Found plugin sentry_flutter at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\sentry_flutter-5.0.0\
[  +33 ms] Found plugin shared_preferences at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.6\
[  +27 ms] Found plugin shared_preferences_linux at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.0\
[  +30 ms] Found plugin shared_preferences_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.0\
[  +56 ms] Found plugin shared_preferences_web at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.0\
[  +28 ms] Found plugin shared_preferences_windows at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.0\
[  +59 ms] Found plugin sqflite at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.0+3\
[ +193 ms] Found plugin url_launcher at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-6.0.6\
[  +24 ms] Found plugin url_launcher_linux at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-2.0.0\
[  +22 ms] Found plugin url_launcher_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-2.0.0\
[ +100 ms] Found plugin url_launcher_web at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.1\
[  +27 ms] Found plugin url_launcher_windows at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-2.0.0\
[ +547 ms] Found plugin file_picker at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-3.0.2+2\
[  +16 ms] Found plugin flutter_plugin_android_lifecycle at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.2\
[  +15 ms] Found plugin flutter_tts at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\flutter_tts-3.1.0\
[  +34 ms] Found plugin package_info_plus at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\package_info_plus-1.0.1\
[   +8 ms] Found plugin package_info_plus_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\package_info_plus_macos-1.1.1\
[  +28 ms] Found plugin package_info_plus_web at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\package_info_plus_web-1.0.1\
[  +51 ms] Found plugin path_provider at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.2\
[  +19 ms] Found plugin path_provider_linux at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.0.0\
[  +11 ms] Found plugin path_provider_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.0\
[   +9 ms] Found plugin path_provider_windows at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.1\
[  +24 ms] Found plugin sentry_flutter at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\sentry_flutter-5.0.0\
[   +6 ms] Found plugin shared_preferences at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.6\
[  +11 ms] Found plugin shared_preferences_linux at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.0\
[   +4 ms] Found plugin shared_preferences_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.0\
[  +16 ms] Found plugin shared_preferences_web at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.0\
[   +7 ms] Found plugin shared_preferences_windows at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.0\
[  +14 ms] Found plugin sqflite at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.0+3\
[  +57 ms] Found plugin url_launcher at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-6.0.6\
[   +6 ms] Found plugin url_launcher_linux at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-2.0.0\
[   +9 ms] Found plugin url_launcher_macos at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-2.0.0\
[  +13 ms] Found plugin url_launcher_web at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.1\
[  +17 ms] Found plugin url_launcher_windows at
C:\Users\safarol\AppData\Local\Programs\Flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-2.0.0\
[ +361 ms] Generating
C:\Users\safarol\Documents\GIT\language_cards\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +294 ms]  Building with sound null safety
[  +21 ms] Initializing file store
[  +90 ms] Done initializing file store
[ +128 ms] Skipping target: gen_localizations
[+3787 ms] kernel_snapshot: Starting due to {}
[  +43 ms] C:\Users\safarol\AppData\Local\Programs\Flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Users\safarol\AppData\Local\Programs\Flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\safarol\AppData\Local\Programs\Flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter
--no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation
--no-link-platform --packages C:\Users\safarol\Documents\GIT\language_cards\.dart_tool\package_config.json --output-dill
C:\Users\safarol\Documents\GIT\language_cards\.dart_tool\flutter_build\504941f2fa07fd66e96f9082aa1c441d\app.dill --depfile
C:\Users\safarol\Documents\GIT\language_cards\.dart_tool\flutter_build\504941f2fa07fd66e96f9082aa1c441d\kernel_snapshot.d
package:language_cards/main.dart
[+16398 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:89:11: Error: 'intl.NumberFormat' can't be used as a type
because 'intl'
                     doesn't refer to an import prefix.
[   +8 ms]     final intl.NumberFormat studyProgressNumberFormat = intl.NumberFormat.compactLong(
[   +2 ms]           ^^^^^^^^^^^^^^^^^
[  +11 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:89:57: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +2 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat studyProgressNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                         ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:112:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +5 ms]     final intl.NumberFormat cardsToResetLengthNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:112:62: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +3 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +2 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsToResetLengthNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                              ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:126:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +1 ms]     final intl.NumberFormat cardsToResetNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:126:62: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsToResetNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                              ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:137:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +3 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:137:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:195:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat pageNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:200:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat pagesOverallNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:195:54: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat pageNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                      ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:200:56: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat pagesOverallNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                        ^^^^
[  +17 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:335:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat removedItemsLengthNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:335:62: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +5 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +2 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat removedItemsLengthNumberFormat = intl.NumberFormat.compactLong(
[   +2 ms]                                                              ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:397:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +5 ms]     final intl.NumberFormat packsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:402:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +3 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +3 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:397:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +2 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat packsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:402:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +7 ms]                                                       ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:433:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +4 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:433:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +3 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:599:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat curCardIndexNumberFormat = intl.NumberFormat.compactLong(
[   +3 ms]           ^^^^^^^^^^^^^^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:604:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +3 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:599:56: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat curCardIndexNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                        ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart:604:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsEn'.
[   +2 ms]  - 'AppLocalizationsEn' is from 'package:flutter_gen/gen_l10n/app_localizations_en.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_en.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:89:11: Error: 'intl.NumberFormat' can't be used as a type
because 'intl'
           doesn't refer to an import prefix.
[   +5 ms]     final intl.NumberFormat studyProgressNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:89:57: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat studyProgressNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                         ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:112:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat cardsToResetLengthNumberFormat = intl.NumberFormat.compactLong(
[   +2 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:112:62: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsToResetLengthNumberFormat = intl.NumberFormat.compactLong(
[   +2 ms]                                                              ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:126:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat cardsToResetNumberNumberFormat = intl.NumberFormat.compactLong(
[   +6 ms]           ^^^^^^^^^^^^^^^^^
[   +6 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:126:62: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +3 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +2 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsToResetNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                              ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:137:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +2 ms]           ^^^^^^^^^^^^^^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:137:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +2 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:195:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +1 ms]     final intl.NumberFormat pageNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:200:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat pagesOverallNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:195:54: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat pageNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                      ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:200:56: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat pagesOverallNumberFormat = intl.NumberFormat.compactLong(
[   +3 ms]                                                        ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:335:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat removedItemsLengthNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:335:62: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat removedItemsLengthNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                              ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:397:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat packsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:402:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:397:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat packsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:402:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:433:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:433:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +1 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +1 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                       ^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:599:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat curCardIndexNumberFormat = intl.NumberFormat.compactLong(
[  +17 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:604:11: Error: 'intl.NumberFormat' can't be used as a type
because
           'intl' doesn't refer to an import prefix.
[   +2 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +2 ms]           ^^^^^^^^^^^^^^^^^
[   +1 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:599:56: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +2 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +2 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +3 ms]     final intl.NumberFormat curCardIndexNumberFormat = intl.NumberFormat.compactLong(
[   +1 ms]                                                        ^^^^
[   +2 ms] .dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart:604:55: Error: The getter 'intl' isn't defined for the class
           'AppLocalizationsRu'.
[   +3 ms]  - 'AppLocalizationsRu' is from 'package:flutter_gen/gen_l10n/app_localizations_ru.dart'
            ('.dart_tool/flutter_gen/gen_l10n/app_localizations_ru.dart').
[   +6 ms] Try correcting the name to the name of an existing getter, or defining a getter or field named 'intl'.
[   +8 ms]     final intl.NumberFormat cardsNumberNumberFormat = intl.NumberFormat.compactLong(
[   +5 ms]                                                       ^^^^
[+15141 ms] Persisting file store
[  +24 ms] Done persisting file store
[  +17 ms] Target kernel_snapshot failed: Exception
[  +28 ms] "flutter bundle" took 40,065ms.
[   +9 ms] Failed to build bundle.
[   +1 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      buildWithAssemble (package:flutter_tools/src/bundle.dart:178:5)
           <asynchronous suspension>
           #2      BundleBuilder.build (package:flutter_tools/src/bundle.dart:104:5)
           <asynchronous suspension>
           #3      BuildBundleCommand.runCommand (package:flutter_tools/src/commands/build_bundle.dart:114:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1043:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:196:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>

[ +126 ms] ensureAnalyticsSent: 113ms
[   +5 ms] Running shutdown hooks
[   +1 ms] Shutdown hooks complete
[   +1 ms] exiting with code 1

flutter doctor --verbose
[√] Flutter (Channel stable, 2.2.1, on Microsoft Windows [Version 10.0.19042.985], locale en-US)
    • Flutter version 2.2.1 at C:\Users\safarol\AppData\Local\Programs\Flutter
    • Framework revision 02c026b03c (11 days ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\safarol\AppData\Local\Programs\Android
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\safarol\AppData\Local\Programs\Android
    • ANDROID_SDK_ROOT = C:\Users\safarol\AppData\Local\Programs\Android
    • Java binary at: C:\Users\safarol\AppData\Local\Programs\Android\jdk-15.0.1\bin\java
    • Java version Java(TM) SE Runtime Environment (build 15.0.1+9-18)
    • All Android licenses accepted.

[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] VS Code (version 1.56.2)
    • VS Code at C:\Users\safarol\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.21.0

[√] Connected device (1 available)
    • Edge (web) • edge • web-javascript • Microsoft Edge 91.0.864.41

! Doctor found issues in 2 categories.

I'm experiencing the same problem. Generated localization files (app_localizatons_de.dart, app_localizatons_es.dart, etc) are missing prefix in import line.
import 'app_localizations.dart';
should be
import 'package:intl/intl.dart' as intl;

Hi @stenlee
This has been fixed in later channels, a duplicate of https://github.com/flutter/flutter/issues/83102


Strange behaviour with overlay layers.

I'm not sure what happened, but I could analyze that everything happens when it goes through the initialization function of the layer in leaflet.js
If i use a Array.prototype.someThing definitions, the overlays layers dont´work and report the error:
Error: layer.on is not a function
L.Control.Layers<.addLayer@http://localhost/leaflet/lib/leaflet-src.js:12307:4
L.Control.Layers<.initialize@http://localhost/leaflet/lib/leaflet-src.js:12169:4
L.Class.extend/NewClass@http://localhost/leaflet/lib/leaflet-src.js:310:4
L.control.layers@http://localhost/leaflet/lib/leaflet-src.js:12487:9
Lines 1268~1270  of leaflet.js where the function is called.
for (var i in baseLayers) {
            console.log(typeof baseLayers);    ----> Object
            console.log(typeof baseLayers[i]); ----> Function, and "i" is a name of function in prototype of the Array.
            this._addLayer(baseLayers[i], i);
        }

And this happends only when i use Array.prototype.... declarations, if i remove these, works fine.
But i could resolve checking the type of variable layer first in leaf.js.
_addLayer: function (layer, name, overlay) {
      if (typeof layer == 'object') {
          layer.on ...
      }

I don´t know if is something with the way of collections works in AngularJS or what.
Angular version is 1.5.5, leaflet is 1.0.1 and ui-leaflet is 2.0.0

ui-leaflet 2.0.0 not is working with leaflet 1.x, for leaflet 1.x please use leaflet1.X branch. https://github.com/angular-ui/ui-leaflet/tree/leaflet-1.X, this is in alpha state.


Grafana dashboard

From @rverchere on June 27, 2017 21:7
Add grafana dashboard using this exporter.
Copied from original issue: rverchere/vmware_exporter#8

I think its very personal. And based on your VC config. I created smthing like this.

@akurach looks good. Want to do a PR for it? I want to get mine added as well. Did you build any alert manager rules for it.
Currently we have this:
ALERT Host_Warn_Cpu_Usage
  IF
    avg(vmware_host_cpu_usage / vmware_host_cpu_max) by (host_name, environment) * 100 >= 80
  FOR 30m
  LABELS {
    severity = "warning",
    alert_category = "vmware",
    instance = "{{ $labels.host_name }}",
    team = "prod-services",
    run_book = "exampe.com/wiki/what-to-do"
  }
  ANNOTATIONS {
    summary = "High cpu usage on {{ $labels.host_name }}: {{ $value | printf \"%.2f\" }}%",
    description = "High cpu usage on {{ $labels.host_name }}: {{ $value | printf \"%.2f\" }}%"
  }

ALERT Host_Crit_Cpu_Usage
  IF
    avg(vmware_host_cpu_usage / vmware_host_cpu_max) by (host_name, environment) * 100 >= 95
  FOR 10m
  LABELS {
    severity = "critical",
    alert_category = "vmware",
    instance = "{{ $labels.host_name }}",
    team = "prod-services",
    run_book = "exampe.com/wiki/what-to-do"
  }
  ANNOTATIONS {
    summary = "High cpu usage on {{ $labels.host_name }}: {{ $value | printf \"%.2f\" }}%",
    description = "High cpu usage on {{ $labels.host_name }}: {{ $value | printf \"%.2f\" }}%"
  }

ALERT Host_Warn_Mem_Usage
  IF
    avg(vmware_host_memory_usage / vmware_host_memory_max) by (host_name, environment) * 100 >= 80
  FOR 30m
  LABELS {
    severity = "warning",
    alert_category = "vmware",
    instance = "{{ $labels.host_name }}",
    team = "prod-services",
    run_book = "exampe.com/wiki/what-to-do"
  }
  ANNOTATIONS {
    summary = "High memory usage on {{ $labels.host_name }}: {{ $value | printf \"%.2f\" }}%",
    description = "High memory usage on {{ $labels.host_name }}: {{ $value | printf \"%.2f\" }}%. Consider rebalancing of virtualmachines on the cluster in vmware."
  }

ALERT Host_Crit_Mem_Usage
  IF
    avg(vmware_host_memory_usage / vmware_host_memory_max) by (host_name, environment) * 100 >= 98
  FOR 5m
  LABELS {
    severity = "critical",
    alert_category = "vmware",
    instance = "{{ $labels.host_name }}",
    team = "prod-services",
    run_book = "exampe.com/wiki/what-to-do"
  }
  ANNOTATIONS {
    summary = "High memory usage on {{ $labels.host_name }}: {{ $value | printf \"%.2f\" }}%",
    description = "High memory usage on {{ $labels.host_name }}: {{ $value | printf \"%.2f\" }}%. Rebalance virtrtual machines on the cluster in vmware."
  }

ALERT Predict_Disk_Space_Warn
  IF
    (avg(vmware_datastore_freespace_size) by (ds_name, environment, vcenter_host)/((avg(vmware_datastore_freespace_size offset 7d ) by (ds_name, environment, vcenter_host) - avg(vmware_datastore_freespace_size) by (ds_name, environment, vcenter_host))/7+1) >= 0) <= 1
  FOR 60m
  LABELS {
    severity = "warning",
    alert_category = "vmware",
    instance = "{{ $labels.vcenter_host }}:{{ $labels.ds_name }}",
    team = "prod-services",
    run_book = "exampe.com/wiki/what-to-do"
  }
  ANNOTATIONS {
    summary = "Disk space on vmware datastore {{ $labels.ds_name }} could run out in {{ $value | printf \"%.2f\" }} days",
    description = "Disk space on vmware datastore {{ $labels.ds_name }} could run out in {{ $value | printf \"%.2f\" }} days"
  }

ALERT Predict_Disk_Space_Crit
  IF
    (avg(vmware_datastore_freespace_size) by (ds_name, environment, vcenter_host)/((avg(vmware_datastore_freespace_size offset 6h ) by (ds_name, environment, vcenter_host) - avg(vmware_datastore_freespace_size) by (ds_name, environment, vcenter_host))/6 + 1) >= 0) <= 6
  FOR 5m
  LABELS {
    severity = "critical",
    alert_category = "vmware",
    instance = "{{ $labels.vcenter_host }}:{{ $labels.ds_name }}",
    team = "prod-services",
    run_book = "exampe.com/wiki/what-to-do"
  }
  ANNOTATIONS {
    summary = "Disk space on vmware datastore {{ $labels.ds_name }} could run out in {{ $value | printf \"%.2f\" }} hours",
    description = "Disk space on vmware datastore {{ $labels.ds_name }} could run out in {{ $value | printf \"%.2f\" }} hours"
  }

I can try to make my dash more templated....
About alerts - now i use default grafana alerts via pushover and telegram. But i want to migrate to alertmanager in future.

@akurach No rush, I think we will find use in your dashboard.

@akurach Any progress on this?

for now I've got something like this
I can give examples of some of them)

Hello,
Are there any examples or templates out there using this exporter? I could not find any on the grafana website.

for now I've got something like this
I can give examples of some of them)

Hi
Can you provide the dashboards you've build in Grafana for the Prometheus VMware Exporter? They look great.

@akurach They look great actually!
Is it possibly to contribute those?

I always find that it's almost impossible to provide a one-size-fit-all dashboard that will work well for everyone, since our monitoring/observability requirements differ and we all look at slightly different things.
My recommendation here would be to suggest users that would like to share/contribute their dashbaords to use Grafana's dashboard library - https://grafana.com/grafana/dashboards
This way we can have multiple variants published and maintained in an appropriately designed repository so that users can mix-and-match or use the variant that better fits their needs.
@pryorda this seems a more sensible approach to me, wdyt?

I think having a standard template would be good. RAM/CPU/DISK. Other then that you're correct.

@dannyk81 I feel like, that people feel more responsible to update their dashboards, if they're in the git repository than on grafana dashboards. I'm with @pryorda on this, I would even like a more stacked version, so everyone can just delete panels that they don't need.

well, I see at least 3 versions above and my own dashboards are quite different... even display RAM/CPU/DISK can be done in so many ways :smile:
I would instead create list of sample queries and alerts which focus on various aspects of the system's health, users can then use these samples to build their alerting rules and dashboards.
again, this is my preference and 2 cents on this subject...

Sounds alright to me :) But I'm still thinking, that some finished example boards which are working out of the box (more or less), would be pretty helpful for newbies

pryorda , I found the alerts created in the above example in response to @akurach very good, I have great difficulty creating these alerts for disk space and virtual machines down, would you have any example?
Thank you very much in advance

I would start by understanding the metrics you are wanting to grab and then possibly look at the predictive alerts in prometheus. Let me know if this doesn't help


App not refreshing with saved changes... but only for certain words

Reproduction
https://user-images.githubusercontent.com/58148287/108404144-6dfc5600-7217-11eb-993c-fa00db76ef0d.mov
Description
There's a file stuck in a React Native cache somewhere, and it fast refreshes ONLY if the line or lines around it are "similar" to what's in the cache. The problem is, destroying node_modules, pods, watchman, ios build cache, toggling debug mode, nor restarting the computer solves this issue. Basically I cannot develop my app. I feel like this should be very easily isolatable for someone who knows React Native in and out. So:
(a) what's the workaround?
(b) can we fix the bug?
Examples of what works vs not:
Logs
console.log(`test`); // ignored
console.log(`gotsports ${JSON.parse((currentBookArr[1]) as string)}`); // logs fine
console.log(`gotsports some other text ${JSON.parse((currentBookArr[1]) as string)}`); // logs fine
console.log(`got ${JSON.parse((currentBookArr[1]) as string)}`); // ignored
console.log(`test`); // ignored

React Native version:
System:
    OS: macOS 11.1
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
    Memory: 234.65 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 12.20.1 - ~/.nvm/versions/node/v12.20.1/bin/node
    Yarn: 1.22.10 - ~/.nvm/versions/node/v12.20.1/bin/yarn
    npm: 7.5.2 - ~/.nvm/versions/node/v12.20.1/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.0 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.3, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.0 AI-193.69<IP_ADDRESS>26763
    Xcode: 12.3/12C33 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.7 - /usr/bin/javac
    Python: Not Found
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.63.4 => 0.63.4
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

Develop your React Native app as normal
(?) Somehow get the refresh to break
Now you're permanently stuck not able to update your code except in the circumstances shown in the video.

Expected Results
Be able to save and refresh your app.

Marking as closed since there's a reasonable workaround. I think this fixed it: npx react-native start --reset-cache


Serialization protocol documentation

When writing our connection layer, it's difficult to understand the built-in rpc_core serialization protocol. Is there any documentation you can provide on that?

connection layer don't need care serialization protocol.
serialization interface just tow functions:
namespace rpc_core {

template <typename T>
inline std::string serialize(T&& t) {
}

template <typename T>
inline bool deserialize(const detail::string_view& data, T& t) {
}

}  // namespace rpc_core

built-in rpc_core serialization just an implementation for it.
there is an option for custom serialization: -DRPC_CORE_SERIALIZE_USE_CUSTOM="custom_serialization.h"
you can see: serialize_nlohmann_json.hpp

connection layer don't need care serialization protocol.

In theory, yes. However, in practice, no. While troubleshooting with a logic analyzer when implementing a connection, you may not be sure you're getting the whole packet, or just pieces of it, or just garbage data. Knowing some small details about the serialization protocol in this case is very helpful.

serialization interface just tow functions:
namespace rpc_core {

template <typename T>
inline std::string serialize(T&& t) {
}

template <typename T>
inline bool deserialize(const detail::string_view& data, T& t) {
}

}  // namespace rpc_core

built-in rpc_core serialization just an implementation for it.

Ok this points me in the right direction, thank you.

there is an option for custom serialization: -DRPC_CORE_SERIALIZE_USE_CUSTOM="custom_serialization.h"
you can see: serialize_nlohmann_json.hpp

Yes I did see other serialization options, and this is very helpful to be able to do others. However, I do like the size optimization, and presumably speed optimization, provided by the built-in serialization for embedded processors.

The connection layer should ensure that the packet is complete and perform CRC checks after receiving from unstable transfers like a serial port.
While understanding serialization will be helpful, but it will be very difficut to read. Ensuring a complete packet by code is the best approach.
Moreover, built-in serialization should theoretically be much faster than JSON.

When watching a logic analyzer, it is helpful to have an idea of what the data you're looking at is. Indeed, with a Saleae Logic device, we could create an analyzer plugin that decodes it on the fly and shows the data above each packet. I suppose this could be done by just using rpc-core in the plugin code, though I'm not sure how feasible that is.

when received one data packet, the only thing we known is binary data and it's size.
the key is how to  analyze the binary data.
so, if use build-in serialization-protocol, it's impossible to make a plugin. because the serialization erase the type info.
but, if use json-like serialization, it's easy to make one.

I think I understand. You have to have pre-existing knowledge about what the packet means in order to decode it correctly. Both sides of the RPC know this, so it's not a problem, but a generic analyzer plugin would not. It could only guess based on patterns, but patterns alone won't tell you definitively.
That said, some Saleae plugins let you have configuration you can put in. So... a simple implementation would let you put in the packet decoding for at least one type of packet.


Needs a better description

I followed a link to this repo from ManageIQ/manageiq and did not know what this is.  The descriptions in README.md and https://github.com/miq-consumption/manageiq-consumption/blob/master/manageiq-consumption.gemspec#L14 weren't helpful.
After browsing the code and talking to others it seems to be related to ManageIQ's Chargeback feature, is that correct?
If so, can someone please update the description to reflect that?
Is it a replacement for chargeback or enhancements?

We are on it!

@bdunne Can you please have a look at issue #57. We explain some things there.

@bdunne Updated the wiki, please have a look at it and let us know if it is good enough for developers (we need the UI to create user documentation)


Known issues cli fix

Getting syntax err

Coverage remained the same at 51.778% when pulling e8906cd68190c3fa64a08844e9299e1a259b2afd on lfreneda:known-issues-cli-fix into 8fc961051577ba47f4a18d0b1b01678b2795ec38 on phpbrew:master.

\ at the end of lines means the command is not over and the next line is appending to the previous line.
so the readme.md is right as it split command into multiple lines.
the printscreen indicates you type everything in one line so you have to remove the \ to get the correct result.


Is there any way to set custom initial time while using showTimeInput ?

I am trying to set a custom initial time in the highlighted area.

You have to create a custom string using todays date and then add your default time in. Use that string to create a new Date(). Would create the new Date() then remove the current time and replace it with your custom time. You'd have to write a function to handle the formatting.
Basically you end up with something like this const defaultTime = new Date('Jan 01 2020 09:00:00')


feat(Connector): [Stripe] Implement Cashapp Wallet

Type of Change

[ ] Bugfix
[x] New feature
[x] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description
Implemented Cashapp wallet, payment method for Stripe.
Additional Changes

[x] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

hyperswitch/crates/api_models/src/enums.rs
hyperswitch/crates/storage_models/src/enums.rs
Motivation and Context
In Stripe connector Cashapp was not implemented, but it is important payment method which is needed in market so I implemented it.
How did you test it?
I tested it using Postman
Payment Create

Payment Retrieve

Refund Create

Refund Retrieve

Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

@AkshayaFoiger As discussed right now we don't support mobile app redirection flow or QR code flow. So removing this PR from waiting for review

@AkshayaFoiger Since we have solution for handling QR redirects and QR mobile redirects. Please implement the QR code handling for this payment method


Add option for preventing the use of the gsm encoding

If you are unlucky there is a chance some of symbols in your sms get removed.
This happens to chars which are by the GSM 03.38 standard but are
non-ascii (0-127). [I am having problems with the Clickatell
sms gateway. The symbols get removed from time to time depending on the
route taken by the message.]
The current change adds an option which allows you to ignore the use of
the gsm encoding and use only ascii and unicode. By default the gsm
encoding is in use.
To use the option you have to update set it in the ruby code and in
javascript.

@mitio review pls :)

Except my two comments, all else looks good.


feat(gui-clients): permit resource enable and disable

Last PR for #6074
This adds Enable/Disable for tauri clients.
In windows, edge seems to hold on to the sockets for a bit too long after disabling the resources. This will be solved for the internet resource probably by modifying the firewall, in another PR.

Approving to unblock but I'd like the check for not disabling resources that can't be disabled to happen in connlib.

It involves a bit of duplication but I think only the UI should be concerned about a resource that can be disabled or not, since it's the component that will know what to do with it.
I was designing this, trying to have connlib not access the can_toggle property.

In windows, edge seems to hold on to the sockets for a bit too long after disabling the resources

Is this related to the general problem of browsers holding on to HTTP/2 or HTTP/3 connections that cause problems when starting / stopping Firezone?


DO NOT MERGE V1.9.0 with bench changes

Temporary PR for the purpose of running benchmarks
Bring back workload changes into v1.9

/bench workloads/**.json

/bench workloads/**.json

/bench workloads/**.json

/bench workloads/**/*.json

/bench workloads/**/*.json

/bench workloads/movies.json

/bench workloads/**/.json workloads/.json

☀ Benchmark invocation completed, please find the results for your workloads below:

search-movies-subset-hf-embeddings compared with v1.9.0
search-filterable-movies.json compared with v1.9.0
search-geosort.jsonl_1M compared with v1.9.0
search-hackernews.ndjson_1M compared with v1.9.0
search-movies.json compared with v1.9.0
search-sortable-movies.json compared with v1.9.0
movies-subset-hf-embeddings compared with v1.9.0
settings-add-embeddings-hf compared with v1.9.0
hackernews.ndjson_1M_ignore_first_100k compared with v1.9.0
hackernews.ndjson_1M compared with v1.9.0
movies.json compared with v1.9.0
movies.json,no-threads compared with v1.9.0
settings-add-remove-filters.json compared with v1.9.0
settings-proximity-precision.json compared with v1.9.0
settings-remove-add-swap-searchable.json compared with v1.9.0
settings-typo.json compared with v1.9.0

this served its purpose, closing


How to disable indent-blankline in Nvim tree

How do I disable indent blank line in buffers line nvim?

You can set filetypes to exclude with :help g:indent_blankline_filetype_exclude
For Nvim tree I think it is NvimTree

I've tried this many times. doesn't register .

I am very confident that indent_blankline_filetype_exclude works correctly. If you find a bug there, please create a minimal init.lua to reproduce it.
I don't use NvimTree, so I can't really help you with that, maybe open an issue in that repo.

Hello @hsheikhali1, if you still having the problem try to use in your lua file settings:
vim.g.indent_blankline_filetype_exclude = {'NvimTree'}

or for vimscript:
let g:indent_blankline_filetype_exclude = ['NvimTree']

Explanation: the NvimTree is the file type and you can get it calling this :lua print(vim.bo.filetype) to get the file type of the current buffer where the mouse is.
NOTE: the file type is case sensitive.

Explanation: the NvimTree is the file type and you can get it calling this :lua print(vim.bo.filetype) to get the file type of the current buffer where the cursor is.
NOTE: the file type is case sensitive.

It will be helpful for non-expert vim users like me, to have this information in the plugin's man page.

Explanation: the NvimTree is the file type and you can get it calling this :lua print(vim.bo.filetype) to get the file type of the current buffer where the cursor is.
NOTE: the file type is case sensitive.

It will be helpful for non-expert vim users like me, to have this information in the plugin's man page.

filetype itself is already documented by (neo)vim itself. And the indent-blankline documentation links to it.

You can put the cursor on filetype and hit ctrl-]. This will jump you to the documentation for filetype.


Add OIDC documentation

Context
We are introducing the OIDC Deployment in the sample apps to replace, in the long term, Terraform cloud.
For that we wanted a documentation to have an overview of the general deployment process.
This doc is non technical as the sample apps include documentation to deploy with OIDC.
Changes

[x] Replace OpenShift 101 by OIDC-Doc

Tests

[x] Carles went through the documentation to make sure of the clarity for someone unfamiliar with this process.
[ ] Deployment and rendering in Vue Press

In file /01_How_does_it_work.md I would like to see an explanation of the graphs. Something like
 GitHub action starts, the OIDC component connects to the ressource in AWS, verifies role and policy, and if all Ok, then deploys the resource in AWS while saving the state in n S3 bucket  and a Dynamo DB
File 03_AWS_configuration.md
First sentence, change to "Please notive this procedure..."
Second paragraph: Is 'regular workflow" a common expression? I would replace by something like " Dev/Test/Production approach..."
Third paragraph:
"This is the configuration that states..."
File 04_GitHub_configuration.md
First sentence in the Context section. You can simple add it as a note "AWS IAM role creation has been covered in the previous document"
Should not be explained in this document how to configure the permissions section of the GitHub action?
File 05_Terraform_backend.md
I do not see how the Terraform {. } snippet relates to the two links you provide at the end of the file
File /06_Terraform_workspace.md
I don't understand how the information in this file is relevant to the previous ones. I would suggest to either elaborate or delete the file.

In file /01_How_does_it_work.md I would like to see an explanation of the graphs

I've added this block :

GitHub action starts, try to assume the IAM Role through the OIDC component, AWS verifies the trust relationship match the GitHub repository, then if granted by AWS access to the role and policy, Github action can deploy resources and terraform can save state and lock in s3 and Dynamodb.

File 05_Terraform_backend.md
I do not see how the Terraform {. } snippet relates to the two links you provide at the end of the file

I have completly change everything to be clearer I hope it works better

File /06_Terraform_workspace.md
I don't understand how the information in this file is relevant to the previous ones. I would suggest to either elaborate or delete the file.

I have suppressed it, I don't think it has his place here. I'll keep it in my personnal doc on the side.

File 03_AWS_configuration.md
First sentence, change to "Please notice this procedure..."
Second paragraph: Is 'regular workflow" a common expression? I would replace by something like " Dev/Test/Production approach..."
Third paragraph:
"This is the configuration that states..."
File 04_GitHub_configuration.md
First sentence in the Context section. You can simple add it as a note "AWS IAM role creation has been covered in the previous document"

Done

Review completed, feedback has been incorporated to the document.


Add reference to Yuvi Pandas blog post about the Jupyter ecosystem

https://blog.jupyter.org/99-ways-to-extend-the-jupyter-ecosystem-11e5dab7c54

Done.


Remove ~~~ as a slide delimiter

Fixes #47
Fixes #48
Changes Introduced

Removes ~~~ as a slide delimiter

cc @ChristopherLenz


About Twill on Spectrum

Hey there,
Many of you have asked for a space to chat with us and other developers using Twill. We just launched Twill on Spectrum to do just that. We literally just created it so it’s a bit of a graveyard right now – don’t be shy and post away to help get things started!
We also released a lot more today, so I invite you to check it out there! With the 1.2.1 release out we're going to have more time to reply to bug reports and feature requests here but would appreciate if we all use Spectrum more for things that are more conversations/questions than actual issues!
Hope you like it!
Quentin

It's still a graveyard.

Looks like Spectrum will become read-only August 10, 2021.
https://spectrum.chat/spectrum/general/e4ca0386-f15c-4ba8-8184-21cf5fa39cf5

Whats stopping Area17 from opening the discussions tab here on github right away? While this feature is labeled as beta, any repo can activate it and its pretty much stable to use.
The only changes that are coming, are additions such as GraphQL API to do CRUD on discussions. May I further more suggest, opening a Discord channel? If you'd like, I could support you on that and take the lead.
I am running several discord communities, one of which is for webdevelopers that accounts 23k members as of now.
The combination of github discussions for thread like things and discord for real time discussions, will surely improve the community overall.
I'd simply not wait out on for so long, if time is the issue, I'd be here to help drive the community towards the right direction.

Hi @lostdesign, we're on the same page. With the recent announcement from Spectrum, we're going to move forward with GitHub Discussions, and we're opening a Discord too. It's already created and we're setting it up at the moment before announcing it to the community with our upcoming release. Glad to know we have your support!

@ifox Feel free to invite or contact me anytime, I am lost#0001 on discord.

Hi @lostdesign, we're on the same page. With the recent announcement from Spectrum, we're going to move forward with GitHub Discussions, and we're opening a Discord too. It's already created and we're setting it up at the moment before announcing it to the community with our upcoming release. Glad to know we have your support!

Am onboard also - hopefully we can get the community more active.
When are you guys looking at the next release? Really interested to see where this project goes - also happy to sponsor/pay for the product, I think you guys have a great foundation here but it still needs a lot of work to get it to a point where someone can pick it up and fly forward :)


Animations etc

This looks great!
I couldn't resist suggesting a few tweaks, particularly to animate the cards flipping over and back.
Please feel free to accept/ignore whatever portion of this you want. The card flipping is pretty nice, though I don't know whether you'll want the "highlight matched cards" feature as it complicates some bits of the game logic code. I've kept the "highlight matched cards" feature in its own final commit so you can easily revert or just not merge that one if you don't want it.

@danroth27 Did you mean to merge this into master? It's only been merged into danroth27/add-app.


Update version of GitHub actions

And replace set-output commands with $GITHUB_OUTPUT environment file.

Ready for review!


Add prometheus support

Fixes #888

Great work 🎉  🙌
Left some small comments.
One thing worth to mention is:
I think we don't really need the 'enabled' config inside promethus. It should be able to be checked only in server layer. In that case, we can remove the config from promethus logic and move the 'promethus_enabled' into server , with 'admin_pwd' together.


Is 88 version deprecated ?

@ianfleeton - I have been using version 88 and the nov/paypal-express gem on my payment APIs. Is this version deprecated. Is it the reason you have create a fork ? So far we haven't experienced any issues, so would be very helpful to know your feedback to consider upgrading to your fork.

Hi @kannancet - I believe it can still work, though @hevamb mentions in nov/paypal-express#74 that PayPal said it was a bit old and a newer version should be used. Newer versions of the API required that the api version desired was sent with existing requests. See EnyukaStudio/paypal-express#1 for the start of that.
If you are experiencing no issues, then good for you! However, I believe nov stopped maintaining his version after he stopped using PayPal, which means it's no longer tested against newer rubies, Rails, etc. It also lacks a few tweaks and fixes, such as support for phone numbers.
The reason I created the fork is I needed PRs from multiple contributors that weren't being merged into nov's version.
This fork is a conservative maintenance fork so it should also work for you and I'm happy to apply any pull requests for fixes and features, so long as they come with tests and are not disruptive or too idiosyncratic.
Cheers!


Add Docs for nbdev and major improvements to README

@jph00 Things covered in this PR:

Added table of contents and reorganized to make README navigable b/c there is tons of information now.
Fleshed out section regarding repo2docker which **🎉  includes the ability for the end-user of this container to choose between Jupyter, JupyterLab, and nteract 🎉 **.
Added examples on how to use this container.

cc'ing @betatim @choldgraf to let them know about the cool use case and that the official nbdev Docker images are built with repo2docker 🚀  P.S.  it actually makes life much easier!  Note: I did not use the Action and instead used the repo2docker cli directly as it made more sense for me in this use case.

Amazing!


Native callback: TypeError undefined is not an object (evaluating Window.external.invoke)

I am afraid the callback doesn't work on php 7
I got this message each time I click on the button on the demo via
php -dextension=modules/webview.so -f main.php

error
TypeError undefined is not an object (evaluating Window.external.invoke)

Is it project maintained?

Hi, I made this quite sometime back. Now I am unable to compile it on my end.  I will try to fix it when I get more time.

Okay
FYI I can build it on Artix Linux. I wasn't able to fix it in a timeboxed try.


QueryBuilder ->where_in doesn't disable escaping

I am unable to disable escaping for ->where_in method in QueryBuilder, I tried sending the third argument as FALSE, and it keeps adding quotes inside the braces.
@narfbg Could you please take a look at this?

It disables escaping of the field name, not its values. Or do I not understand what you mean?

Yes, the value is always escaped, currently I am using ->where("fieldname IN(xxxx)", NULL, FALSE) instead which is working fine.
I am building a Query & saving it to a variable using ->get_compiled_select then passing it to ->where_in

Eh ... all of this work just to shove something into where_in(), you better just run the raw query. :)
As I said, the parameter exists disable field name escaping, not value escaping.

No, That's not the case.
The normal ->where does not behave this way, You can see it has
if ($escape === TRUE)
{
  $v = ' '.$this->escape($v);
}

I think the ->where_in should have the same behavior.

The normal where() accepts strings and deals with all kinds of conditions.
where_in() doesn't - its sole purpose is to process lists of values, and if you pass it a string, it will turn into an array and treat that string as a single value. That's how it is meant to work, how it has always worked and how it is documented.

Turning it into array isn't going to affect how it would work if you sent it a single string as there's an implode after escaping the values, And it will result in a single string being passed after the implode.
As for the documentation part it says "Whether to escape values and identifiers" which means it should be disabling escape for the values too.
This limitation doesn't make sense, I have given a valid use case I guess.

It's not a valid use case, it's a hack ... If you really need to do that, just use where():
$this->db->where('fieldname', 'IN('.$your_values_string.')', FALSE);

Fixed the docs: c749bfbca99291fe64ca98d45a20d0735cb4e461


Audit the Azure Pipelines build jobs

A CI test server, MS hosted, is provided by azure pipelines free plan.

1 Microsoft-hosted job with 1,800 minutes per month for CI/CD and 1 self-hosted job with unlimited minutes per month.

aqtinstall consumed 336 build minutes in total 360 build minutes in this month in my projects.

Maybe it's time to audit the jobs we have and remove anything that's not really high value. I just added 6 new jobs in #648, for a total of 49 Azure builds by my count. I'm sure we can find a few that we don't need anymore.
Originally posted by @ddalcino in https://github.com/miurahr/aqtinstall/issues/640#issuecomment-1426940801

Current full list of jobs (please excuse any spelling errors; I had to copy the list via OCR):
Mac install-qt 5.13.2 clang_64 for desktop
Mac install-qt 5.15.2 clang_64 for desktop
Mac install-qt 6.2.0 clang_64 for desktop (qtcharts qtnetworkauth)
Mac install-qt 5.14.2 clang_64 for desktop (qtcharts qtnetworkauth)
Mac install-qt 6.5.0 wasm_singlethread for desktop
Mac install-qt 6.5.0 wasm_multithread for desktop
Mac install-qt 5.14.2 wasm_32 for desktop
Mac install-qt 6.4.0 wasm_32 for desktop
Mac install-qt 6.4.0 ios for ios (qtsensors)
Mac install-qt 6.2.4 ios for ios (qtsensors)
Mac install-qt 6.4.1 android armv7 for android
Mac install-qt 6.1.0 android_armv7 for android
Mac install-tool for desktop
Windows install-gt 5.15.2 win32_msvc2019 for desktop
Windows install-qt 5.14.2 win32_mingw73 for desktop
Windows install-gt 5.13.2 win64 msvc2015_64 for desktop
Windows install-qt 5.15.2 win64_mingw81 for desktop
Windows install-qt 5.15.2 win64_msvc2019_64 for desktop (qtcharts qtnetworkauth)
Windows install-qt 5.9.0 win64_msvc2015_64 for desktop (qtcharts qtnetworkauth)
Windows install-qt 5.14.2 win64_mingw73 for desktop (spec=">1, <5.15")
Windows install-qt 6.5.0 wasm_singlethread for desktop
Windows install-qt 6.5.0 wasm_multithread for desktop
Windows install-qt 5.14.2 wasm_32 for desktop
Windows install-qt 6.4.0 wasm_32 for desktop
Windows install-qt 6.3.0 android_armv7 for android
Windows install-qt 6.4.1 android_x86_64 for android
Windows install-tool for desktop
Linux install-qt 5.13.2 gcc_64 for desktop
Linux install-qt 5.15.2 gcc_64 for desktop
Linux install-qt 5.15.2 gcc_64 for desktop (qtcharts qtnetworkauth)
Linux install-qt 5.14.2 gcc_64 for desktop (all)
Linux install-qt 5.15.2 gcc_64 for desktop (qtbase qttools qt icu)
Linux install-src 6.1.0 gcc_64 for desktop (qtlottie)
Linux install-doc 6.1.0 gcc_64 for desktop (gtlottie) (qtdoc)
Linux install-example 6.1.0 gcc_64 for desktop (qtcharts) (qtdoc)
Linux list 5.15.2 gcc_64 for desktop (spec=" <6")
Linux list 6.1.0 gcc_64 for desktop (spec=">6.0, <6.1.1")
Linux list 6.1.0 android_armv7 for android (spec=">6.0, <6.1.1")
Linux list 5.14.1 ios for ios (spec="<=5.14.1")
Linux list 5.13.1 win64_msvc2015 winrt_×64 for winrt (spec=">5.13.0, <5.13.2"')
Linux install-qt 5.14.2 wasm_32 for desktop
Linux install-qt 6.4.0 wasm_32 for desktop
Linux install-qt 6.5.0 wasm_singlethread for desktop
Linux install-qt 6.5.0 wasm_multithread for desktop
Linux install-at 6.1.0 android armv7 for android
Linux install-at 6.4.1 android arm64 v8a for android
Linux install-qt 5.12.11 gcc_64 for desktop (/t/Q)
Linux install-qt 5.12.11 gcc_64 for desktop (/some/super/long/arbitrary/path/to/some/super/long/arbitrary/path/...
Linux install-tool for desktop

One reasonable approach for pruning this list is to cut out versions of Qt 5 that are not LTS versions. At present, Qt 5 hasn't been supported for a long time, but LTS versions 5.15 and 5.12 have received updates fairly recently. Qt 5.9 hasn't had support for a long time, but it's still fairly popular, and there are some edge cases that are only true for Qt 5.9, so IMHO it's worth testing.
Personally, I would advocate examining the non-LTS Qt 5 versions to see if they can be removed, particularly if they aren't testing anything that's already being tested elsewhere.

I have an idea that we define two CI jobs.

every days master and Pull-Request check that reduce numbers. (Is it engough with GH-actions ?)
full test periodically (monthly?),  and run just before release manually.

Just proposed #735  to update CI trigger and schedule

Add more conditions for GitHub actions on Pull-Request and push to master
Weekly schedule for full matrix execution


Is this going to get updated to the newest version.

Problem/Motivation
Version is out dated
Expected behavior
More stable and less Sec Vulnerabilities
Actual behavior
Old version
Steps to reproduce
Install Addon
Proposed changes
Upgrade to newest linux version.

There is a PR #133 waiting for approval... I regularly push commits when I upgrade my fork...

Thank you @lmagyar!

You can test all the PR-s in my fork at: https://github.com/lmagyar/homeassistant-addon-tailscale
And there is an additional alpha feature in my other fork: https://github.com/lmagyar/homeassistant-addon-tailscale-funnel (funnel is a TCP proxy (internet->VPN) at Tailscale to access your devices through your VPN from the internet, without installing a VPN client on your client device (eg. phone) - it is in alpha phase at Tailscale, so I put it in another repo, though it only emits some info messages in the log when you don't configure funnel, so basically you can test is directly I think)

done in #152


Circle CI Example

Describe the content you'd like to see
An example to use Prisma with Circle CI

Here's a ready configuration that can be adapted to an example in this repo: https://github.com/prismagraphql/prisma/issues/2000#issuecomment-399075805

Hey guys!
Any working example for prisma + Circle CI with docker executor type?
To work with docker in this type of execution you have to deal with remote-docker, which makes it impossible to successfully run prisma deploy (Well, at least I didn't find a way to do it). I can share my config or more info if needed.
Cheers

@Lotafak This works!
https://github.com/w0wka91/prisma-circleci/tree/master


Mail stuck as deferred (unknown mail transport error)

I have 2 helm charts deployed on a Kubernetest cluster

one helm chart deployed to relay mais to a 3rd party mail server
one helm chart deployed to relay mails to [smtp-relay.gmail.com]:587

On both deployments, I see very frequently messages are stuck in the queue for a long time because some attempts to deliver fail with error message (unknown mail transport error)
I have debugging enabled using

debug_peer_level: ${element(var.customers, count.index).debug_peer_level}
debug_peer_list
smtp_tls_loglevel
smtpd_tls_loglevel

Below is the information I have but it is not helping me find the root cause.
 warning: private\/smtp socket: malformed response","end_msg":""}
 warning: transport smtp failure -- see a previous warning\/fatal\/panic logfile record for the problem description","end_msg":""}
 warning: process \/usr\/libexec\/postfix\/smtp pid 182 killed by signal 11","end_msg":""}
 warning: \/usr\/libexec\/postfix\/smtp: bad command startup -- throttling","end_msg":""}
 1DBE6A0002<EMAIL_ADDRESS>relay=none, delay=2151, delays=2151\/0.24\/0\/0.01, dsn=4.3.0, status=deferred (unknown mail transport error)","end_msg":""}

The mails are stuck but forcing a re-delivery attempt and they go out. So the problem appears temporary/transient. I would think this is a network issue but seeing this on both Helm deployments towards different relays makes me now think something else is wrong.
Any hints/help appreciated/
Here are the full logs for a faulty mail :
 input attribute name: session","end_msg":""}
 input attribute value: (end)","end_msg":""}
 private\/tlsmgr: wanted attribute: (list terminator)","end_msg":""}
 input attribute name: (end)","end_msg":""}
 event_request_timer: reset 0x7ff1fafa58a2 0x7ff1f7dc0470 5","end_msg":""}
 send attr request = seed","end_msg":""}
 send attr size = 32","end_msg":""}
 vstream_fflush_some: fd 10 flush 22","end_msg":""}
 vstream_buf_get_ready: fd 10 got 60","end_msg":""}
 private\/tlsmgr: wanted attribute: status","end_msg":""}
 input attribute name: status","end_msg":""}
 input attribute value: 0","end_msg":""}
 private\/tlsmgr: wanted attribute: seed","end_msg":""}
 input attribute name: seed","end_msg":""}
 input attribute value: GJz\/U1sDz0xHnGHonp\/OWnKYbB2QZLHYPr9xiWn4mHM=","end_msg":""}
 private\/tlsmgr: wanted attribute: (list terminator)","end_msg":""}
 input attribute name: (end)","end_msg":""}
 SSL_connect:before SSL initialization","end_msg":""}
 SSL_connect:SSLv3\/TLS write client hello","end_msg":""}
 SSL_connect:SSLv3\/TLS write client hello","end_msg":""}
 SSL_connect:SSLv3\/TLS read server hello","end_msg":""}
 SSL_connect:SSLv3\/TLS write change cipher spec","end_msg":""}
 SSL_connect:SSLv3\/TLS write client hello","end_msg":""}
 SSL_connect:SSLv3\/TLS write client hello","end_msg":""}
 SSL_connect:SSLv3\/TLS read server hello","end_msg":""}
 SSL_connect:TLSv1.3 read encrypted extensions","end_msg":""}
 SSL_connect:SSLv3\/TLS read server certificate request","end_msg":""}
 smtp2nextrelayserver.mycompany.nl[<IP_ADDRESS>]:25: depth=2 verify=1 subject=\/C=US\/ST=New Jersey\/L=Jersey City\/O=The USERTRUST Network\/CN=USERTrust RSA Certification Authority","end_msg":""}
 smtp2nextrelayserver.mycompany.nl[<IP_ADDRESS>]:25: depth=1 verify=1 subject=\/C=GB\/ST=Greater Manchester\/L=Salford\/O=Sectigo Limited\/CN=Sectigo RSA Domain Validation Secure Server CA","end_msg":""}
 smtp2nextrelayserver.mycompany.nl[<IP_ADDRESS>]:25: depth=0 verify=1 subject=\/OU=Domain Control Validated\/OU=EssentialSSL Wildcard\/CN=*.nextrelayserver.nl","end_msg":""}
 SSL_connect:SSLv3\/TLS read server certificate","end_msg":""}
 SSL_connect:TLSv1.3 read server certificate verify","end_msg":""}
 SSL_connect:SSLv3\/TLS read finished","end_msg":""}
 SSL_connect:SSLv3\/TLS write client certificate","end_msg":""}
 SSL_connect:SSLv3\/TLS write finished","end_msg":""}
 smtp2nextrelayserver.mycompany.nl[<IP_ADDRESS>]:25: subject_CN=*.nextrelayserver.nl, issuer_CN=Sectigo RSA Domain Validation Secure Server CA, fingerprint=E7:5E:B1:D7:A1:DF:38:5C:4D:FA:27:A9:67:58:04:60, pkey_fingerprint=86:71:CD:4D:04:53:4F:31:89:9F:1D:57:A5:90:68:9B","end_msg":""}
 Trusted TLS connection established to smtp2nextrelayserver.mycompany.nl[<IP_ADDRESS>]:25: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256\/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256","end_msg":""}
 smtp_stream_setup: maxtime=300 enable_deadline=0","end_msg":""}
 > smtp2nextrelayserver.mycompany.nl[<IP_ADDRESS>]:25: EHLO relay2nextrelayserver.dev.mycompany.nl","end_msg":""}
 vstream_fflush_some: fd 16 flush 34","end_msg":""}
 SSL_connect:SSL negotiation finished successfully","end_msg":""}
 SSL_connect:SSL negotiation finished successfully","end_msg":""}
 save session smtp&smtp2nextrelayserver.mycompany.nl&smtp2nextrelayserver.mycompany.nl&<IP_ADDRESS>&&31854BF1F281008B41107B891373EE8D248B26C465CB8E98BB54E4EDCB1E0DDB to smtp cache","end_msg":""}
 event_request_timer: reset 0x7ff1fafa58a2 0x7ff1f7dc0470 5","end_msg":""}
 send attr request = update","end_msg":""}
 send attr cache_type = smtp","end_msg":""}
 send attr cache_id = smtp&smtp2nextrelayserver.mycompany.nl&smtp2nextrelayserver.mycompany.nl&<IP_ADDRESS>&&31854BF1F281008B41107B891373EE8D248B26C465CB8E98BB54E4EDCB1E0DDB","end_msg":""}
 send attr session = [data 1820 bytes]","end_msg":""}
 vstream_fflush_some: fd 10 flush 2607","end_msg":""}
 put smtp session id=smtp&smtp2nextrelayserver.mycompany.nl&smtp2nextrelayserver.mycompany.nl&<IP_ADDRESS>&&31854BF1F281008B41107B891373EE8D248B26C465CB8E98BB54E4EDCB1E0DDB [data 1820 bytes]","end_msg":""}
 write smtp TLS cache entry smtp&smtp2nextrelayserver.mycompany.nl&smtp2nextrelayserver.mycompany.nl&<IP_ADDRESS>&&31854BF1F281008B41107B891373EE8D248B26C465CB8E98BB54E4EDCB1E0DDB: time=1623698208 [data 1820 bytes]","end_msg":""}
 vstream_buf_get_ready: fd 10 got 10","end_msg":""}
 private\/tlsmgr: wanted attribute: status","end_msg":""}
 input attribute name: status","end_msg":""}
 input attribute value: 0","end_msg":""}
 private\/tlsmgr: wanted attribute: (list terminator)","end_msg":""}
 input attribute name: (end)","end_msg":""}
 SSL_connect:SSLv3\/TLS read server session ticket","end_msg":""}
 SSL_connect:SSL negotiation finished successfully","end_msg":""}
 SSL_connect:SSL negotiation finished successfully","end_msg":""}
 save session smtp&smtp2nextrelayserver.mycompany.nl&smtp2nextrelayserver.mycompany.nl&<IP_ADDRESS>&&31854BF1F281008B41107B891373EE8D248B26C465CB8E98BB54E4EDCB1E0DDB to smtp cache","end_msg":""}
 event_request_timer: reset 0x7ff1fafa58a2 0x7ff1f7dc0470 5","end_msg":""}
 send attr request = update","end_msg":""}
 send attr cache_type = smtp","end_msg":""}
 send attr cache_id = smtp&smtp2nextrelayserver.mycompany.nl&smtp2nextrelayserver.mycompany.nl&<IP_ADDRESS>&&31854BF1F281008B41107B891373EE8D248B26C465CB8E98BB54E4EDCB1E0DDB","end_msg":""}
 send attr session = [data 1820 bytes]","end_msg":""}
 vstream_fflush_some: fd 10 flush 2607","end_msg":""}
 put smtp session id=smtp&smtp2nextrelayserver.mycompany.nl&smtp2nextrelayserver.mycompany.nl&<IP_ADDRESS>&&31854BF1F281008B41107B891373EE8D248B26C465CB8E98BB54E4EDCB1E0DDB [data 1820 bytes]","end_msg":""}
 write smtp TLS cache entry smtp&smtp2nextrelayserver.mycompany.nl&smtp2nextrelayserver.mycompany.nl&<IP_ADDRESS>&&31854BF1F281008B41107B891373EE8D248B26C465CB8E98BB54E4EDCB1E0DDB: time=1623698208 [data 1820 bytes]","end_msg":""}
 vstream_buf_get_ready: fd 10 got 10","end_msg":""}
 private\/tlsmgr: wanted attribute: status","end_msg":""}
 input attribute name: status","end_msg":""}
 input attribute value: 0","end_msg":""}
 private\/tlsmgr: wanted attribute: (list terminator)","end_msg":""}
 input attribute name: (end)","end_msg":""}
 SSL_connect:SSLv3\/TLS read server session ticket","end_msg":""}
 vstream_buf_get_ready: fd 16 got 141","end_msg":""}
 < smtp2nextrelayserver.mycompany.nl[<IP_ADDRESS>]:25: 250-secure-smtpnodes.nextrelayserver.nl","end_msg":""}
 < smtp2nextrelayserver.mycompany.nl[<IP_ADDRESS>]:25: 250-PIPELINING","end_msg":""}
 < smtp2nextrelayserver.mycompany.nl[<IP_ADDRESS>]:25: 250-SIZE 52428800","end_msg":""}
 < smtp2nextrelayserver.mycompany.nl[<IP_ADDRESS>]:25: 250-AUTH LOGIN PLAIN","end_msg":""}
 < smtp2nextrelayserver.mycompany.nl[<IP_ADDRESS>]:25: 250-ENHANCEDSTATUSCODES","end_msg":""}
 < smtp2nextrelayserver.mycompany.nl[<IP_ADDRESS>]:25: 250-8BITMIME","end_msg":""}
 < smtp2nextrelayserver.mycompany.nl[<IP_ADDRESS>]:25: 250 SMTPUTF8","end_msg":""}
 server features: 0x20102f size 52428800","end_msg":""}
 Using ESMTP PIPELINING, TCP send buffer size is 46080, PIPELINING buffer size is 4096","end_msg":""}
 maps_find: smtp_sasl_password_maps: lmdb:\/etc\/postfix\/sasl_passwd(0,lock|fold_fix|utf8_request): smtp2nextrelayserver.mycompany.nl = mailrelay-dev-mycompany@nextrelayserver.nl:soKlkOn73TeC","end_msg":""}
 smtp_sasl_passwd_lookup: host `smtp2nextrelayserver.mycompany.nl' user<EMAIL_ADDRESS>pass `REDACTED'","end_msg":""}
 starting new SASL client","end_msg":""}
 warning: private\/smtp socket: malformed response","end_msg":""}
 warning: transport smtp failure -- see a previous warning\/fatal\/panic logfile record for the problem description","end_msg":""}
 warning: process \/usr\/libexec\/postfix\/smtp pid 182 killed by signal 11","end_msg":""}
 warning: \/usr\/libexec\/postfix\/smtp: bad command startup -- throttling","end_msg":""}
 1DBE6A0002<EMAIL_ADDRESS>relay=none, delay=2151, delays=2151\/0.24\/0\/0.01, dsn=4.3.0, status=deferred (unknown mail transport error)","end_msg":""}
dev-mycompany-nl-relay-to-nextrelayserver-mail-0:2021-06-14 21:16:49,305 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 2 seconds (startsecs)
dev-mycompany-nl-relay-to-nextrelayserver-mail-0:2021-06-14 21:16:52,308 INFO success: opendkim entered RUNNING state, process has stayed up for > than 5 seconds (startsecs)
 initializing the server-side TLS engine","end_msg":""}

A scheduled message for testing goes out every five minutes. Mails get stuck for several hours.

I was also seeing the warning about SASL as described in https://github.com/bokysan/docker-postfix/issues/47
The proposed solution :

smtp_sasl_security_options: noanonymous
seems to fix my issue.

Hi
I am running the HELM chart on Google Kubernetes engine and the error persists.
 warning: private\/smtp socket: malformed response","end_msg":""}
 warning: transport smtp failure -- see a previous warning\/fatal\/panic logfile record for the problem description","end_msg":""}
 warning: process \/usr\/libexec\/postfix\/smtp pid 182 killed by signal 11","end_msg":""}
 warning: \/usr\/libexec\/postfix\/smtp: bad command startup -- throttling","end_msg":""}

I have been hunting fpr the root cause a long time now. Now I finalled found some information in the serial console of the GKE nodes that might be relevant. :
[16573.070558] traps: smtp[326416] general protection fault ip:7f4842b5eaeb sp:7ffe08834778 error:0 in ld-musl-x86_64.so.1[7f4842b57000+48000]
[16637.114149] traps: smtp[327707] general protection fault ip:7f608ffb7aeb sp:7ffd767393c8 error:0 in ld-musl-x86_64.so.1[7f608ffb0000+48000]
[16718.095389] traps: smtp[329359] general protection fault ip:7f21087d2aeb sp:7ffeba593df8 error:0 in ld-musl-x86_64.so.1[7f21087cb000+48000]
[16814.250654] traps: smtp[331116] general protection fault ip:7fe555bfaaeb sp:7ffd4391f7a8 error:0 in ld-musl-x86_64.so.1[7fe555bf3000+48000]
[16876.540075] traps: smtp[332342] general protection fault ip:7ff60a668aeb sp:7fffd89d1498 error:0 in ld-musl-x86_64.so.1[7ff60a661000+48000]
[16876.606116] traps: smtp[332344] general protection fault ip:7fee1f375aeb sp:7ffd5447fb48 error:0 in ld-musl-x86_64.so.1[7fee1f36e000+48000]
[16880.213288] traps: smtp[332431] general protection fault ip:7ff07b7cbaeb sp:7ffeb682e9b8 error:0 in ld-musl-x86_64.so.1[7ff07b7c4000+48000]
[16940.350967] traps: smtp[333585] general protection fault ip:7fdf13435aeb sp:7ffdb69ff4a8 error:0 in ld-musl-x86_64.so.1[7fdf1342e000+48000]
[17000.571557] traps: smtp[334762] general protection fault ip:7fa2bc649aeb sp:7ffd24a69c08 error:0 in ld-musl-x86_64.so.1[7fa2bc642000+48000]
[17000.605141] traps: smtp[334761] general protection fault ip:7f72701d9aeb sp:7fffaa4adc38 error:0 in ld-musl-x86_64.so.1[7f72701d2000+48000]
[17000.620235] traps: smtp[334763] general protection fault ip:7fa31cae0aeb sp:7ffd1a27b668 error:0 in ld-musl-x86_64.so.1[7fa31cad9000+48000]
[17019.898223] traps: smtp[335244] general protection fault ip:7fc2c9f56aeb sp:7ffc326a27f8 error:0 in ld-musl-x86_64.so.1[7fc2c9f4f000+48000]
[17090.720214] traps: smtp[336617] general protection fault ip:7fd731200aeb sp:7ffec60d4678 error:0 in ld-musl-x86_64.so.1[7fd7311f9000+48000]
[17120.244019] traps: smtp[337113] general protection fault ip:7f3cfb49daeb sp:7ffe269cb3e8 error:0 in ld-musl-x86_64.so.1[7f3cfb496000+48000]
[17176.789520] traps: smtp[338277] general protection fault ip:7faaba7d7aeb sp:7ffe29f52548 error:0 in ld-musl-x86_64.so.1[7faaba7d0000+48000]
[17180.185047] traps: smtp[337115] general protection fault ip:7f6e61c74aeb sp:7ffc9520b648 error:0 in ld-musl-x86_64.so.1[7f6e61c6d000+48000]
[17236.304641] traps: smtp[339453] general protection fault ip:7fcafa18faeb sp:7ffe80fc02b8 error:0 in ld-musl-x86_64.so.1[7fcafa188000+48000]
[17240.462380] traps: smtp[339516] general protection fault ip:7f3eb7afaaeb sp:7fffbd1d8518 error:0 in ld-musl-x86_64.so.1[7f3eb7af3000+48000]
[17301.105463] traps: smtp[340684] general protection fault ip:7fc05a461aeb sp:7ffce1031138 error:0 in ld-musl-x86_64.so.1[7fc05a45a000+48000]
[17301.120237] traps: smtp[340685] general protection fault ip:7f03f190faeb sp:7ffeb77a6ea8 error:0 in ld-musl-x86_64.so.1[7f03f1908000+48000]
[17361.506519] traps: smtp[341883] general protection fault ip:7fb60f814aeb sp:7ffe69e82418 error:0 in ld-musl-x86_64.so.1[7fb60f80d000+48000]
[17361.546614] traps: smtp[341884] general protection fault ip:7f99658f0aeb sp:7ffc17c5a138 error:0 in ld-musl-x86_64.so.1[7f99658e9000+48000]
[17660.792472] traps: smtp[347687] general protection fault ip:7f541e75baeb sp:7ffeb7992d28 error:0 in ld-musl-x86_64.so.1[7f541e754000+48000]
[17660.859959] traps: smtp[347689] general protection fault ip:7ff0a4d68aeb sp:7ffe2e0f8218 error:0 in ld-musl-x86_64.so.1[7ff0a4d61000+48000]
[17669.351801] traps: smtp[347912] general protection fault ip:7f66bc322aeb sp:7ffdb049a168 error:0 in ld-musl-x86_64.so.1[7f66bc31b000+48000]
[17743.161275] traps: smtp[349376] general protection fault ip:7f7c045b8aeb sp:7ffdf4f9bc28 error:0 in ld-musl-x86_64.so.1[7f7c045b1000+48000]
[17837.938410] traps: smtp[351127] general protection fault ip:7f95eb939aeb sp:7fff8df83cc8 error:0 in ld-musl-x86_64.so.1[7f95eb932000+48000]

So there is effectively a segmentation fault happening in ld-musl which appears to be a general purpose an implementation of the standard library functionality described in the ISO C and POSIX standards
I have tried both the v3.3.0-alpine and v3.3.0-ubuntu releases, but the errors show up for both flavours.
Any ideas welcome.

Frankly man,
I don't know how to help you out.
People (and myself personally) have been running this image left and right -- in Docker and k8s -- and have never seen an error like this. There are certain issues with libmusl now and then. I would have recommended trying the Ubuntu image. But as you're saying you're seeing the same error with that image, libmusl can't be the issue.
I have not tried running the image on GKE yet, so this is the only variable that's different. I can either suspect a bug in one of the underlying libraries that GKE machines use, or a runtime edge case that stems from the combination of such software.
For starters:

if possible, share your configuration (omitting any personally identifiable information)
try running the image outside GKE (e.g. on a stand-alone machine) and see if you can replicate the problem

I managed to fix this problem by :

removing the sasl-xoauth2 base image
compiling sasl from source

you can see the commit here https://github.com/gcompany/docker-postfix/commit/0699f99f9eecb452d1d7f90341ed416fa428102f

Just for reference, when trying to build the image, I ran into unsatisfiable constraints: cyrus-sasl-static (missing):.
Which is why I opted for rebuilding SASL from sources.

I personally believe that
warning: process /usr/libexec/postfix/smtp pid ... killed by signal 11

is caused by setting memory limits for the pod in k8s.


Server fails to shutdown due to handle_event_count

There are some cirumstances where sensu server is unable to shutdown, which seems to be due to @handling_event_count
At present the exit ruby code in complete_event_handling looks like this:
retry_until_true do
  if @handling_event_count == 0
    callback.call
    true
  end
end

The value is incrememted in process_event for every event...
handlers.each do |handler|
  @handling_event_count += 1
  filter_event(handler, event) do |event|
    mutate_event(handler, event) do |event_data|
      handle_event(handler, event_data)
    end
  end
end

However, following through the logic in filter_event there seems to be a number of code paths that result in this value never getting decremented, and consequently when this occurs the standard server shutdown/restart logic is failing.

After comparing with 0.16.0 it seems that the tracking of 'handlers in progress' happens after the filters have been applied in the earlier version.

This is fixed by the above PR and fixed in 0.17.2