[cloud_firestore]: EXC_BAD_ACCESS __63-[FLTTransactionStreamHandler onListenWithArguments:eventSink:]_block_invoke

Is there an existing issue for this?

[x] I have searched the existing issues.

Which plugins are affected?
Core
Which platforms are affected?
iOS
Description
This crash is happening for a subset of iOS users. From the issue reports, looks like it's caused by writing transactions.
flutter: 3.24.4
firebase_core: ^3.4.0 -> "3.7.0" on pubspec.lock
cloud_firestore: ^5.4.0 -> "5.4.0" on pubspec.lock

Logs from TestFlight feedback:
Thread 41 name:
Thread 41 Crashed:
0   CoreFoundation                	0x00000001957a03d4 -[__NSDictionaryM setObject:forKeyedSubscript:] + 452 (NSDictionaryM.m:202)
1   Runner                        	0x0000000102841ca8 __63-[FLTTransactionStreamHandler onListenWithArguments:eventSink:]_block_invoke + 108 (FLTTransactionStreamHandler.m:51)
2   Runner                        	0x0000000102730778 invocation function for block in -[FIRFirestore runTransactionWithOptions:block:dispatchQueue:completion:]::TransactionResult::RunUpdateBlock(std::__1::shared_ptr<firebase::firestore::core::Transac... + 180
3   libdispatch.dylib             	0x000000019d4f4370 _dispatch_call_block_and_release + 32 (init.c:1549)
4   libdispatch.dylib             	0x000000019d4f60d0 _dispatch_client_callout + 20 (object.m:576)
5   libdispatch.dylib             	0x000000019d4f9580 _dispatch_continuation_pop + 596 (queue.c:325)
6   libdispatch.dylib             	0x000000019d4f8c44 _dispatch_async_redirect_invoke + 728 (queue.c:849)
7   libdispatch.dylib             	0x000000019d507d8c _dispatch_root_queue_drain + 392 (queue.c:7331)
8   libdispatch.dylib             	0x000000019d508590 _dispatch_worker_thread2 + 156 (queue.c:7399)
9   libsystem_pthread.dylib       	0x000000021dd27c40 _pthread_wqthread + 228 (pthread.c:2709)
10  libsystem_pthread.dylib       	0x000000021dd24488 start_wqthread + 8

Full log:
crashlog.txt

Logs from Sentry:
EXC_BAD_ACCESS
hash >
Attempted to dereference null pointer.

mechanism: mach
handled: false
mach exception: EXC_BAD_ACCESS
signal: SIGSEGV (SEGV_NOOP)

CoreFoundation
+0x0023d4
-[__NSDictionaryM setObject:forKeyedSubscript:]

Runner
+0x195ca4
__63-[FLTTransactionStreamHandler onListenWithArguments:eventSink:]_block_invoke (FLTTransactionStreamHandler.m:51)

Runner
+0x084774
___ZZ73-[FIRFirestore runTransactionWithOptions:block:dispatchQueue:completion:]EN17TransactionResult14RunUpdateBlockENSt3__110shared_ptrIN8firebase9firestore4core11TransactionEEENS0_8functionIFvNS3_4util6StatusEEEE_block_invoke

Called from
libdispatch
+0x00236c
_dispatch_call_block_and_release

Reproducing the issue
We group each 500 documents in a custom TransactionBatch and call the transactions in parallel as below:
class TransactionBatch {
  final List<TransactionDocument> documents = [];

  TransactionBatch();

  void set(DocumentReference ref, Map<String, dynamic> changeset) {
    documents.add(TransactionDocument(ref: ref, changeset: changeset));
  }
}

// "batches" declaration in the class
final List<TransactionBatch> _batches;

// Commit the _batches when user syncs data
final result =  await Future.wait(_batches.map((batch) => _commitBatch(batch)));

Future<TransactionResult> _commitBatch(TransactionBatch batch) async {
  final successIds = <String>[];
  final failureIds = <String>[];
  try {
    await db.runTransaction((transaction) async {
      for (final document in batch.documents) {
        transaction.set(document.ref, document.changeset);
      }
    });
    successIds.addAll(batch.documents.map((e) => e.ref.id));
  } catch (e, stackTrace) {
    Sentry.captureException(e, stackTrace: stackTrace);
    failureIds.addAll(batch.documents.map((e) => e.ref.id));
  }
  return TransactionResult(successIds: successIds, failureIds: failureIds);
}

Firebase Core version
3.7.0
Flutter Version
3.24.4
Relevant Log Output

Flutter dependencies

Expand Flutter dependencies snippet

Dart SDK 3.5.4
Flutter SDK 3.24.4
spectora_mobile 10.0.1+446

dependencies:
- animations 2.0.11 [flutter]
- archive 3.6.1 [crypto path]
- auto_route 7.9.2 [flutter path collection meta]
- auto_size_text 3.0.0 [flutter]
- build_runner 2.4.13 [analyzer args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- cached_network_image 3.4.0 [cached_network_image_platform_interface cached_network_image_web flutter flutter_cache_manager octo_image]
- camerawesome 1.4.0 [carousel_slider collection colorfilter_generator flutter image rxdart]
- clock 1.1.1
- cloud_firestore 5.4.0 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cloud_functions 5.1.0 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- datetime_picker_formfield 2.0.1 [flutter intl]
- device_info_plus 10.1.2 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta web win32 win32_registry]
- enum_to_string 2.0.1
- equatable 2.0.5 [collection meta]
- exif 3.3.0 [args collection convert json_annotation sprintf]
- file_picker 8.1.3 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface ffi path win32 cross_file web]
- firebase_auth 5.2.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 3.7.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_remote_config 5.1.0 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface firebase_remote_config_web flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]
- flutter_badged 2.0.3 [flutter]
- flutter_cache_manager 3.4.1 [clock collection file flutter http path path_provider rxdart sqflite uuid]
- flutter_data 1.6.0 [analyzer async build build_resolvers collection crypto equatable glob hive http inflection3 json_annotation meta path pool pubspec_parse recase retry riverpod source_gen source_helper state_notifier uuid]
- flutter_data_json_api_adapter 0.9.0 [collection flutter_data json_api]
- flutter_draggable_gridview 0.0.12 [flutter]
- flutter_easyrefresh 2.2.2 [flutter]
- flutter_foreground_task 6.1.2 [flutter plugin_platform_interface shared_preferences]
- flutter_hooks 0.20.5 [flutter]
- flutter_html 3.0.0-beta.2 [html csslib collection list_counter flutter]
- flutter_image_compress 2.3.0 [flutter flutter_image_compress_platform_interface flutter_image_compress_common flutter_image_compress_web flutter_image_compress_macos flutter_image_compress_ohos]
- flutter_keyboard_visibility 6.0.0 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_linux flutter_keyboard_visibility_macos flutter_keyboard_visibility_web flutter_keyboard_visibility_windows flutter]
- flutter_launcher_icons 0.13.1 [args checked_yaml cli_util image json_annotation path yaml]
- flutter_native_splash 2.4.1 [args flutter flutter_web_plugins html image meta path universal_io xml yaml ansicolor]
- flutter_phoenix 1.1.1 [flutter]
- flutter_secure_storage 9.2.2 [flutter flutter_secure_storage_linux flutter_secure_storage_macos flutter_secure_storage_platform_interface flutter_secure_storage_web flutter_secure_storage_windows meta]
- flutter_slidable 3.1.1 [flutter]
- flutter_sticky_header 0.6.5 [flutter value_layout_builder]
- flutter_stripe 10.1.1 [flutter meta stripe_android stripe_ios stripe_platform_interface]
- flutter_svg 2.0.10+1 [flutter http vector_graphics vector_graphics_codec vector_graphics_compiler]
- flutter_vibrate 1.3.0 [flutter]
- font_awesome_flutter 10.6.0 [flutter]
- fuzzy 0.5.1 [stringr]
- gal 2.3.0 [flutter]
- glob 2.1.2 [async collection file path string_scanner]
- google_fonts 6.2.1 [flutter http path_provider crypto]
- heap_flutter_bridge 0.1.3 [flutter plugin_platform_interface]
- hooks_riverpod 2.5.4 [collection flutter flutter_hooks flutter_riverpod riverpod state_notifier]
- html_unescape 2.0.0
- http 1.2.2 [async http_parser meta web]
- image 4.2.0 [archive meta xml]
- image_cropper 8.0.2 [flutter image_cropper_platform_interface image_cropper_for_web]
- image_picker 1.1.2 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_linux image_picker_macos image_picker_platform_interface image_picker_windows]
- intercom_flutter 9.0.9 [flutter flutter_web_plugins intercom_flutter_platform_interface intercom_flutter_web]
- intl 0.18.1 [clock meta path]
- isar 3.1.0+1 [ffi js meta]
- isar_flutter_libs 3.1.0+1 [flutter isar]
- jiffy 5.0.1 [intl]
- json_annotation 4.9.0 [meta]
- local_auth 2.3.0 [flutter local_auth_android local_auth_darwin local_auth_platform_interface local_auth_windows]
- map_launcher 3.5.0 [flutter]
- messagepack 0.2.1
- mime 1.0.6
- modal_bottom_sheet 2.1.2+1 [flutter]
- native_device_orientation 2.0.3 [flutter plugin_platform_interface]
- objectbox 4.0.3 [collection flat_buffers ffi meta path]
- objectbox_flutter_libs 4.0.3 [flutter objectbox path_provider]
- package_info_plus 8.0.3 [ffi flutter flutter_web_plugins http meta path package_info_plus_platform_interface web win32 clock]
- path_provider 2.1.4 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows]
- perfect_volume_control 1.0.5 [flutter]
- permission_handler 11.3.1 [flutter meta permission_handler_android permission_handler_apple permission_handler_html permission_handler_windows permission_handler_platform_interface]
- photo_view 0.15.0 [flutter]
- pool 1.5.1 [async stack_trace]
- recase 4.1.0
- reorderables 0.6.0 [flutter]
- responsive_builder 0.7.0 [flutter provider]
- sentry_flutter 8.9.0 [flutter flutter_web_plugins sentry package_info_plus meta ffi file]
- shared_preferences 2.3.2 [flutter shared_preferences_android shared_preferences_foundation shared_preferences_linux shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- shimmer_animation 2.2.1 [flutter]
- sliding_up_panel 2.0.0+1 [flutter]
- sliver_tools 0.2.12 [flutter]
- smooth_page_indicator 1.2.0+3 [flutter]
- syncfusion_flutter_datepicker 26.2.14 [flutter intl syncfusion_flutter_core]
- syncfusion_flutter_signaturepad 26.2.14 [flutter syncfusion_flutter_core]
- synchronized 3.3.0+3
- timelines 0.1.0 [flutter]
- timer_builder 2.0.0 [flutter]
- torch_controller 2.0.1 [flutter]
- tuple 2.0.2
- url_launcher 6.3.1 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- uuid 4.5.1 [crypto sprintf meta fixnum]
- validators 3.0.0
- video_compress 3.1.3 [flutter]
- video_thumbnail 0.5.3 [flutter]
- visibility_detector 0.4.0+2 [flutter]
- wc_form_validators 1.0.1 [flutter]
- webview_flutter 4.10.0 [flutter webview_flutter_android webview_flutter_platform_interface webview_flutter_wkwebview]

dev dependencies:
- auto_route_generator 7.3.2 [build source_gen analyzer path build_runner code_builder dart_style xml args glob auto_route]
- dart_style 2.3.6 [analyzer args collection path pub_semver source_span]
- fake_async 1.3.1 [clock collection]
- fake_cloud_firestore 3.0.3 [flutter cloud_firestore cloud_firestore_platform_interface collection plugin_platform_interface quiver rxdart mock_exceptions fake_firebase_security_rules rx equatable clock]
- faker 2.2.0 [crypto]
- firebase_storage_mocks 0.7.0 [flutter firebase_storage]
- flutter_driver 0.0.0 [file flutter flutter_test fuchsia_remote_debug_protocol path meta vm_service webdriver async boolean_selector characters clock collection leak_tracker leak_tracker_flutter_testing leak_tracker_testing matcher material_color_utilities platform process source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api vector_math]
- flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math leak_tracker_flutter_testing async boolean_selector characters collection leak_tracker leak_tracker_testing material_color_utilities meta source_span stream_channel string_scanner term_glyph vm_service]
- freezed 2.5.7 [analyzer build build_config collection meta source_gen freezed_annotation json_annotation dart_style]
- integration_test 0.0.0 [flutter flutter_driver flutter_test path vm_service async boolean_selector characters clock collection fake_async file leak_tracker leak_tracker_flutter_testing leak_tracker_testing matcher material_color_utilities meta source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api vector_math webdriver]
- isar_generator 3.1.0+1 [analyzer build dart_style dartx glob isar path source_gen xxh3]
- json_serializable 6.8.0 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper]
- mockito 5.4.4 [analyzer build code_builder collection dart_style matcher meta path source_gen test_api]
- mocktail 1.0.4 [collection matcher test_api]
- objectbox_generator 4.0.3 [objectbox analyzer build collection dart_style glob path source_gen pubspec_parse yaml http pointycastle]
- path 1.9.0
- pedantic 1.11.1
- source_gen 1.5.0 [analyzer async build dart_style glob path source_span yaml]
- test 1.25.7 [analyzer async boolean_selector collection coverage http_multi_server io js matcher node_preamble package_config path pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel test_api test_core typed_data web_socket_channel webkit_inspection_protocol yaml]

dependency overrides:
- analyzer 6.8.0 [_fe_analyzer_shared collection convert crypto glob macros meta package_config path pub_semver source_span watcher yaml]
- collection 1.19.0
- flutter_plugin_android_lifecycle 2.0.23 [flutter]
- flutter_svg 2.0.10+1 [flutter http vector_graphics vector_graphics_codec vector_graphics_compiler]
- font_awesome_flutter 10.6.0 [flutter]
- image 4.2.0 [archive meta xml]
- intl 0.18.1 [clock meta path]
- meta 1.16.0
- rxdart 0.28.0
- watcher 1.1.0 [async path]

transitive dependencies:
- _fe_analyzer_shared 73.0.0 [meta]
- _flutterfire_internals 1.3.45 [collection firebase_core firebase_core_platform_interface flutter meta]
- _macros 0.3.2
- ansicolor 2.0.3
- antlr4 4.13.2 [logging collection]
- args 2.5.0
- async 2.11.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- build 2.4.1 [analyzer async convert crypto glob logging meta package_config path]
- build_config 1.1.1 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 4.0.2 [built_collection built_value crypto http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.4.2 [analyzer async build collection convert crypto graphs logging package_config path pool pub_semver stream_transform yaml]
- build_runner_core 7.3.2 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta package_config path pool timing watcher yaml]
- built_collection 5.1.1
- built_value 8.9.2 [built_collection collection fixnum meta]
- cached_network_image_platform_interface 4.1.1 [flutter flutter_cache_manager]
- cached_network_image_web 1.3.0 [cached_network_image_platform_interface flutter flutter_cache_manager]
- carousel_slider 5.0.0 [flutter]
- cel 0.5.3 [antlr4 collection equatable]
- characters 1.3.0
- checked_yaml 2.0.3 [json_annotation source_span yaml]
- cli_util 0.4.1 [meta path]
- cloud_firestore_platform_interface 6.4.0 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 4.2.0 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins]
- cloud_functions_platform_interface 5.5.34 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.9.12 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins]
- code_builder 4.10.0 [built_collection built_value collection matcher meta]
- colorfilter_generator 0.0.8 [flutter matrix2d]
- convert 3.1.1 [typed_data]
- coverage 1.9.2 [args glob logging package_config path source_maps stack_trace vm_service]
- cross_file 0.3.4+2 [meta web]
- crypto 3.0.5 [typed_data]
- csslib 0.17.3 [source_span]
- dartx 1.2.0 [characters collection crypto meta path time]
- device_info_plus_platform_interface 7.0.1 [flutter meta plugin_platform_interface]
- fake_firebase_security_rules 0.5.3 [antlr4 cel equatable logger tuple]
- ffi 2.1.3
- file 7.0.0 [meta path]
- file_selector_linux 0.9.3 [cross_file file_selector_platform_interface flutter]
- file_selector_macos 0.9.4+2 [cross_file file_selector_platform_interface flutter]
- file_selector_platform_interface 2.6.2 [cross_file flutter http plugin_platform_interface]
- file_selector_windows 0.9.3+3 [cross_file file_selector_platform_interface flutter]
- firebase_auth_platform_interface 7.4.8 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.13.3 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser meta web]
- firebase_core_platform_interface 5.3.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.18.1 [firebase_core_platform_interface flutter flutter_web_plugins meta web]
- firebase_remote_config_platform_interface 1.4.41 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_remote_config_web 1.6.13 [firebase_core firebase_core_web firebase_remote_config_platform_interface flutter flutter_web_plugins]
- firebase_storage 12.2.0 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- firebase_storage_platform_interface 5.1.32 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.10.4 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http meta web]
- fixnum 1.1.0
- flat_buffers 23.5.26
- flutter_image_compress_common 1.0.5 [flutter flutter_image_compress_platform_interface]
- flutter_image_compress_macos 1.0.2 [flutter flutter_image_compress_platform_interface]
- flutter_image_compress_ohos 0.0.3 [flutter flutter_image_compress_platform_interface]
- flutter_image_compress_platform_interface 1.0.5 [flutter plugin_platform_interface cross_file]
- flutter_image_compress_web 0.1.4+1 [flutter flutter_web_plugins flutter_image_compress_platform_interface js]
- flutter_keyboard_visibility_linux 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_keyboard_visibility_macos 1.0.0 [flutter_keyboard_visibility_platform_interface 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_keyboard_visibility_windows 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_riverpod 2.5.3 [collection flutter meta riverpod state_notifier]
- flutter_secure_storage_linux 1.2.1 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_macos 3.1.2 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_platform_interface 1.1.2 [flutter plugin_platform_interface]
- flutter_secure_storage_web 1.2.1 [flutter flutter_secure_storage_platform_interface flutter_web_plugins js]
- flutter_secure_storage_windows 3.1.2 [ffi flutter flutter_secure_storage_platform_interface path path_provider win32]
- flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math]
- freezed_annotation 2.4.4 [collection json_annotation meta]
- frontend_server_client 4.0.0 [async path]
- fuchsia_remote_debug_protocol 0.0.0 [process vm_service file meta path platform]
- graphs 2.3.2 [collection]
- hive 2.2.3 [meta crypto]
- html 0.15.4 [csslib source_span]
- http_interop 1.0.1 [http_parser]
- http_multi_server 3.2.1 [async]
- http_parser 4.1.0 [collection source_span string_scanner typed_data]
- image_cropper_for_web 6.0.2 [flutter flutter_web_plugins image_cropper_platform_interface web]
- image_cropper_platform_interface 7.0.0 [flutter plugin_platform_interface http]
- image_picker_android 0.8.12+15 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 3.0.5 [flutter flutter_web_plugins image_picker_platform_interface mime web]
- image_picker_ios 0.8.12 [flutter image_picker_platform_interface]
- image_picker_linux 0.2.1+1 [file_selector_linux file_selector_platform_interface flutter image_picker_platform_interface]
- image_picker_macos 0.2.1+1 [file_selector_macos file_selector_platform_interface flutter image_picker_platform_interface]
- image_picker_platform_interface 2.10.0 [cross_file flutter http plugin_platform_interface]
- image_picker_windows 0.2.1+1 [file_selector_platform_interface file_selector_windows flutter image_picker_platform_interface]
- inflection3 0.5.3+2
- intercom_flutter_platform_interface 2.0.1 [flutter plugin_platform_interface]
- intercom_flutter_web 1.1.3 [flutter flutter_web_plugins intercom_flutter_platform_interface uuid web]
- io 1.0.4 [meta path string_scanner]
- js 0.6.7 [meta]
- json_api 7.0.1 [http_parser http_interop]
- leak_tracker 10.0.5 [clock collection meta path vm_service]
- leak_tracker_flutter_testing 3.0.5 [flutter leak_tracker leak_tracker_testing matcher meta]
- leak_tracker_testing 3.0.1 [leak_tracker matcher meta]
- list_counter 1.0.2
- local_auth_android 1.0.46 [flutter flutter_plugin_android_lifecycle intl local_auth_platform_interface]
- local_auth_darwin 1.4.1 [flutter intl local_auth_platform_interface]
- local_auth_platform_interface 1.0.10 [flutter plugin_platform_interface]
- local_auth_windows 1.0.11 [flutter local_auth_platform_interface]
- logger 2.4.0
- logging 1.2.0
- macros 0.1.2-main.4 [_macros]
- matcher 0.12.16+1 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.11.1 [collection]
- matrix2d 1.0.4
- mock_exceptions 0.8.2 [matcher]
- more 4.3.0 [characters clock collection meta]
- nested 1.0.0 [flutter]
- node_preamble 2.0.2
- octo_image 2.1.0 [flutter]
- package_config 2.1.0 [path]
- package_info_plus_platform_interface 3.0.1 [flutter meta plugin_platform_interface]
- path_parsing 1.0.1 [vector_math meta]
- path_provider_android 2.2.12 [flutter path_provider_platform_interface]
- path_provider_foundation 2.4.0 [flutter path_provider_platform_interface]
- path_provider_linux 2.2.1 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.1.2 [flutter platform plugin_platform_interface]
- path_provider_windows 2.3.0 [ffi flutter path path_provider_platform_interface]
- permission_handler_android 12.0.12 [flutter permission_handler_platform_interface]
- permission_handler_apple 9.4.5 [flutter permission_handler_platform_interface]
- permission_handler_html 0.1.3+2 [flutter flutter_web_plugins permission_handler_platform_interface web]
- permission_handler_platform_interface 4.2.3 [flutter meta plugin_platform_interface]
- permission_handler_windows 0.2.1 [flutter permission_handler_platform_interface]
- petitparser 6.0.2 [meta]
- platform 3.1.5
- plugin_platform_interface 2.1.8 [meta]
- pointycastle 3.9.1 [collection convert js]
- process 5.0.2 [file path platform]
- provider 6.1.2 [collection flutter nested]
- pub_semver 2.1.4 [collection meta]
- pubspec_parse 1.3.0 [checked_yaml collection json_annotation pub_semver yaml]
- quiver 3.2.2 [matcher]
- retry 3.1.2
- riverpod 2.5.3 [collection meta stack_trace state_notifier]
- rx 0.4.0 [collection matcher meta more]
- sentry 8.9.0 [http meta stack_trace uuid]
- shared_preferences_android 2.3.3 [flutter shared_preferences_platform_interface]
- shared_preferences_foundation 2.5.3 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.4.1 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.4.1 [flutter plugin_platform_interface]
- shared_preferences_web 2.4.2 [flutter flutter_web_plugins shared_preferences_platform_interface web]
- shared_preferences_windows 2.4.1 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- shelf 1.4.2 [async collection http_parser path stack_trace stream_channel]
- shelf_packages_handler 3.0.2 [path shelf shelf_static]
- shelf_static 1.1.3 [convert http_parser mime path shelf]
- shelf_web_socket 2.0.0 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_helper 1.3.4 [analyzer collection source_gen]
- source_map_stack_trace 2.1.2 [path source_maps stack_trace]
- source_maps 0.10.12 [source_span]
- source_span 1.10.0 [collection path term_glyph]
- sprintf 7.0.0
- sqflite 2.4.0 [flutter sqflite_android sqflite_darwin sqflite_platform_interface sqflite_common path]
- sqflite_android 2.4.0 [flutter sqflite_common path sqflite_platform_interface]
- sqflite_common 2.5.4+5 [synchronized path meta]
- sqflite_darwin 2.4.1-1 [flutter sqflite_platform_interface meta sqflite_common path]
- sqflite_platform_interface 2.4.0 [flutter platform sqflite_common plugin_platform_interface meta]
- stack_trace 1.11.1 [path]
- state_notifier 1.0.0 [meta]
- stream_channel 2.1.2 [async]
- stream_transform 2.1.0
- string_scanner 1.2.0 [source_span]
- stringr 1.0.0 [characters]
- stripe_android 10.2.1 [flutter]
- stripe_ios 10.2.0 [flutter]
- stripe_platform_interface 10.2.0 [flutter freezed_annotation json_annotation meta plugin_platform_interface]
- sync_http 0.3.1
- syncfusion_flutter_core 26.2.14 [vector_math flutter]
- term_glyph 1.2.1
- test_api 0.7.2 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph]
- test_core 0.6.4 [analyzer args async boolean_selector collection coverage frontend_server_client glob io meta package_config path pool source_map_stack_trace source_maps source_span stack_trace stream_channel test_api vm_service yaml]
- time 2.1.4 [clock]
- timing 1.0.1 [json_annotation]
- typed_data 1.3.2 [collection]
- universal_io 2.2.2 [collection meta typed_data]
- url_launcher_android 6.3.12 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.3.1 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.2.0 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.2.1 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.3.2 [flutter plugin_platform_interface]
- url_launcher_web 2.3.3 [flutter flutter_web_plugins url_launcher_platform_interface web]
- url_launcher_windows 3.1.2 [flutter url_launcher_platform_interface]
- value_layout_builder 0.3.1 [flutter]
- vector_graphics 1.1.11+1 [flutter http vector_graphics_codec]
- vector_graphics_codec 1.1.11+1
- vector_graphics_compiler 1.1.11+1 [args meta path_parsing xml vector_graphics_codec path]
- vector_math 2.1.4
- vm_service 14.2.5
- web 1.1.0
- web_socket 0.1.6 [web]
- web_socket_channel 3.0.1 [async crypto stream_channel web web_socket]
- webdriver 3.0.3 [matcher path stack_trace sync_http]
- webkit_inspection_protocol 1.2.1 [logging]
- webview_flutter_android 4.0.0 [flutter webview_flutter_platform_interface]
- webview_flutter_platform_interface 2.10.0 [flutter meta plugin_platform_interface]
- webview_flutter_wkwebview 3.16.0 [flutter path webview_flutter_platform_interface]
- win32 5.6.0 [ffi]
- win32_registry 1.1.5 [ffi win32]
- xdg_directories 1.1.0 [meta path]
- xml 6.5.0 [collection meta petitparser]
- xxh3 1.1.0
- yaml 3.1.2 [collection source_span string_scanner]

Additional context and comments
No response

Hi @daniloapr, thanks for the report. I'm unable to reproduce this issue with your sample code. Could you share a complete minimal code reproducing this issue?


Block changing manager NORMAL state until fate is ready

Block switching manager state to NORMAL when the goal state is specified as NORMAL, periodically logging a message about waiting (related to #2990)
Also fix some code quality issues by removing redundant check for oldState != newState, using a switch statement for newState instead, and using enum equality check as == instead of .equals()

This fixes #3716

@DomGarguilo Are you able to test this? I'm curious if you'll be able to reproduce what you saw, or if this fixes it.

@DomGarguilo Are you able to test this? I'm curious if you'll be able to reproduce what you saw, or if this fixes it.

Just tested this out and I am still seeing error after switching the goal state from safe mode to normal

@DomGarguilo Are you able to test this? I'm curious if you'll be able to reproduce what you saw, or if this fixes it.

Just tested this out and I am still seeing error after switching the goal state from safe mode to normal

It didn't block? Did it change the error message at least? Are you seeing the notice about blocking, or the same message you had before?

@DomGarguilo Are you able to test this? I'm curious if you'll be able to reproduce what you saw, or if this fixes it.

Just tested this out and I am still seeing error after switching the goal state from safe mode to normal

It didn't block? Did it change the error message at least? Are you seeing the notice about blocking, or the same message you had before?

I am seeing the same thing as before:
2023-08-23T09:42:14,932 [manager.EventCoordinator] INFO : State changed from NORMAL to SAFE_MODE
2023-08-23T09:42:14,959 [balancer.TableLoadBalancer] INFO : Loaded class org.apache.accumulo.core.spi.balancer.SimpleLoadBalancer for table +rep
2023-08-23T09:42:15,046 [manager.EventCoordinator] INFO : [Metadata Tablets]: 2 tablets are HOSTED
2023-08-23T09:42:15,048 [manager.EventCoordinator] INFO : [Normal Tablets]: 1 tablets are UNASSIGNED
2023-08-23T09:43:00,229 [manager.EventCoordinator] INFO : State changed from SAFE_MODE to NORMAL
2023-08-23T09:43:00,229 [manager.Manager] ERROR: Error occurred reading / switching manager goal state. Will continue with attempt to update status
java.lang.IllegalStateException: Access to Fate should not have been initialized prior to the Manager finishing upgrades. Please save all logs and file a bug.
	at org.apache.accumulo.manager.Manager.setManagerState(Manager.java:309) ~[accumulo-manager-2.1.3-SNAPSHOT.jar:2.1.3-SNAPSHOT]
	at org.apache.accumulo.manager.Manager$StatusThread.run(Manager.java:769) ~[accumulo-manager-2.1.3-SNAPSHOT.jar:2.1.3-SNAPSHOT]
	at org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52) ~[accumulo-core-2.1.3-SNAPSHOT.jar:2.1.3-SNAPSHOT]
	at java.lang.Thread.run(Thread.java:829) [?:?]

Oh, I see. I misread the code. It's assuming that the transition to NORMAL only occurs once, so it is expected that the fateRef is null at this point. The error message occurs only if fateRef is not null. All I've done in this change is ensure it definitely is not null, so the error message is guaranteed to appear after blocking until it is non-null.
I'm not sure if we can do anything to avoid the error message now... I think you're just going to see that if you manually change it to safe mode after fate has started, and then back to normal, because of course fate would be running, since it was previously in a normal mode. We could shut down fate when going into safe mode, and then bring it back after going back to normal... but I don't think that's a great idea.

We could shut down fate when going into safe mode - that would prevent using SAFE_MODE in an emergency if you wanted to prevent additional damage, but needed things up to troubleshoot / fix.
Could adding a check to see if the upgrade code actually needs to run before the fate check matter?  If the code is already the correct version, having FATE running may not matter.  I believe that FATE check is to protect from upgrading with outstanding operation that may have different serializations.  If an upgrade IS NOT required - then there should not be a serialization concern - so having FATE initialized may not matter.
However, there may be reasons not to have FATEs running in SAFE_MODE because they could be doing things that SAFE_MODE is trying to prevent.

I pushed up a different change. This one avoids the error message if it transitions to NORMAL after the upgrade is complete. However, I think there could be a race condition in this implementation...  there's a small window of time where fate could be running while the upgrade is not complete, but this implementation won't notice because by the time it checks, the upgrade completes. I think that's probably okay, though.

@DomGarguilo Would appreciate it if you were able to try to reproduce with the latest change in this PR.

@keith-turner I think this is ready to merge, but was wondering if you had thoughts on the race condition that might get overlooked if the fate object is created while it is still upgrading, but the upgrade finishes before we check it.

@keith-turner I think this is ready to merge, but was wondering if you had thoughts on the race condition that might get overlooked if the fate object is created while it is still upgrading, but the upgrade finishes before we check it.

The check may not catch that, but I don't think the code currently does that.  It we wanted to get more defensive about that could add an explicit check in the fate startup code that ensures upgrade is not running.

I had a few ideas for what to do next with this, but they aren't ready. I can update this PR later this evening.


MariaDB: json column falls back to longtext

Laravel Version: 8.39.0
PHP Version: 8.0.3
Database Driver & Version: MySQL 8 or MariaDB 10

Description:
MariaDB is not officially supported by the Laravel Framework, but it is known as a drop-in replacement for MySQL and offered by Laravel Sail.
After creating a column as json, MariaDB falls back to longtext. But TablePlus lets me select json manually.
MySQL creates the column correctly as json.
Steps To Reproduce:

Add $table->json('column') to a database migration.
php artisan sail:install, choose MariaDB.
sail up, then sail artisan migrate.
Open TablePlus or whatever suits you and verify the table structure (data_type longtext in my case).
Repeat these steps with MySQL (json).

MariaDB doesn't have a native JSON column type: https://mariadb.com/kb/en/json-data-type/

Yeah, literally read that a second ago and then your reply came. Should have read the docs first, sorry.


Delete unnecessary spaces

When copying from the web page, there is an unnecessary space after the code.

@changeworld : Thanks for your contribution! The author, @vturecek, has been notified to review your proposed change.

Verified the updates; merging.


⚠ Bofrost.lu has degraded performance

In 7bfa592, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1885 ms

Resolved: Bofrost.lu performance has improved in 4e22efe after 7 minutes.


Is this project abandoned ?

Seems there are some issues and big portion of code is written three years ago, it brings a question, whether this project is abandoned or not ?
It would be nice to clarify actually.

Seems so...


add templates for action testing

such as linting and testing shellfiles; this would be exclusively for internal usage, I guess.
But would make it easier to get these started quickly for all the actions used herein.

bad idea, use makefiles if necessary.


Refactoring code to handle availability information for a given holding.

Co-authored-by: Anna Headley<EMAIL_ADDRESS>Co-authored-by: Trey Pendragon<EMAIL_ADDRESS>Co-authored-by: Bess Sadler<EMAIL_ADDRESS>Co-authored-by: Eliot Jordan<EMAIL_ADDRESS>Co-authored-by: Francis Kayiwa<EMAIL_ADDRESS>

Can someone update the commit with @kayiwa github email?

I'll update it.


Add note about studentinsights-bot in CONTRIBUTING

So that there's a note about how this happens.

@alexsoble @jhilde I added y'all to the Heroku app running this.  It's set to ping on changes to production.rb and the Procfile and can be configured here: https://github.com/studentinsights/studentinsights/blob/master/.mention-bot#L8
Does this seem useful or silly?

Seems useful -- I'd suggest we add .eslintrc as well since changing that is what brought down the site in this PR: https://github.com/studentinsights/studentinsights/pull/1028/files.
I'll open a PR to do that.

Let's 🚢 !


Add platform FreeBSD

Since PR 3266 makes it possible to run the Azure Pipelines Agent on FreeBSD, it would also make sense that the Azure Pipelines Task SDK supports this platform as well. Currently, for example, the Extract Files task fails on FreeBSD with the following error:
##[error]Unhandled: Platform not supported: freebsd

This is because extractfilestask.ts calls getPlatform to determine whether running on Windows. If the current platform is neither Windows, nor MacOS, nor Linux, getPlatform throws the above exception. However, this can be easily fixed with this PR by adding FreeBSD to the Platform enum and returning it in the getPlatform function instead of throwing an exception.

This is a trivial PR, can it be merged in?

Any move on this one? :)

let me try to get someone internally to merge this, stay tuned.

@littleq0903 any news? any way for the FreeBSD community to help with this?


Project 2, PopulaMovies->Preferences->Download the Code

QUIZ QUESTION
Check the following choices that would make just the treble triangle and bass circle visible, in red.

The default value of  private boolean showMid; is false inside VisualizerView so one doesnot need to explicitly call mVisualizerView.setShowMid(false); This means only three choices are correct.

Closing this issue as it is not related to the repo's code.


Make TestExternalities implement Send + Sync

Fixes: https://github.com/paritytech/substrate/issues/4013
CC @geigerzaehler

Okay, this needs more thinking.


Update conditions when adjustDayPickerHeight is called

Fixes #443
Replaces #446, #640

Added checks for daySize and orientation in DayPicker.componentDidUpdate() so that DayPicker height is recalculated if either of these change between renders
Added new tests for DayPicker.componentDidUpdate

Coverage decreased (-0.1%) to 84.443% when pulling 66dc9662ea0809af304ff333fc41a4925814960d on nnishimura:fix/adjustDayPickerHeight2 into 83ec316167b499ce939058973da0aff30e70d178 on airbnb:master.

All right! This looks great! I'll merge in when tests pass. :)


email service unhealthy

ERROR: for emails  Container "1c315e14cd71" is unhealthy.

ERROR: for usage-ingestor  Container "88f815015dee" is unhealthy.
ERROR: Encountered errors while bringing up the project.

@sschneider-ihre-pvs can you please share more information?

Sure, what do you need? I ran the docker-compose.community.yaml in windows WSL2 and that was the result.

Sure, what do you need? I ran the docker-compose.community.yaml in windows WSL2 and that was the result.

Can you please share the docker logs and docker inspect output of that container? thank you!


SVG with linked or embedded images are not rendered correctly

Image elemets (either linked or embedded) in SVGs used as "title page background" will not be rendered.
For example: I have a SVG with an embedded (or linked) PNG as background image also including other forms (e.g. rectangles).
If such a SVG is used as title_page_background_image only the forms (e.g. rectangles) get rendered but not the embedded or linked background image.

It's likely that the referenced image cannot be found. There is a test that covers this scenario in the test suite. See https://github.com/asciidoctor/asciidoctor-pdf/blob/4075c627bc27b6f1d9cd94cd6bddee88aff50461/spec/page_spec.rb#L882-L890.
Please provide a complete example so that I can reproduce it. Then I'll be able to advise you about whether it's a configuration problem or a defect in the software.

Thanks for the fast answer. At first I couldn't reproduce the problem with an example content.
It seems that the problem is occuring because of the internal structure of the SVG.
The dysfunctional way got an SVG exported by Affinity Publisher like:
<svg ...>
    <g clip-path="url(#_clip1)">
        <g id="Crypt_35" transform="matrix(0.24,0,0,0.24,-297.6,-420.96)">
            <use xlink:href="#_Image2" x="0" y="0" width="2480px" height="3508px"/>
        </g>
    </g>

     ... other forms ...

    <defs>
        <image id="_Image2" width="2480px" height="3508px" xlink:href="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAY ... />
    </defs>
</svg>

Other applications (e.g. eog, inkscape, gimp) had no problems with defining the image object in the defs section after the reference in <use xlink:href="#_Image2".
After manually putting the def-section before the reference everything got rendered correctly.

I'm glad to hear you worked it out.
Asciidoctor PDF does not, itself, interpret the SVG and embed the objects into the PDF. That's handled by prawn-svg. I recommend reporting this issue there. See https://github.com/mogest/prawn-svg

Thanks for your answer and your amazing work.

Thanks!
I'll close this and mark it as upstream.

Upstream has been released with this feature. I've upgraded the master branch to use it (to be included in the 2.0 release).
One thing I noticed is that the mimetype "data:image/jpeg" is not supported. It must be "data:image/jpg".


Linter complains about BR_ASSERT_COMB macro

When you try to add a BR_ASSERT_COMB macro, the linter complains that there is an empty always_comb block. Tried various ways of turning this off in the macro itself, but none of them worked. Now we have to always add an inline waiver when the macro is called, which is quite annoying.

I don't think there is anything we can do about this right now.

The tool's lint rule has legitimate uses, so turning it off would be a bad idea


Investigate use of multiple useMappedState calls

The following note is in the README:

NOTE: You should only call useMappedState once per component, in the same way that you'd use connect from react-redux only once per component. Otherwise the component will have multiple store subscriptions and could rerender multiple times from a single store update.

I think this is a serious downside. One of the main benefits I would hope to get from using hooks with redux, is the ability to create a higher level abstraction. The purpose of doing this would be to hide the details of how my state is managed (i.e. that redux is used at all).
In the following example there are two custom hooks that use redux-react-hook under the hood. The actual component has no knowledge of Redux at all, it works entirely within its domain.
//
// Individual components
//
import {useDispatch, useMappedState} from 'redux-react-hook';

export function DeleteButton({index}) {
  let todo = useTodo(index)
  let user = useUser()

  return (
    <button
      disabled={user.permissions.deleteTodos && !todo.canDelete}
      onClick={todo.deleteTodo}
    >
      Delete {todo.name}
    </button>
  );
}

function useTodo(index) {
  const mapState = useCallback(
    state => ({
      canDelete: state.todos[index].canDelete,
      name: state.todos[index].name,
    }),
    [index],
  );

  const {canDelete, name} = useMappedState(mapState);

  const dispatch = useDispatch();
  const deleteTodo = useCallback(
    () =>
      dispatch({
        type: 'delete todo',
        index,
      }),
    [index],
  );

  return { name, canDelete, deleteTodo }
}

function useUser() {
  const mapState = useCallback(
    state => ({ user: state.user }),
    [],
  );

  const { user } = useMappedState(mapState);

  return user
}

To give some context from that note, my perspective here is working with an app where you have N connected items, where N is the thing the user is creating (think each item in a list is connected). In that case, switching from 1 subscription to 2 increases the number of subscriptions by N, which is not scalable. I doubt the extra subscriptions matter when you are doing this at a high level. In fact, the conjecture about an extra re-render might not even be true, I'd certainly need to test it.
That being said, I very much agree with you that the entire point of hooks is to be able to compose them and create custom hooks that do multiple things, including fetch data from the store. The first thing we should do here is assess if there is actually any non-negligible perf impact to subscribing multiple times in the same component (chiefly, does it cause multiple React commits). Second, we can look at alternate APIs -- perhaps it is even a separate library. For example, you could have a two step process:
const storeSubscription = useRedux();
const val1 = useMappedState(storeSubscription, state => state.foo.val1);
const val2 = useMappedState(storeSubscription, state => state.foo.val2);
const user = useUser(storeSubscription);
const {name, canDelete, deleteTodo} = useTodo(storeSubscription, index);

You would have to pass the magic storeSubscription object to your custom hooks. Still not seamless, but since one hook cannot access component state created by another hook I'm not sure if we have a better option.

I renamed this issue to clarify that this is currently possible, but that the implications are not known at the moment. This is definitely an interesting problem, and maybe something about the Hooks API will change before it's released.
The above API is not ideal but could work. Adding the store subscription as an optional argument could be a way to add this behaviour for performance sensitive areas, without breaking the API.
type useMappedState<TState, TResult> = (
  mapState: (state: TState) => TResult,
  storeSubscription?: StoreSubscription
): TResult

I was just reading through the effect of subscribing to the store.
It looks like a useMappedState does not cause the component to re-render on each store update. Instead seems to only cause a re-render if the new TResult does not shallowEqual the old TResult. If this is the case, then I would only expect there to be an issue if both hooks accessed the same data. For example:
const user = useUser();
const userAgain = useUser();

Maybe a perf test would be helpful in determining if this is a problem or not.

It looks like a useMappedState does not cause the component to re-render on each store update

That is correct, it does a shallow comparison just like react-redux. There aren't any issues if you were to subscribe to the same data multiple times, because the previous mapped value that is capture is done for each subscription. It would be a little weird, however, to do a shallow comparison on something that isn't expected to be an object (you'd probably want to use an exact comparison instead).
I did a small test in this codesandbox, https://codesandbox.io/s/7w16rv9x91, see TodoList.tsx. In it, I call useMappedState twice (so it will do two store subscriptions. If you look at the console logs, however, the component is only rendered once for each store change. This is likely because redux is calling all the subscribers synchronously and React debounces multiple setState calls in the same frame. So at least from a component perf perspective this isn't an issue. The only thing would be to measure the impact of more store subscriptions on Redux, but I am inclined to say that performance-wise this won't be a huge deal.


Trying to create a file over SFTP results in BackgroundTaskFailure

called `Result::unwrap()` on an `Err` value: BackgroundTaskFailure("read/flush task failed")

Manually trying to create the file via something like sftp.options().create_new(true).open(&path).await.unwrap(); causes the same issue

I was using a dockerized sshd, but even with a non-dockerized one on my LAN the same issue appears, seems like the library is at fault

It looks like it cannot read/flush.
Can you try launchjng sftp via ssh directly?
Perhaps your sshd configuration disallows sftp-subsystem?

BTW there's a feature tracing, can you try turning it on?
I recommend to use it with tracing-appendet and tracing-subscriber:
let (non_blocking, _guard) = tracing_appender::non_blocking(std::io::stdout());
tracing_subscriber::fmt()
    .with_writer(non_blocking)
    .init();

It looks like it cannot read/flush.
Can you try launchjng sftp via ssh directly?
Perhaps your sshd configuration disallows sftp-subsystem?

Sftp is definitely enabled and works just fine over russh:
FROM debian:latest

RUN apt-get update && apt-get install -y openssh-server curl
RUN mkdir /var/run/sshd
RUN echo 'root:root123' | chpasswd
RUN echo 'PermitRootLogin yes\nSubsystem sftp internal-sftp' > /etc/ssh/sshd_config

EXPOSE 22

CMD ["/usr/sbin/sshd", "-D"]

Heavily doubt I'm doing something wrong with initialization of Session and Sftp:
    let builder = SessionBuilder::default();
    let str_dest = format!("ssh://root@localhost:{}", ssh_port);
    let (builder, dest) = builder.resolve(str_dest.as_str());
    let tempdir = builder.launch_master(dest).await?;
    let session = Session::new_native_mux(tempdir);

    Ok(session)

        let mut child = owned_session
            .subsystem("sftp")
            .stdin(Stdio::piped())
            .stdout(Stdio::piped())
            .spawn()
            .await
            .expect("Could not make sftp child");
        let owned_sftp = Sftp::new(
            child.stdin().take().unwrap(),
            child.stdout().take().unwrap(),
            SftpOptions::default(),
        )
        .await
        .expect("Could not make sftp");

@NobodyXu Sftp::from_session  from the openssh feature actually works, but this raises two questions:

Why does from_session need to move in the Session? Why can't the connection be used for both SSH and SFTP?
Why does Sftp::new as shown above not work?

Because of the moving mentioned above, a test setup for SSH and SFTP needs 4 connections to the same sshd, which I find absurd. Is it really necessary?

Why does from_session need to move in the Session? Why can't the connection be used for both SSH and SFTP?

It can be avoided using openssh::Session::to_subsystem
I will open a PR for it

Why does Sftp::new as shown above not work?

Might be because the child is dropped while the sftp is still there?

Might be because the child is dropped while the sftp is still there?

Actually probably that, will test it


Reduce Image size for chaos ci lib image

This is for the reduction of the image size of the Chaos CI Lin image. The current size is 700-800MB which can be reduced.

@uditgaurav Please assign this issue to me.

@uditgaurav can you assign me this issue ?


Cannot execute putup script on mac w/ brew

Running Mac os X yosemite with homebrew.
Installing pyscaffold using pip doesn't allow invoking putup script globally.
Had to add putup as an alias in bash_profile for now.

Thanks for reporting this. Right now I have now Mac at my disposal and therefore cannot reproduce this. Maybe we can still localize the cause of your problem by answering following questions:

If you install django  the same way with homebrew as you installed PyScaffold, does the command django-admin.py work? Or do you need to set an alias as well?
What is the content of your PATH variable and where is putup located, i.e. the path?
Did you set up a virtual environment with virtualenv and activate it before installing PyScaffold with the help of pip?

Hi @FlorianWilhelm,
I guess, I do not understand virtualenv as much as I thought I did.
Initially, I installed pyscaffold (and other/optional dependencies like six, sphinx etc) without virtualenv but I couldn't execute the putup script and had to add an alias in the bash_profile. Then, I installed pyscaffold using virtualenv and it worked. Surprisingly putup now works without using virtualenv too.
I am a little lost as to how does installing with virtualenv modify the PATH for non-virtual environment?

@Mohitsharma44 So it works without activating the virtual environment? Maybe it's your alias that is still set? If that solves your issue, I would close it.

Naah.. don't think so. I sourced my profile, even restarted the session but I am able to use putup. I will try to figure out what the issue is but thanks for your help @Florian .
I am closing this from my end.


TFS-VSTS Re-Sync & Reflected work item ID

Hi,
I have managed to use the tool to push to VSTS, but I have a couple of questions/issues:

I get the reflectedworkitemid in VSTS but don't get this all the time (most of the time, but not always - anyone know why?)
its not currently pushing the vsts address back into the source? should it? do I need it to?
if I sync all our work items with vsts, can I then re-run it so it applies changes to the items? it just says they already exist when I try push them again - which they do) ideally i'd like to run this once, then run again just before users go live, to keep it sync'd.

I am only testing with one Bug at the minute (ID 2), and using the WorkItemRevisionReplayMigrationConfig processor.
Here is some of my json file, inherited agile template is called EclipseAgile:
"ReflectedWorkItemIDFieldName":"EclipseAgile.ReflectedWorkItemId",
"FieldMaps":[
{
"ObjectType":"VstsSyncMigrator.Engine.Configuration.FieldMap.MultiValueConditionalMapConfig",
"WorkItemTypeName":"",
"sourceFieldsAndValues":{
"Field1":"Value1",
"Field2":"Value2"
},
"targetFieldsAndValues":{
"Field1":"Value1",
"Field2":"Value2"
}
},
{
"ObjectType":"VstsSyncMigrator.Engine.Configuration.FieldMap.FieldBlankMapConfig",
"WorkItemTypeName":"",
"targetField":"EclipseAgile.ReflectedWorkItemId"
},
"Processors":[
{
"ObjectType":"VstsSyncMigrator.Engine.Configuration.Processing.WorkItemRevisionReplayMigrationConfig",
"Enabled":true,
"PrefixProjectToNodes":false,
"UpdateSoureReflectedId":true,
"QueryBit":"AND [System.WorkItemType] IN ('Shared Steps', 'Shared Parameter', 'Test Case', 'Requirement', 'Task', 'User Story', 'Bug','Epic', 'Feature', 'Product Backlog Item', 'Issue') AND ([System.ID] = '2')"
},
Here are the notes I followed to set this up:
http://mohamedradwan.com/2017/09/15/tfs-2017-migration-to-vsts-with-vsts-sync-migrator/
Thanks,
Dan

#1 - You should get it all the time. If you don't get one its a bug
#2 - You don't have to. It would allow you to filter for future runs, but it is slower to execute. If you have 100k work items to migrate then its worth it... for 5k not so much...
#3 - Currently it does not update with that run. It is however a good idea.
note: I added your blog to the Walkthroughs section: https://github.com/nkdAgility/vsts-sync-migration

Thanks, is there anything I need to change in my json file to get #2 working?
re #3 - how do others do the final imports? do they just do all live tasks, bugs etc then run all the closed ones later (or even before I guess)?

Hello,
I try migrate custome fields but not success.
VstsSyncMigrator.Engine.Configuration.FieldMap.MultiValueConditionalMapConfig
could you please help me with config of this part?
"ObjectType": "VstsSyncMigrator.Engine.Configuration.FieldMap.MultiValueConditionalMapConfig",
"WorkItemTypeName": "*",
"sourceFieldsAndValues": {
"Field1": "Value1",
"Field2": "Value2"
},
"targetFieldsAndValues": {
"Field1": "Value1",
"Field2": "Value2"
}
For example this is custom field in TFS >
on DevOps i create : TFSCustomIPBugState singel line field


Add LightningPoseDataInterface and LightningPoseConverter

Add converter for LightningPose, uses ndx-pose==0.1.0 to add PoseEstimation with the PoseEstimationSeries from the predictions CSV file. The original video is added as ImageSeries to nwbfile.acquisition, while the optional labeled video is added to nwbfile.processing["behavior"] both in external mode.
Resolve #628
https://github.com/danbider/lightning-pose/blob/main/docs/directory_structures.md#model-directory-structure
Checklist

[x] Example data PR: https://gin.g-node.org/CatalystNeuro/behavior_testing_data/pulls/10
[x] add unittest
[x] add doc

Looks great to me, thanks a bunch @weiglszonja
The only small detail that I'm OK with since this isn't required for a full publication ready conversion using main (unlike a similar consideration given to FicTrac recently) is the lack of H5DataIO wrappers around the pose series data, but now that #557 is merged you could technically just add that call to configure_backend in the Pinto conversion script to achieve the same effect (this will soon be integrated into the core Interface/Converter classes to be seamless and not require a manual call, ideally prior to next offical release)

Retriggering CI docs...


Fix pressing back button doesn't close the validate code modal when keyboard is shown

Explanation of Change

By default, pressing on a component inside a scroll view will dismiss the keyboard first, but we want to change it so that it executes the pressable press callback instead by either changing the keyboardShouldPersistTaps to handled or putting the component outside the scroll view.
Fixed Issues

$ https://github.com/Expensify/App/issues/52959
PROPOSAL: https://github.com/Expensify/App/issues/52959#issuecomment-2494072735
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Prerequisite: use an unvalidated account
BA page:

Open any workspace > Workflow > Bank account
Verify the validate code modal shows
If the keyboard doesn't show, press the magic code again
Press the back button
Verify it closes the magic code modal/page

2FA:

Open Settings > Security > 2FA
Verify the validate code modal shows
If the keyboard doesn't show, press the magic code again
Press the back button
Verify it closes the magic code modal/page

Copilot:

Open SEttings > Security > Add copilot
Complete all steps until you arrived at the final step
Verify the validate code modal shows
If the keyboard doesn't show, press the magic code again
Press the back button
Verify it closes the magic code modal/page

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I used JaimeGPT to get English > Spanish translation. I then posted it in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.ts or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/f7edeb7c-b755-40b3-926d-ee816b292d34
https://github.com/user-attachments/assets/f5fdc6e5-e4b0-487c-8e3c-5a1d5b49ae9e
https://github.com/user-attachments/assets/cbdda4f7-d929-4d31-8364-f46ad2053b0f

Android: mWeb Chrome

https://github.com/user-attachments/assets/edb72b36-6a1f-40f7-b759-8ac97fdeb042

iOS: Native

https://github.com/user-attachments/assets/8a8e08f9-c566-4727-a7b4-9dea50cf51e0

iOS: mWeb Safari

https://github.com/user-attachments/assets/5dce900c-4c73-4b6b-9b46-4248352951bf

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/fa04d199-8f0c-4687-bbc9-fcda7a9b4852

MacOS: Desktop

https://github.com/user-attachments/assets/e4608f3a-a864-489b-87ea-d5925790b2a1

Done

The merge-base changed after approval.

@bernhardoj what's going on here?

I don't know what's going on. Looks like something automatically happened. Maybe I should merge with main first.

@danieldoglas please try again

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


Get Declaration Requests list via Cabinet

Patients in cabinet should be able to see not only declaration, but declaration requests as well.
In order to do that the service Get declaration request list must be done

[ ] implement according to specification / apiary

get declaration request does not return data
ex. person_id='a80d85da-1a60-4979-9e56-99472140eebf'
declaration_requests: 86ab23ff-ec70-428e-a838-694a855488f5
fb769e28-4239-4351-8115-068e1a5a5c5a
request
curl -X GET \
  https://api.dev.asclepius.com.ua/api/cabinet/declaration_requests \
  -H 'Authorization: Bearer ODIrYWZjTlNlOXZDTVA5THpXUGROQT09' \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 58ca9363-704f-4850-98fc-e87a349f318b'

response
{
    "paging": {
        "total_pages": 1,
        "total_entries": 0,
        "page_size": 50,
        "page_number": 1
    },
    "meta": {
        "url": "http://api-svc.il/api/cabinet/declaration_requests",
        "type": "list",
        "request_id": "31134980-d1eb-4626-8b3c-95a884b7db1e#11162",
        "code": 200
    },
    "data": []
}


trigger Curve healthy bot health threshold on the backend

To test repayment for this bot https://etherscan.io/tx/0x2b24162a5bdfa4347c7f5afd565c6d5287cd45bf5ff0ed0dcad0c0a3ffa38f63, we need

raise Curve healthy bot health threshold on the backend to 30%
record ensuing repayment

This was completed. Follow up ticket created here https://github.com/VolumeFi/paloma/issues/1678


Contracts: add infinite collaborators option

Could use address 0x0.

Per-id collaborator
Per-id metadata

Per-id collaborator
Per-id metadata

The land contract now has per-id metadata.

The land contract now has per-id metadata.


"Cannot run git command" error message on startup.

I have just installed the plugin.
I have successfully authenticated into my GitHub via https.
I have successfully made the first commit on the master branch and pushed it into Github upstream.
When I open Obsidian I get the message "Cannot run git command" on the top right corner.
Please help.

On which OS are you? Did you install git on your device? If you are on Windows did you follow this instruction?

Sorry for providing you all insufficient data.
I use OpenSuse Leap 15.2
Of course I have git installed. I was able to push my vault on github.

How did you install Git? Have you read the Linux instructions? Snap version does not work, because of sandbox.

Now I see there is a problem with snap. I have snap version installed. So there is no hope, I suppose? Should I switch to flatpak instead?

Yeah either Flatpak or AppImage (instructions for AppImage)

Too bad. Thank you for your time anyway.


go example uses deprecated API NewEnvClient()

File: develop/sdk/examples.md
From  https://godoc.org/github.com/docker/docker/client#NewEnvClient
"Deprecated: use NewClientWithOpts(FromEnv)"

It seems that this was fixed - the examples now all use NewClientWithOpts.


Name landmarks

You have multiple nav landmarks, you should name them.
See https://www.scottohara.me/blog/2018/03/03/landmarks.html#multiple-landmark-roles-of-the-same-type
Also, you may not the a  element in the footer since the links in the footer navigation are the same as in the main navigation.

Thanks I'll make sure I add aria label aria labels.
I want to keep it in the footer as a UX/Design thing. On longer pages it might make sense when you get to the bottom of the page to navigate somewhere else on the site.
If nothing else looks good on for templated example with little content that people can change.
Is there some way I can let screen-readers know they are repeated links?

Sorry, I didn't mean to remove the whole thing, I meant that the landmark nav could be removed. SR users can navigate by landmark and if you use nav in the footer the navigation will be listed as a landmark but you don't need two landmarks if the content is the same.

Home

      …

Oh excellent! I'll do that!


Swift 2 compat changes

This gets the code compiling on current Xcode. A lot of the affected changes are optional <-> non-optional.
This won't be compatible with older versions; for that such changes will need to be guarded with "if foo is Bar?" and the like.

Closing in favor of #13.


use destination when pulling remote snapshot list

We run multiple pools and multiple datasets with 1000s of snapshots.  Without the destination specified, the script takes forever to run trying to return the entire list of snapshots when it only needs to know about the snapshots for a specific destination.  This decreases our run time by a factor of 10x at least.

Sorry, but these commits break the code.
https://github.com/allanjude/zxfer/blob/1197a6bafebc297c34068dad2b600383d314f381/zxfer#L689
The snapshots of the target are now missing, the consequences are errors:
cannot receive new filesystem stream: destination has snapshots (eg. ...)
must destroy them to overwrite it
warning: cannot send '...': signal received
Error when zfs send/receiving.
So the if statement has to be removed then to always fetch the list of target snapshots.
https://github.com/allanjude/zxfer/blob/1197a6bafebc297c34068dad2b600383d314f381/zxfer#L688


Update to Ruby 2.7

These are the necessary changes for Ruby 2.7, tested against 2.7.1
Since there is an automated process for updating Ruby versions in govuk apps, I changed the version locally, made the necessary updates, but raised a PR with version 2.6.6.

Deprecation warning from jsonnet gem

/ruby-2.7.1/gems/jsonnet-0.3.0/lib/jsonnet/vm.rb:35: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/ruby-2.7.1/gems/jsonnet-0.3.0/lib/jsonnet/vm.rb:87: warning: The called method `evaluate_file' is defined here

This is fixed in master but not the latest version
Master:

https://github.com/yugui/ruby-jsonnet/blob/master/lib/jsonnet/vm.rb#L35
https://github.com/yugui/ruby-jsonnet/blob/master/lib/jsonnet/vm.rb#L87
v0.3.0:
https://github.com/yugui/ruby-jsonnet/blob/v0.3.0/lib/jsonnet/vm.rb#L35
https://github.com/yugui/ruby-jsonnet/blob/v0.3.0/lib/jsonnet/vm.rb#L87

Jenkins couldn't find bundler version 2.1.4

Another PR supersedes https://github.com/alphagov/govuk-content-schemas/pull/1012


Copyright notice on cla-assist.io

Hi,
the copyright notice on cla-assist.io says "2015 SAP SE".
Shouldn't this be 2017?
Cheers

Nope, I think this should not be updated yearly according to wikipedia. Please let me know if you find information that states the opposite.

Yup, you're right. Interesting, I didn't know 👍


Update many enhances and fixes

fixed leak of command "make all" for first deployment/installation.
added NOS/Firmware software update API.
added Basic-Authentication method for allowing username/password
access.
fixed the PSME port validation by hardcoded.
fixed the device's account API getting wrong usernmae by Redfish API
with ID.
fixed the termal Refish API could not provide data by Chassis.

#5
It is fixed now (make all now do something) but there are still some problems with it.

resolv.conf is overwritten by one of make all commands. Additional namespace should be appended instead of overwriting everything in the file.
What is the reason to invoke sudo iptables -F && sudo iptables -t nat -F && sudo iptables -t mangle -F && sudo iptables -X? This is potentially dangerous to the host machine - my VM lost internet connection after invoking this which resulted in failed make all because it was unable to download anything.
I noticed this error protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory - it looks like it is not downloaded during make all command.

Please note that I tested this on brand new Ubuntu 18.04 VM.

#4
The PSME port is not hardcoded anymore, it is now possible to attach PSME with custom port.

#11
The issue is resolved, the DeviceMgr compares UserName field in each Account, not links.

#5 It is fixed now (make all now do something) but there are still some problems with it.

resolv.conf is overwritten by one of make all commands. Additional namespace should be appended instead of overwriting everything in the file.
What is the reason to invoke sudo iptables -F && sudo iptables -t nat -F && sudo iptables -t mangle -F && sudo iptables -X? This is potentially dangerous to the host machine - my VM lost internet connection after invoking this which resulted in failed make all because it was unable to download anything.
I noticed this error protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory - it looks like it is not downloaded during make all command.

Please note that I tested this on brand new Ubuntu 18.04 VM.

#12
The issue is resolved, the thermal URL is not hardcoded anymore.

Mar 22 - approved at DevMgr meeting.

#5
It is fixed now (make all now do something) but there are still some problems with it.

resolv.conf is overwritten by one of make all commands. Additional namespace should be appended instead of overwriting everything in the file.

What is the reason to invoke sudo iptables -F && sudo iptables -t nat -F && sudo iptables -t mangle -F && sudo iptables -X? This is potentially dangerous to the host machine - my VM lost internet connection after invoking this which resulted in failed make all because it was unable to download anything.

I noticed this error protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory - it looks like it is not downloaded during make all command.

Please note that I tested this on brand new Ubuntu 18.04 VM.

I put those "iptables" commands in case of changing the IP address of the device manager before resetting all pods. If so. That would cause the cluster could not look up the network while resetting all pods.

#8
Running ‘logindevice’ task works fine if we are using Token option (now, the number of arguments is also updated).
However, if the “Basic Auth’ option is chosen, the Device Mgr returns error, because the credentials (admin, admin) used to login with Basic Auth are different than fields “Username” and “Password” in any Accounts. BMC accepts the request, but DeviceMgr returns error, because the values do not match.
Is it necessary for the BMC to have the Account in Accounts list, that has the “Username” and “Password” values the same, as the credentials used for Basic Auth?

You could use the "deviceaccountslist" to see the accounts list
./dm attach <IP_ADDRESS>:8888:600:1:1
<IP_ADDRESS>:8888 attached
./dm logindevice <IP_ADDRESS>:8888:admin:redfish:true
<IP_ADDRESS>:8888 user-data : admin logined
./dm deviceaccountslist <IP_ADDRESS>:8888:admin
accounts list : account:{key:"admin" value:"redfish"}
Could you share your BMC messages?

#8
Running ‘logindevice’ task works fine if we are using Token option (now, the number of arguments is also updated).
However, if the “Basic Auth’ option is chosen, the Device Mgr returns error, because the credentials (admin, admin) used to login with Basic Auth are different than fields “Username” and “Password” in any Accounts. BMC accepts the request, but DeviceMgr returns error, because the values do not match.
Is it necessary for the BMC to have the Account in Accounts list, that has the “Username” and “Password” values the same, as the credentials used for Basic Auth?

You could use the "deviceaccountslist" to see the accounts list
./dm attach <IP_ADDRESS>:8888:600:1:1
<IP_ADDRESS>:8888 attached
./dm logindevice <IP_ADDRESS>:8888:admin:redfish:true
<IP_ADDRESS>:8888 user-data : admin logined
./dm deviceaccountslist <IP_ADDRESS>:8888:admin
accounts list : account:{key:"admin" value:"redfish"}
Could you share your BMC messages?

Yes, I could use 'deviceaccountslist' task, but to retrieve the list, we have to login first. My question concerned different issue, but it is not valid anymore, as now BMC have the Account (with Administrator role) in Accounts list, that has the “Username” and “Password” values the same, as the credentials used for Basic Auth. So, I can use Basic auth to login from DeviceMgr to BMC.

https://github.com/opencomputeproject/HWMgmt-DeviceMgr-DeviceManager/issues/14
The issue is resolved, it is possible now to change user's password.

#8
The issue is resolved, it is now possible to login to BMC using Basic Auth.

#9
The issue is resolved, it is now possible to use 'setsessionservice' task to set the values.

4.5.2022 - On community meeting we agreed to merge this PR.

@MaciejMis OK. Thank you.

PR#15 was merged into redfishapi branch. The changes need to moved to main branch before the issues can be closed.


Missing link

In the "Use the right user for your testing" section, it says, "For information on how to setup this user, refer to this blog," but nothing is linked.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 936119a1-4f7e-ed69-f72e-44e41464f964
Version Independent ID: c30741c6-9408-775a-5ce0-3f6986445447
Content: Testing your Extension - Business Central
Content Source: dev-itpro/compliance/apptest-testingyourextension.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: rweigel

Hello, thanks for spotting this - the blog post has unfortunately not yet been published, but will be within the next couple of weeks. The blog post specifies that if you use a Docker Azure VM, which is encouraged, you get the ESSENTIAL user by default. Thanks.


Impossible to filter a Catalog/Schema list

I've just started to use the 6.3.3 version. This version doesn't allow me to set a schema of a database as an active one. The way to select the desired database in the SQL editor's tab doesn't allow me to filter the list of databases typing any letters from the database name. Please add this meaningful feature. You know, it's very convenient when the list of databases can be restricted (filtered) when I type any part of their names into the text edit box.

Even better if I select a particular node of the desired database in the object tree and click either a button on the toolbar or a menu item in the context menu to open a new SQL editor window, then the necessary database and schema would be selected automatically.

verified


Clang 14 fails to compile trezor-crypto

Describe the bug
Clang 14 now raises a warning when bitwise operations are performed with boolean operands

...
[ 15%] Building C object trezor-crypto/CMakeFiles/TrezorCrypto.dir/crypto/ed25519-donna/modm-donna-32bit.c.o
/home/pierre/dev/wallet-core/trezor-crypto/crypto/sha3.c:291:7: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
                if (IS_ALIGNED_64(msg)) {
                    ^~~~~~~~~~~~~~~~~~
/home/pierre/dev/wallet-core/trezor-crypto/crypto/sha3.c:29:55: note: expanded from macro 'IS_ALIGNED_64'
#define IS_ALIGNED_64(p) (0 == (7 & ((const char*)(p) - (const char*)0)))
                                                      ^ ~~~~~~~~~~~~~~
1 error generated.
make[3]: *** [trezor-crypto/CMakeFiles/TrezorCrypto.dir/build.make:277: trezor-crypto/CMakeFiles/TrezorCrypto.dir/crypto/sha3.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/home/pierre/dev/wallet-core/trezor-crypto/crypto/bignum.c:274:10: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
  assert((cond == 1) | (cond == 0));
         ^~~~~~~~~~~~~~~~~~~~~~~~~
                     ||
/usr/include/assert.h:109:11: note: expanded from macro 'assert'
      if (expr)                                                         \
          ^~~~
/home/pierre/dev/wallet-core/trezor-crypto/crypto/bignum.c:274:10: note: cast one or both operands to int to silence this warning
/home/pierre/dev/wallet-core/trezor-crypto/crypto/bignum.c:293:10: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
  assert((cond == 1) | (cond == 0));
         ^~~~~~~~~~~~~~~~~~~~~~~~~
                     ||
/usr/include/assert.h:109:11: note: expanded from macro 'assert'
      if (expr)                                                         \
          ^~~~
/home/pierre/dev/wallet-core/trezor-crypto/crypto/bignum.c:293:10: note: cast one or both operands to int to silence this warning
2 errors generated.

To Reproduce
Install clang 14 and try to build.
Expected behavior
Fix build to work with clang 14
Additional context
See a similar error recently fixed by bitcoin core:
https://github.com/bitcoin/bitcoin/pull/23573
And another one in libsecp256k1:
https://github.com/bitcoin-core/secp256k1/pull/1009
The solution is to cast the operands to int. This has been done upstream (in two steps, because the first commit was the wrong solution):
https://github.com/trezor/trezor-firmware/commit/0c482173ab434dea5c545e3ce127a0f3bef44d56
https://github.com/trezor/trezor-firmware/commit/d1d3558d02732979c00c96c5e7b91e6560149e61
I tried to follow the instructions in trezor-crypto/setup_from_upstream.sh to update trezor-crypto, but it is a bit too complex a solution just to fix a simple compiler warning. If you want to use this solution, you will probably want someone you trust to do the update, because it makes for a very large PR to review.
The simple alternative is too pick just the two relevant commits.
On my side, I will simply revert to clang 13 to work  around the issue:
echo "#### Building... ####"
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Debug \
    -DCMAKE_C_COMPILER=clang-13 -DCMAKE_CXX_COMPILER=clang++-13
make -Cbuild -j12 tests TrezorCryptoTests

Is Clang 14 released already? we will wait until Apple upgrades Xcode:
~ clang --version
Apple clang version 13.0.0 (clang-13<IP_ADDRESS>)
Target: arm64-apple-darwin21.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin


Changes needed in floor SQL function

Some changes are needed in the floor function implementation/tests added via PR #889  as are being suggested in the ceiling function PR #898 .

@saatviks What is the status on this? Both the PRs have been merged? Do we still need changes or can this issue be closed?

Although the floor PR was merged in, there were some changes needed which came out when the ceil function went through a more thorough review. I'll finish this by next week.

Cool, please make sure you close this issue when the changes go through.

What happened with this issue?

Apologies for the delay - I'll submit the PR today itself.


[TOPI, Relay refactor] Move Dilation2d from nn to image namespace

Dilation2d added in https://github.com/apache/incubator-tvm/pull/5033 is a morphological operation, not a standard neural network operator. So putting this inside of image name space seems be to a better choice to me.
I noticed this when looking at topi/nn directory. There are now dilate.py and dilation2d.py, too similar functions but the former is used for conv transpose (dilate with 0) while the latter is for morphological dilation (dilate with max in the window). I thought it was confusing, so moved dilation2d.py to topi/image. Applied the same fix to Relay as well.
please review @kevinthesun @jwfromm @maheshambule I'm sorry I missed this in the original PR.

@masahi, Thanks for the refactoring.  The dilate.py and dilation2d.py in the same folder was confusing. I should have kept it in image namespace.

@kevinthesun ready to merge, I just moved things around.

THanks @masahi @maheshambule @jwfromm !


import_image will be as well exit plugin, and will run only if build …

…was successful
Signed-off-by: Robert Cerven<EMAIL_ADDRESS>

deleted commented-out code

Updated release notes draft:

import_image is now also an ExitPlugin


Gc with compaction filter for default cf

What have you changed?
It's based on #6728 , and add compaction filter for default cf.
A new column family gc is also added.
What is the type of the changes?
Improvement.
How is the PR tested?

Unit test.

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
Does this PR affect tidb-ansible?
Refer to a related PR or issue link (optional)
Benchmark result if necessary (optional)
Any examples? (optional)

/bench +ycsb

oh, why the QPS dropped so much?

@siddontang by default the feature is not enabled. @mahjonp says that ycsb is not stable yet.


Add IAP issuer claim verifier

Spring-security conveniently already has an issuer verifier implementation.
Right now, if client apps need to skip issuer validation, they can provide an overridden JwtDecoder bean.
The alternative is to make the issuer bean injectable based on whether the property is non-empty. This is more flexible but less secure (Google Cloud says issuer MUST be set to the specific value).
Fixes #1205.

Would it make sense to add another property like spring.cloud.gcp.security.iap.issuer.verify=true/false to make it easier to skip issuer verification? Alternatively, the spring.cloud.gcp.security.iap.issuer property being set to "" could be a marker to skip verification.

Issuer is required on GCP. I can't imagine a scenario in which someone needs IAP authentication on a non-GCP project.
Audience, though, I think we might have to provide ability to turn off.

For testing though, maybe it would be valuable to be able to disable it by providing an empty string for issuer.

I mean, by the time you are creating a "real" JWT token for testing, spoofing an issuer is the easy part. But it's easy to implement.

Spring-security conveniently already has an issuer verifier implementation
If client apps need to skip issuer validation, they can provide an overridden JwtDecoder bean.
Fixes #1205.


adding IndShockConsumerTypeFast

Please ensure your pull request adheres to the following guidelines:

[x] Tests for new functionality/models or Tests to reproduce the bug-fix in code.
[x] Updated documentation of features that add new functionality.
[N/A] Update CHANGELOG.md with major/minor changes.

This PR can only be merged after #774.
Very close to working version of a fast IndShockConsumerType. Passes eye test on IndShockConsumerType.ipynb example notebook, but still fails some tests that I need to look into.

Tests not passing:
>       self.assertAlmostEqual(c_m[500], 0.7772637042393458)
E       AssertionError: 0.7774503031412109 != 0.7772637042393458 within 7 places (0.0001865989018651204 difference)

>       self.assertAlmostEqual(c_m[500], 1.4008090582203356)
E       AssertionError: 1.4008094278419174 != 1.4008090582203356 within 7 places (3.6962158178610593e-07 difference)

>       self.assertAlmostEqual(c_m1[0], 0.8527887545025995)
E       AssertionError: 0.8528115261262652 != 0.8527887545025995 within 7 places (2.2771623665707175e-05 difference)

>       self.assertAlmostEqual(IndShockExample.solution[0].mNrmSS, 1.5488165705077026)
E       AssertionError: 1.5455777984337853 != 1.5488165705077026 within 7 places (0.0032387720739173176 difference)

>       self.assertAlmostEqual(LifecycleExample.solution[5].cFunc(3).tolist(), 2.129983771775666)
E       AssertionError: 2.1306421962827153 != 2.129983771775666 within 7 places (0.0006584245070495598 difference)

>       self.assertAlmostEqual(CyclicalExample.solution[3].cFunc(3).tolist(), 1.5958390056965004)
E       AssertionError: 1.5970793161392047 != 1.5958390056965004 within 7 places (0.0012403104427043399 difference)

Although this now runs as expected, I am having some small and some not so small deviations from what the solutions of the standard HARK model are. The solution however, is twice as fast or better after 1st run (546ms vs 142ms on my computer when CubicBool=True and vFuncBool=True)

Only 2 failed now, with small differences. Additionally, benchmarking on my laptop when CubicBool=True and vFuncBool=True follows:
Fast: 170 ms ± 32.8 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)
Standard: 414 ms ± 9.89 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
============================== short test summary info ==============================
FAILED HARK/ConsumptionSaving/tests/test_IndShockConsumerTypeFast.py::testBufferStock::test_infinite_horizon - AssertionError: 1.0036643401519418 != 1.0036279936408656 within 7 places (3.634651107620179e-05 difference)

FAILED HARK/ConsumptionSaving/tests/test_IndShockConsumerTypeFast.py::testIndShockConsumerTypeFastCyclical::test_cyclical - AssertionError: 1.5958389403194548 != 1.5958390056965004 within 7 places (6.53770455549818e-08 difference)

@alanlujan91 check whether adding more gridpoints fixes the problem and if so change the tolerance so that it does not fail any more with the original set of gridpoints.

This finally passes all tests locally! Benchmarking on my laptop when CubicBool=True and vFuncBool=True follows:
Standard: 424 ms ± 13.5 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
Fast: 112 ms ± 5.91 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

Ha I guess I did speak too soon... Interestingly, when I run just the test for my code test_IndShockConsumerTypeFast.py, it passes, but when it runs along with every other test, it fails? @MridulS any ideas? The tests seem to fail at simulation, but my code doesn't change any of the simulation process. Maybe it has something to do with how I'm inheriting from other tests.

Can you change the line
self.base_params = init_idiosyncratic_shocks

to
self.base_params = copy(init_idiosyncratic_shocks)

in testBufferStock in test_IndShockConsumerType.py file.
This should fix it.
Also to make test names a little more distinct can you rename testBufferStock to something like testBufferStockFast in test_IndShockConsumerTypeFast.py file.


Make popup content with angular2 component

Hi,
Can I use angular2 directives such as "*ngFor" when I am making a popup in an angular app which contains leaflet map?
code may be like:
var htmlStr =     <div *ngFor="let name of names">{{name}}</div>;
var popup = L.popup()
.setLatLng(latlng)
.setContent(htmlStr)
.openOn(map);
I found that it can't understand angular grammer. Will you please give some advice?
Thanks.

Hi, and thanks for taking the time to open a bug report in Leaflet.
However, in this repository we only handle bugs in "vanilla" Leaflet. This means that we do not handle bugs which are specific to frameworks such as:

React
Ractive
AngularJS
Leaflet for R
Joomla
Wordpress
Ionic
Cordova
Vue
Electron
Polymer
...etc

Please understand that we only have the time and energy to test Leaflet in plain web browsers.
Please try to either reproduce the bug without using any frameworks, or submit a bug to the appropiate repo.

Got it. Thanks all the same.


ValueInList, ObjectProperty filters

Are implemented, running in my production, but I do not know how to contribute it.
ValueInListFilter {
  roleName: 'someN'
  value: [ 'some1', 'some2', 'just5' ]
}

ValueInListFilter {
roleName: 'someR_key'
value: Obj.keys(someObj.dataholder)
}

I also would like to have this, as well as an IndexInListFilter. In the meantime, one can use the ExpressionFilter:
    UploaderModel {
        id: uploaderModel
    }

    SortFilterProxyModel {
        id: selectedUploaders
        property var selectedIndexes: [1, 3]
        sourceModel: uploaderModel
        filters: [
            ExpressionFilter {
                expression: selectedUploaders.selectedIndexes.indexOf(model.index) >= 0
            }
        ]
    }

@iberiozko Where is your code? If you don't know how to contribute it, I could do it for you. Though, contributing is rather easy: you fork the project, get a local copy of your fork, make your changes, push, and then in the web interface you'll see a link to create a merge request.

I also would like to have this, as well as an IndexInListFilter

Maybe adding a generic ListFiter (with a  better name) instead of a  *InListFilter for every existing filters make sense. With a possible API like this :
ListFilter {
    property: "value"
    list: [ 'some1', 'some2', 'just5' ]
    ValueFilter {
        roleName: 'someN'
    }
}

Specifying property: "value" could be maybe omitted by using Q_CLASSINFO("DefaultProperty",..).
Alternatively, each filter could handle being passed a list like PropertyAnimation does (it has property for animating a single prop and properties for multiple props)
Possible API :
ValueFilter {
    roleName: 'someN'
    values: [ 'some1', 'some2', 'just5' ]
}

The drawback of this solution is that this complexifies each filter.

Guys...
Sorry, /me having no time right now neither for contributing, nor for cleaning the code. The patch is implemented as a package diff for buildroot.org package.
Please contact me on<EMAIL_ADDRESS>or skype: iberiozko - I will offer you the diff. You than may use it than as ypu wish.

0001-rework-by-iberiozko.zip
Just take it as zipped diff, one knowing patch should easelly apply it.


adding missing changelogs for blob-cryptography and blob-nio

API change check
API changes are not detected in this pull request.


Improving monitors usage for output cache

Use String.Interned strings to remove reliance on a concurrent dictionary
Removing timeout to rely on the request timeout itself
Adding a finalizer to catch any locked resource

@DanielStolt

@DanielStolt GTG?

Looks good now @sebastienros !

I see beautiful line endings.


wait for healthcheck to pass before proceeding in stack deploy

thanks for the help figuring this out @joshwget.
this patch provides the ability for rancher-compose to wait for a service to be in state healthy before proceeding to the next stack in the dependency chain (based on the use of depends_on key). Is only activated when a service has the label wait_for_healthcheck set to true.

Thanks @wjimenez5271!


Add ability to get URL params in reducer.

Currently there is no way to access the URL params on props in the reducer.  For example a URL / Route of:  /users/:id/prefs.  I would like to be able to get the value of id from the store.  Not sure if this is even possible or if this is on the part of react-router, but figured I'd start here.

This has been asked multiple times. We cannot do it because we don't integrate with react-router directly, just history.


FakeBand is not compatible with Xamarin.Android (Mono)

FakeBand or one of its direct dependencies have strong dependency on Google.Protobuf that makes it incompatible with Xamarin.Android.
If its aligned with the goals of this project this issue/task is to ensure that Fake.Band works with Xamarin.Android out of the box

Sorry, this was Band's SDK own issue, Ill take it with the team. Thanks