[firebase_messaging] "Failed to get FIS auth token" for new devices

Bug report
I know there are a few other issues with this same error, but none of the solutions have yet worked for me. Most of them seem to have been some form of connection issues, and since I've tried this on multiple real devices with different connections, I've ruled that out. This issue only happens on devices that have not yet successfully initialized Firebase before. For example, if I clear the cache and uninstall on my personal device (pixel 5), I can reinstall from Android Studio and it all works fine. But attempting on a friends phone for the first time fails with the following:
I/FLTFireMsgService( 4990): FlutterFirebaseMessagingBackgroundService started!
E/FirebaseMessaging( 4990): Failed to get FIS auth token
E/FirebaseMessaging( 4990): java.util.concurrent.ExecutionException: com.google.firebase.installations.FirebaseInstallationsException: Firebase Installations Service is unavailable. Please try again later.
E/FirebaseMessaging( 4990):     at com.google.android.gms.tasks.Tasks.zza(com.google.android.gms:play-services-tasks@@17.2.1:5)
E/FirebaseMessaging( 4990):     at com.google.android.gms.tasks.Tasks.await(com.google.android.gms:play-services-tasks@@17.2.1:8)
E/FirebaseMessaging( 4990):     at com.google.firebase.messaging.GmsRpc.setDefaultAttributesToBundle(com.google.firebase:firebase-messaging@@22.0.0:11)
E/FirebaseMessaging( 4990):     at com.google.firebase.messaging.GmsRpc.startRpc(com.google.firebase:firebase-messaging@@22.0.0:1)
E/FirebaseMessaging( 4990):     at com.google.firebase.messaging.GmsRpc.getToken(com.google.firebase:firebase-messaging@@22.0.0:2)
E/FirebaseMessaging( 4990):     at com.google.firebase.messaging.FirebaseMessaging.lambda$blockingGetToken$8$FirebaseMessaging(com.google.firebase:firebase-messaging@@22.0.0:1)
E/FirebaseMessaging( 4990):     at com.google.firebase.messaging.FirebaseMessaging$$Lambda$9.start(Unknown Source:4)
E/FirebaseMessaging( 4990):     at com.google.firebase.messaging.RequestDeduplicator.getOrStartGetTokenRequest(com.google.firebase:firebase-messaging@@22.0.0:6)
E/FirebaseMessaging( 4990):     at com.google.firebase.messaging.FirebaseMessaging.lambda$blockingGetToken$9$FirebaseMessaging(com.google.firebase:firebase-messaging@@22.0.0:1)
E/FirebaseMessaging( 4990):     at com.google.firebase.messaging.FirebaseMessaging$$Lambda$8.then(Unknown Source:4)
E/FirebaseMessaging( 4990):     at com.google.android.gms.tasks.zze.run(com.google.android.gms:play-services-tasks@@17.2.1:1)
E/FirebaseMessaging( 4990):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/FirebaseMessaging( 4990):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/FirebaseMessaging( 4990):     at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@17.6.0:2)
E/FirebaseMessaging( 4990):     at java.lang.Thread.run(Thread.java:923)
E/FirebaseMessaging( 4990): Caused by: com.google.firebase.installations.FirebaseInstallationsException: Firebase Installations Service is unavailable. Please try again later.
E/FirebaseMessaging( 4990):     at com.google.firebase.installations.remote.FirebaseInstallationServiceClient.createFirebaseInstallation(FirebaseInstallationServiceClient.java:213)
E/FirebaseMessaging( 4990):     at com.google.firebase.installations.FirebaseInstallations.registerFidWithServer(FirebaseInstallations.java:533)
E/FirebaseMessaging( 4990):     at com.google.firebase.installations.FirebaseInstallations.doNetworkCallIfNecessary(FirebaseInstallations.java:388)
E/FirebaseMessaging( 4990):     at com.google.firebase.installations.FirebaseInstallations.lambda$doRegistrationOrRefresh$2$FirebaseInstallations(FirebaseInstallations.java:377)
E/FirebaseMessaging( 4990):     at com.google.firebase.installations.-$$Lambda$FirebaseInstallations$SC1awUtshakVcZWKWh8TCfIkd4g.run(Unknown Source:4)
E/FirebaseMessaging( 4990):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/FirebaseMessaging( 4990):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/FirebaseMessaging( 4990):     ... 1 more
E/FirebaseMessaging( 4990): Topic sync or token retrieval failed on hard failure exceptions: java.util.concurrent.ExecutionException: java.io.IOException: AUTHENTICATION_FAILED. Won't retry the operation.
E/flutter ( 4990): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: [firebase_messaging/unknown] java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: AUTHENTICATION_FAILED
E/flutter ( 4990): #0      MethodChannelFirebaseMessaging.getToken (package:firebase_messaging_platform_interface/src/method_channel/method_channel_messaging.dart:228:7)
E/flutter ( 4990): <asynchronous suspension>
E/flutter ( 4990): #1      PushNotificationsManager.init (package:myapp/services/push_notification_manager.dart:68:13)
E/flutter ( 4990): <asynchronous suspension>
E/flutter ( 4990): #2      StartupViewModel.preSignInSetup (package:myapp/ui/views/startup/startup_viewmodel.dart:72:5)
E/flutter ( 4990): <asynchronous suspension>
E/flutter ( 4990): #3      StartupViewModel.initApp (package:myapp/ui/views/startup/startup_viewmodel.dart:35:5)
E/flutter ( 4990): <asynchronous suspension>
E/flutter ( 4990):

Steps to reproduce
Steps to reproduce the behavior:

Launch app
Firebase initialization and attempted call to get FirebaseMessaging token
Throws the above error

Expected behavior
Token should be retrieved and app should work?
Sample project
n/a
Additional context
Flutter doctor
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.3.1 20E241 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.60.1)
[✓] Connected device (3 available)

Flutter dependencies
Click To Expand
Dart SDK 2.13.4
Flutter SDK 2.2.3
twibs_flutter 1.0.0+8

dependencies:
- animations 1.1.2 [flutter]
- ansicolor 1.1.1
- app_tracking_transparency 2.0.1 [flutter]
- auto_route 0.6.9 [flutter meta]
- badges 2.0.1 [flutter]
- cached_network_image 3.0.0-nullsafety [flutter flutter_cache_manager octo_image]
- carousel_slider 4.0.0-nullsafety.0 [flutter]
- community_material_icon 5.9.55 [flutter]
- country_code_picker 2.0.2 [flutter modal_bottom_sheet collection universal_platform]
- cupertino_icons 1.0.2
- firebase_auth 3.0.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.6.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_dynamic_links 2.0.7 [firebase_core flutter]
- firebase_messaging 10.0.7 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_storage 8.0.0 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_animated_dialog 1.2.0 [flutter]
- flutter_dotenv 5.1.0 [flutter]
- flutter_emoji_keyboard 0.1.3 [flutter device_info]
- flutter_hooks 0.16.0 [flutter]
- flutter_icons 1.1.0 [flutter]
- flutter_localizations 0.0.0 [flutter intl characters clock collection meta path typed_data vector_math]
- flutter_map 0.13.1 [async collection flutter http intl latlong2 meta positioned_tap_detector_2 proj4dart transparent_image tuple vector_math]
- flutter_spinkit 5.0.0 [flutter]
- flutter_typeahead 3.1.3 [flutter flutter_keyboard_visibility]
- geolocator 7.0.1 [flutter geolocator_platform_interface geolocator_web]
- get_it 7.2.0 [async collection]
- google_fonts 2.1.0 [flutter http path_provider crypto]
- http 0.13.3 [async http_parser meta path pedantic]
- image_picker 0.7.2 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- intl 0.17.0 [clock path]
- logger 1.0.0
- multi_image_picker 4.8.00 [flutter meta]
- observable_ish 3.0.0 [collection]
- package_info 2.0.2 [flutter]
- pin_code_fields 7.0.0-nullsafety [flutter]
- reorderables 0.3.2 [flutter]
- sentry_flutter 5.1.0 [flutter flutter_web_plugins sentry package_info_plus]
- sliding_up_panel 1.0.2 [flutter]
- stacked 2.2.3 [flutter get_it meta provider collection universal_io]
- stacked_hooks 0.1.4 [flutter flutter_hooks provider]
- stacked_services 0.8.13 [flutter get]
- uuid 3.0.1 [crypto]
- web_socket_channel 1.2.0 [async crypto stream_channel]
- wechat_assets_picker 5.5.6 [flutter extended_image photo_manager provider video_player]
- wechat_camera_picker 2.2.0 [flutter camera device_info path path_provider photo_manager video_player]

dev dependencies:
- auto_route_generator 0.6.10 [build source_gen analyzer path build_runner auto_route]
- build_runner 1.11.5 [args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style glob graphs http_multi_server io js logging meta mime path pedantic pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_launcher_icons 0.9.2 [args image path yaml]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- _fe_analyzer_shared 17.0.0 [meta]
- analyzer 1.1.0 [_fe_analyzer_shared args cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 3.1.2 [crypto path]
- args 2.3.0
- async 2.6.1 [meta collection]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 1.6.3 [analyzer async convert crypto glob logging meta path]
- build_config 0.4.6 [checked_yaml json_annotation meta path pubspec_parse yaml]
- build_daemon 2.1.8 [built_collection built_value http_multi_server logging pedantic path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 1.5.4 [analyzer build crypto graphs logging meta path package_config pool pub_semver]
- build_runner_core 6.1.10 [async build build_config build_resolvers collection convert crypto glob graphs logging meta path package_config pedantic pool timing watcher yaml]
- built_collection 5.0.0
- built_value 8.0.0 [built_collection collection fixnum]
- camera 0.8.1+3 [camera_platform_interface flutter pedantic quiver]
- camera_platform_interface 2.0.1 [flutter meta plugin_platform_interface cross_file stream_transform]
- characters 1.1.0
- charcode 1.2.0
- checked_yaml 1.0.4 [json_annotation source_span yaml]
- cli_util 0.3.0 [meta path]
- clock 1.1.0
- code_builder 3.6.0 [built_collection built_value collection matcher meta]
- collection 1.15.0
- convert 3.0.0 [typed_data]
- cross_file 0.3.1+1 [flutter meta]
- crypto 3.0.0 [collection typed_data]
- dart_style 1.3.14 [analyzer args path pub_semver source_span]
- device_info 2.0.0 [flutter device_info_platform_interface]
- device_info_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- extended_image 4.1.0 [extended_image_library flutter meta]
- extended_image_library 3.1.0 [crypto flutter http_client_helper path path_provider]
- fake_async 1.2.0 [clock collection]
- ffi 1.0.0
- file 6.1.0 [meta path]
- firebase_auth_platform_interface 6.0.0 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 3.0.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.0.1 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.1.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_messaging_platform_interface 3.0.5 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 2.0.5 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 2.0.0 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 1.0.0 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.0
- flutter_blurhash 0.5.4-nullsafety.0 [flutter meta pedantic]
- flutter_cache_manager 3.0.0-nullsafety.1 [clock collection file flutter http image path path_provider pedantic rxdart sqflite uuid]
- flutter_keyboard_visibility 5.0.1 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_web flutter]
- flutter_keyboard_visibility_platform_interface 2.0.0 [flutter meta plugin_platform_interface]
- flutter_keyboard_visibility_web 2.0.0 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter]
- flutter_plugin_android_lifecycle 2.0.0 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- geolocator_platform_interface 2.0.0 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.0.1 [flutter flutter_web_plugins geolocator_platform_interface]
- get 4.3.4 [flutter]
- glob 2.0.0 [async collection file path pedantic string_scanner]
- graphs 0.2.0
- http_client_helper 2.0.2 [http]
- http_multi_server 2.2.0 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- image 3.0.4 [archive meta xml]
- image_picker_platform_interface 2.0.1 [flutter meta http plugin_platform_interface]
- io 0.3.5 [meta path string_scanner]
- js 0.6.3
- json_annotation 4.0.0
- latlong2 0.8.0 [intl]
- lists 1.0.0 [meta]
- logging 0.11.4
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- mgrs_dart 2.0.0 [unicode]
- mime 1.0.0
- modal_bottom_sheet 2.0.0 [flutter]
- nested 1.0.0 [flutter]
- octo_image 1.0.0-nullsafety.1 [flutter flutter_blurhash]
- package_config 2.0.0 [path]
- package_info_plus 1.0.3 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web]
- package_info_plus_linux 1.0.2 [package_info_plus_platform_interface flutter path]
- package_info_plus_macos 1.1.1 [flutter]
- package_info_plus_platform_interface 1.0.1 [flutter meta plugin_platform_interface]
- package_info_plus_web 1.0.2 [http package_info_plus_platform_interface flutter flutter_web_plugins meta]
- package_info_plus_windows 1.0.2 [package_info_plus_platform_interface ffi flutter win32]
- path 1.8.0
- path_provider 2.0.1 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- path_provider_linux 2.0.0 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 2.0.0 [flutter]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.0 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.11.0
- petitparser 4.0.2 [meta]
- photo_manager 1.2.2 [flutter]
- platform 3.0.0
- plugin_platform_interface 2.0.0 [meta]
- pool 1.5.0 [async stack_trace]
- positioned_tap_detector_2 1.0.0 [flutter]
- process 4.1.0 [file path platform]
- proj4dart 2.0.0 [mgrs_dart wkt_parser meta]
- provider 5.0.0 [collection flutter nested]
- pub_semver 2.0.0 [collection]
- pubspec_parse 0.1.8 [checked_yaml json_annotation pub_semver yaml]
- quiver 3.0.1 [matcher]
- rxdart 0.26.0
- sentry 5.1.0 [http meta stack_trace uuid]
- shelf 1.0.0 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 0.2.4+1 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 0.9.10+3 [analyzer async build dart_style glob meta path pedantic source_span]
- source_span 1.8.1 [collection path term_glyph]
- sqflite 2.0.0+2 [flutter sqflite_common path]
- sqflite_common 2.0.0+1 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.0 [charcode source_span]
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.3.0 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 0.1.1+3 [json_annotation]
- transparent_image 2.0.0
- tuple 2.0.0 [quiver]
- typed_data 1.3.0 [collection]
- unicode 0.3.0 [lists]
- universal_io 2.0.4 [collection crypto meta typed_data]
- universal_platform 1.0.0+1
- vector_math 2.1.0
- video_player 2.1.6 [flutter flutter_test meta video_player_platform_interface video_player_web]
- video_player_platform_interface 4.1.0 [flutter meta flutter_test]
- video_player_web 2.0.1 [flutter flutter_web_plugins meta video_player_platform_interface]
- watcher 1.0.0 [async path pedantic]
- win32 2.0.0 [ffi]
- wkt_parser 2.0.0
- xdg_directories 0.2.0 [meta path process]

android/build.gradle:
Click To Expand
buildscript {
    ext.kotlin_version = '1.3.50'
    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'com.google.gms:google-services:4.3.10'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

android/app/build.gradle:
Click To Expand
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
    keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

android {
    compileSdkVersion 30

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    lintOptions {
        disable 'InvalidPackage'
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "io.twibs.twibs"
        minSdkVersion 21
        targetSdkVersion 30
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        multiDexEnabled true
    }

    signingConfigs {
        release {
            keyAlias keystoreProperties['keyAlias']
            keyPassword keystoreProperties['keyPassword']
            storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
            storePassword keystoreProperties['storePassword']
        }
    }
    buildTypes {
        release {
            signingConfig signingConfigs.release
        }
    }

}

flutter {
    source '../..'
}

dependencies {
    implementation platform('com.google.firebase:firebase-bom:28.4.1')
    implementation 'com.google.firebase:firebase-analytics'
//    implementation 'com.google.firebase:firebase-analytics-ktx'

    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'com.google.firebase:firebase-auth:19.3.2'
    implementation "com.google.firebase:firebase-messaging:20.2.4"
    implementation 'com.android.support:multidex:1.0.3'
}

code snippet where the error is currently thrown, although it fails at the next firebase service call if i comment this out:
_firebaseMessaging = FirebaseMessaging.instance;

settings = await _firebaseMessaging.requestPermission(
  alert: true,
  announcement: true,
  badge: true,
  sound: true,
);
token = await _firebaseMessaging.getToken();

Hi @e-e
If you flutter upgrade to the latest stable and remove the native SDK version overrides from android/app/build.gradle
    implementation platform('com.google.firebase:firebase-bom:28.4.1')
    implementation 'com.google.firebase:firebase-auth:19.3.2'
    implementation "com.google.firebase:firebase-messaging:20.2.4"

does it still reproduce?
Thank you

@markusaksli-nc thank you for the suggestion, I am in the process of testing this out and will report back

@markusaksli-nc I tried making the changes you suggested. I was able to get the simulators on my machine to work properly where they weren't before, but test builds installed by other users on real devices are still not working. Also, on another devs computer the simulators are not working either.

I just took a look at our Sentry account, and see the following that corresponds with when I think the other users were trying to load the app:
verificationFailed: [code - app-not-authorized][message - This app is not authorized to use Firebase Authentication. Please verify that the correct package name and SHA-1 are configured in the Firebase Console. [ A safety_net_token was passed, but no matching SHA-256 was registered in the Firebase console. Please make sure that this application’s packageName/SHA256 pair is registered in the Firebase Console. ]]

You just need them to add their SHA-1 and SHA-256 keys to Firebase Console https://firebase.flutter.dev/docs/installation/android#generating-a-firebase-project-configuration-file

Closing this as resolved based on above comment.


Chore/various tests

This PR contains various things that I found in a local branch from November 2020, which I've now rebased upon release33.
What it contains:

A mock of the NTP-client, so that we can run the NTP-tests reliably
Fixes to be able to setupDefaultStudioEnvironment with a organizationId, so that we can run tests in an organization-environment.
fix: snapshots: Don't access file system when in unit tests, to avoid non-test-related issues

Status

[ ] Code documentation for the relevant parts in the code have been added/updated by the PR author
[x] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

Codecov Report

Merging #509 (56991ca) into release33 (135bfa9) will increase coverage by 1.45%.
The diff coverage is 28.57%.

@@              Coverage Diff              @@
##           release33     #509      +/-   ##
=============================================
+ Coverage      66.38%   67.84%   +1.45%
=============================================
  Files            248      251       +3
  Lines          15008    15327     +319
  Branches        3303     3623     +320
=============================================
+ Hits            9963    10398     +435
+ Misses          4879     4764     -115
+ Partials         166      165       -1

Impacted Files
Coverage Δ

meteor/server/api/snapshot.ts
25.95% <16.66%> (+11.98%)
:arrow_up:

meteor/server/api/blueprints/api.ts
78.70% <100.00%> (ø)

meteor/server/migration/migrations.ts
100.00% <0.00%> (ø)

meteor/lib/collections/RundownLayouts.ts
100.00% <0.00%> (ø)

meteor/server/security/noSecurity.ts
100.00% <0.00%> (ø)

meteor/server/migration/expectedDeviceVersions.ts
100.00% <0.00%> (ø)

meteor/server/migration/1_33_0.ts
100.00% <0.00%> (ø)

meteor/server/api/peripheralDevice.ts
68.57% <0.00%> (+0.57%)
:arrow_up:

meteor/lib/lib.ts
67.83% <0.00%> (+2.01%)
:arrow_up:

...teor/server/api/blueprints/context/adlibActions.ts
93.41% <0.00%> (+2.01%)
:arrow_up:

... and 12 more

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 135bfa9...56991ca. Read the comment docs.


#86 new info

Hello @alshapton! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file setup.py:

Line 33:18: E251 unexpected spaces around keyword / parameter equals
Line 33:20: E251 unexpected spaces around keyword / parameter equals
Line 33:32: E231 missing whitespace after ','
Line 40:6: E124 closing bracket does not match visual indentation

In the file src/spacexpython/info.py:

Line 36:5: E265 block comment should start with '# '
Line 37:44: E231 missing whitespace after ','
Line 38:1: W391 blank line at end of file

In the file src/spacexpython/utils.py:

Line 106:1: E302 expected 2 blank lines, found 1
Line 107:17: E211 whitespace before '('
Line 133:18: E225 missing whitespace around operator
Line 140:18: E225 missing whitespace around operator
Line 147:21: E225 missing whitespace around operator
Line 155:39: E231 missing whitespace after ','
Line 160:73: E501 line too long (154 > 72 characters)
Line 164:30: E225 missing whitespace around operator
Line 164:41: E225 missing whitespace around operator
Line 164:73: E225 missing whitespace around operator
Line 164:73: E501 line too long (165 > 72 characters)
Line 170:9: E211 whitespace before '('
Line 190:73: E501 line too long (118 > 72 characters)
Line 234:23: E225 missing whitespace around operator
Line 236:73: E501 line too long (98 > 72 characters)
Line 240:73: E501 line too long (75 > 72 characters)
Line 243:23: E222 multiple spaces after operator
Line 245:25: E225 missing whitespace around operator

In the file src/test/test_info.py:

Line 39:14: E211 whitespace before '('
Line 42:1: W391 blank line at end of file

PEP-8'd some code
Added new info.clients() and info.apps() functions


Add debugging abilities to secrets provider

What does this PR do?
Add ability to build a debug flavor of secrets provider, and a debugging configuration for GoLand IDE
What ticket does this PR close?
Connected to #[143]

@abrahamko do you think that a section in the README about this change can help? What are the steps that a user should do in order to debug the project?

@orenbm I agree this should be documented in README, but to be fully useful, I need the manifests that @sigalsax is adding in her PR for local deployment.
So it should be added to README once the local dev deployment also works.

There are lots of moving pieces in this PR and not a lot of explanation. I would rework your commits, add comments in actual files, etc to explain what you did and why you did them. For example, why are we introducing Delve, why are we exposing 4000.
Without some background knowledge it is more challenging to give a thorough review
These details can be packed in commits or as comments. Take a look at some of @orenbm commits

@orenbm I agree this should be documented in README, but to be fully useful, I need the manifests that @sigalsax is adding in her PR for local deployment.
So it should be added to README once the local dev deployment also works.

No problem, please create an issue for you to update the README once all the effort is done.


[runc-shim] support of async runc shim

Hi, I have finished the async codes of runc shim, and it can be compiled to a runnable conainerd-shim-runc-v2,  I have tested the crictl create/start/exec/stop, it behaves well.
I also refined the codes,  simplified the code architecture. make it much cleaner.
Now, for async codes, if someone want to construct a new shim binary of a new runtime, he or she just need to do the following things:

implement CotainerFactory, which is a Factory for creating container;
implement ProcessLifecycle for container init process,  ProcessLifecycle is a trait defines the process lifecycle actions, like start/kill/delete ;
implement ProcessLifecycle for container exec process, if exec process and init process has no difference, just implement the trait once;
implement ProcessFactory for exec processes;
assemble  these implementions to a TaskService and implements the Service;
provide async main function;

the details are in the codes in runc-shim/src/asynchronous.
I only refactored the codes in async feature, but I think the non async codes can also be refatored refer to the async codes.
this PR is based on the PR #40,  should I close the PR #40, only leave this PR?
I think it is a big improvement, could you please take a look? @mxpv @jiangliu @fuweid @Burning1020

Awesome!

Should we keep just one version of shim implementation? (either sync or async).
It makes sense to keep and maintain sync/async versions for libraries, because we're not aware how it's going to be used by customers. But for runc shim we produce a binary and it would be challenging to support two versions of the same code.

Agree, but I'm not sure which one is the better choice, maybe we can keep these two versions of runc as a standard implementation of our shim lib for both sync and async users?

How about taking "sync" as stable beta version and "async" as experimental alpha version? We can keep they two at the previous release, and the async version could be positive in somedays.


Visualize KITTI result and KITTI_best_model.pth

@Lavreniuk Hello author,
This is a high-quality work and we are very interested in this work
The reproduced results are consistent with those in the paper based on the KITTI dataset. However, we encountered difficulties during visualization and the visualization results were not ideal.
(1) We showed our visualization results. We don’t understand why the evaluation indicators are excellent, but the visualization results are not ideal.

(2) I hope the author can provide best_model.pth on the KITTI dataset so that we can better understand whether it is a problem of visualization or model parameters (the model we trained ourselves is in the KIITI dataset)
Looking forward to your answer, thank you very much for your help! ! !

At the same time, we attach the results of our training in the kitti data set.

@Lavreniuk In short, the results of training on the KITTI data set seem to have no problems according to the quantitative test results, but the visualization results are not ideal.

@RuiTianHIT, I am delighted to hear that everything works and the scores you reproduced are high and quite close to those written in the paper. I have uploaded the best KITTI model for you here:
https://huggingface.co/spaces/MykolaL/evp/tree/main/depth
I have checked it on visualization, and it works well. Please make sure that you have good visualization for this model, and then switch to your weights.

@Lavreniuk
With your help, this issue has been resolved and the visualization effect is of high quality. Thank you very much.
I have a question to discuss whether there is a situation in depth estimation tasks where the evaluation metrics are good (d1 or RMSE), but the visualization effect is not good.
I think it may exist because the nussence dataset is also a classic depth estimation benchmark, GT only exists in some areas, so does the model learn local solutions?

@Lavreniuk Could you provide the loss for each round when training with KITTIdataset?
And the results output for each epoch?
Recently, we have encountered problems during training and would like to compare and further identify the cause of the error.


Offline build

In the airport today, I notice that I can't build if my laptop isn't connected to the network because it needs to load the p2 repositories.
If there's a quick and easy fix for this, we should implement it. If it's complicated and will take a significant amount of time, don't bother.

mvn -o should do it.

On May 26, 2016, at 6:45 AM, Elliotte Rusty Harold<EMAIL_ADDRESS>wrote:
In the airport today, I notice that I can't build if my laptop isn't connected to the network because it needs to load the p2 repositories.
If there's a quick and easy fix for this, we should implement it. If it's complicated and will take a significant amount of time, don't bother.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Yup, does the trick.


ERROR: Command errored out with exit status 1:

When running a command pip install -r ./requirements.txt I am getting errors

I meet same question with you.If you have solved this,please tell me.thank you

I have the same issue too.


Upload and display multiple images for one product

I just need to know how I can upload multiple images for a product and then display them in the products page.

Thank u!!!


Use three-mesh-bvh npm package instead of including the package in the codebase

The three-mesh-bvh package was recently published to npm 🎉
We should update this package to use it as a dependency.

(I can jump onto this sometime this week 🙂)

https://github.com/pmndrs/react-three-csg/pull/3 has been released in 1.1.4, closing


test: twister: add timeout for device check

if we do not configure the fixture well, the device handler will loop forever for the board to get ready
so we need set a timeout.
see below code the device_is_available checks for the fixture that a cases needed, but if we do not have that fixture ready(due to lack of configuration or fixture is borken), then we will wait forever.

 def handle(self):
        out_state = "failed"
        runner = None
        hardware = self.device_is_available(self.instance)
        while not hardware :
            logger.debug("Waiting for device {} to become available".format(self.instance.platform.name))
            time.sleep(1)
            hardware = self.device_is_available(self.instance)

Signed-off-by: Hake Huang<EMAIL_ADDRESS>

if we do not configure the fixture well, need set timeout

you need to provide more details, I do not understand what the issue is exactly. Please be verbose and describe the issue in details.

What if run twister on single board with a powerful host machine, we may have a lot of built binaries waiting to be flashed to the board, and the board runs slowly. In that case, some cases may be set as skipped before they are flashed.

You are running serveral cases again one signle board parallelly? if in this case, you need add more timeout, or restrict the number of cases running in parallelly. Otherwise what if one case hangs and this will block all other cases, and they will keep waiting forever.

there is a gpio case need lopback fixture, but we do not provide this fixture in command line, then the run test will be in dead loop waiting

if a test needs a specific fixture and we don't provide this fixture via map file or command line, then this test should be filtered out. so actually, there are some minimal issues in the logic of code below:
instance.run = instance.check_runnable(
                    self.enable_slow,
                    tfilter,
                    self.fixtures
                )
if runnable and self.duts:
                    for h in self.duts:
                        if h.platform == plat.name:
                            if ts.harness_config.get('fixture') in h.fixtures:
                                instance.run = True

if we can't find specific fixtures from hardware configuration, we should set the instance.run as false.

if we can't find specific fixtures from hardware configuration, we should set the instance.run as false.

this is part of the problem, a fixture can be dead sometime, or the target board can be dead. in either case, we expect the cycle can get finished and generate report, instead of waiting for ever.
I push an update here, you can use a os envrionment TWISTER_DEVICE_TIMEOUT to control the device timeout if it case timeout is not fit in your test envrionment.

as I understand(correct me if I am wrong), the dead loop waiting is that this function 'device_is_available' always returned false, so it fall into the while loop to wait for an available device forever, but this is also due to that it couldn't get expected fixture in hardware configuration.
 def device_is_available(self, instance):
        fixture = instance.testsuite.harness_config.get("fixture")
        for d in self.testplan.duts:
            if fixture and fixture not in d.fixtures:
                continue

so if we provide fixtures via map file or command line, it won't fall into dead loop; if we don't provide, then this test instance should be filtered out, the instance.run will be false and it won't go into the handle function and check device available at all.

a fixture can be dead sometime, or the target board can be dead

for those two conditions, they are more like hardware issues, if fixture hardware was broken, we couldn't get expected results and this test will be failed due to timeout.

as I understand(correct me if I am wrong), the dead loop waiting is that this function 'device_is_available' always returned false, so it fall into the while loop to wait for an available device forever, but this is also due to that it couldn't get expected fixture in hardware configuration.
 def device_is_available(self, instance):
        fixture = instance.testsuite.harness_config.get("fixture")
        for d in self.testplan.duts:
            if fixture and fixture not in d.fixtures:
                continue

so if we provide fixtures via map file or command line, it won't fall into dead loop; if we don't provide, then this test instance should be filtered out, the instance.run will be false and it won't go into the handle function and check device available at all.

a fixture can be dead sometime, or the target board can be dead

for those two conditions, they are more like hardware issues, if fixture hardware was broken, we couldn't get expected results and this test will be failed due to timeout.

If the target board series port is wrongly opened due to other process, or other test instance, this will be blocked as well. My point is that why we leave a apparent defects in the code logic and take many assumption that we should not fall into the dead lock? fixing this by given a timeout will fix the dead lock issue forever, a test runner shall provide timely result, instead of blocking their and waiting, this is my point.

there is no good fix for all possible issue, only has fixes when fixture is not available, but I still meet problem when the uart is halt due to some reason, the twister keeps waiting. I will try to fix the fixture issue in another PR. but this PR is still valid.


chore: release 0.9.3

:robot: I have created a release *beep* *boop*
0.9.3 (2023-11-09)
Bug Fixes

apply allowlist to htm extension (#481) (cb1d341)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ethersphere/gateway-proxy/releases/tag/v0.9.3 :sunflower:


Inference widget was using a value that was one keypress behind the current state

The inference widget was submitting a value that was from one keypress before the last one.
To reproduce:

Go to https://huggingface.co/gpt2 and type the text "123" at the end of the example text in the inference widget
Submit
Check the URL: you will see that it only submitted "12".

This is because of how content editable events work; listening to the input event rather than keypress fixes it.
I've tested this on Chrome and Safari on Mac but no other browsers.
(The bug seems to have been introduced by https://github.com/huggingface/hub-docs/commit/5686c85b0ddbb8e4b95d9718b4b2c6d626aa46c8)

cc @mishig25 for when he's back! (also cc @gary149 for visibility)


MudTable does not render correctly when using iPhone SE

Describe the bug
If have a MudTable with several columns. When you change the size of the view using developer tools in e.g. Chrome to iPhoneSE the column headers and data are not properly aligned.
To Reproduce
Steps to reproduce the behavior:

Add a MudTable to a page with several columns
Change size to iPhone
Check the layout of the data - it is mangled

Blazorfiddle link
Expected behavior
The columns headers should be properly aligned. The data should be shown without overlapping each other
Screenshots
see attachment
Additional context

Please note, MudTable belongs to MudBlazer, not MatBlazer. These are distinct libraries.


Allow users to supply filters so file skipping is possible

This library is currently using dt.file_paths(), so I don't think users can access file skipping.
It would be cool if the user could supply filters so they could skip files.  Here's how we're doing this with the Dask reader: dt.files_by_partitions(filters).

@MrPowers Great idea, I've created PR-13 to support file skipping within deltaray. Thanks for the suggestions.

Is the PR stale?

@srggrs - I think that PR can actually get merged.  Would you be open to reviewing it?

yeah I am happy to review it


IPv6 issue

Hello! Just wanted to open an issue as Pedro reported on discord the they were unable to get their Mist websocket program to run on IPv6. I have not investigated this myself.

https://github.com/rawhat/glisten/commit/e16e2e442fe3f6360c25031a96ab5634c5d6393a added IPv6 support to the socket options.


What if my MaterialApp doesn't have a "home" propertity?

Hi, if my my MaterialApp only has the "initial route" property, how should I use this splash_view package? Thank you in adavance!

Here's how to do it
void main() {
  runApp(
    MaterialApp(
      initialRoute: '/',
      routes: {
        '/': (_) => SplashView(),
      },
    ),
  );
}


Rewriting midlevel to odri_control_interface

This is a rewrite of the solo12 from the blmc_drivers::SpiMotorBoard to the new odri_control_interface.

Closing this PR as the implementation is changing quite dramatically and won't be compatible with this PR anymore.


Add ColorBar Title

Suggestion: (Describe your idea here)
Add custom title label for colorbars andd move the tickmakers closer to the color bar

Thanks for reporting this @mawbydp! It's similar to #3294 and definitely should be improved. I'm going to make both issues high priority and hopefully will have a fix soon in an upcoming release!

Hi @mawbydp, I think this has been fixed in #3610 and will be in the next release! 🚀 Thanks again for originally pointing this out.


Markdown preview when zoomed does not use full window

VSCode Version: 1.10.1 (also in previous versions for ~3+ months from my recollection)
OS Version: Win10
Steps to Reproduce:

Use Ctrl+ to enlarger font size
Open a .md file
Open a preview of the .md to the side (via Ctrl-K, V)
Notice preview does not fill whole window (see image below -- notice the scroll bars)

I'd expect the preview window to use the full space (as it does without the zoom step above)

Duplicate of #5745


Could not parse float: ParseFloatError { kind: Invalid } on loading MeTTa file

https://github.com/Adam-Vandervorst/metta-examples/blob/main/aunt-kg/simple_conversion.metta
on the adameve.metta import
fails with Could not parse float: ParseFloatError { kind: Invalid }
Do you have any suggestions for debugging? A line number or "failed on string X" would help a lot.

Only way I can suggest at the moment is printing tokens and src_range before calling grounded atom constructor here https://github.com/trueagi-io/hyperon-experimental/blob/f22e747c214a8a507ed5350040335b43c84efe39/lib/src/metta/text.rs#L192 and look at the last printed entry.

Another drop in the "damage done by regex" ocean.
There are several layers of issues here:
There is the fact that no user input should be able to make the parser panic.  So there needs to be an error pathway for the tokenizer string-to-atom code to throw a non-fatal parse error, with a span reference in the source code.
But the reason this was panicking is because it was trying to convert "36:14" into a float.  And it was doing that because the regex was "[-+]?\d+.\d+"
I think the intent was two groups of one or more digits separated by a '.'  Unfortunately an unescaped '.' matches any character, and in this case ':'

Partial fix implemented https://github.com/trueagi-io/hyperon-experimental/pull/636
Tomorrow I'll get the soft errors from Tokenizer functions to flow to the parser gracefully.

The rest of the fix is implement in https://github.com/trueagi-io/hyperon-experimental/pull/637
You can test it from the repl (until we add bigints)
> !(println!<PHONE_NUMBER>958340958430958309583409583409)
 - byte range = (11..51) | Could not parse integer: '4358908530958340958430958309583409583409', number too large to fit in target type

I'd like to plug this into the repl's syntax highlighting, but I think I'll punt on that for now.
The reason is that there is actually two passes.  The first pass which interacts with the repl's syntax highlighting is going from text to syntax nodes.  And the second pass is going from the syntax tree to atoms.  But that second pass is run by the repl after you hit enter, not with every keystroke.  And this error originates in the second pass.
So in the interest of priorities, I'll punt on immediate feedback in the repl for now.

Closing this issue as the problems are addressed & merged.  Can open another one for further improvements or if more problems are found.


Test issue 4

desc
DEV-57

Check again

Ok I will

Ok I will

One more

From GH

Gtom Linear

Ok, got it

Ok, got it

Ok, got it

Ok, got it

Can't see it

Trying

Ok, got it!!

Kind of odd


startuptime：it it took too much time to do "setup clipboard"

The following is the log of startuptime, it took too much time to do "152 1205.805  1060.095: setup clipboard"
139 144.247  000.614  000.614: sourcing /home/hjwang/.local/share/vim/vim82/plugin/netrwPlugin.vim
140 144.327  000.041  000.041: sourcing /home/hjwang/.local/share/vim/vim82/plugin/rrhelper.vim
141 144.383  000.031  000.031: sourcing /home/hjwang/.local/share/vim/vim82/plugin/spellfile.vim
142 144.599  000.193  000.193: sourcing /home/hjwang/.local/share/vim/vim82/plugin/tarPlugin.vim
143 144.741  000.100  000.100: sourcing /home/hjwang/.local/share/vim/vim82/plugin/tohtml.vim
144 144.984  000.218  000.218: sourcing /home/hjwang/.local/share/vim/vim82/plugin/vimballPlugin.vim
145 145.278  000.212  000.212: sourcing /home/hjwang/.local/share/vim/vim82/plugin/zipPlugin.vim
146 145.299  001.666: loading plugins
147 145.353  000.054: loading packages
148 145.468  000.017  000.017: sourcing /home/hjwang/work/config/vimrc.d/plugged_vim802_linux/indentLine/after/plugin/indentLine.vim
149 145.472  000.102: loading after plugins
150 145.491  000.019: inits 3
151 145.710  000.219: reading viminfo
152 1205.805  1060.095: setup clipboard
153 1205.830  000.025: setting raw mode
154 1205.855  000.025: start termcap
155 1205.938  000.083: clearing screen
156 1209.530  000.845  000.845: sourcing /home/hjwang/work/config/vimrc.d/plugged_vim802_linux/vim-airline/autoload/airline/extensions.vim
157 1209.913  000.147  000.147: sourcing /home/hjwang/work/config/vimrc.d/plugged_vim802_linux/vim-airline/autoload/airline/extensions/quickfix.vim
158 1210.516  000.440  000.440: sourcing /home/hjwang/work/config/vimrc.d/plugged_vim802_linux/vim-airline/autoload/airline.vim
159 1210.899  000.096  000.096: sourcing /home/hjwang/work/config/vimrc.d/plugged_vim802_linux/vim-airline/autoload/airline/extensions/netrw.vim
160 1211.602  000.201  000.201: sourcing /home/hjwang/work/config/vimrc.d/plugged_vim802_linux/vim-airline/autoload/airline/section.vim
161 1212.510  000.510  000.510: sourcing /home/hjwang/work/config/vimrc.d/plugged_vim802_linux/vim-airline/autoload/airline/highlighter.vim
162 1212.961  001.834  001.123: sourcing /home/hjwang/work/config/vimrc.d/plugged_vim802_linux/vim-airline/autoload/airline/extensions/term.vim
163 1213.257  000.041  000.041: sourcing /home/hjwang/work/config/vimrc.d/plugged_vim802_linux/vim-airline/autoload/airline/extensions/bookmark.vim
164 1213.653  000.149  000.149: sourcing /home/hjwang/work/config/vimrc.d/plugged_vim802_linux/vim-airline/autoload/airline/extensions/whitespace.vim
the vim version:
:version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 18 2019 13:04:29)
Included patches: 1-14
Compiled by hjwang@hjwang-Latitude-E5540
Huge version with X11-Athena GUI.
For diagnostic purpose, try with -X option i.e. vim -X --startuptime startup.log

@dpelle
Thanks for your help.  My display is   set display?   then   display=lastline .
I try to start vim with -x , then I need to input crypt key, so the startuptime is not correct.
but the vim don't do "setup clipboard" now, I don't konw the reason.

Not 'display' option, DISPLAY environment variable.
Not -x, use -X.

@k-takata , thanks you too.
after :echo $DISPLAY ,  vim print 'localhost:10.0' or 'localhost:11.0'
Now I couldn't find the log about setup clipboard, it seems the issue is missing , it seems very strange.

so $DISPLAY is set, which is good. Perhaps Athena is slow for that? Have you tried a different gui? Is there anything special with your setup? (Wayland, or perhaps you are using an usual X-Server, or using remote capabilities)?

A comment is not forwarded here.
https://groups.google.com/d/msg/vim_dev/LsZMwLMZbZc/4ykbdEW0CAAJ

@chrisbra @k-takata @dpelle
actually ，I changed nothing, the issue just gone, I don't konw why,  I am working on the terminal vim with MobaXterm, sometimes i will open the xserver.
anyway , thanks for your help . I will close this case.

Closing then.


Voluemteardow

Pull Request Test Coverage Report for Build 710660121

12 of 12 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 81.792%

Totals

Change from base Build 710423935:
0.3%

Covered Lines:
283

Relevant Lines:
346

💛  - Coveralls


[FEAT] warnWhenUnsavedChanges show when I shift to different tabs

Is your feature request related to a problem? Please describe.
Why warnWhenUnsavedChanges show when I shift to different tabs?
I need help.
I have a big form which compose of tabs to make it more user friendly.
My issues:
When I set some data to any fields, then shift to a different tab, it always asked me "Are you sure you want to leaved?"

Describe alternatives you've considered
No response
Additional context
No response
Describe the thing to improve
I hope you can make a sample project with big form and nested fields that compose of multiple components
like tabs etc.

Hey @blh-savila ,
Thank you for contacting us! Let's see what we can do 🔜

I have a similar issue on a selectable list. It would be nice if we could disable this on specific views

geoffatsource

Hey @geoffatsource ,
You can manage the 'warnWhenUnsavedChanges' at the useForm hook level. Does this help with your work? https://refine.dev/docs/api-reference/antd/hooks/form/useForm/#warnwhenunsavedchanges
const form = useForm({
    warnWhenUnsavedChanges: true,
});

Does that work for useEditableTable?

Does that work for useEditableTable?

Yes, it's works. https://refine.dev/docs/api-reference/antd/hooks/table/useEditableTable/#properties

Hey @blh-savila ,
If warnWhenUnsavedChanges is set to true, the warning will activate on route changes. If this is not the expected behavior in your form, you can disable it by giving warnWhenUnsavedChanges a value of "false" in the useForm.
const form = useForm({
    warnWhenUnsavedChanges: false,
});


Library is trying to create classes from resource files

Expected Behavior
The library should ignore resource files
Actual Behavior
The library is scanning all folders and tries to create classes from resource files.
Steps to Reproduce

Add a text file to the main/resources folder
Run a Test
The scanner will read the text file and will try to create a class from the text file throwing several exceptions in the process

@ajrrjava , could you attach build output that shows the attempt to create a class file that you're talking about?
If this is coming from one of the classpath scanners - either reflections or fast-classpath-scanner - this is just how they work. Using a logback.xml file to control the verbosity of log output during a test-run (see the "examples" projects for examples) can suppress this output.
If you're seeing it come from somewhere else, I await a copy of the build output.

@ajrrjava , do you still require assistance with this issue?

@awitta, thank you for your answer. The output I as seeing was coming from the scanners. Your proposed solution worked.


Fix dependency issues and acton.proto downloading problem

Now the dependent packages can be directly downloaded by pip install.
Fixed the NoMoudleError (no acton.proto module)

LGTM! Looks like GPy is broken in Travis though, not sure why; moved to #102


Clarify finddebt command for user guide

Resolves #259

Codecov Report
Base: 69.93% // Head: 69.93% // No change to project coverage :thumbsup:

Coverage data is based on head (77f0838) compared to base (531ba77).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #320   +/-   ##
=========================================
  Coverage     69.93%   69.93%
  Complexity      717      717
=========================================
  Files           106      106
  Lines          2428     2428
  Branches        322      322
=========================================
  Hits           1698     1698
  Misses          609      609
  Partials        121      121

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


fix: Add newline after qr code and print usage if incorrect number of args passed

Closes issue #47 and adds a newline following print out of QR code to stdout.

@kennytm The code coverage analysis seems too sensitive. It seems like there should be a set coverage target (say 90%) and the coverage of a given PR should be compared with the target. Having it fail on any decrease seems like too much.
I'm not familiar with kcov, but it seems you are given that you authored the cargo component. Is there a means of accomplishing what I described and would you be interested in that for this project?


Fix bug at "Using a client secret" section

Remove --certificate-path path-to-certificate-file in command line.
The parameter --certificate-path path-to-certificate-file is not needed when login by client secret. --certificate-path only available when login by certificate.
User will be confused to offer --certificate-path parameter when login by client secret.

@micli : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Feedback: Batch Delete Expired Data with Row-Level TTL

Page: https://www.cockroachlabs.com/docs/stable/row-level-ttl.html#examples
I suggest we add below example as I foresee it being asked many times. This is the syntax on how you can specify a computed expression on a TIMESTAMPTZ column. The AT TIME ZONE part is critical.
CREATE TABLE expire_rows_in_one_month (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  end_date TIMESTAMPTZ NOT NULL
) WITH (
    ttl_expiration_expression = '((end_date AT TIME ZONE ''UTC'') + INTERVAL ''30 days'') AT TIME ZONE ''UTC'''
);

Details on Slack

Might be worth adding also below example, they might resonate with users that are more familiar with the programmatic way to add timedelta to a timestamp. 86400 is the number of seconds in a day - the product of 606024.
-- delete after 5 minutes
CREATE TABLE t1 (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  end_ts TIMESTAMPTZ NOT NULL
) WITH (
    ttl_expiration_expression = "(end_ts::INT8 + 300)::TIMESTAMPTZ"
);

-- delete after 30 days
CREATE TABLE t2 (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  end_date DATE NOT NULL
) WITH (
    ttl_expiration_expression = "(end_date::INT8 * 86400 + 86400 * 30)::TIMESTAMPTZ"
);


Do not allow to use the RSpec tag option together with the RSpec split by test examples feature

Do you pass RSpec option --tag in command like bundle exec rake "knapsack_pro:queue:rspec[--tag mytag]"?
If you do it and you use at the same time KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES=true then --tag option might not be respected by RSpec due to a bug in the RSpec. RSpec has a higher priority to run test examples like spec/a_spec.rb[1:1] than respect the --tag option. This can result in running test cases that you didn't intend to run.
You should not use the --tag option when you use RSpec split by test examples feature KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES=true.
See more:
https://knapsackpro.com/faq/question/how-to-split-slow-rspec-test-files-by-test-examples-by-individual-it#warning-dont-use-rspec-tag-option

@shadre Thanks for the review. I've applied suggestions. Please let me know if we are good to merge this PR.

tech note
About the following issue:

RSpec has a higher priority to run test examples like spec/a_spec.rb[1:1] than respect the --tag option. This can result in running test cases that you didn't intend to run.

To reproduce the issue make changes:
In the knapsack_pro gem:
# lib/knapsack_pro/queue_allocator.rb
    def test_file_paths(can_initialize_queue, executed_test_files)
      @@index ||= 0
      batches = [
        ['spec/features/calculator_spec.rb[1:2:1]', 'spec/controllers/articles_controller_spec.rb'],
        ['spec/collection_spec.rb'],
      ]
      tests = batches[@@index] || []
      puts 'INSPECT:'
      puts tests.inspect
      @@index += 1
      return tests

      # the rest of the code that is ignored thanks to the above `return tests`
      return [] if @fallback_activated
      # ...

In the rails-app-with-knapsack_pro repo:
Run the bin script: bin/knapsack_pro_queue_rspec_record_first_run with modified content as following to run tagged tests.
# bin/knapsack_pro_queue_rspec_record_first_run

RANDOM_CI_BUILD_ID=$(openssl rand -base64 32)
CI_BUILD_ID=${4:-$RANDOM_CI_BUILD_ID}
COMMIT_HASH=$(ruby -e "require 'securerandom'; puts SecureRandom.hex")
BRANCH_NAME=fake-branch

# you can set a const fake data if you need to test running tests on 2 CI nodes for the same commit/branch
#COMMIT_HASH=57dccc53cb2ee921692ad1d3df971674

#export KNAPSACK_PRO_FIXED_QUEUE_SPLIT=true

#export EXTRA_TEST_FILES_DELAY=10 # seconds
# uncomment the following line to verify if Knapsack Pro raises an exception preventing the RSpec --tag usage
#export KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES=true

KNAPSACK_PRO_ENDPOINT=http://api.knapsackpro.test:3000 \
  KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC=fec3c641a3c4d2e720fe1b6d9dd780bc \
  KNAPSACK_PRO_CI_NODE_BUILD_ID=$CI_BUILD_ID \
  KNAPSACK_PRO_COMMIT_HASH=${3:-$COMMIT_HASH} \
  KNAPSACK_PRO_BRANCH=$BRANCH_NAME \
  KNAPSACK_PRO_CI_NODE_TOTAL=${2:-2} \
  KNAPSACK_PRO_CI_NODE_INDEX=${1:-0} \
  bundle exec rake "knapsack_pro:queue:rspec[--format d --tag xfocus]"

Expected:
I expect the spec/controllers/articles_controller_spec.rb file to be executed because it has xfocus tag. Other test files should not be executed.
Actual:
The spec/features/calculator_spec.rb[1:2:1] test case is executed. This is the issue. It should not be executed.


ADD Backend Issue Report Template

Title of the Pull Request

[x] Have you renamed the PR Title in a meaningful way?

Related Issue
Closes: #1230
Description
This PR adds a new Backend Issue Report Template to help contributors report backend-related issues effectively. The template includes fields for the error message, environment details, and steps to reproduce, enabling maintainers to identify and troubleshoot backend issues quickly.

Created a structured Backend Issue Report Template with fields for error logs, environment details, and reproduction steps.
Updated the documentation with instructions for using the Backend Issue Report Template.
Ensured the template is easy to understand and comprehensive for both contributors and maintainers.

How Has This Been Tested? ⚙
The template was tested by creating several mock backend issue reports using the new format. Feedback was gathered from team members to ensure all necessary information is captured. Tests confirmed that the template displays correctly on GitHub and guides users in providing detailed reports.
Screenshots 📷
N/A
Type of change
What sort of changes have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

[x] My code follows the code style of this project.
[x] I have followed the contribution guidelines.
[x] I have performed a self-review of my own code.
[x] I have ensured my changes don't generate any new warnings or errors.
[x] I have updated the documentation (if necessary).
[x] I have resolved all merge conflicts.

@vishanurag the task has been completed. Kindly review the PR.
Don't forget to add labels "GSSOC-EXT"


feat: edit precommit hook

test to see if major version will be updated

:tada: This PR is included in version 2.7.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


expected value of type undefined during 'init', but received: [object Object]

I'm using mirage for testing, and I have type validation on one of my models. When I run a test, I'm seeing this:
_default#proposedGeometry expected value of type undefined during 'init', but received: [object Object]
But I have defined the type as something:
import { FeatureCollection, EmptyFeatureCollection } from './project';

// ... class {

  @type(FeatureCollection)
  @attr({ defaultValue: () => EmptyFeatureCollection })
  proposedGeometry;

The problem is that FeatureCollection actually imports as undefined in my test environment. Could this have something to do with e-decorators stripping out type validation in the wrong place?

I moved this validation over to the model that was needing it (it should go there anyways), and it seems to work fine. So I'm not sure what's happening. The validation is exported as this:
export const FeatureCollection = shapeOf({
  type: oneOf('FeatureCollection'),
  features: arrayOf(
    Feature,
  ),
});

Maybe I am doing the module syntax wrong IDK

In production environments all of the type definition helpers are removed from the final build, so you may be importing undefined because of that. However, @type should also be removed, so it's strange that you're still running into the validation issues.
We've been working on a rewrite for v1.0.0, we can definitely try to address this in the rewrite. Unsure if I'll have time to go back to earlier versions and figure out what's going on.

Hmmm. Yeah, I'm not sure. It seems to only come through as undefined when it's being exported and reimported somewhere else.
Happy to help if I can be pointed in the right direction.
Thanks!


Support CRON_TZ

Like it says in the title. This adds support for CRON_TZ.
Cronexpr works by inspecting the year / month / day / hour, etc., so if we give it a time in a given TZ, it gives us the next iteration in the same TZ.
Fixes: #77

@krallin Correct me if I'm wrong. I can now use CRON_TZ like this?
CRON_TZ=Europe/Warsaw
* * * * * command1 param1
CRON_TZ=UTC
* * * * * command2 param1
CRON_TZ=America/Chicago
* * * * * command3 param1

Every command will be run with system TZ but cron scheduler will calculate run times using separate time zones for every command after CRON_TZ?

Not quite — you can only use it once (well, to be precise, the last one
will take precedence).
I feel like we would hypothetically support what you’re suggesting here ...
but I don’t believe that’s standard behaviour in cron. Might not hurt
though — what’s your use case?
On Sat, 14 Nov 2020 at 21:40, piotrekkr<EMAIL_ADDRESS>wrote:

@krallin https://github.com/krallin Correct me if I'm wrong. I can now
use CRON_TZ like this?
CRON_TZ=Europe/Warsaw

command1 param1
CRON_TZ=UTC

command2 param1
CRON_TZ=America/Chicago

command3 param1

Every command will be run with system TZ but cron scheduler will calculate
run times using separate time zones for every command after CRON_TZ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aptible/supercronic/pull/80#issuecomment-727269076,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANIHVVQ7PI5NIPNNDIAOA3SP32NZANCNFSM4TVVY5JA
.

Defining CRON_TZ once is enough for my use case. I was just wondering if it was possible with this PR. I saw something similar in go cron library https://godoc.org/github.com/robfig/cron#hdr-Time_zones but they were prefixing crontab lines with CRON_TZ for this to work.
Possible use case could be like this:

Report A for Asia market has data available everyday at 8 AM Asia/Tokyo
Report B for Europe market has data available everyday at 8 AM Europe/Warsaw
Reports should be generated and send around 30 minutes after data is available for every market
Reports are generated using same command

So it could be written like this:
CRONTAB_TZ=Asia/Tokyo
30 8 * * * generate-report --market Asia
CRONTAB_TZ=Europe/Warsaw
30 8 * * * generate-report --market Europe

It's not my use case but I think such case is quite possible.
Anyway, thank you again for your great work 👍

That's fair, thanks! For now, I'm not super convinced it's worth the cost in terms of complexity of having this, but let's see if it ever comes up :)


Probable bug in signal propagation

Describe the bug
Dear sycamore team, i believe i have run into a bug, related to signal propagation.
I'm switching to a different framework, for other reasons, so do not have the energy to write a more extensive breakdown.
If you think that this submission is too much trouble to address, then i understand.
To Reproduce
the bug can be reproduced as follows:

clone the repo at https://github.com/johnvanderholt/wasm_risk/tree/387e7a4da53cbb7516d569309ce387871b70ae7b and run the code using sh run.sh
select two players in the setup menu until you get to the army placement menu
placing armies until the ui switches over to the next player and then clicking one more time, will produce the following output, in the console.

updating start placement info StartArmyPlacementInfo { is_done: true, updated: true, current_player: 0, num_players: 2, armies_per_player: [0, 21, 0, 0, 0, 0, 0, 0] } // RcSignal gets set
checking eq
updating placement start from rc // RcSignal gets propagated to signal, the component is updated, but the Signal state is not propagated back to the RcSignal, therefore current_player is not updated in the RcSignal
running placement id 34, start true
updating start placement info StartArmyPlacementInfo { is_done: true, updated: true, current_player: 0, num_players: 2, armies_per_player: [0, 21, 0, 0, 0, 0, 0, 0] } // RcSignal gets set again
checking eq
updating placement start from sig // because of accidental behavior in my code, this time the Signal does get propagated back to the RcSignal

Expected behavior
Canvas handler -> Game stuct -> updates RcSignal -> cloned to Signal -> Component update -> Signal updated - > RcSignal updated
The RcSignal update at the end only happens if the state is set twice.
Environment

Sycamore:  {version = "0.8.2", features = ["wasm-bindgen", "web", "web-sys", "sycamore-web"]}
Browser:Firefox
OS: Lubuntu (flavor of ubuntu)

Additional context
There are two bools called is_broken inside the code, which if both set to true will run a later version of the code, which panics, even though it shouldn't, because the state doesn't get propagated all the way.
Anyway, i hope this submission is at least mildly useful, and i wish you good luck with your project.

I've updated the code to use sycamore 0.9.0-beta.2 and the bug is still present.
The new signals do mean, that i'll be able to refactor the code base, which will probably solve the bug in my instance.
But this could be something someone else might run into in a more complex project than mine,
Although i admit that it might be a bit of an extreme case.
Here's the link to the new version https://github.com/johnvanderholt/wasm_risk/tree/8afca8598d683801882f542ed53cae5a5e1441c4

I've updated the code to use sycamore 0.9.0-beta.2 and the bug is still present. The new signals do mean, that i'll be able to refactor the code base, which will probably solve the bug in my instance. But this could be something someone else might run into in a more complex project than mine, Although i admit that it might be a bit of an extreme case.
Here's the link to the new version https://github.com/johnvanderholt/wasm_risk/tree/8afca8598d683801882f542ed53cae5a5e1441c4

I've had a quick look at your code and I believe the problem might be due to updating signals from within memos/effects.
For one thing, if you are not using the result of the memo, it is semantically more correct to use create_effect which is specifically meant for this kind of thing.
Secondly, it is generally considered much better to use memos instead of manually updating signals withy effects. This not only solves some synchronisation issues and the "diamond problem", it also generally should have much better performance.

ok, good to know.
thanks, for the help.


Document how to plot multiple series on one plot

It's not clear to me how to plot two or more series for a single plot, such as this one
This was raised by @stripathy at the hackathon.
@VahidGh @miladjafary Any tips?
Also, we should document this for future use.

Related to #98

@travs For context, what plotting environment are we talking about?
Also, perhaps unrelated, but @VahidGh may need to separate multiple series plotted on the same graph using pyNeuroML, each corresponding to gating variables, and replot them on separate graphs to compare to gate plots for channelpedia.

@rgerkin Good point. I'm talking about the digitization section of the channelworm web app. Namely, how to create separate datasets for one figure.

@travs, I'm referring to https://github.com/openworm/ChannelWorm/issues/46#issuecomment-127539388, as I described the process I did for 1-2 channels.
For more clarification -- We have an option called Manage Datasets, which is available when Calibrate Axes is done. With this option we can have separate digitized series for each trace.

The other issue is with the holding potential for each trace. As described, this is available through the I/V, G/Gmax vs V, or any voltage-dependent curve within the same study. For example for the top trace, we should look for the I/V curve and using the captions, we can find out which holding potential is for this trace (e.g. 80 mV), and then renaming the dataset to 80 for the fitting process.

@VahidGh Ok excellent. I wasn't aware of the manage datasets option; thanks for pointing that out.
I'll write up a bit more documentation for this as I go through digitizing some figures today.
Do you have any recommendations for where to place points on these figures with no included data points? How many/where to put them?

@travs, great. As for the points, should at least cover the whole trace, considering it has started from some baseline, then for example we have a curve that should be simulated via points, then some points for the steady state current, and then again where the clamped voltage stops (the vertical line (if there is), and then again the baseline.
Other adjustments would be required during the fitting process.

Ok, I guess I was thinking there was some number we could use, but I'll just go with whatever seems to cover the curve visually.


Rest API

Which version and edition of Flyway are you using?
Flyway 5.2.4
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Latest Version
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command Line
Which database are you using (type & version)?
Mysql 5.7.17 and onwards
Which operating system are you using?
Centos 7.3
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
What did you expect to see?
Can i get an API for deploying sql through fly way ? Pure DB deployment
Currently i don't see any option for it.
What did you see instead?

How would this differ from our current Java API? Please lay out your proposal in more detail.

Well, can't you simply call the CLI from your golang app?
Or how exactly do you envision this API to be? Please describe in detail so I can be sure I understand what you mean exactly.

See , We (Dtabase Engineers ) don't own the Go lang app , So integration couldn't be possible.  I want there should be an API , which take migration name and DB details as input and after passing it just perform the deployment. Currently i am using CLI option for same.

And with API you mean a remotely deployed REST service accessible over HTTP(S) using cURL for example that is then able to perform a migration up to certain version based on SQL migration files stored in a predefined object store (directory, S3, ...)? Or what exactly do you mean? Can you please disambiguate?

yes, exactly. will deploy this on some central server and hit it via curl with all details. Will keep sql files on host not on s3.

Perhaps an Integration/CI-CD tool is better suited for your requirement, i.e have a parameterized jenkins job which will run the migration based on parameter values.

@axelfontaine  Any idea by when we'll get the above requested feature..

@pyrocks :- Can you please elaborate this in depth and will require more support here.

@pyrocks @axelfontaine  Please update here.

@sidhartha1987 We have acknowledged your feature request. It has been placed on our long term roadmap where it may be revisited some day in the future.

@pyrocks :- I need your help in understanding the implementation of Jenkins job in depth. Kindly help here.

You have many resources online or recruit a devops guy.

@sidhartha1987 We have acknowledged your feature request. It has been placed on our long term roadmap where it may be revisited some day in the future.

@axelfontaine  to build REST API,I feel we should build a centralised  console page  and server first ,which itself a separate project .but it will open new opportunities for  flyway
when you are planning to start it?,I would like to contribute to it during the implementation

@fazeem84 @sidhartha1987 couldn't be so hard to build this in a separate or your own project.  Build a REST interface and call Flyway from that or update the database directly (if you don't use Flyway).
I'm not sure if this kind of functionality should be part of Flyway. Maybe as an extension but it should be designed very well. It's not a quick win.

@feaster83 you are correct, it should not be the part of flyway.what I was thinking of Building  centralised application to manage multiple database.As you mentioned it should be carefully designed.I will see what I can do for starting my own project on this

This is way beyond the scope of Flyway. You can create something like this yourself by running Flyway on your own server.


[Fixes #2] add support for Google Cloud DNS service account file

Thanks - I won't have an environment to personally test a static credential for a couple days. Have you had a chance to verify this works with a dev release in your environment? If so, I'd be happy to merge and release straight away.

Yes, I'm using this actively for my homelab (https://ci.nulldriver.com/) and it's working perfectly!

Published in v0.4.0 - thanks, again!


Remove unused lifetime

Clippy emits:
warning: this lifetime isn't used in the impl
As suggested, remove the unused lifetime.

Ping @apoelstra please review, this is broken on master so is a nuisance for other PRs.  By the way, what is your proposed merge policy here in rust-bech32, one ack or two? Two implies @Kixunil will have to be involved I think because not many other eyes are super active here.
@Kixunil fyi I'm putting my focus on this crate for now to try and stabilize it as an initial step in stabilizing our stack.

Thanks @clarkmoody! If you would like us to hold of on merging things till you've had a chance to see them just holler. Otherwise I'm going to crank on this repo, I'm super psyched to see a 1.0 crate and learn exactly what that means.


Adding Rocket.Chat, FontExplorer X Pro and nextcloud

rocketchat and nextcloud has been added!
FontExplorer is not working out. It needs a filling of form, and I cannot see we can get the link out. If I fill it out and start the download, I get this URL: http://fast.fontexplorerx.com/FontExplorerXPro726.dmg
That is not bad, but it will not be a link to the latest version. Then I simply suggest to call Installomator with this:
valuesfromarguments name="FontExplorer\ X\ Pro" type="dmg" downloadURL="http://fast.fontexplorerx.com/FontExplorerXPro726.dmg" appNewVersion="7.2.6" expectedTeamID="2V7G2B7WG4"
But thank you for the other 2 labels!


Error 400 (Bad Request): all shards failed [type=search_phase_execution_exception]

Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.
Which version of Elastic are you using?
[X] elastic.v7 (for Elasticsearch 7.x)
[ ] elastic.v6 (for Elasticsearch 6.x)
[ ] elastic.v5 (for Elasticsearch 5.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[ ] elastic.v2 (for Elasticsearch 1.x)
Please describe the expected behavior
All my queries works the same way.
Please describe the actual behavior
Hi, I have a big amount of Error 400 (Bad Request): all shards failed [type=search_phase_execution_exception] errors in multiple services. When I am reproducing this issue locally I can get this same error by making a mistake in a query, but in production some of my queries works and the rest gives this error. I don't see anything relevant in ES logs, how can I know what is wrong with my query? Do you have more ideas on how to debug this?
This is my code:
func (es *Client) IsItemIDExists(ctx context.Context, ID string, alias string) (bool, error) {
query := elastic.NewTermQuery("_id", ID)
res, err := es.client.Search().Index(alias).Type(typeDoc).Query(query).Do(ctx)
if err != nil {
return false, errors.New(fmt.Sprintf("ERROR: %v", err.Error()))
}
return res.TotalHits() > 0, nil
}
Any steps to reproduce the behavior?
Running the function to query data.

The best way to debug this kind of things is to enable the trace log to see what's actually been sent over to ES, and what ES returns and complains about.


Question - Multiple same type widgets on a given dashboard

Hi,
I read in another issue  - #2053 it was mentioned that having the possibility to create multiple same type widgets on a dashboard "is coming very soon". I wanted to know, is there a date or a period when that feature will be implemented and pushed into master? @Sbrenthughes
Thanks.

It is a WIP. I believe there is some code already out there working towards this goal. Feel free to contribute to help speed the process along.


Webui link does not appear (^C)

LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading weights [6569e224] from /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion/kuvuvu.ckpt
^C
It looks like this and I have tried with other models too, haven't given any links.

I have same issue and looking around I saw legendary ben says google colab upgrading v3.8 python sir..

What about upgrading it ? Is it impossible to use in the previous version ?

@cerarslan and @redsparrowgit so not possible to test it for now?

Low ram modification doesn't work for now.

I'm having the same problem. Looks like we wait...

Setting Runtime shape to High-RAM in Notebook settings fixed this for me.

Did you do anything else?

No, that did the trick for me. However, since then a new issue has arisen and the fix for that problem is to check Use_Gradio_Server. This space moves fast, and so you might be looking at a different problem than before. :)

Did you do anything else?

No, that did the trick for me. However, since then a new issue has arisen and the fix for that problem is to check Use_Gradio_Server. This space moves fast, and so you might be looking at a different problem than before. :)

thanks! I tried again and now somehow worked!


Support the GMS security provider when searching for the trust manager.

Closes https://github.com/square/okhttp/issues/2323

It would be good if a release is made once this gets merged. This issue is wrecking havoc with any test relying on Robolectric runner

@vangliana You can use the previous release, the SNAPSHOT from Sonatype's snapshot repository, or JitPack until a release is made.

@JakeWharton previous release is no good since okhttp3.OkHttpClient modifier is final which breaks my mocks. I'll use the snapshot instead.

Mocking OkHttpClient is an anti-pattern. You can mock or fake Call.Factory instead.


operators universal-crossplane (1.6.1-up.1)

Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?

Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/retest-required

/merge possible

@turkenh can you please fix: https://github.com/redhat-openshift-ecosystem/community-operators-prod/runs/4883448404?check_suite_focus=true#step:6:1072

@turkenh can you please fix: https://github.com/redhat-openshift-ecosystem/community-operators-prod/runs/4883448404?check_suite_focus=true#step:6:1072

@mvalarh need some guidance on that: https://github.com/k8s-operatorhub/community-operators/pull/619#issuecomment-1018434683
Could you help?

/merge possible

@mvalarh removed service accounts from the manifest and previously failing kiwi test passed this time, but now all deployment tests failed.
Tested locally and observed exactly the same behaviour, e.g. operator-sdk bundle validate works but when I try to deploy, no pods created because service account not created at all. 😕

/test all

@turkenh looks like service account name has some conflict. Like 2 different service accounts using the same name. The error is  sa name cannot match service account defined for deployment spec in CSV

@turkenh looks like service account name has some conflict. Like 2 different service accounts using the same name. The error is  sa name cannot match service account defined for deployment spec in CSV

Let me summarize, I am confused because:

There are no such duplicated service accounts in the bundle
Even the existing latest version fails with the same error locally (with operator-sdk bundle validate)
Following @estroz suggestion in this comment, I removed service account manifests. Validation passed this time but the installation failed on all jobs and reproduced locally that it is because there is no SA, OLM didn't create the service accounts referenced in CSV

So, I am kind of stuck at this point regarding how to proceed.

@turkenh If I understand correctly, you would like to include service account on one hand and keep validator satisfied on the other hand. Maybe using different name for service account could help. Validate it by SDK.

@turkenh are you able to install the operator on OCP?

@turkenh closing due to no activity, feel free to reopen any time.


Implement real agent using chains and remove python code

Real Agent can now be updated using UniChat's chains based on LangChain.

See https://github.com/AkiKurisu/UniChat/releases/tag/v0.0.6-alpha

Next Gen Dialogue dependency should be removed after using UniChat.

See https://github.com/AkiKurisu/Next-Gen-Dialogue/releases/tag/v1.0.1

Python code should be removed for cross platform since simple RAG can now be done in Unity directly.

Update in 48e0d87


append current time to copied project display name

Describe your change here.
Review checklist

[x] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
[ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
[ ] If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
[x] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

FYI: you can choose to "commit suggestion" from review comments when they are available -- that might be faster than creating those edits / commits on your own.

FYI: you can choose to "commit suggestion" from review comments when they are available -- that might be faster than creating those edits / commits on your own.

Yeah, i'll do going forward. Just wanted to reconfirm with the tests locallt


option to minify in safe mode

NOTE: this is irrelevant until cssnext updates to postcss 5.0 and cssnano 3.1

This will probably never be merged. Please see https://github.com/cssnext/cssnext/issues/208#issuecomment-140858457 and https://github.com/cssnext/postcss-cssnext#readme
Comments are welcome.

oh i can wait


Describe behavior of copy_grants

Page preview
What are you changing in this pull request and why?
See https://github.com/dbt-labs/dbt-snowflake/issues/567#issuecomment-1577441385 for context.
One page with edits:

https://deploy-preview-3474--docs-getdbt-com.netlify.app/reference/resource-configs/snowflake-configs#copying-grants

One page that could have edits, but doesn't currently:

https://deploy-preview-3474--docs-getdbt-com.netlify.app/reference/resource-configs/grants#database-specific-requirements-and-notes

Checklist

[x] Add versioning components, as described in Versioning Docs
[x] Review the Content style guide and About versioning so my content adheres to these guidelines.
[ ] Don't merge until the bug is fixed and released within dbt-snowflake
[ ] Verify that the versioning components align with the intended versions

Thank you @mirnawong1 ! I adopted all of your suggestions 🧠
We will wait until https://github.com/dbt-labs/dbt-snowflake/issues/567 is resolved to do the final merge on this.

Hi @dbeatty10 - Is this draft still relevant and do you know when we will need to address it? The Snowflake PR from which this originates is still open, but the version block text indicates this was (or should have been) a v1.6 update.

Closing aging drafts. Given the originating issue is still open, we can re-open or otherwise address this once those changes happen. If it's preferable to address earlier, feel free to re-open this at any time.


Add awesome-linuxaudio

Shameless self-promotion :) https://github.com/nodiscc/awesome-linuxaudio/ is a list of software and resources for professional audio/video/live events production on Linux.
Patches welcome.

Make sure your list follows: https://github.com/sindresorhus/awesome/blob/master/awesome.md
Especially the point about quality checking what you include. You seem to have included a lot of random things. Comments about why something is included would be useful.
Then submit a PR to get it added here.


Table Relation Filter Issue

Original code - base application - Table 39 Purchase Line
    field(45; "Job No."; Code[20])
    {
        Caption = 'Job No.';
        TableRelation = Job;

        trigger OnValidate()
        var
            Job: Record Job;
            IsHandled: Boolean;
        begin

Table extension one of our client requested to show only open/active jobs in the purchase, they want to see the full list of jobs that are not open.
I made the below change hoping to work, apparently not. Is it bug in the product.
tableextension 55002 "Purchase Line Ext" extends "Purchase Line"
{
fields
{
// Add changes to table fields here
modify("Job No.")
{
TableRelation = Job Where(Status = filter(Open));
}
}
}

This could either be a compiler bug or a runtime issue. It needs some investigation

To me it looks as designed, as it states in the documentation: https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-tablerelation-property#example "Modifications to the TableRelation are additive [...]. The primary use case is conditional table relations based on conditional enums."
Maybe this could become a feature, but I doubt there's a good way to handle it, when multiple extensions try to modify the property.

Great idea! Go ahead and post this to our Ideas forum at https://aka.ms/BusinessCentralideas, or vote up the idea if its already there. We're constantly monitoring top Ideas and will consider them for a future release.


Hangs while "Installing Runtime"

Hi,
I tried to add various runtimes, but the script hangs at the phase "Installing Runtime" no matter which one I try to install. Last time I tried, I waited for 2 hours, so I don't think the script will ever finish.
Terminal output:
sudo xcodes runtimes install "iOS 13.4"

Downloading with aria2 (/usr/local/bin/aria2c)
Downloading Runtime iOS 13.4: 99%
Mounting DMG
Installing Runtime

I'm on macOS Ventura 13.5.1.
Any ideas? Thanks.

Solved it myself.
Would be cool if the docs mentioned that without Terminal having Full Disk Access, this tool won't work properly.


CLang-cl (12.0.0) build problem on Windows 10 64bit

lines like #include <Simd/SimdDefs.h> lead to bunch of compiler errors:
In file included from C:\Work\Test\End.Expert.V2.Clang\Code\ExtLibs_Include\simd-4.8.103\Simd/SimdMemory.h:29:
In file included from C:\Work\Test\End.Expert.V2.Clang\Code\ExtLibs_Include\simd-4.8.103\Simd/SimdMath.h:29:
C:\Work\Test\End.Expert.V2.Clang\Code\ExtLibs_Include\simd-4.8.103\Simd/SimdConst.h(93,32): error: excess elements in vector initializer
const __m128i K_ZERO = SIMD_MM_SET1_EPI8(0);
^~~~~~~~~~~~~~~~~~~~
C:\Work\Test\End.Expert.V2.Clang\Code\ExtLibs_Include\simd-4.8.103\Simd/SimdInit.h(104,40): note: expanded from macro 'SIMD_MM_SET1_EPI8'
{SIMD_AS_CHAR(a), SIMD_AS_CHAR(a), SIMD_AS_CHAR(a), SIMD_AS_CHAR(a),
^~~~~~~~~~~~~~~
C:\Work\Test\End.Expert.V2.Clang\Code\ExtLibs_Include\simd-4.8.103\Simd/SimdInit.h(38,25): note: expanded from macro 'SIMD_AS_CHAR'
#define SIMD_AS_CHAR(a) char(a)
^~~~~~~
In file included from ..\CSimdRgbToGrayProcessorComp.cpp:1:
In file included from ......\Include\qsimd/CSimdRgbToGrayProcessorComp.h:14:
In file included from C:\Work\Test\End.Expert.V2.Clang\Code\ExtLibs_Include\simd-4.8.103\Simd/SimdMemory.h:29:
In file included from C:\Work\Test\End.Expert.V2.Clang\Code\ExtLibs_Include\simd-4.8.103\Simd/SimdMath.h:29:
C:\Work\Test\End.Expert.V2.Clang\Code\ExtLibs_Include\simd-4.8.103\Simd/SimdConst.h(94,36): error: excess elements in vector initializer
const __m128i K_INV_ZERO = SIMD_MM_SET1_EPI8(0xFF);
^~~~~~~~~~~~~~~~~~~~~~~
C:\Work\Test\End.Expert.V2.Clang\Code\ExtLibs_Include\simd-4.8.103\Simd/SimdInit.h(104,40): note: expanded from macro 'SIMD_MM_SET1_EPI8'
{SIMD_AS_CHAR(a), SIMD_AS_CHAR(a), SIMD_AS_CHAR(a), SIMD_AS_CHAR(a),
^~~~~~~~~~~~~~~
C:\Work\Test\End.Expert.V2.Clang\Code\ExtLibs_Include\simd-4.8.103\Simd/SimdInit.h(38,25): note: expanded from macro 'SIMD_AS_CHAR'
#define SIMD_AS_CHAR(a) char(a)
^~~~~~~

Thank you for bug report! I think that fixed this error, but I need independent confirmation. Could you check?


Error Code: 0x80004005

Windows Version
Microsoft Windows [Version 10.0.22631.3593]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[x] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
kali-linux
Other Software
No response
Repro Steps
When I tried installing kali-linux in my wsl, I would get the following error.
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80004005
Error: 0x80004005 Unspecified error

Press any key to continue...

Here is a screenshot:

Here are the log files:
WslLogs-2024-05-30_12-41-43.zip
Expected Behavior
The expected behaviour was that kali-linux would install without any errors.
Actual Behavior
It is giving the above mentioned errors.
Diagnostic Logs
WslLogs-2024-05-30_12-41-43.zip

Thank you @Harpartap0117. It looks like the tar from kali is confusing bsdtar when installing:
Microsoft.Windows.Lxss.Manager	Error	05-30-2024 00:12:01.851	"	"	"code:
failurecount: 	5
file: 	onecore\vm\wsl\lxss\service\dll\lxssusersession.cpp
function:
hr: 	0x80004005
linenumber: 	1248
message: 	""./var/log/journal/: Invalid extended attribute encountered bsdtar: Error exit delayed from previous errors. ""
threadid: 	1824
type: 	0"	onecore\vm\wsl\lxss\service\dll\lxssusersession.cpp			3744	1824	2		14879194-b25f-0007-41c8-87145fb2da01

Can you try installing the latest version of WSL and see if that solves the issue ?

Thank you @Harpartap0117. It looks like the tar from kali is confusing bsdtar when installing:
Microsoft.Windows.Lxss.Manager	Error	05-30-2024 00:12:01.851	"	"	"code:
failurecount: 	5
file: 	onecore\vm\wsl\lxss\service\dll\lxssusersession.cpp
function:
hr: 	0x80004005
linenumber: 	1248
message: 	""./var/log/journal/: Invalid extended attribute encountered bsdtar: Error exit delayed from previous errors. ""
threadid: 	1824
type: 	0"	onecore\vm\wsl\lxss\service\dll\lxssusersession.cpp			3744	1824	2		14879194-b25f-0007-41c8-87145fb2da01

Can you try installing the latest version of WSL and see if that solves the issue ?

Thanks for the reply. I updated the WSL and it solved the issue for me.

Glad to hear ! Closing since the issue is resolved.


Rename XSLTTransform to XSLTTransformation

I would like to propose we rename this object. Transform seems weird to me. Any thoughts? are we okay with this? @odacremolbap  @antoineco @cab105 @sebgoa

I don't have an opinion.

I also think we should use full words in object kinds.

+1

Closed by #545
(@JeffNeff please use a comment format supported by GitHub so that issues get closed automatically, namely <verb> #<issue> instead of <verb> issue #<issue>).


Use Zoom meeting instead of appear.in

Our meetings now regularly include more than the 12-person cap to
appear.in meetings.  We switch now to the Zoom service, generously
provided by NumFOCUS.

cc @TomAugspurger can you update the calendar event?

Updated.


How to detect when access token has expired?

I want to send an email when the access token expires. I see there's a method in kiteconnect.php setSessionExpiryHook but I'm not sure how to use that. Can you post an example?

Too late to answer, but it expires every morning. Alternatively, you can just send get profile request every 5 minutes. If it fails, it means the token is expired.


Fix typos in client.py and work_server.py

I corrected some more typos that I found in the documentation when working on these files.

Great job Justin!

@bryantqr A "Great Job" message does not advance the work.  If you review a PR and you think it is ready, work with the author and get it merged.  Now it is 3 days later, and there are conflicts that have to be resolved.  Please work with @justinszaro to get this ready and merged.


how can I use the param in 「defines」?

I am not sure where to use the params······

As the following demo shows:
const worker = new WebWorker(function(self, arg1, arg2) {
  // TODO...
}, {
  defines: [ arg1, arg2 ]
});

It's in usual used for passing data and function from master to worker :)