text:
🐛 [firebase_app_check] [WEB] Can't use Flutter Web with App Check for Authentication enforced. User logs out on initial page load.

Bug report
Describe the bug
When enforcing App Check for Authentication on Firebase, I can connect my Flutter App and login users using phone authentication.
After the user logs in a Flutter web application with App Check for authentication enforced and I close the task and revisit the web app I get a 401 error on initial page load:
https://identitytoolkit.googleapis.com/v1/accounts:lookup?key=***************** 401
User credentials are cleared from local storage on 401 and the user has to login again on every visit/ initial page load.
Note: The is no delay between page visits.
Here's a video of the flutter web app behavior deployed on a web server
https://www.veed.io/view/7abffab0-1354-4e5f-a8be-6378728d3a0d?panel=share
Steps to reproduce
Steps to reproduce the behavior:

Go to Firebase and enforce App Check for Authentication
Run/Deploy flutter web app (Firebase App Check needs to be set up).
Log in with phone authentication.
Close the tab and visit the web-app again.

Expected behavior
User should be logged in to my app during initial page loads, but I get an App Check error instead and the user credentials are wiped out from the local storage
Sample project
I cannot provide the login flow using mobile authentication but below is my main.dart. I think this is more than enough to recreate the issue.
`Future<void> main() async {
  usePathUrlStrategy();
  await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
  await FirebaseAppCheck.instance.activate(
    webProvider:
        ReCaptchaV3Provider('6LcannEoAAAAAEEDkHi0CLX7DyFIOS7OXXMnmxvl'),
  );
  FirebaseAppCheck.instance.setTokenAutoRefreshEnabled(true);
  FirebaseAuth.instance
      .authStateChanges()
      .distinct((first, second) => first?.uid == second?.uid);

  runApp(const WebApp());
}`

Additional context
The issue is similar to https://github.com/firebase/flutterfire/issues/11334 . The issue was closed in app_check v0.2.1 but I am still facing this issue
https://identitytoolkit.googleapis.com/v1/accounts:lookup?key=*****************
I checked the network requests and found out that the X-Firebase-Appcheck is present in the headers for the request url above but it's missing on initial page load after I revisit the web-app. As the app check token is missing the request is rejected (401) due to enforcement.
Request screenshots of login request using phone authentication

Screenshots of the login request on initial page load.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[!] Flutter (Channel stable, 3.13.8, on macOS 14.1 23B74 darwin-arm64, locale en-PK)
    ! Warning: `flutter` on your path resolves to /Library/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at
      /library/flutter. Consider adding /library/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Library/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /library/flutter.
      Consider adding /library/flutter/bin to the front of your path.
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.84.0)
[✓] Connected device (3 available)
[✓] Network resources

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 3.1.4
Flutter SDK 3.13.8
clubsocial 2.4.4+40

dependencies:
- add_2_calendar 3.0.1 [flutter]
- args 2.4.2
- bloc 8.1.2 [meta]
- cached_network_image 3.3.0 [cached_network_image_platform_interface cached_network_image_web flutter flutter_cache_manager octo_image]
- connectivity_plus 5.0.1 [flutter flutter_web_plugins connectivity_plus_platform_interface js meta nm]
- contacts_service 0.6.3 [flutter collection quiver]
- cross_file 0.3.3+6 [js meta]
- csv 5.1.1
- cupertino_icons 1.0.6
- currency_symbols 0.0.1+2 [flutter]
- date_time_format 2.0.1
- device_info_plus 9.1.0 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta win32 win32_registry]
- devicelocale 0.6.0 [flutter flutter_web_plugins]
- dio 5.3.3 [async http_parser meta path]
- equatable 2.0.5 [collection meta]
- extended_nested_scroll_view 6.1.2 [flutter visibility_detector]
- file 6.1.4 [meta path]
- file_picker 5.5.0 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface ffi path win32]
- firebase_analytics 10.6.3 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_app_check 0.2.1+3 [firebase_app_check_platform_interface firebase_app_check_web firebase_core firebase_core_platform_interface flutter]
- firebase_auth 4.12.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 2.21.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 3.4.3 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_messaging 14.7.3 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_remote_config 4.3.3 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface firebase_remote_config_web flutter]
- flex_color_scheme 7.3.1 [flex_seed_scheme flutter meta]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math web sky_engine]
- flutter_bloc 8.1.3 [bloc flutter provider]
- flutter_cache_manager 3.3.1 [clock collection file flutter http path path_provider rxdart sqflite uuid]
- flutter_credit_card 3.0.7 [flutter]
- flutter_form_builder 9.1.1 [flutter intl]
- flutter_image_compress 2.1.0 [flutter flutter_image_compress_platform_interface flutter_image_compress_common flutter_image_compress_web flutter_image_compress_macos]
- flutter_libphonenumber 2.1.5 [flutter flutter_libphonenumber_android flutter_libphonenumber_ios flutter_libphonenumber_platform_interface flutter_libphonenumber_web]
- flutter_markdown 0.6.18 [flutter markdown meta path]
- flutter_native_timezone 2.0.0 [flutter_web_plugins flutter js]
- flutter_overlay_loader 2.0.0 [flutter]
- flutter_svg 2.0.9 [flutter vector_graphics vector_graphics_codec vector_graphics_compiler]
- flutter_typeahead 4.8.0 [flutter flutter_keyboard_visibility pointer_interceptor]
- fluttertoast 8.2.2 [flutter flutter_web_plugins]
- font_awesome_flutter 10.3.0 [flutter]
- form_builder_validators 9.1.0 [flutter flutter_localizations intl]
- freezed_annotation 2.4.1 [collection json_annotation meta]
- geolocator 10.1.0 [flutter geolocator_platform_interface geolocator_android geolocator_apple geolocator_web geolocator_windows]
- gleap_sdk 11.2.1 [flutter flutter_web_plugins js json_annotation]
- go_router 10.2.0 [collection flutter flutter_web_plugins logging meta]
- google_api_availability 5.0.0 [flutter google_api_availability_android google_api_availability_platform_interface]
- google_api_headers 2.0.3 [flutter package_info_plus]
- google_maps_flutter 2.5.0 [flutter google_maps_flutter_android google_maps_flutter_ios google_maps_flutter_platform_interface google_maps_flutter_web]
- google_maps_webservice 2.0.0 [http meta json_annotation]
- helpers 1.2.3 [flutter vector_math]
- hive 2.2.3 [meta crypto]
- hive_flutter 1.1.0 [flutter hive path_provider path]
- image_cropper 5.0.0 [flutter image_cropper_platform_interface image_cropper_for_web]
- image_downloader_web 2.0.4 [flutter flutter_web_plugins http universal_html]
- image_gallery_saver 2.0.3 [flutter]
- in_app_update 4.2.2 [flutter]
- infinite_scroll_pagination 4.0.0 [flutter flutter_staggered_grid_view sliver_tools]
- intl 0.18.1 [clock meta path]
- intl_phone_number_input 0.7.3+1 [flutter libphonenumber_plugin equatable collection]
- jiffy 6.2.1 [intl]
- json_serializable 6.7.1 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper]
- list_tile_switch 1.0.0 [flutter]
- location 5.0.3 [flutter location_platform_interface location_web]
- logger 2.0.2+1
- markdown 7.1.1 [args meta]
- mime 1.0.4
- mobile_scanner 3.5.2 [flutter flutter_web_plugins js]
- onesignal_flutter 3.5.0 [flutter]
- path_provider 2.1.1 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows]
- permission_handler 10.4.5 [flutter meta permission_handler_android permission_handler_apple permission_handler_windows permission_handler_platform_interface]
- photo_view 0.14.0 [flutter]
- pull_to_refresh 2.0.0 [flutter]
- qr_flutter 4.1.0 [flutter qr]
- quiver 3.2.1 [matcher]
- read_more_text 0.0.5 [flutter]
- recase 4.1.0
- responsive_builder 0.7.0 [flutter provider]
- responsive_framework 0.2.0 [flutter collection]
- roundcheckbox 2.0.5 [flutter]
- rxdart 0.27.7
- screenshot 2.1.0 [flutter]
- shake 2.2.0 [sensors_plus flutter]
- share_plus 7.2.1 [cross_file meta mime flutter flutter_web_plugins share_plus_platform_interface file url_launcher_web url_launcher_windows url_launcher_linux url_launcher_platform_interface ffi win32]
- social_share 2.3.2 [flutter path_provider]
- store_redirect 2.0.1 [flutter]
- stream_chat_flutter 6.11.0 [cached_network_image chewie collection contextmenu dart_vlc desktop_drop diacritic dio ezanimation file_picker file_selector flutter flutter_markdown flutter_portal flutter_svg http_parser image_gallery_saver image_picker jiffy lottie meta path_provider photo_manager photo_view rxdart share_plus shimmer stream_chat_flutter_core synchronized thumblr url_launcher video_player video_thumbnail]
- stream_chat_flutter_core 6.10.0 [collection connectivity_plus flutter freezed_annotation meta rxdart stream_chat]
- stream_chat_persistence 6.9.0 [drift flutter logging meta path path_provider sqlite3_flutter_libs stream_chat]
- timeago 3.6.0 [intl]
- uni_links 0.5.1 [flutter uni_links_platform_interface uni_links_web]
- url_launcher 6.2.1 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- validators 3.0.0
- video_compress 3.1.2 [flutter]
- video_editor 2.4.0 [flutter ffmpeg_kit_flutter_min_gpl path path_provider transparent_image video_player video_thumbnail]
- video_player 2.8.1 [flutter html video_player_android video_player_avfoundation video_player_platform_interface video_player_web]
- visibility_detector 0.4.0+2 [flutter]
- wechat_assets_picker 8.7.1 [flutter extended_image photo_manager provider video_player]

dev dependencies:
- bloc_test 9.1.5 [bloc diff_match_patch meta mocktail test]
- build_runner 2.4.6 [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]
- flutter_launcher_icons 0.13.1 [args checked_yaml cli_util image json_annotation path yaml]
- flutter_lints 2.0.3 [lints]
- flutter_native_splash 2.3.5 [args flutter flutter_web_plugins js html image meta path universal_io xml yaml]
- flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math async boolean_selector characters collection material_color_utilities meta source_span stream_channel string_scanner term_glyph web]
- freezed 2.4.5 [analyzer build build_config collection meta source_gen freezed_annotation json_annotation]
- hive_generator 2.0.1 [build source_gen hive analyzer source_helper]
- integration_test 0.0.0 [flutter flutter_driver flutter_test path vm_service async boolean_selector characters clock collection fake_async file matcher material_color_utilities meta source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api vector_math web webdriver]

dependency overrides:
- connectivity_plus 5.0.1 [flutter flutter_web_plugins connectivity_plus_platform_interface js meta nm]
- ffmpeg_kit_flutter_min_gpl 5.1.0 [ffmpeg_kit_flutter_platform_interface flutter]

transitive dependencies:
- _fe_analyzer_shared 61.0.0 [meta]
- _flutterfire_internals 1.3.11 [collection firebase_core firebase_core_platform_interface flutter meta]
- after_layout 1.2.0 [flutter]
- analyzer 5.13.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- animations 2.0.8 [flutter]
- archive 3.4.6 [crypto path pointycastle]
- asn1lib 1.5.0
- async 2.11.0 [collection meta]
- audio_video_progress_bar 0.11.0 [flutter]
- 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.0 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.4.1 [analyzer async build collection convert crypto graphs logging package_config path pool pub_semver stream_transform yaml]
- build_runner_core 7.2.11 [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.7.0 [built_collection collection fixnum meta]
- cached_network_image_platform_interface 3.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.1.0 [cached_network_image_platform_interface flutter flutter_cache_manager]
- characters 1.3.0
- charcode 1.3.1
- checked_yaml 2.0.3 [json_annotation source_span yaml]
- chewie 1.7.1 [cupertino_icons flutter provider video_player wakelock_plus]
- cli_util 0.4.0 [meta path]
- clock 1.1.1
- code_builder 4.7.0 [built_collection built_value collection matcher meta]
- collection 1.17.2
- connectivity_plus_platform_interface 1.2.4 [flutter meta plugin_platform_interface]
- contextmenu 3.0.0 [flutter animations after_layout]
- convert 3.1.1 [typed_data]
- coverage 1.6.3 [args logging package_config path source_maps stack_trace vm_service]
- crypto 3.0.3 [typed_data]
- crypto_keys 0.3.0+1 [pointycastle meta collection quiver]
- csslib 1.0.0 [source_span]
- dart_style 2.3.2 [analyzer args path pub_semver source_span]
- dart_vlc 0.4.0 [flutter dart_vlc_ffi path audio_video_progress_bar]
- dart_vlc_ffi 0.2.0+1 [ffi path]
- dbus 0.7.8 [args ffi meta xml]
- desktop_drop 0.4.4 [flutter flutter_web_plugins cross_file]
- device_info_plus_platform_interface 7.0.0 [flutter meta plugin_platform_interface]
- diacritic 0.1.4
- diff_match_patch 0.4.1
- drift 2.13.0 [async convert collection js meta stream_channel sqlite3 path]
- extended_image 8.1.1 [extended_image_library flutter meta]
- extended_image_library 3.6.0 [crypto flutter http_client_helper js path path_provider]
- ezanimation 0.6.0 [flutter]
- fake_async 1.3.1 [clock collection]
- ffi 2.1.0
- ffmpeg_kit_flutter_platform_interface 0.2.1 [flutter plugin_platform_interface]
- file_selector 1.0.1 [file_selector_android file_selector_ios file_selector_linux file_selector_macos file_selector_platform_interface file_selector_web file_selector_windows flutter]
- file_selector_android 0.5.0+4 [file_selector_platform_interface flutter plugin_platform_interface]
- file_selector_ios 0.5.1+6 [file_selector_platform_interface flutter]
- file_selector_linux 0.9.2+1 [cross_file file_selector_platform_interface flutter]
- file_selector_macos 0.9.3+3 [cross_file file_selector_platform_interface flutter]
- file_selector_platform_interface 2.6.1 [cross_file flutter http plugin_platform_interface]
- file_selector_web 0.9.2+1 [file_selector_platform_interface flutter flutter_web_plugins]
- file_selector_windows 0.9.3+1 [cross_file file_selector_platform_interface flutter]
- firebase_analytics_platform_interface 3.7.5 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.5.5+5 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_app_check_platform_interface 0.1.0+5 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_app_check_web 0.1.0+5 [_flutterfire_internals firebase_app_check_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_auth_platform_interface 7.0.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.8.6 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta]
- firebase_core_platform_interface 5.0.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.8.1 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.6.11 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 4.5.12 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 3.5.12 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_remote_config_platform_interface 1.4.11 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_remote_config_web 1.4.11 [firebase_core firebase_core_web firebase_remote_config_platform_interface flutter flutter_web_plugins js]
- fixnum 1.1.0
- flex_seed_scheme 1.4.0 [collection flutter meta]
- flutter_driver 0.0.0 [file flutter flutter_test fuchsia_remote_debug_protocol path meta vm_service webdriver async boolean_selector characters clock collection matcher material_color_utilities platform process source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api vector_math web]
- flutter_image_compress_common 1.0.3 [flutter flutter_image_compress_platform_interface]
- flutter_image_compress_macos 1.0.1 [flutter flutter_image_compress_platform_interface]
- flutter_image_compress_platform_interface 1.0.3 [flutter plugin_platform_interface cross_file]
- flutter_image_compress_web 0.1.3+2 [flutter flutter_web_plugins flutter_image_compress_platform_interface js]
- flutter_keyboard_visibility 5.4.1 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_linux flutter_keyboard_visibility_macos flutter_keyboard_visibility_web flutter_keyboard_visibility_windows flutter]
- 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_libphonenumber_android 1.0.1 [flutter flutter_libphonenumber_platform_interface]
- flutter_libphonenumber_ios 1.1.4 [flutter flutter_libphonenumber_platform_interface]
- flutter_libphonenumber_platform_interface 1.0.0 [flutter plugin_platform_interface]
- flutter_libphonenumber_web 1.0.0 [flutter flutter_web_plugins flutter_libphonenumber_platform_interface js]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math web]
- flutter_plugin_android_lifecycle 2.0.17 [flutter]
- flutter_portal 1.1.4 [collection flutter vector_math]
- flutter_staggered_grid_view 0.7.0 [flutter]
- flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math web]
- frontend_server_client 3.2.0 [async path]
- fuchsia_remote_debug_protocol 0.0.0 [process vm_service file meta path platform]
- geolocator_android 4.3.1 [flutter geolocator_platform_interface uuid]
- geolocator_apple 2.3.2 [flutter geolocator_platform_interface]
- geolocator_platform_interface 4.1.1 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.2.0 [flutter flutter_web_plugins geolocator_platform_interface]
- geolocator_windows 0.2.2 [flutter geolocator_platform_interface]
- glob 2.1.2 [async collection file path string_scanner]
- google_api_availability_android 1.0.1 [flutter google_api_availability_platform_interface]
- google_api_availability_platform_interface 1.0.1 [flutter plugin_platform_interface meta]
- google_maps 6.3.0 [js js_wrapping meta]
- google_maps_flutter_android 2.5.3 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface stream_transform]
- google_maps_flutter_ios 2.3.2 [flutter google_maps_flutter_platform_interface stream_transform]
- google_maps_flutter_platform_interface 2.4.1 [collection flutter plugin_platform_interface stream_transform]
- google_maps_flutter_web 0.5.4+2 [collection flutter flutter_web_plugins google_maps google_maps_flutter_platform_interface sanitize_html stream_transform]
- graphs 2.3.1 [collection]
- html 0.15.4 [csslib source_span]
- http 1.1.0 [async http_parser meta]
- http_client_helper 3.0.0 [http]
- http_multi_server 3.2.1 [async]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- image 4.1.3 [archive meta xml]
- image_cropper_for_web 3.0.0 [flutter flutter_web_plugins image_cropper_platform_interface js]
- image_cropper_platform_interface 5.0.0 [flutter plugin_platform_interface http]
- image_picker 1.0.4 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_linux image_picker_macos image_picker_platform_interface image_picker_windows]
- image_picker_android 0.8.8+2 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 3.0.1 [flutter flutter_web_plugins image_picker_platform_interface mime]
- image_picker_ios 0.8.8+4 [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.9.1 [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]
- io 1.0.4 [meta path string_scanner]
- jose 0.3.4 [crypto_keys meta typed_data x509 http http_parser asn1lib collection]
- js 0.6.7 [meta]
- js_wrapping 0.7.4 [js]
- json_annotation 4.8.1 [meta]
- libphonenumber_platform_interface 0.4.1 [flutter plugin_platform_interface]
- libphonenumber_plugin 0.3.2 [flutter flutter_web_plugins libphonenumber_platform_interface libphonenumber_web]
- libphonenumber_web 0.3.1 [flutter flutter_web_plugins js libphonenumber_platform_interface]
- lints 2.1.1
- location_platform_interface 3.1.2 [flutter plugin_platform_interface]
- location_web 4.2.0 [flutter flutter_web_plugins http_parser js location_platform_interface]
- logging 1.2.0
- lottie 2.7.0 [archive flutter path vector_math]
- matcher 0.12.16 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.5.0 [collection]
- meta 1.9.1
- mocktail 1.0.1 [collection matcher test_api]
- nested 1.0.0 [flutter]
- nm 0.5.0 [dbus]
- node_preamble 2.0.2
- octo_image 2.0.0 [flutter]
- package_config 2.1.0 [path]
- package_info_plus 4.2.0 [ffi flutter flutter_web_plugins http meta path package_info_plus_platform_interface win32]
- package_info_plus_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- path 1.8.3
- path_parsing 1.0.1 [vector_math meta]
- path_provider_android 2.2.1 [flutter path_provider_platform_interface]
- path_provider_foundation 2.3.1 [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.1 [flutter platform plugin_platform_interface]
- path_provider_windows 2.2.1 [ffi flutter path path_provider_platform_interface win32]
- permission_handler_android 10.3.6 [flutter permission_handler_platform_interface]
- permission_handler_apple 9.1.4 [flutter permission_handler_platform_interface]
- permission_handler_platform_interface 3.12.0 [flutter meta plugin_platform_interface]
- permission_handler_windows 0.1.3 [flutter permission_handler_platform_interface]
- petitparser 5.4.0 [meta]
- photo_manager 2.7.2 [flutter]
- platform 3.1.0
- plugin_platform_interface 2.1.6 [meta]
- pointer_interceptor 0.9.3+6 [flutter]
- pointycastle 3.7.3 [collection convert js]
- pool 1.5.1 [async stack_trace]
- process 4.2.4 [file path platform]
- provider 6.0.5 [collection flutter nested]
- pub_semver 2.1.4 [collection meta]
- pubspec_parse 1.2.3 [checked_yaml collection json_annotation pub_semver yaml]
- qr 3.0.1 [meta]
- rate_limiter 1.0.0
- sanitize_html 2.1.0 [html meta]
- sensors_plus 1.4.1 [flutter sensors_plus_web sensors_plus_platform_interface]
- sensors_plus_platform_interface 1.1.3 [flutter meta plugin_platform_interface]
- sensors_plus_web 1.1.2 [flutter sensors_plus_platform_interface flutter_web_plugins]
- share_plus_platform_interface 3.3.1 [cross_file flutter meta mime plugin_platform_interface path_provider uuid]
- shelf 1.4.1 [async collection http_parser path stack_trace stream_channel]
- shelf_packages_handler 3.0.2 [path shelf shelf_static]
- shelf_static 1.1.2 [convert http_parser mime path shelf]
- shelf_web_socket 1.0.4 [shelf stream_channel web_socket_channel]
- shimmer 3.0.0 [flutter]
- sky_engine 0.0.99
- sliver_tools 0.2.12 [flutter]
- source_gen 1.4.0 [analyzer async build dart_style glob path source_span yaml]
- source_helper 1.3.4 [analyzer collection source_gen]
- source_map_stack_trace 2.1.1 [path source_maps stack_trace]
- source_maps 0.10.12 [source_span]
- source_span 1.10.0 [collection path term_glyph]
- sqflite 2.3.0 [flutter sqflite_common path]
- sqflite_common 2.5.0 [synchronized path meta]
- sqlite3 2.1.0 [collection ffi js meta path]
- sqlite3_flutter_libs 0.5.17 [flutter]
- stack_trace 1.11.0 [path]
- stream_channel 2.1.1 [async]
- stream_chat 6.9.0 [async collection dio equatable freezed_annotation http_parser jose json_annotation logging meta mime rate_limiter rxdart synchronized uuid web_socket_channel]
- stream_transform 2.1.0
- string_scanner 1.2.0 [source_span]
- sync_http 0.3.1
- synchronized 3.1.0
- term_glyph 1.2.1
- test 1.24.3 [analyzer async boolean_selector collection coverage http_multi_server io js node_preamble package_config path pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel typed_data web_socket_channel webkit_inspection_protocol yaml test_api test_core matcher]
- test_api 0.6.0 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph]
- test_core 0.5.3 [analyzer async args 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 vm_service yaml test_api]
- thumblr 0.0.4 [flutter thumblr_platform_interface thumblr_macos thumblr_windows]
- thumblr_macos 0.4.0 [flutter thumblr_platform_interface]
- thumblr_platform_interface 0.3.1+1 [flutter plugin_platform_interface]
- thumblr_windows 0.0.3+1 [flutter thumblr_platform_interface path_provider]
- timing 1.0.1 [json_annotation]
- transparent_image 2.0.1
- typed_data 1.3.2 [collection]
- uni_links_platform_interface 1.0.0 [flutter plugin_platform_interface]
- uni_links_web 0.1.0 [flutter flutter_web_plugins uni_links_platform_interface]
- universal_html 2.2.4 [async csslib charcode collection html meta source_span typed_data universal_io]
- universal_io 2.2.2 [collection meta typed_data]
- url_launcher_android 6.2.0 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.2.0 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.1.0 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.1.0 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.2.0 [flutter plugin_platform_interface]
- url_launcher_web 2.2.0 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.1.0 [flutter url_launcher_platform_interface]
- uuid 3.0.7 [crypto]
- vector_graphics 1.1.9+1 [flutter vector_graphics_codec]
- vector_graphics_codec 1.1.9+1
- vector_graphics_compiler 1.1.9+1 [args meta path_parsing xml vector_graphics_codec path]
- vector_math 2.1.4
- video_player_android 2.4.10 [flutter video_player_platform_interface]
- video_player_avfoundation 2.5.1 [flutter video_player_platform_interface]
- video_player_platform_interface 6.2.1 [flutter plugin_platform_interface]
- video_player_web 2.1.1 [flutter flutter_web_plugins video_player_platform_interface]
- video_thumbnail 0.5.3 [flutter]
- vm_service 11.7.1
- wakelock_plus 1.1.3 [flutter flutter_web_plugins meta wakelock_plus_platform_interface win32 dbus package_info_plus js]
- wakelock_plus_platform_interface 1.1.0 [flutter plugin_platform_interface meta]
- watcher 1.1.0 [async path]
- web 0.1.4-beta
- web_socket_channel 2.4.0 [async crypto stream_channel]
- webdriver 3.0.2 [matcher path stack_trace sync_http]
- webkit_inspection_protocol 1.2.1 [logging]
- win32 5.0.9 [ffi]
- win32_registry 1.1.2 [ffi win32]
- x509 0.2.4 [asn1lib quiver crypto_keys]
- xdg_directories 1.0.3 [meta path]
- xml 6.3.0 [collection meta petitparser]
- yaml 3.1.2 [collection source_span string_scanner]

@drklrd56
Check this issue and underlying comments and see if it helps in your case or not.

I will test the fix mentioned there. I will notify once I have tested it.

If you expand Flutter dependencies mentioned in the issue and search for firebase_core_web, you can see that I am on the latest version of the package (v.2.8.1). According to the change log of the package, SDK was update to v.10.3.1 in v.2.8.0 so that closing comment mentioned in the issue doesn't resolve my issue.
Also I updated my firebase dependencies to the latest versions, deployed my web app and tested again. But the issue is still there.

@drklrd56 Check this issue and underlying comments and see if it helps in your case or not.

@drklrd56
Is the issue occuring only if you deploy to a host or also locally in debug mode ?

@darshankawar same issue in local debug mode

User should be logged in to my app during initial page loads, but I get an App Check error instead and the user credentials are wiped out from the local storage

@drklrd56 Revisiting the issue again, the user credentials being wiped out after you are closing the tab and restarting, in chrome debug, it is expected since the browser is starting from a clean state. Also, to have the state to be persisted locally you need to keep the same port between restarts.

but I am am using the same port 8080 for local debugging.. local storage is maintained.

@darshankawar

@darshankawar
As there has been no reply from the firebase team. I did my own debugging into firebase packages and found the issue. The MR to resolve this will not work for the initial page load issue because even if we move the app check service initialization before every other firebase service, if the service initializer skips its activation then we are on ground zero, that is no app-check-token in the headers and the request will result in 401.
If we look in the ensurePluginInitialized function for app check package it reads the recaptchaType and recaptchaSiteKey from the session storage and if these variables are not in the session storage it does not call the activate function.
That is our issue, I added a print state at the top of my main function that check the session storage when the app starts and at that time there are no key-value pairs for recaptchaType and recaptchaSiteKey in the session storage. They are added much later after the initial user fetch call has been sent and the user is signed out on 401 error.

I added a way around in my main.dart that check if the recaptchaType and recaptchaSiteKey key-value pairs are present in my session storage if not then it writes them to the session storage. Doing this does not affect the firebase app flow because the app check can just rewite the session storage later and it will not cause it to throw an error.

I added the way around, tested the app in local debug mode and after deployment and the initial page load issue was resolved. As this is just a way around the issue, I expect the firebase team to at least resolve it in the app check package initialization code.

Hi @drklrd56, sorry for getting to this late.
Labeling based on the report shared above as I do not have a firebase project capable of reproducing this atm

Sorry for the late reply.. @danagbemava-nc
You don't need to do anything different on the flutter project.

Create a firebase app on console enable authentication and enable app check
Create a flutter project and add firebase authentication and firebase app check.
Add a button to login using email and password and a logout button.  The login button should disappear if the user is loggedIn. That's it.
Create a build for the app and deploy and then go to website, login, close the page, revisit the page. You will be able to reproduce the issue.
If you are using localhost. launch the app in using flutter run, login, copy the localhost url and paste it load the app in another tab. You will be able to reproduce the issue.

@drklrd56, what I meant was, I can't enable app_check for auth on my current firebase projects

Here's a write-up I did on the same issue before finding this issue. Perhaps it can help with implementation of a fix: #12199

I believe this issue is now fixed with the latest version of firebase_auth / firebase_auth_web. You can see https://github.com/firebase/flutterfire/issues/12452

I believe this issue is now fixed with the latest version of firebase_auth / firebase_auth_web. You can see #12452

No, it's still happened:
firebase_core: ^3.6.0
firebase_auth: ^5.3.1
firebase_app_check: ^0.3.1+4

authors: OutdatedGuy T-P-F danagbemava-nc darshankawar drklrd56 tamirrab


text:
[𝙵𝚄𝙻𝙻 𝙽𝙾𝚆@𝚂𝙴𝚇]Balthazar Wife Video Link Download

24 sec ago
🟢 ➤🌐 Click Here To link (Full Viral Video Link)
🔴 ➤►DOWNLOAD👉👉 (Full Viral Video Link)
🟢 ➤🌐 Click Here To link (Full Viral Video Link)
Social media has been buzzing with rumors surrounding a private video allegedly featuring actress Oviyaa. Several users are circulating screenshots they claim are from the video, igniting widespread speculation and discussion across platforms.
However, many believe that the video might be a deepfake—a digitally manipulated video designed to deceive. Oviyaa has not yet commented or issued any statement regarding the rumors. Some netizens have also shared intimate scenes from her Tamil movie “90 ML,” further adding to the confusion. Fans of the actress are urging others not to spread or share the video.
This incident mirrors a similar situation involving Bollywood actress Urvashi Rautela a few months ago. A video, purported to be a private clip, turned out to be a scene from her film Ghuspaithiye. Responding to the misunderstanding, Rautela expressed her initial distress but clarified that it was not a personal video, emphasizing that no woman should have to go through such an ordeal.
Oviyaa, known for her work in Tamil and Malayalam cinema, gained recognition with the romantic comedy Kalavani (2010) and followed it with notable roles in films like Marina (2012) and Moodar Koodam (2013). She also appeared in the hit horror-comedy Yaamirukka Bayamey (2014). Oviyaa became widely popular after participating in the first season of Bigg Boss Tamil in 2017, where she earned a large fanbase despite leaving the show early.
As the controversy unfolds, her supporters continue to appeal for caution and empathy, asking people to avoid sharing unverified or sensitive content.
Oviya reacts to the private video leak; Says, 'Next time bro'
Oviya Leaked Trends On Social Media Amid Her Private Video Goes Viral
Oviya Video Oviya Leaked Video Oviya priva...
Oviya Video Oviya Leaked Video Oviya private video Oviya MMS Bigg Boss Tamil fame Oviya · devafcee. Astronaut · 3m ago in. Galaxy S24.
Private Videos Leaked? Actress Says 'Enjoy'
This social media user commented “A 17-second video of you has leaked madam” and Oviya replied “Enjoy”. She even reacted to a couple of ...
Oviya's Shocking Reply To Private Video Leaked Issue ...
oviya''s latest video has taken social media by storm, captivating viewers and sparking widespread discussions. This young digital creator has garnered ...
+SEX MMS clip Oviya private video leaked ? Social media ...
SEX MMS clip Oviya private video leaked ? Social media abuzz with rumours actress, Posts: 0, Last Post: Oct 12, 2024 - 6:40 PM ...
ZWATCH.VIDEOS Oviya Leaked Video On Social Media X ...
VIDEOS Oviya Leaked Video On Social Media X Twitter

14

@##@#@#

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
@##@#@#

.
.
@##@#@#

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
@##@#@#

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
@##@#@#

.
.
sds

source: gharchive/issue

repo: firebase/quickstart-android

license_type: permissive

license_source: github-api


text:
Returning TransactionResult.Abort() does not run continuation

Explained through comments in simplified code example:
DataManager.ModifyCoinsBy(-GameManager.ReviveCostInCoins, task =>
{
    if (!(task.Exception != null || task.IsCanceled || task.IsFaulted || task.Result == null || task.Result.Value == null || !task.Result.Exists || !task.IsCompleted))
    {
    	// Success
    }
    else
    {
    	// Failure
    }
});

internal static void ModifyCoinsBy(int amount, Action<Task<DataSnapshot>> continueWith = null)
{
    coinsReference.RunTransaction(data =>
    {
        if (Convert.ToInt32(data.Value) + amount >= 0)
        {
            data.Value = Convert.ToInt32(data.Value) + amount;
            return TransactionResult.Success(data);
        }

        // Calling this does not run continueWith.
        return TransactionResult.Abort();
    }).ContinueWith(continueWith);
}

I tried RunTransaction() using latest Firebase SDK (5.2.1) with Unity 2017.3.1 both in editor and on Android.  However, I cannot reproduce this issue.
Could you provide the following information?

Firebase SDK verion
Unity version
Problematic platform (ex. run in editor, Android or iOS)

Thank you,
Shawn

Hi there. I'm using Firebase SDK version 5.2.1, Unity 2018.2.5f1, and running on an Android device (LG G6). I'm also using Mono and .NET 3.5.

Could you try to catch exception in your continuation function?
DataManager.ModifyCoinsBy(-GameManager.ReviveCostInCoins, task =>
{
    Debug.Log("Continuation called!");
    try {
        if (!(task.Exception != null || task.IsCanceled || task.IsFaulted || task.Result == null || task.Result.Value == null || !task.Result.Exists || !task.IsCompleted))
        {
            // Success
        }
        else
        {
    	    // Failure
        }
    } catch (Exception e) {
        Debug.LogException(e);
    }
});

Long story short, I guess the continuation function actually was called.  However,  it throws exception when you try to access task.Result.
https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1.result?view=netframework-4.7.2
If you do nothing in those "// Success" and "// Failure" block, it should not fail.  However, I wonder what is in that "// Failure" block.
Let me know if this work.
Shawn

@chkuang-g Interesting... I commented out my code and the success and failure blocks get called appropriately. So it must be something in my code causing the issue.

authors: chkuang-g exzizt

repo: firebase/quickstart-unity

license_source: bigquery


text:
Automatically enter container if build failed

It would be great if gitlab-ci-local would automatically enter the container if a build failed, to allow for a post-mortem analysis.

Yeah, or brings up a dialog (Y/n) to docker exec -it into it.

This doesn't seem to be a particularly active issue. I'm closing for now.
Anyone finding this feel free to reopen.

authors: Flowdalic firecow

repo: firecow/gitlab-ci-local

license: MIT


text:
not exist "TamperProtection"

there is a screepshot.
[+] No custom profile is provided...
[+] Checking if script is running as administrator..
this is the way
[+] Checking to make sure Windows Defender Tamper Protection is disabled
Get-ItemProperty : 路径 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Features 处不存在属性 TamperProtection。
所在位置 C:\Users\Administrator\Downloads\commando-repository\commando-vm-master (1)\commando-vm-master\install.ps1:285
字符: 7

if (Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows Defend ...

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidArgument: (TamperProtection:String) [Get-ItemProperty]，PSArgumentException

FullyQualifiedErrorId : System.Management.Automation.PSArgumentException,Microsoft.PowerShell.Commands.GetItemPr
opertyCommand
Tamper Protection is off, looks good.
[+] Checking to make sure Operating System is compatible
Windows build 17763 supported.
[+] Checking if host has been configured with updates
[ERR] This machine has not been updated in the last 30 days, do you want to try installing updates automatically? Y/N

@MakeDangerousWarning did the install fail?

@MakeDangerousWarning did the install fail?

installed successfully .

repo: fireeye/commando-vm


text:
AutoGCN published

Hi
Thanks a lot for your work!
The paper AutoGCN - Towards Generic Human Activity Recognition with Neural Architecture Search has been published by IEEE (https://ieeexplore.ieee.org/document/10472042), and the code is available here: (https://github.com/DeepInMotion/AutoGCN)
It would be nice if you could update the list :)

I have updated the list. Thanks for your appreciation.
I am glad that the repository can help you.


text:
Rename port_type to protocol on rules

This will better map to what the field actually represents and improve UX for both the UI and upcoming REST API.

[ ] DB migration
[ ] UI field changes
[ ] Docs updates

refs #903

Closing since this will be changing with network policies.

repo: firezone/firezone


text:
Windows client sometimes stuck at 'signing-in' state on startup

When using the Firezone Windows client  and clicking 'Disconnect and quit Firezone', the next start of the application seems to get hung in a 'Signing In...' state.
OS Info:

Key
value

Edition
Windows 10 Pro

Version
22H2

Installed on
12/25/2021

OS build
19045.4123

Experience
Windows Feature Experience Pack 1000.19054.1000.0

To reproduce:

Start Firezone Windows client and sign-in
Click the 'Disconnect and quit Firezone' option
Restart the client
View the app stuck in the 'Signing in...' state
Attempt to click 'Cancel sign-in' (this should have no effect)
Click 'Quit Firezone'
Restart the client
Wait for 'Firezone Connected' notification to appear

@bmanifold I tried a few times and couldn't replicate it on Win 11. Can you attach logs if it replicated on your system?

I triggered the issue and then let it stay in the "Signing in...." state for a couple of minutes.  Hopefully that caught enough in the logs to help.
connlib-2024_03_01-11-51.zip

Yeah, I see an error from wintun saying it can't create a device that already exists. So maybe the old one didn't get torn down in time. I'll make a test case to replicate that.
There's also some PortalConnectionError mentioning WSAStartup, those happen when the app is already shutting down maybe they're harmless. I'm mentioning it here because it was not in Github's search index. It is mentioned in a Slack thread.

I'll close this for now as can't reproduce

We haven't seen it replicate
We don't have any leads on it
There's been a couple changes related to Tauri setup and wintun setup that may have incidentally fixed it
It should be obvious once customers start using it, if it recurs we can revisit this.

If there is a new windows client, I can try again to see if I'm still seeing it.  Out of curiosity, do we know if any of our current users are using it with Windows 10?

authors: ReactorScram bmanifold


text:
[Feature]改善api 接口，  不需要提供reference audio and text

https://notion.fish.audio/APIs-2afdd0529d72479e96834df114c16274
api 这里需要设置 ReferenceAudio
references=[
ServeReferenceAudio(
audio=open("lengyue.wav", "rb").read(),
text="Text in reference AUDIO",
)
],
作为api ，用户哪里去找和原模型一致的 音频。
使用很不方便。
能不能改成像demo 一样，
用户只要设置text 和 reference id

其实可以两种形态都支持最好。
另外，这个API接口方式，国内不翻墙也可以正常调用吗？
https://fish.audio/zh-CN/go-api/

request = ServeTTSRequest(
text="Hello, world!",
# references=[
#     ServeReferenceAudio(
#         audio=open("lengyue.wav", "rb").read(),
#         text="Text in reference AUDIO",
#     )
# ],
reference_id="7f92f8afb8ec43bf81429cc1c9199cb1",
)
改写后一直报错
{"status":401,"message":"Invalid API key"}

request = ServeTTSRequest( text="Hello, world!", # references=[ # ServeReferenceAudio( # audio=open("lengyue.wav", "rb").read(), # text="Text in reference AUDIO", # ) # ], reference_id="7f92f8afb8ec43bf81429cc1c9199cb1", )
改写后一直报错 {"status":401,"message":"Invalid API key"}

是不是没有填写API Key

request = ServeTTSRequest( text="Hello, world!", # references=[ # ServeReferenceAudio( # audio=open("lengyue.wav", "rb").read(), # text="Text in reference AUDIO", # ) # ], reference_id="7f92f8afb8ec43bf81429cc1c9199cb1", )
改写后一直报错 {"status":401,"message":"Invalid API key"}

是不是没有填写API Key

这里好容易误解， 填的token ， 要填的居然是 id

之前没及时更新文档, 在改了.jpg

#515 Change title to English.

request = ServeTTSRequest( text="Hello, world!", # references=[ # ServeReferenceAudio( # audio=open("lengyue.wav", "rb").read(), # text="Text in reference AUDIO", # ) # ], reference_id="7f92f8afb8ec43bf81429cc1c9199cb1", )
改写后一直报错 {"status":401,"message":"Invalid API key"}

reference_id="7f92f8afb8ec43bf81429cc1c9199cb1",  使用reference_id，没有效果，我声音模型是在线生成的，然后fish-speech是本地部署的，不知道和这个有没有关系

authors: SpencerZhaoQi Stardust-minus fastfading leng-yue xeoshow

repo: fishaudio/fish-speech


text:
dbt cloud release 1.1.27 changelog notes

Description & motivation
Docs PR for dbt cloud biweekly stable release 1.1.27.
Pre-release docs
Is this change related to an unreleased version of dbt?

[ ] Yes: please

update the base branch to next
add Changelog components: <Changelog>[New/Changed] in v0.x.0</Changelog>
add links to the "New and changed documentation" section of the latest Migration Guide

[x] No: please ensure the base branch is current
[ ] Unsure: we'll let you know!

I just edited the below.
dbt Cloud v1.1.27 (May 26, 2021):
A lot of improvements coming for GitLab webhooks and native auth. We also fixed a number of bugs in the IDE. Our goal is for you to never see an infinite spinner again!
Enhancements#

Add dbt v0.19.2rc1 and v0.20.0b1
Add an open/closable overlay for the DAG
Disable department dropdown
Add DAG flags, button, and tab context
Add run source freshness option to jobs
Implement conditional redirecting after GitLab app integration
Add Develop Pod Support for Rook and Ceph file storage
Show all common actions for valid top level commands

Fixed#

Fix link to documentation
Disable the "Restart IDE" Button while the IDE is loading
Continue canceling runs when we run into deleted accounts
Fix SSO re-auth page
Fix blank verify email page
Resolve git refresh regression
Fix missing "Run on Merge" button in Job creation/edit form
Warn users they have unsaved changes
Updates test command suggestions and regex for common action suggestions
Updates order of stylesheet import to fix missing border bug
Fix GitLab PR link for Run Page
Fix infinite spinner for missing environment or development credentials
Fix infinite spinner when user is missing dev credentials
Do not try to push if awaiting a merge
Fix deleting schemas
Fix favicon reference

Internal#

Fix layout issues when a user is hijacked
Add feature flag for manually_configured_git_provider
Add a space to the body navigation class
Add develop health endpoint
Migrate code, body, hr, ul, ol, img tags from tag styles to class styles
Add a React Navigation bar and control plane
Migrate headers from tag styles to class styles
Apply Prettier to all HTML
Support Chat Widget using Zendesk
Add github_personal_auth_for_enterprise feature flag
Associate Repository with GitProvider on project creation
Remove gitlab_webhooks feature flag
Conditionally render GitLab integration UI on /profile/settings for Team/Developer plans
Provision IDE for GitLab repos on Team/Dev plans
Add single-spa wrapper to dbt-cloud

hey @schottj - are you able to just update the contents of this PR and then merge? Once merged, the updates to the changelog will go right out to production!

@drewbanin done!

source: gharchive/pull-request

authors: drewbanin natty-li schottj


text:
Add integration points

I would like to get your thoughts on some possible integration points for fixie.
I've put together a small proof of concept for a automated test runner for fixie (https://github.com/JonasSamuelsson/fixie.AutoRun), you select a visual studio solution, the application then monitors the file system for changes and complies and runs the tests.

There I needed to interact with fixie which turned out to be more difficult than I think it should.
Rigth now I'm redirecting the output from the ConsoleListener in order to know which test failed/passed but what I would like to do is;

create a named pipe wcf endpoint in my application (with a random uri so I can have multiple instances running in the same time)
provide my own listener implementation (that knows the addresss to my callback endpoint) to fixe
when a test is executed the listener calls back in to my application with the result.

Aside from this I have identified a couple of concepts that would like to see in fixie
Listener
Add a cases discovered method
Provide custom listener implementations
Implementation
interface Listener
{
    // existing methods
    void CasesDiscovered(IEnumerable<Case> cases)
}

Usage
fixie.console.exe -listener <assembly-qualified-name> [args...]

Convention
Specify which convention to use. This way fixie could be used to execute tests build with any test framework without modifying the test assembly.
Conventions could be provided out of the box or developed by the community.
Usage
fixie.console.exe test-assembly.dll -convention:nunit
fixie.console.exe test-assembly.dll -convention <assembly-qualified-name> [args...]

TestMethodFilter
Fixie.Runner currently have a set of methods to filter out test methods (RunAssembly, RunNamespace, RunMethod) but this should be extracted to an interface so you can combine filters and build your own.
There could be some out of the box filters available in fixie
Implementation
interface TestMethodFilter
{
    bool IsMatch(TestMethod method);
}

class TestMethod
{
    public TestMethod(MethodInfo methodInfo, IEnumerable<Tag> tags)
    {
        Method = method;
        Tags = tags;
    }

    public MethodInfo Method { get; private set; }
    public IEnumerable<Tag> Tags { get; privte set; }
}

Usage
fixie.console.exe test-assembly.dll -filter:namespace App.Some.Namespace
fixie.console.exe test-assembly.dll -filter <assembly-qualified-name> [args...]

CaseComparer
This way it would be able to change the test execution order without modifying the actual convention
It would then be easy to support a scenario like http://ayende.com/blog/165922/tweaking-xunit
Implementation
implements IComparer<Case>

Usage
fixie.console.exe test-assembly.dll -comparer <assembly-qualified-name> [args...]

Report
Makes it possible to generate custom reports
Implementation
interface Report
{
    void GenerateReport(ExecutionResult result);
}

Usage
fixie.console.exe test-assembly.dll -report:nunit nunit-report.xml
fixie.console.exe test-assembly.dll -report <assembly-qualified-name> [args...]

The Fixie 2.0 model is quite different.  Communication with 3rd party tools happens over a named pipe interprocess communication protocol.

It now provides test method discovery events, similar to your CasesDiscovered proposal.
We thoroughly regretted supporting more than one convention in a test assembly, both in the complexity it introduced in people's test projects and in the complexity of Fixie's implementation, so that is no longer supported. (If someone really, really wanted two different styles of tests, they can still accomplish that end result with a single convention that has a little more conditional logic in it). So your proposed --convention argument no longer applies as a built-in. Someone might use a custom command line argument, though, to affect their convention's discovery and execution behavior.
I plan to revisit the idea of a --filter argument similar to Jest, but I want some upcoming ReSharper work to help inform the requirements.
The sorting example you link to could still be done by a convention. The real meat of the custom work would be on the storing/loading of past durations.  I've added #184 as a prerequisite though.  Note that no matter what, each class needs to run as a single unit. The best one could do is sort by worst offending class, and then within that class sort by worst offending method.

authors: JonasSamuelsson plioi

repo: fixie/fixie

license: mit


text:
spike_in: "TRUE"

Hi, I've been trying to normalize with spike in, setting "spike_in": "TRUE". This doesn't seem to work however, and there is no spike_in output directory created.
Should I be setting "spike_in" as TRUE? or something else?

If you would like to perform spike-in norm, make sure that:
you have valid setting of "spike_in_bt2idx" and "spike_in_sequence", and specify "spike_in" and "spike_in_norm" as "TRUE" in the meantime

There is a discrepancy in bulk-config.json and bulk-pipeline.sh that can be corrected by editing bulk-pipeline.sh
In bulk-config.json "spike_in" is used, however bulk-pipeline.sh uses "spike_in_align". If you edit bulk-pipeline.sh to read "spike_in" rather than "spike_in_align" this fixes the problem.

Good catch! Thank you for your feedback!


text:
Windows binary

Dear @flanglet,
Could you be so kind to generate .exe for the rest of us who are mere Windows users w/o compiler?

I attached an executable built on Windows with mingw. It requires the 3 DLLs at runtime.
I can generate an executable from Visual Strudio but I do not have recent versions of the compiler and the binary may not be fully optimized.

@flanglet, I appreciate you responding so quickly!
VS binary is more portable, a single file, so it is preferred over anything else, no matter how optimized.

I removed the mingw based executable and uploaded a msvc based one with no dependencies.

@flanglet, I confirm that launch is possible on Windows 7, but am confused on how to use it.
Consider adding some “Quick start” section to the front page or at least to the wiki with a few basic commands.

Will do.

Updated the WIKI.

authors: flanglet sergeevabc

repo: flanglet/kanzi-cpp


text:
missing formats due to AUF1 API change

last successful download 13.dez.2023
hey, They changed their API again 😒
Linux xxxxxxxxxx 5.15.131-1-pve #1 SMP PVE 5.15.131-2 (2023-11-14T11:32Z) x86_64 GNU/Linux

yt-dlp -v https://auf1.tv/das-grosse-interview/alice-weidel-in-deutschland-wird-politik-gegen-das-deutsche-volk-gemacht
[debug] Command-line config: ['-v', 'https://auf1.tv/das-grosse-interview/alice-weidel-in-deutschland-wird-politik-gegen-das-deutsche-volk-gemacht']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.11.16 from yt-dlp/yt-dlp [24f827875] (pip)
[debug] Python 3.9.2 (CPython x86_64 64bit) - Linux-5.15.131-1-pve-x86_64-with-glibc2.31 (OpenSSL 1.1.1w  11 Sep 2023, glibc 2.31)
[debug] exe versions: ffmpeg 4.3.6-0, ffprobe 4.3.6-0, phantomjs broken, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, pyxattr-0.7.2, requests-2.31.0, secretstorage-3.3.3, sqlite3-3.34.1, urllib3-2.1.0, websockets-10.2
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Extractor Plugins: Auf1IE, Auf1RadioIE, PmWissenIE, PmWissenSearchIE, ServusSearchIE, ServusTVIE
[debug] Plugin directories: ['/usr/local/lib/python3.9/dist-packages/yt_dlp_plugins']
[debug] Loaded 1907 extractors
[auf1] Extracting URL: https://auf1.tv/das-grosse-interview/alice-weidel-in-deutschland-wird-politik-gegen-das-deutsche-volk-gemacht
[auf1] alice-weidel-in-deutschland-wird-politik-gegen-das-deutsche-volk-gemacht: Downloading JSON metadata
ERROR: [auf1] alice-weidel-in-deutschland-wird-politik-gegen-das-deutsche-volk-gemacht: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1567, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1723, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1782, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 2751, in process_video_result
    self.raise_no_formats(info_dict)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1076, in raise_no_formats
    raise ExtractorError(msg, video_id=info['id'], ie=info['extractor'],
yt_dlp.utils.ExtractorError: [auf1] alice-weidel-in-deutschland-wird-politik-gegen-das-deutsche-volk-gemacht: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

Apparently the download links were migrated to a different hoster.
Please try the currently updated plugin version 2023.12.18.

BIG Thanks!
It works again :)
I hope it wasn't too much work.
Latest version: stable@2023.11.16 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2023.11.16 from yt-dlp/yt-dlp)
root@XXXXXXXXXX:~# yt-dlp -Uv https://auf1.tv/nachrichten-auf1/berliner-kommentar-politisch-motiviert-plagiats-vorwuerfe-gegen-alice-weidel
[debug] Command-line config: ['-Uv', 'https://auf1.tv/nachrichten-auf1/berliner-kommentar-politisch-motiviert-plagiats-vorwuerfe-gegen-alice-weidel']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.11.16 from yt-dlp/yt-dlp [24f827875] (pip)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-6.5.11-7-pve-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, requests-2.31.0, sqlite3-3.37.2, urllib3-2.1.0, websockets-11.0.3, xattr-0.9.7
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Extractor Plugins: Auf1IE, Auf1RadioIE, DTubePluginIE, DTubeQueryPluginIE, DTubeSearchPluginIE, DTubeUserPluginIE, PmWissenIE, PmWissenSearchIE, ServusSearchIE, ServusTVIE
[debug] Plugin directories: ['/usr/local/lib/python3.10/dist-packages/yt_dlp_plugins']
[debug] Loaded 1911 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2023.11.16 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2023.11.16 from yt-dlp/yt-dlp)
[auf1] Extracting URL: https://auf1.tv/nachrichten-auf1/berliner-kommentar-politisch-motiviert-plagiats-vorwuerfe-gegen-alice-weidel
[auf1] berliner-kommentar-politisch-motiviert-plagiats-vorwuerfe-gegen-alice-weidel: Downloading _payload.json
[auf1] berliner-kommentar-politisch-motiviert-plagiats-vorwuerfe-gegen-alice-weidel: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] berliner-kommentar-politisch-motiviert-plagiats-vorwuerfe-gegen-alice-weidel: Downloading 1 format(s): 5000
[debug] Invoking hlsnative downloader on "https://vz-0b49e78d-475.b-cdn.net/c1c0870a-b6e5-420e-bea7-c73cf1d94c85/1920x1080/video.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 38
[download] Destination: Berliner Kommentar： Politisch motiviert？ Plagiats-Vorwürfe gegen Alice Weidel [berliner-kommentar-politisch-motiviert-plagiats-vorwuerfe-gegen-alice-weidel].mp4
[download] 100% of  101.81MiB in 00:00:01 at 62.21MiB/s
[debug] ffprobe command line: ffprobe -hide_banner -show_format -show_streams -print_format json 'file:Berliner Kommentar： Politisch motiviert？ Plagiats-Vorwürfe gegen Alice Weidel [berliner-kommentar-politisch-motiviert-plagiats-vorwuerfe-gegen-alice-weidel].mp4'
[debug] ffmpeg command line: ffprobe -show_streams 'file:Berliner Kommentar： Politisch motiviert？ Plagiats-Vorwürfe gegen Alice Weidel [berliner-kommentar-politisch-motiviert-plagiats-vorwuerfe-gegen-alice-weidel].mp4'
[FixupM3u8] Fixing MPEG-TS in MP4 container of "Berliner Kommentar： Politisch motiviert？ Plagiats-Vorwürfe gegen Alice Weidel [berliner-kommentar-politisch-motiviert-plagiats-vorwuerfe-gegen-alice-weidel].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Berliner Kommentar： Politisch motiviert？ Plagiats-Vorwürfe gegen Alice Weidel [berliner-kommentar-politisch-motiviert-plagiats-vorwuerfe-gegen-alice-weidel].mp4' -map 0 -dn -ignore_unknown -c copy -f mp4 -bsf:a aac_adtstoasc -movflags +faststart 'file:Berliner Kommentar： Politisch motiviert？ Plagiats-Vorwürfe gegen Alice Weidel [berliner-kommentar-politisch-motiviert-plagiats-vorwuerfe-gegen-alice-weidel].temp.mp4'

authors: BergbauerSepp flashdagger

repo: flashdagger/ytdlp-plugins

license: Unlicense


text:
Are there Decorators to name a Method in  Resource class?

I hope the title gets the thing i want to do here.
lets say i define a custom Resorce like so
class ApiProduct(Resource):

    def get(self, id):
        product = ProductRepository.get_product_by_id(id)
        return jsonify(product)

    def undo_delete(self, id):
        ProductRepository.undo_delete_product(id)
        product =ProductRepository.get_product_by_id(id)
        if(product.Deleted == False):
            return '', 204
        return 404

and what i am looking for is more or less a way to make undo_delete available with a other name to the Request. So is there a existing decorator that does that, so undo_delete becomes a undodelete for the supported request methods?

Resource is a fancy wrapper for MethodView from Flask, so a resource is just a collection of methods that respond to HTTP verbs. You can't map the verbs to methods in any way other than naming the method post or get, etc.
Flask 2.x can sortof do this now though:
@app.delete('/foo')
def delete_foo():
    pass

ok thanks,
i can live with that, and having  methods named like some_thing is ok for me
cheers
Markus

authors: joshfriend rosjat

repo: flask-restful/flask-restful


text:
upgraded flutter version to v3.13.5

It will also remind you to update your sdk as well .

Thank you for the PR, but I also need to update the pipelines to upgrade the flutter version see https://github.com/fleetingnotes/fleeting-notes-flutter/pull/943

repo: fleetingnotes/fleeting-notes-flutter


text:
Placement of FloatingActionButton in Flutter Widget

The placement of the FloatingActionButton should be at the bottom right like in the first screenshot. Here flet is running on desktop.
Using the flet widget in a flutter app, running on android, the button is placed at the top (second screenshot).

How do you test it on Android? Is it web or native app?

Flet is running as a webserver.

authors: FeodorFitsner JayKyne

repo: flet-dev/flet


text:
Add Image from File and Memory ( from bytes )

Image for file
f = open("path)
page.add(Image(src=f)

Add also binary image example base64 image

Do I understand correctly that you would like the convenience of not having to do the base64 encoding yourself if Image is given a file-like object?

@FeodorFitsner, I can take this is you are happy with the approach that src accepts either a str or a file-like object?

File-like object sounds like a great idea. The question is should we save it to "assets" under temp name and use that URL or convert to base64 and push through WebSocket? What would be more effective?

My quick take is that converting it to base64 means that the file only comes from disk and then goes over the WebSocket ("2 transfers"), but with the asset approach we might take it from disk, save it to disk, and send it over the network ("3 transfers"). Of course the first also has the base64 encoding, but I have grown up thinking that that kind of CPU operation is always faster than going over the network. 🤷🏻♂
Well, maybe that is splitting hairs a bit too much, and my main argument would be just against saving temp files to assets, as that seems "not neat".

Ok, so how about:
src accepts str or file-like, and saves the file-like to assets, src_base64 accepts bytes or file-like to be base64 encoded, with warning in the docs about the file size (if not already there). Or is this getting too fancy?
Alternative could be e.g. src_file, which could decide which method to use based on the file size (or just use assets for everything).

I say that how to display bit image

Closing in favour of https://github.com/flet-dev/flet/issues/651

authors: FeodorFitsner fabio56 mikaelho


text:
4 character long sessionId will crash any Flet app

Description
There seems to be a major bug that forces a Flet web aplication to crash , if you modify the sessionId to a 4 character long string.
A threat actor with malicious intent could use this to crash a hosted Flet aplication.
Code example to reproduce the issue:
Im using the todo.py example code provided at https://github.com/flet-dev/examples/blob/main/python/apps/todo/todo.py.
I only modified so it can be can be runed in a Web Browser by changing the last line of code.
Code example
import flet
from flet import (
    Checkbox,
    Column,
    FloatingActionButton,
    IconButton,
    OutlinedButton,
    Page,
    Row,
    Tab,
    Tabs,
    Text,
    TextField,
    UserControl,
    colors,
    icons,
)

class Task(UserControl):
    def __init__(self, task_name, task_status_change, task_delete):
        super().__init__()
        self.completed = False
        self.task_name = task_name
        self.task_status_change = task_status_change
        self.task_delete = task_delete

    def build(self):
        self.display_task = Checkbox(
            value=False, label=self.task_name, on_change=self.status_changed
        )
        self.edit_name = TextField(expand=1)

        self.display_view = Row(
            alignment="spaceBetween",
            vertical_alignment="center",
            controls=[
                self.display_task,
                Row(
                    spacing=0,
                    controls=[
                        IconButton(
                            icon=icons.CREATE_OUTLINED,
                            tooltip="Edit To-Do",
                            on_click=self.edit_clicked,
                        ),
                        IconButton(
                            icons.DELETE_OUTLINE,
                            tooltip="Delete To-Do",
                            on_click=self.delete_clicked,
                        ),
                    ],
                ),
            ],
        )

        self.edit_view = Row(
            visible=False,
            alignment="spaceBetween",
            vertical_alignment="center",
            controls=[
                self.edit_name,
                IconButton(
                    icon=icons.DONE_OUTLINE_OUTLINED,
                    icon_color=colors.GREEN,
                    tooltip="Update To-Do",
                    on_click=self.save_clicked,
                ),
            ],
        )
        return Column(controls=[self.display_view, self.edit_view])

    def edit_clicked(self, e):
        self.edit_name.value = self.display_task.label
        self.display_view.visible = False
        self.edit_view.visible = True
        self.update()

    def save_clicked(self, e):
        self.display_task.label = self.edit_name.value
        self.display_view.visible = True
        self.edit_view.visible = False
        self.update()

    def status_changed(self, e):
        self.completed = self.display_task.value
        self.task_status_change(self)

    def delete_clicked(self, e):
        self.task_delete(self)

class TodoApp(UserControl):
    def build(self):
        self.new_task = TextField(
            hint_text="What needs to be done?",
            on_submit=self.add_clicked,
            expand=True)
        self.tasks = Column()

        self.filter = Tabs(
            selected_index=0,
            on_change=self.tabs_changed,
            tabs=[Tab(text="all"), Tab(text="active"), Tab(text="completed")],
        )

        self.items_left = Text("0 items left")

        # application's root control (i.e. "view") containing all other controls
        return Column(
            width=600,
            controls=[
                Row([Text(value="Todos", style="headlineMedium")], alignment="center"),
                Row(
                    controls=[
                        self.new_task,
                        FloatingActionButton(icon=icons.ADD, on_click=self.add_clicked),
                    ],
                ),
                Column(
                    spacing=25,
                    controls=[
                        self.filter,
                        self.tasks,
                        Row(
                            alignment="spaceBetween",
                            vertical_alignment="center",
                            controls=[
                                self.items_left,
                                OutlinedButton(
                                    text="Clear completed", on_click=self.clear_clicked
                                ),
                            ],
                        ),
                    ],
                ),
            ],
        )

    def add_clicked(self, e):
        if self.new_task.value:
            task = Task(self.new_task.value, self.task_status_change, self.task_delete)
            self.tasks.controls.append(task)
            self.new_task.value = ""
            self.new_task.focus()
            self.update()

    def task_status_change(self, task):
        self.update()

    def task_delete(self, task):
        self.tasks.controls.remove(task)
        self.update()

    def tabs_changed(self, e):
        self.update()

    def clear_clicked(self, e):
        for task in self.tasks.controls[:]:
            if task.completed:
                self.task_delete(task)

    def update(self):
        status = self.filter.tabs[self.filter.selected_index].text
        count = 0
        for task in self.tasks.controls:
            task.visible = (
                status == "all"
                or (status == "active" and task.completed == False)
                or (status == "completed" and task.completed)
            )
            if not task.completed:
                count += 1
        self.items_left.value = f"{count} active item(s) left"
        super().update()

def main(page: Page):
    page.title = "ToDo App"
    page.horizontal_alignment = "center"
    page.scroll = "adaptive"
    page.update()

    # create application instance
    app = TodoApp()

    # add application's root control to the page
    page.add(app)

flet.app(target=main, view=flet.WEB_BROWSER, port=9090)

Im also running it inside Docker like this:
FROM python:3.8-slim
WORKDIR /app
RUN pip3 install flet==0.3.2
EXPOSE 9090
COPY todo.py /app
CMD ["python3","todo.py"]

Describe the results you received:
After modifying the sessionId , the Flet aplication crashed and becomes unusable , forcing the user to restart it.
Im modifying the sessionId using Google Chrome dev tools . In this case i replaced it to abcd
See the following video:
https://user-images.githubusercontent.com/21143405/215276857-5836f84a-e983-4ee3-a1ae-216c1133808d.mp4
Describe the results you expected:
An exception should be thrown if the sessionId is invalid saying:
error decrypting request.SessionID invalidsessionid from 172.17.0.1: base64 decode failed

See the following video:
https://user-images.githubusercontent.com/21143405/215276903-60a97dad-f02f-466b-afc0-939dda7f8412.mp4
Additional information you deem important (e.g. issue happens only occasionally):
It seems that it only happends if the sessionId is exactly 4 characters long.
Flet version (pip show flet):
Name: flet
Version: 0.3.2
Summary: Flet for Python - easily build interactive multi-platform apps in Python
Home-page:
Author:
Author-email: Appveyor Systems Inc. <hello@flet.dev>
License: MIT
Location: /usr/local/lib/python3.8/site-packages
Requires: beartype, oauthlib, packaging, repath, requests, watchdog, websocket-client
Required-by:

Operating system:
Linux (Docker)

Thanks, will take a look!

authors: FeodorFitsner jboirazian


text:
Unchanged validation object for columns generates new migrations

When there is a validate object defined, even though nothing has changed for any column, any table. A change will be detected.

Put in a similar PR to fix this bug in this repo - https://github.com/manuelvillar/sequelize-auto-migrations-ng/pull/18

For me this happens only when using a custom validation function, but the built-in rules do not trigger a change detection.

authors: Scimonster jihokoo

repo: flexxnn/sequelize-auto-migrations


text:
flight.base_url not taken into account for routes

A request to /base/books would not be successfully handled by the following setup
Flight::set('flight.base_url', '/base');
Flight::route('/books', function() {});

What is your server configuration and folder structure like? Where are you placing your index.php file?

I am not quite sure about your question.
You just need to drop the code above into an empty file, route all /base requests to this file and you will notice how it does not work.
My point is that base_url is only used for redirects (Engine._redirect()) but not for anything else such as routes.

Makes sense... I would suggest to add a new option e.g. flight.base_route.

Combination of flight.base_url and flight.base_route could work, but would be nice to handle files moved to a subdirectory globally by a path prefix used for routes, views, ...

index.php
-- core
--- flight
-- site
--- views
--- assets
--- ???

So files and routes inside of site should be handled by a global "site" prefix
Flight::set('flight.path_prefix', 'site');
Flight::set('flight.views.path', 'views');  // = default

So render('home', [...]) should load the view site/views/home.php.
It would also help to route assets like JS, CSS or images from a subdirectory.

I just tested this myself and it is working as expected.

repo: flightphp/core


text:
[Bug] (Python) Client SDK fails to recover after flipt server restarts

Problem
Flag evaluation on client SDK continues to fail, even after the flipt server has been restarted. Server logs show that the client SDK is polling/fetching flags, but the evaluation call doesn't recover.
Steps to Reproduce

Spin up a flipt server like so:

docker run -p 8080:8080 -v ./flipt-data:/var/opt/flipt docker.flipt.io/flipt/flipt:latest

Add a flag my-flag.

Run the following python client

from time import sleep

from flipt_client import ClientOptions, FliptEvaluationClient

client = FliptEvaluationClient(opts=ClientOptions(update_interval=2))

while True:
    try:
        res = client.evaluate_boolean("my-flag", entity_id="1337")
        print(res)
    except Exception as e:
        print(e)
    sleep(1)

Observe that the python client works as expected, printing the evaluation result every second

Stop the flipt server

Observe the python client correctly logging the following error

server error: failed to make request: Request failed after 3 retries

Restart the flipt server

⚠  Despite the flipt server showing incoming fetch requests from the python SDK, the python client continues to fail with the same error message ⚠

Expected Behaviour
The client SDK should successfully recover and resume normal operation once the flipt server is back online
Nasty Workaround
Wrap evaluate_boolean and evaluate_variant function, handle the (generic) exception and re-initialize FliptEvaluationClient
Environment

flipt-client version 0.13.0
Python 3.12
MBP M2 Pro, macOS 15.2
Flipt server:

Version: v1.51.1
Commit: 7d46879a4ba113916a3901cec7dbf0189db8fc90
Build Date: 2024-11-05T22:18:52Z
Go Version: go1.23.2
OS/Arch: linux/arm64

Additional Notes
Happy to help if further clarification or testing is needed! 😄

Hey @andi4000
Thanks for raising this issue. Currently this is 'expected' behavior as we chose to not retry indefinitely on failed requests and chose a max of 3 retries. I realize that those 3 attempts happen in rather quick succession so in the case that the Flipt server dies and then is restarted the 3 attempts have likely already happened.
We could instead make this retry policy configurable from the Client perspective as well as increase the number of max_retries, or instead go with a max_retry_duration instead by default. So for example we could set it to retry for up to an hour or something with exponential backoff.
what would work best in your case?

@andi4000 we just released Python SDK v0.13.1 that should fix this. Can you give it a try and lmk? thank you!

@markphelps I tested the new update, and it now works as expected! With code above, the client SDK recovers once flipt server is back. Thank you for the great work! ❤

repo: flipt-io/flipt-client-sdks


text:
test: run test suite in CI

Fixes #367

Depends on;

#387
#384

Does this now work? 😮 🚀 ?

Does this now work? 😮 🚀 ?

It should

repo: flix/vscode-flix


text:
AssumeRole and sts

Hey thanks for the good work so far!
In your example video, you describe how to use sts to assume a role and use awsinfo for a subaccount. But it seems sts command is not included at all?
How would I assume a role and query stuff for a sub account then?

Hi, it was moved to the Assume Command: https://github.com/flomotlik/awsinfo/tree/master/scripts/commands/assume
There is also assume role for assuming a specific role and assume token for getting a token with MFA. Hope this helps. Need to update the video

Yep works like a charm. Thx for clarification - was confused because of the video and didn't check the other commands 🙈

Yeah I'm constantly updating the commands, so definitely pays off to regularly pull the latest container and check the docs. I need to start promoting this more in the future, but now that the tool suite is more comprehensive that is coming.

authors: flomotlik goosefraba

repo: flomotlik/awsinfo


text:
Update redux-actions Reducer definition

This is needed to match redux definitions changed in v2.4.0.
State can be S or void.
Resolves issue #1963

@dignite Seems the change is causing the specs to fail, we can't merge this in until they pass.

Thanks for the bump @GAntoine I hadn't noticed myself. Haven't had time to look into it yet

I don't mind, I'm a bit too new at flow and didn't manage myself in my attempts. Will check out your solution!

authors: GAntoine dignite

repo: flowtype/flow-typed


text:
Implement report.md formatting

As user whose trying out Code PushUp for the first time, I want an easy to read (i.e. not raw JSON) report after I've succesfully ran the CLI for the first time (based on getting started docs).
Based on discussion in #93
General notes

scores (0-1) formatted as Math.round(score * 100) (0-100, only integers)
links to headings have to slugify the heading text
everything that's in <details> (including <summary>) must use HTML formatting, Markdown won't be rendered
score colours:

category and groups scores are annotated with 🟢, 🟡, or 🔴
audit value and score are annotated with 🟩, 🟨, or 🟥
determined by score value:

score < 0.5 => red
0.5 <= score < 0.9 => yellow
score >= 0.9 => green

Structure

[ ] heading 1: "Code PushUp report"
[ ] intro section

[ ] Markdown table with category scores
[ ] Category cells contain title with link to category detail
[ ] Audits cells should number of referenced audits (from category refs, ref to group expanded to number of audits)

[ ] heading 2: "Categories"
[ ] categories section - lists all categories

[ ] category detail:

[ ] heading 3: category title
[ ] score
[ ] unordered list based on category refs

[ ] referenced audits:

[ ] colour based on audit's score
[ ] audit title with link to audit detail
[ ] plugin title in brackets
[ ] display value in bold - if missing, show raw value instead

[ ] referenced groups:

[ ] colour based on group's score
[ ] group title with plugin title in brackets
[ ] sub-list with all audits referenced by group

[ ] audit's formatting is the same as for those referenced by category directly (see above) - only difference is plugin title is omitted

[ ] heading 2: "Audits"
[ ] audits section - lists all audits from all plugins

[ ] audit detail:

[ ] heading 3: audit title with plugin in brackets
[ ] result summary: colour from score, display/raw value in bold, score in brackets
[ ] if audit has details with issues, result used as summary for expandable details section:

[ ] heading 4: "Issues"
[ ] table which list all issues (we only have source code issues at present)

[ ] severity - icons: error => 🚨, warning => ⚠, info => ℹ (or nothing?)
[ ] message (nice-to-have: transform MD to HTML)
[ ] source file path - file links part of #149
[ ] source file line(s) - 7 if only start line, 7-10 if both (different) start and end lines, - if no lines

[ ] audit description (if present)
[ ] link to audit docs (if present)

[ ] heading 2: "About"
[ ] Report was created by Code PushUp on DATE.

[ ] as URL, use CLI package README link for now (later: our website)
[ ] date formatted as new Date().toString()

[ ] table with metadata about the run:

[ ] commit message and truncated hash (current commit in Git) - commit links part of #149
[ ] package version
[ ] duration (formatted in seconds)
[ ] number of plugins
[ ] number of audits (in total)
[ ] number of categories

[ ] The following plugins were run:
[ ] table with metadata for each plugin:

[ ] plugin title, with link to plugin docs (if present)
[ ] number of audits (from this plugin)
[ ] plugin's package version (if present, otherwise n/a)
[ ] plugin's duration

Example
Follows below line...

Code PushUp report

🏷 Category
⭐ Score
🛡 Audits

Performance
🟢 92
5

Code style
🟡 54
12

🏷 Categories
Performance
🟢 Score: 92

🟢 Performance (Lighthouse):

🟨 Largest Contentful Paint - 1.5 s

🟥 Disallow missing key props in iterators/collection literals (ESLint) - 1 error

Code style
🟡 Score: 54

🟥 Require or disallow method and property shorthand syntax for object literals (ESLint) - 4 warnings
🟩 Require let or const instead of var (ESLint) - 0

🛡 Audits
Largest Contentful Paint (Lighthouse)
🟨 1.5 s (score: 75)
📖 Docs
Disallow missing key props in iterators/collection literals (ESLint)

🟥 1 error (score: 0)
Issues

Severity
Message
Source file
Line(s)

🚨 error
Missing "key" prop for element in iterator
src/components/TodoList.jsx
7

ESLint rule jsx-key, from react plugin. 📖 Docs
Require or disallow method and property shorthand syntax for object literals (ESLint)

🟥 4 warnings (score: 0)
Issues

Severity
Message
Source file
Line(s)

⚠ warning
Expected property shorthand
src/hooks/useTodos.js
19

⚠ warning
Expected property shorthand
src/hooks/useTodos.js
32

⚠ warning
Expected property shorthand
src/hooks/useTodos.js
33

ESLint rule object-shorthand. 📖 Docs
Require let or const instead of var (ESLint)
🟩 0 (score: 100)
ESLint rule no-var. 📖 Docs
About
Report was created by Code PushUp on Tue Oct 24 2023 09:38:51 GMT+0200 (Central European Summer Time).

Commit
Version
Duration
Plugins
Categories
Audits

Implement todos list (3ac01d1)
0.1.0
1.6 s
2
3
25

The following plugins were run:

Plugin
Audits
Version
Duration

ESLint
20
0.1.0
0.3 s

Lighthouse
5
0.1.0
1.2 s

I recommend listing also the audits weighted with 0 as they might be critical things but not possible to score...
Thoughts?

Remark on the "Categories Section".
Let's also show how multiple resulting issues in the examples e.g. 1 error, 4 warnings
The order should be: error, warning, info
BEFORE:
Code style
🟡 Score: 54

🟥 Require or disallow method and property shorthand syntax for object literals (ESLint) - 4 warnings

AFTER:
Code style
🟡 Score: 54

🟥 Require or disallow method and property shorthand syntax for object literals (ESLint) - 1 error, 4 warnings

It is a bit "scrolly" to focus on a goal e.g. performance and have to scroll from the list of categories down to the audits and look up where it. Then start again in categories.
In stead of grouping by data attribute we could take the view of our personas (we have to write them up) and try to make it easy for them to fulfil their needs. Getting better numbers in goal XYZ.
I would create a persona, and put an issue in the back lock. This can be considered when we have the PR comment version

I believe that the colors ad quite some complexity. From a product owner perspective I would try to evaluate the need for that feature with the customer.
If we keep it we have to consider that not all goals are "green" at a score of 90 but also can be e.g. 60.
I guess we can understand that problem better when we have implemented the assertion logic and the user defined budgets

Sorry, didn't scroll up all the way and I missed the comments.

I recommend listing also the audits weighted with 0 as they might be critical things but not possible to score...
Thoughts?

Yes, I didn't mention this explicitly (added it now), but I would simply list every audit/group the category references, regardless of weight.

If we would inline the score of a category we could save some lines

That also looks good for categories, in my opinion. But I think we should be consistent with audits as well (a result should ideally always look the same, e.g. in my proposal it's always " "), and there the title would become too cluttered. And I wouldn't be worried about saving lines here, the main thing is readability.

Let's also show how multiple resulting issues in the examples e.g. 1 error, 4 warnings
The order should be: error, warning, info.

Yes, that's how it will be formatted. It's actually already handled by the ESLint plugin (implementation here - you can see it uses helper functions from @code-pushup/utils) and provided as the displayValue.
This actually makes the formatter's logic quite simple, it basically just has to do chalk.bold(audit.displayValue || audit.value.toString()).

I don't want to change the scope of this issue, but I can create a follow-up issue for that. What do you think?

Yes let's create something and use it a bit to feel it in real life.

authors: BioPhoton matejchalk

repo: flowup/quality-metrics-cli


text:
FFmpeg Error: Error: Output format wav is not available

I am running these code in localhost just testing out Microsoft Azure speech recognition. The idea is to record my voice using my headset, then use FFmpeg to convert the data to WAV format and send the audio to Microsoft Azure. But again and again, FFmpeg gave me this error saying the Output format wav is not available.
I tried to do this manually on command prompt without any problem:
ffmpeg -i input.mp3 -acodec pcm_s16le -ar 16000 -ac 1 output.wav
I tried to run the FFmpeg in the code without the toFormat function without any problem:
// Convert MP3 to WAV
ffmpeg('testing1.mp3')
.output('output.wav')
.on('end', function() {
console.log('Conversion to WAV completed');
})
.on('error', function(err) {
console.error('Error:', err);
})
.run();
These confirm that the ffmpeg was installed correctly. But as long as I start running the code as below, it kept telling me output format wav is not available. I tried calling getAvailableFormats, and it returns an empty array.
I installed all the packages this week (May 2024), so all the versions should be up-to-date.
Please help!
Version information

fluent-ffmpeg version: fluent-ffmpeg@2.1.2
ffmpeg version: ffmpeg-7.0-full_build
OS: Windows 11 Pro OS build: 22631.3527

Code to reproduce
const express = require('express');
const cors = require('cors');
const multer = require('multer');
const upload = multer({ storage: multer.memoryStorage() });
const speechsdk = require('microsoft-cognitiveservices-speech-sdk');
const ffmpeg = require('fluent-ffmpeg');
ffmpeg.setFfmpegPath("C:\\node_modules\\ffmpeg-7.0-full_build\\bin\\ffmpeg.exe");
ffmpeg.setFfprobePath("C:\\node_modules\\ffmpeg-7.0-full_build\\bin\\ffprobe.exe");
const stream = require('stream');

const app = express();
app.use(cors());

const speechConfig = speechsdk.SpeechConfig.fromSubscription("SubscriptionNumber", "Location");

app.post('/transcribe', upload.single('audio'), (req, res) => {
    if (!req.file) {
        return res.status(400).send({ error: 'No audio file uploaded' });
    }

    const bufferStream = new stream.PassThrough();
    bufferStream.end(req.file.buffer);
    const ffmpegStream = new stream.PassThrough();

    ffmpeg(bufferStream)
        .audioCodec('pcm_s16le')
        .audioFrequency(16000)
        .audioChannels(1)
        .toFormat('wav')
        .on('end', () => console.log('Conversion finished.'))
        .on('error', function(err, stdout, stderr) {
            console.error('FFmpeg Error:', err);
            console.error('FFmpeg Stderr:', stderr);
            res.status(500).send({ error: 'Error converting audio', details: stderr });
        })
        .pipe(ffmpegStream, { end: true });

    const pushStream = speechsdk.AudioInputStream.createPushStream();
    ffmpegStream.on('data', chunk => pushStream.write(chunk));
    ffmpegStream.on('end', () => {
        pushStream.close();
        const audioConfig = speechsdk.AudioConfig.fromStreamInput(pushStream);
        const recognizer = new speechsdk.SpeechRecognizer(speechConfig, audioConfig);

        recognizer.recognizeOnceAsync(result => {
            if (result.reason === speechsdk.ResultReason.RecognizedSpeech) {
                res.send({ text: result.text });
            } else {
                res.status(500).send({ error: 'Failed to recognize speech', details: result });
            }
        });
    });
});

const port = 3001;
app.listen(port, () => {
    console.log(`Server running on port 3001`);

    // Check and log available formats when the server starts
    const { exec } = require('child_process');
    exec('ffmpeg -i testing1.mp3 -acodec pcm_s16le -ar 16000 -ac 1 output1.wav', (error, stdout, stderr) => {
      if (error) {
        console.error('Error executing FFmpeg:', error);
        return;
      }
      console.log('Success:', stdout);
    });

    ffmpeg.ffprobe('testing1.mp3', function(err, metadata) {
        if (err) {
            console.error('Error:', err);
        } else {
            console.log('Metadata:', metadata);
        }
    });
    // Convert MP3 to WAV
    const ffmpegStream = new stream.PassThrough();
    ffmpeg('testing1.mp3')
        .audioCodec('pcm_s16le')
        .audioFrequency(16000)
        .audioChannels(1)
        .outputOptions(['-f wav', '-v verbose'])  // Adding verbose logging
        .on('end', () => console.log('Conversion finished.'))
        .on('error', function(err, stdout, stderr) {
            console.error('FFmpeg Error:', err);
            console.error('FFmpeg Stderr:', stderr);
        })
        .pipe(ffmpegStream, { end: true });

});

import React, { useState } from 'react';

function App() {
    const [isRecording, setIsRecording] = useState(false);
    const [transcription, setTranscription] = useState('');
    const [error, setError] = useState('');

    const startRecording = async () => {
        if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {
            try {
                const stream = await navigator.mediaDevices.getUserMedia({ audio: true });
                const mediaRecorder = new MediaRecorder(stream, { mimeType: 'audio/webm' });
                let audioChunks = [];

                mediaRecorder.ondataavailable = event => {
                    audioChunks.push(event.data);
                };

                mediaRecorder.onstop = async () => {
                    const audioBlob = new Blob(audioChunks, { type: 'audio/webm' });
                    const formData = new FormData();
                    formData.append('audio', audioBlob);

                    fetch('http://localhost:3001/transcribe', {
                        method: 'POST',
                        body: formData,
                    })
                    .then(response => {
                        if (response.ok) return response.json();
                        throw new Error('Failed to fetch transcription');
                    })
                    .then(data => {
                        setTranscription(data.text);
                        setError('');
                    })
                    .catch(error => {
                        console.error('Error:', error);
                        setError('Failed to transcribe audio.');
                    });
                };

                mediaRecorder.start();
                setIsRecording(true);
                setTimeout(() => {
                    mediaRecorder.stop();
                    setIsRecording(false);
                }, 5000);
            } catch (error) {
                console.error('Error accessing the microphone:', error);
                setError('Error accessing the microphone.');
            }
        }
    };

    return (

ATC Speech to Text

                <button onClick={startRecording} disabled={isRecording}>
                    {isRecording ? 'Recording...' : 'Start Recording'}
                </button>

{transcription ? `Transcription: ${transcription}` : ''}

{error}

    );
}

export default App;

(note: if the problem only happens with some inputs, include a link to such an input file)
Expected results
MP3 being recorded by mic and converted to WAV format by ffmpeg and submit to Microsoft Azure Speech Recognition for transcription
Observed results
FFmpeg Error: Error: Output format wav is not available
FFmpeg Error: Error: Output format wav is not available
at C:\Users\node_modules\fluent-ffmpeg\lib\capabilities.js:589:21
at nextTask (C:\Users\node_modules\async\dist\async.js:5791:13)
at next (C:\Users\node_modules\async\dist\async.js:5799:13)
at C:\Users\node_modules\async\dist\async.js:329:20
at C:\Users\fluent-ffmpeg\lib\capabilities.js:549:7
at handleExit (C:\Users\aaron\liveatc_transcriber\node_modules\fluent-ffmpeg\lib\processor.js:170:11)
at ChildProcess. (C:\Users\aaron\liveatc_transcriber\node_modules\fluent-ffmpeg\lib\processor.js:184:11)
at ChildProcess.emit (node:events:518:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
FFmpeg Stderr: undefined
Checklist

[x] I have read the FAQ
[x] I tried the same with command line ffmpeg and it works correctly (hint: if the problem also happens this way, this is an ffmpeg problem and you're not reporting it to the right place)
[x] I have included full stderr/stdout output from ffmpeg

Same

https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/1266

@njoyard Old issue

authors: AaronCLH MarianoFacundoArch soylomass totallytavi

repo: fluent-ffmpeg/node-fluent-ffmpeg


text:
Support access dataset from pods in different namespace

Ⅰ. Describe what this PR does
Support Access dataset from pods in different namespace（CSI+SideCar） #2061
Dataset API 变更（将引用和被引用Dataset分别称为 Virtual Dataset和Physical Dataset）

Spec中mounts的mountPoint字段，新增协议前缀dataset://；
Spec中新增字段 DatasetRef，用于保存所有的 Virutal Dataset；

Runtime Controller 逻辑变更

不支持绑定 refdataset。

DatasetController变更

保持Virtual Dataset 和 Physical Dataset的Status字段的一致性；
删除Physical Dataset时，判断是否有Virtual Dataset引用，若有则无法删除；
只处理不包含引用的Dataset；

DatasetRefController（新增） 运行流程

不支持 Virtual Dataset的递归引用；
不支持 Virtual Dataset 和其它形式的mount同时存在；
将 Virtual Dataset 添加到 Physical Dataset 的 DatasetRef 字段中，删除时去除字段；
复制Physical Dataset的PV/PVC/ConfigMap到Virtual Dataset的名空间下；

Webhook变更

根据PVC获取 runtimeInfo的逻辑

如果PVC指的是Virtual Dataset，则获取Physical Dataset的Runtime信息

 fusesidecar的Mutate逻辑

ConfigMap "check-fluid-mount-ready" 的namespace从Runtime改为PVC的namespace；
ConfigMap "${name}-${mount_type}-check-mount" 的namespace从Runtime改为PVC的namespace，OwnerReference改为PVC对应的Dataset；
获取PVC的mount属性参数是根据 pvc 的name/namespace获取pvc的属性

mountpropagationinjector的Mutate逻辑

不使用runtime的name进行判断，而使用virtual dataset name进行判断

遗留（TODO）：

DataLoad/DataBackup 不支持Virtual Dataset

Ⅱ. Does this pull request fix one issue?

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

the newer version see #2296

repo: fluid-cloudnative/fluid