Fastlane promote failed

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Problem on fastlane pipeline when promoting from TestFlight to Production using it with AzureDevops (AppStore Promote Task)
Command executed
fastlane deliver submit_build -u *** -a APP --skip_binary_upload true --skip_metadata true --skip_screenshots true --automatic_release --force --verbose

Complete output when running fastlane, including the stack trace and command used
2020-10-14T07:15:31.0834520Z INFO [2020-10-14 09:15:31.07]: Checking app for precheck rule violations
2020-10-14T07:15:44.7438290Z INFO [2020-10-14 09:15:44.74]: Reading in-app purchases. If you have a lot, this might take a while
2020-10-14T07:15:44.7440910Z INFO [2020-10-14 09:15:44.74]: You can disable IAP checking by setting the `include_in_app_purchases` flag to `false`
2020-10-14T07:15:45.2433920Z INFO [2020-10-14 09:15:45.23]: Done reading in-app purchases
2020-10-14T07:15:45.2535010Z ERROR [2020-10-14 09:15:45.23]: fastlane precheck just tried to inspect your app's metadata for App Store guideline violations and ran into a problem. We're not sure what the problem was, but precheck failed to finished. You can run it in verbose mode if you want to see the whole error.  Cannot submit for review - could not find an editable version for 'IOS' (FastlaneCore::Interface::FastlaneError)
2020-10-14T07:15:46.2304360Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
2020-10-14T07:15:46.2356800Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/deliver/lib/deliver/submit_for_review.rb:16:in `submit!'
2020-10-14T07:15:46.2459660Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/deliver/lib/deliver/runner.rb:194:in `submit_for_review'
2020-10-14T07:15:46.2562600Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/deliver/lib/deliver/runner.rb:64:in `run'
2020-10-14T07:15:46.2660320Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/deliver/lib/deliver/commands_generator.rb:96:in `block (2 levels) in run'
2020-10-14T07:15:46.2705380Z 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
2020-10-14T07:15:46.2775000Z 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
2020-10-14T07:15:46.2779550Z 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
2020-10-14T07:15:46.2897590Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
2020-10-14T07:15:46.2913120Z 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
2020-10-14T07:15:46.2938130Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/deliver/lib/deliver/commands_generator.rb:186:in `run'
2020-10-14T07:15:46.2952680Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/deliver/lib/deliver/commands_generator.rb:17:in `start'
2020-10-14T07:15:46.2979280Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/cli_tools_distributor.rb:111:in `take_off'
2020-10-14T07:15:46.3007420Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/bin/fastlane:23:in `<top (required)>'
2020-10-14T07:15:46.3013350Z 	from /usr/local/bin/fastlane:23:in `load'
2020-10-14T07:15:46.3014800Z 	from /usr/local/bin/fastlane:23:in `'
2020-10-14T07:15:46.3041600Z /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in `user_error!': Cannot submit for review - could not find an editable version for 'IOS' (FastlaneCore::Interface::FastlaneError)
2020-10-14T07:15:46.3144970Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
2020-10-14T07:15:46.3147220Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/deliver/lib/deliver/submit_for_review.rb:16:in `submit!'
2020-10-14T07:15:46.3149010Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/deliver/lib/deliver/runner.rb:194:in `submit_for_review'
2020-10-14T07:15:46.3150670Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/deliver/lib/deliver/runner.rb:64:in `run'
2020-10-14T07:15:46.3152430Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/deliver/lib/deliver/commands_generator.rb:96:in `block (2 levels) in run'
2020-10-14T07:15:46.3169360Z 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
2020-10-14T07:15:46.3182840Z 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
2020-10-14T07:15:46.3204340Z 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
2020-10-14T07:15:46.3211710Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
2020-10-14T07:15:46.3234280Z 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
2020-10-14T07:15:46.3237260Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/deliver/lib/deliver/commands_generator.rb:186:in `run'
2020-10-14T07:15:46.3239460Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/deliver/lib/deliver/commands_generator.rb:17:in `start'
2020-10-14T07:15:46.3241480Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/cli_tools_distributor.rb:111:in `take_off'
2020-10-14T07:15:46.3300270Z 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/bin/fastlane:23:in `<top (required)>'
2020-10-14T07:15:46.3358270Z 	from /usr/local/bin/fastlane:23:in `load'
2020-10-14T07:15:46.3362250Z 	from /usr/local/bin/fastlane:23:in `'

fastline env
✅ fastlane environment ✅

### Stack

| Key                         | Value                                                          |
| --------------------------- | -------------------------------------------------------------- |
| OS                          | 10.15.7                                                        |
| Ruby                        | 2.6.3                                                          |
| Bundler?                    | false                                                          |
| Git                         | git version 2.24.3 (Apple Git-128)                             |
| Installation Source         | /usr/local/bin/fastlane                                        |
| Host                        | Mac OS X 10.15.7 (19H2)                                        |
| Ruby Lib Dir                | /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib |
| OpenSSL Version             | LibreSSL 2.8.3                                                 |
| Is contained                | false                                                          |
| Is homebrew                 | false                                                          |
| Is installed via Fabric.app | false                                                          |
| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/                    |
| Xcode Version               | 12.0.1                                                         |

### System Locale

| Variable | Value       |   |
| -------- | ----------- | - |
| LANG     | fr_FR.UTF-8 | ✅ |
| LC_ALL   |             |   |
| LANGUAGE |             |   |

### fastlane files:

**No Fastfile found**

**No Appfile found**

### fastlane gems

| Gem      | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.163.0 | ✅ Up-To-Date  |

### Loaded fastlane plugins:

**No plugins Loaded**

Loaded gems

| Gem                       | Version      |
| ------------------------- | ------------ |
| did_you_mean              | 1.3.0        |
| slack-notifier            | 2.3.2        |
| atomos                    | 0.1.3        |
| CFPropertyList            | 2.3.6        |
| claide                    | 1.0.3        |
| colored2                  | 3.1.2        |
| nanaimo                   | 0.3.0        |
| xcodeproj                 | 1.19.0       |
| rouge                     | 2.0.7        |
| xcpretty                  | 0.3.0        |
| terminal-notifier         | 2.0.0        |
| unicode-display_width     | 1.7.0        |
| terminal-table            | 1.8.0        |
| plist                     | 3.5.0        |
| public_suffix             | 4.0.6        |
| addressable               | 2.7.0        |
| multipart-post            | 2.0.0        |
| word_wrap                 | 1.0.0        |
| tty-screen                | 0.8.1        |
| tty-cursor                | 0.7.1        |
| tty-spinner               | 0.9.3        |
| babosa                    | 1.0.4        |
| colored                   | 1.2          |
| highline                  | 1.7.10       |
| commander-fastlane        | 4.4.6        |
| excon                     | 0.76.0       |
| faraday                   | 1.0.1        |
| unf_ext                   | <IP_ADDRESS>      |
| unf                       | 0.1.4        |
| domain_name               | 0.5.20190701 |
| http-cookie               | 1.0.3        |
| faraday-cookie_jar        | 0.0.7        |
| faraday_middleware        | 1.0.0        |
| fastimage                 | 2.2.0        |
| gh_inspector              | 1.1.3        |
| json                      | 2.1.0        |
| mini_magick               | 4.10.1       |
| rubyzip                   | 2.3.0        |
| security                  | 0.1.3        |
| xcpretty-travis-formatter | 1.0.0        |
| dotenv                    | 2.7.6        |
| bundler                   | 1.17.2       |
| naturally                 | 2.2.0        |
| simctl                    | 1.6.8        |
| jwt                       | 2.2.2        |
| uber                      | 0.1.0        |
| declarative               | 0.0.20       |
| declarative-option        | 0.1.0        |
| representable             | 3.0.4        |
| retriable                 | 3.1.2        |
| mini_mime                 | 1.0.2        |
| multi_json                | 1.15.0       |
| signet                    | 0.14.0       |
| memoist                   | 0.16.2       |
| os                        | 1.1.1        |
| googleauth                | 0.14.0       |
| httpclient                | 2.8.3        |
| google-api-client         | 0.38.0       |
| google-cloud-env          | 1.4.0        |
| google-cloud-errors       | 1.0.1        |
| google-cloud-core         | 1.5.0        |
| rake                      | 13.0.1       |
| digest-crc                | 0.6.1        |
| google-cloud-storage      | 1.29.1       |
| emoji_regex               | 3.0.0        |
| jmespath                  | 1.4.0        |
| aws-partitions            | 1.381.0      |
| aws-eventstream           | 1.1.0        |
| aws-sigv4                 | 1.2.2        |
| aws-sdk-core              | 3.109.1      |
| aws-sdk-kms               | 1.39.0       |
| aws-sdk-s3                | 1.83.0       |
| forwardable               | 1.2.0        |
| logger                    | 1.3.0        |
| stringio                  | 0.0.2        |
| ipaddr                    | 1.2.2        |
| openssl                   | 2.1.2        |
| ostruct                   | 0.1.0        |
| strscan                   | 1.0.0        |
| date                      | 2.0.0        |
| fileutils                 | 1.1.0        |
| etc                       | 1.0.1        |
| io-console                | 0.4.7        |
| zlib                      | 1.0.0        |
| libxml-ruby               | 3.1.0        |
| rexml                     | 3.1.9        |
| psych                     | 3.1.0        |
| mutex_m                   | 0.1.0        |
| webrick                   | 1.4.2        |

I have faced this problem you can try expresshr

@mariana288  What has expresshr to deal with fastlane and my problem ?

The issue here is on precheck, on this line:
https://github.com/fastlane/fastlane/blob/61cbd91e48f34a7a951642928dbc9b138fb04c8c/precheck/lib/precheck/rule_processor.rb#L177
app_version was nil there. It was nil there because this variable returned nil:
https://github.com/fastlane/fastlane/blob/61cbd91e48f34a7a951642928dbc9b138fb04c8c/precheck/lib/precheck/runner.rb#L186-L189
@lpaulusLohr are you sure you had an editable version in App Store Connect when you ran that command? 🤔

Actually this is a duplicated issue of https://github.com/fastlane/fastlane/issues/17176

@rogerluan hey. Regarding your comment
https://github.com/fastlane/fastlane/issues/17434#issuecomment-709407707
This change https://github.com/fastlane/fastlane/commit/71d42bb5549313b69a5834764804c24a6c8797a1#diff-10a3804e907e825b3a262ecbe102a182135de576bd1e7720023a9b84b745b05aR169
 broke the precheck for me as well.
get_edit_app_store_version is looking for particular statuses
https://github.com/fastlane/fastlane/blob/2bdb19d08db3964ddf6b20c830c63eb069b5a1ed/spaceship/lib/spaceship/connect_api/models/app.rb#L239

and the build is getting successfully uploaded to TestFlight before precheck but build is in Missing Compliance state (app build statuses) which is not part of get_edit_app_store_version build statuses filter so no application version is returned.

Hey @vgaidarji 👋
This PR should fix that issue :) https://github.com/fastlane/fastlane/pull/17738


Fix active_model require in validations plugin

Loading the validations plugin while active_model is present without
active_record causes an exception.

Hey @supaspoida, thanks for this, we missed to change the require when changing from active record to active model.

@jondeandres big fan of rollbar, happy to help. and thanks for the snappy response!

Another note here is that if active_record was present (within a rails app etc) but intentionally not loaded then it would be loaded her which could trigger things like DatabaseCleaner starting to use active record strategies instead of other intended orm strategies.

This has been released in 2.11.2. Thanks again for the fix.


[$500] DEV - The app crashes when attempting to send money after changing the currency

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: dev
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @ayazhussain79
Slack conversation:
https://expensify.slack.com/archives/C049HHMV9SM/p1697739450327549
Action Performed:

Open a chat
Go to the send money
Click on the currency and change it
Enter the amount and attempt to send it

Expected Result:
The app should not crash during the process of sending money
Actual Result:
The app crashes when attempting to send money after changing the currency
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/38435837/461788a9-4a10-4aca-85bb-6b7fab6788df

Android: mWeb Chrome
https://github.com/Expensify/App/assets/38435837/cb96e47f-b6ca-4d8c-a8e7-e2ac95c0c1d9

iOS: Native

https://github.com/Expensify/App/assets/38435837/3a10c442-2772-45ed-aac9-2464e209d65b

iOS: mWeb Safari

https://github.com/Expensify/App/assets/38435837/4218c906-1158-4ca4-802c-d9340fb611f2

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/38435837/39f251a6-dfb4-494d-bf1a-9f2b58a88bcf

MacOS: Desktop

https://github.com/Expensify/App/assets/38435837/d058ffa0-7910-4a90-85d7-a99ed4ebdcee

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~014506069eb0680897
Upwork Job ID:<PHONE_NUMBER>964460032
Last Price Increase: 2023-10-20

@ishpaul777 try these steps on dev:

Open a chat
Go to the send money
Click on the currency and change it to USA
Enter the amount and attempt to send it by "Pay elsewhere"

@ayazhussain79 I am able to reproduce the issue, in all platforms, its a render error.

we are reading the value from undefined identity.

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01f5f854cbbb68f9fb
@ayazhussain79 I am able to reproduce the issue, in all platforms, its a render error.

we are reading the value from undefined identity.

@allroundexperts you're C+ for both issues, do you think this is a dupe of https://github.com/Expensify/App/issues/29336?


MV3 HMR for v1

Backfill the code for adding HMR to v1.
See #66

I'm not going to support v1 any more. Just a guy spending his free time on this


Key International academy

https://partner.microsoft.com/en-us/solutions/education/products#/?type=prtnr-rd-rsrs

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

ID: 24c25353-cfb3-811c-a970-2a04678eff6e
Version Independent ID: 145d404a-f7ed-17f6-79a6-0204ab7ee70b
Content: Create a dynamic group and check status in Azure Active Directory
Content Source: articles/active-directory/users-groups-roles/groups-create-rule.md
Service: active-directory
GitHub Login: @curtand
Microsoft Alias: curtand

@Key-international  Would you please provide more detail about this issue?


Build errors (boring-sys-imp-4.9.1)

error: failed to run custom build command for boring-sys-imp v4.9.1
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:

what's the question?

what's the question?

error: failed to run custom build command for boring-sys-imp v4.9.3
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: /Users/user/RustroverProjects/primp/target/debug/build/boring-sys-imp-38c2fc35e7f17890/build-script-main (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=BORING_BSSL_PATH_aarch64-apple-darwin
cargo:rerun-if-env-changed=BORING_BSSL_PATH_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_BORING_BSSL_PATH
cargo:rerun-if-env-changed=BORING_BSSL_PATH
cargo:rerun-if-env-changed=BORING_BSSL_INCLUDE_PATH_aarch64-apple-darwin
cargo:rerun-if-env-changed=BORING_BSSL_INCLUDE_PATH_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_BORING_BSSL_INCLUDE_PATH
cargo:rerun-if-env-changed=BORING_BSSL_INCLUDE_PATH
cargo:rerun-if-env-changed=BORING_BSSL_SOURCE_PATH_aarch64-apple-darwin
cargo:rerun-if-env-changed=BORING_BSSL_SOURCE_PATH_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_BORING_BSSL_SOURCE_PATH
cargo:rerun-if-env-changed=BORING_BSSL_SOURCE_PATH
cargo:rerun-if-env-changed=BORING_BSSL_PRECOMPILED_BCM_O_aarch64-apple-darwin
cargo:rerun-if-env-changed=BORING_BSSL_PRECOMPILED_BCM_O_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_BORING_BSSL_PRECOMPILED_BCM_O
cargo:rerun-if-env-changed=BORING_BSSL_PRECOMPILED_BCM_O
cargo:rerun-if-env-changed=BORING_BSSL_ASSUME_PATCHED_aarch64-apple-darwin
cargo:rerun-if-env-changed=BORING_BSSL_ASSUME_PATCHED_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_BORING_BSSL_ASSUME_PATCHED
cargo:rerun-if-env-changed=BORING_BSSL_ASSUME_PATCHED
cargo:rerun-if-env-changed=BORING_BSSL_SYSROOT_aarch64-apple-darwin
cargo:rerun-if-env-changed=BORING_BSSL_SYSROOT_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_BORING_BSSL_SYSROOT
cargo:rerun-if-env-changed=BORING_BSSL_SYSROOT
cargo:rerun-if-env-changed=BORING_BSSL_COMPILER_EXTERNAL_TOOLCHAIN_aarch64-apple-darwin
cargo:rerun-if-env-changed=BORING_BSSL_COMPILER_EXTERNAL_TOOLCHAIN_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_BORING_BSSL_COMPILER_EXTERNAL_TOOLCHAIN
cargo:rerun-if-env-changed=BORING_BSSL_COMPILER_EXTERNAL_TOOLCHAIN
cargo:rerun-if-env-changed=DEBUG_aarch64-apple-darwin
cargo:rerun-if-env-changed=DEBUG_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_DEBUG
cargo:rerun-if-env-changed=DEBUG
cargo:rerun-if-env-changed=OPT_LEVEL_aarch64-apple-darwin
cargo:rerun-if-env-changed=OPT_LEVEL_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_OPT_LEVEL
cargo:rerun-if-env-changed=OPT_LEVEL
cargo:rerun-if-env-changed=ANDROID_NDK_HOME_aarch64-apple-darwin
cargo:rerun-if-env-changed=ANDROID_NDK_HOME_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_ANDROID_NDK_HOME
cargo:rerun-if-env-changed=ANDROID_NDK_HOME
cargo:rerun-if-env-changed=CMAKE_TOOLCHAIN_FILE_aarch64-apple-darwin
cargo:rerun-if-env-changed=CMAKE_TOOLCHAIN_FILE_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_CMAKE_TOOLCHAIN_FILE
cargo:rerun-if-env-changed=CMAKE_TOOLCHAIN_FILE
Initialized empty Git repository in /Users/user/RustroverProjects/primp/target/debug/build/boring-sys-imp-64af83603c90d862/out/boringssl/.git/
cargo:warning=applying old ciphers patch to boringssl
CMAKE_TOOLCHAIN_FILE_aarch64-apple-darwin = None
CMAKE_TOOLCHAIN_FILE_aarch64_apple_darwin = None
HOST_CMAKE_TOOLCHAIN_FILE = None
CMAKE_TOOLCHAIN_FILE = None
CMAKE_GENERATOR_aarch64-apple-darwin = None
CMAKE_GENERATOR_aarch64_apple_darwin = None
HOST_CMAKE_GENERATOR = None
CMAKE_GENERATOR = None
CMAKE_PREFIX_PATH_aarch64-apple-darwin = None
CMAKE_PREFIX_PATH_aarch64_apple_darwin = None
HOST_CMAKE_PREFIX_PATH = None
CMAKE_PREFIX_PATH = None
CMAKE_aarch64-apple-darwin = None
CMAKE_aarch64_apple_darwin = None
HOST_CMAKE = None
CMAKE = None
running: cd "/Users/user/RustroverProjects/primp/target/debug/build/boring-sys-imp-64af83603c90d862/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/Users/user/RustroverProjects/primp/target/debug/build/boring-sys-imp-64af83603c90d862/out/boringssl" "-DCMAKE_OSX_ARCHITECTURES=arm64" "-DCMAKE_INSTALL_PREFIX=/Users/user/RustroverProjects/primp/target/debug/build/boring-sys-imp-64af83603c90d862/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC --target=arm64-apple-darwin -mmacosx-version-min=14.4" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC --target=arm64-apple-darwin -mmacosx-version-min=14.4" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC --target=arm64-apple-darwin -mmacosx-version-min=14.4" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug"
--- stderr
/Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/boring-sys-imp-4.9.3/patches/boringssl-old-ciphers.patch:25: trailing whitespace.
/Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/boring-sys-imp-4.9.3/patches/boringssl-old-ciphers.patch:27: trailing whitespace.
/Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/boring-sys-imp-4.9.3/patches/boringssl-old-ciphers.patch:58: trailing whitespace.
/Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/boring-sys-imp-4.9.3/patches/boringssl-old-ciphers.patch:214: trailing whitespace.
//
/Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/boring-sys-imp-4.9.3/patches/boringssl-old-ciphers.patch:219: trailing whitespace.
//

OS?

OS?

macos
MacBook Pro M1 Max

https://github.com/google/boringssl/blob/master/BUILDING.md#build-prerequisites

https://github.com/google/boringssl/blob/master/BUILDING.md#build-prerequisites

I executed the following commands
'git clone "https://boringssl.googlesource.com/boringssl"'
'cmake -GNinja -B build -DCMAKE_BUILD_TYPE=Release'
'ninja -C build'
Then I build my own project again, and it still fails.
I think I need to add the compiled boringssl to the environment variable, but I didn't get the correct way to deal with it in Google search.

https://github.com/google/boringssl/blob/master/BUILDING.md#build-prerequisites

Compilers for C11 and C++14, or later, are required

https://github.com/google/boringssl/blob/master/BUILDING.md#build-prerequisites

Compilers for C11 and C++14, or later, are required

I successfully compiled boringssl, but I don't know how to use the compiled boringssl to compile this project.

You can investigate how it is compiled:
https://github.com/deedy5/primp/blob/73742d337892c4d4c341db39a11aee5864020781/.github/workflows/CI.yml#L170-L206

Instruction:
git clone https://github.com/deedy5/primp.git
cd primp
python3 -m venv .venv
source .venv/bin/activate
pip install maturin
maturin develop --release
# Compiled library will be here: .venv/lib/python3.1x/site-packages


[wip] Correct the content submission function.

I'd messed up the values yielded from os.walk on the first try. I should also correct the generated content IDs:

They shouldn't include the file extension.
"index" should be special-cased to map to the base resource.

Looking more reasonable now:
build succeeded, 1 warning.
submitting [genindex.json] as [https://github.com/deconst/deconst-docs/genindex] ... success
submitting [globalcontext.json] as [https://github.com/deconst/deconst-docs/globalcontext] ... success
submitting [index.json] as [https://github.com/deconst/deconst-docs/] ... success
submitting [search.json] as [https://github.com/deconst/deconst-docs/search] ... success
submitting [searchindex.json] as [https://github.com/deconst/deconst-docs/searchindex] ... success
submitting [running/architecture.json] as [https://github.com/deconst/deconst-docs/running/architecture] ... success
submitting [running/index.json] as [https://github.com/deconst/deconst-docs/running] ... success
submitting [running/liftoff.json] as [https://github.com/deconst/deconst-docs/running/liftoff] ... success
submitting [writing-docs/index.json] as [https://github.com/deconst/deconst-docs/writing-docs] ... success
All generated content submitted to the content store.


Fix Apply kyma step - more logging

Description
Changes proposed in this pull request:

more logs in apply kyma steps

Related issue(s)

/hold

/unhold


bugfix: make cli to output the detail error info, when the error is notfound.

Signed-off-by: skoo87<EMAIL_ADDRESS>
1.Describe what this PR did
make cli to output the detail error info, when the error is notfound.
root@ubuntu:/media/psf/Home/sk/src/github.com/alibaba/pouch# ./pouch create registry.hub.docker.com/libraryaaaaaaaaaa/busybox:latest "/bin/echo 1111"
Error: failed to create container: {"message":"failed to create container: image: registry.hub.docker.com/libraryaaaaaaaaaa/busybox:latest: not found"}
2.Does this pull request fix one issue?

fix #310
3.Describe how you did it
4.Describe how to verify it
5.Special notes for reviews

LGTM


fix: made heating parameter binary in KiaUvoAPIUSA

At one time this was correct.   This may break older cars or other models.  Let's merge and see what happens!


descriptor::create should be belong to Base Device Type. (CON-1222)

Describe the question/query that you have
I think the descriptor::create should be belong to the function where the create endpoint and not where the add.
the spec says it blong to Base Device Type
Additional context
this line should be removed
https://github.com/espressif/esp-matter/blob/4ca1207fad42075d136284ec7ac90e7a5095fdd2/components/esp_matter/esp_matter_endpoint.cpp#L162C5-L162C15
and add it to here before the add func
https://github.com/espressif/esp-matter/blob/4ca1207fad42075d136284ec7ac90e7a5095fdd2/components/esp_matter/esp_matter_endpoint.cpp#L146

the spec says it blong to Base Device Type

Can you point me to the spec text, section Id would be a good pointer.
In esp_matter_endpoint.cpp, we have APIs to create device types. The create() and add() methods are designed to create the endpoint and the requested device type.
If you want to add more device types to the same endpoint, you should use the add() API.
All cluster-name::create() APIs, such as descriptor::create(), are safe to call multiple times and won't create the same cluster again.

[Specification](file:///C:/Users/RonnyPC/Desktop/Matter%201.2%20Spec/Matter-1.2-Device-Library-Specification.pdf)
Page 18 - 1.1.7. Base Device Type Requirements for Matter
the descriptor cluster should belong to the Base Device Type.
it means that it should be in the create function and not the add function.
like here:-
https://github.com/espressif/esp-matter/blob/91b8cb1596cdcf09bf379fdefa2cd11e46a83009/components/esp_matter/esp_matter_endpoint.cpp#L143-L148
and not here :-
https://github.com/espressif/esp-matter/blob/91b8cb1596cdcf09bf379fdefa2cd11e46a83009/components/esp_matter/esp_matter_endpoint.cpp#L150-L170
because it belong to the Base Device Type and not to the  on_off_light type.
so when you create any device type it will create the descriptor cluster and if you add a device type it should not create the descriptor cluster. "I know its not an error, but its a warning and handled well (safe to call multiple times)"

Don't descriptor and identify have to be on every endpoint? If so, you could combine them with create endpoint.

Don't descriptor and identify have to be on every endpoint? If so, you could combine them with create endpoint.

No, the identify not for all endpoint, like root_node dont have identify but it have descriptor

Fixed with https://github.com/espressif/esp-matter/commit/71991319ce7dbb49376b33e21a0c087a317c5110 and this issue can be closed

I wish I could get a Contributor here XD

@ronny-antoon we accept pull request as well :-)


Building Cache Memory Problem with Rmap

When we use RMap, we find that memory can't be released, which leads to frequent fullgc in the production environment. Is there a solution or optimization update of relevant modules now?
The version we used was 3.8.2

Could you please provide more details? which memory Java or Redis? If java could you provide memory dump?

We are on version 3.7.2 and are facing the same issue in production where netty threads used by redisson consumed 12GB of total 16GB allocated heap space. One observation i have made is that netty threads had created around 275,000 thread local maps with each consuming around a fixed amount of heap. It all seems to be related with weblogic context aware classloader because it is shared by all the netty threads.
Since the heap dump is quite large I will be attching the screenshots.

@shivendra-kumar
You can change follow JVM settings to manage by netty memory allocation https://github.com/netty/netty/blob/a33200ca38990b88315a48637e5ac5da398b100d/buffer/src/main/java/io/netty/buffer/PooledByteBufAllocator.java:
-Dio.netty.allocator.tinyCacheSize=...
-Dio.netty.allocator.smallCacheSize=...
-Dio.netty.allocator.normalCacheSize=...
-Dio.netty.allocator.numHeapArenas=...
-Dio.netty.allocator.numDirectArenas=...
-Dio.netty.allocator.useCacheForAllThreads=...

Try to set -Dio.netty.allocator.useCacheForAllThreads=false

@mrniko Thnks for the prompt reply. Since the issue is coming in production, would changing these parameters have any impact on responsiveness of calls related to RMap? Also, could this issue be related to FST codec as we are using it to serialize and deserialize the data?
https://github.com/redisson/redisson/issues/1927
https://github.com/redisson/redisson/issues/1652

@shivendra-kumar
I don't think it's related to Fst codec since I don't see memory allocation for FSTObjectInput objects in your memory dump

@mrniko what could be a reasonable value for these:
-Dio.netty.allocator.tinyCacheSize=...
-Dio.netty.allocator.smallCacheSize=...
-Dio.netty.allocator.normalCacheSize=...
-Dio.netty.allocator.numHeapArenas=...
-Dio.netty.allocator.numDirectArenas=...
-Dio.netty.allocator.useCacheForAllThreads=...
We have around 5 GB of data on Redis Server right now which will grow and we usually make 500 get calls per second.

Could you please provide more details? which memory Java or Redis? If java could you provide memory dump?

We use java, redis version 4.0.11，and the following is the result of dump analysis

@terrylakey
Thanks for the information!
How many RMapCache objects do you use in application?

@mrniko
Thanks for your reply. We use RMapCache extensively in user modules, but RMapCache does not release memory.This triggers the fullgc of the JVM, which results in overloading of the server.

@terrylakey
call RMapCache.destroy() method once you don't use object anymore as it recommended on wiki page. This prevents from excessive MapCacheEvictionTask object creation.

@mrniko
Thank you for your apply,I will try to accept your advice, If a similar situation occurs after I modifying the code by this way, I hope you will fix this problem in future versions. Thank you.

@shivendra-kumar
I unable to reproduce any netty's memory leak with 3.10.4 version and follow sample code:
        for (int i = 0; i < 1000; i++) {
            RMap<Object, Object> s = redisson.getMap("test");
            String t = RandomString.make(1000);
            s.put(t, RandomString.make(1000000));
            s.remove(t);
        }


build-sys: remove -o from column, remove -tags tools exception, and introduce GOUP_PACKAGES

Summary by CodeRabbit

New Features

Introduced new variables GOUP_FLAGS and GOUP_PACKAGES for enhanced Go module management.

Improvements

Enhanced whitespace handling and file list generation in the Makefile generation script.
Streamlined command generation logic for better readability and maintainability.

Bug Fixes

Improved output formatting for Makefile targets and commands.

Chores

Removed the internal/build/tools.go file to simplify tool dependency management.

for the last two complain from DeepSource: Shell, quoting the values actually breaks the intended logic.


Adding ReleaseLevel concept, supporting in Java

The "unset" case is present in the no_path_templates service.

Current coverage is 82.05% (diff: 88.88%)

Merging #838 into master will increase coverage by <.01%

@@             master       #838   diff @@
==========================================
  Files           321        321
  Lines         12394      12403     +9
  Methods           0          0
  Messages          0          0
  Branches       1625       1626     +1
==========================================
+ Hits          10169      10177     +8
- Misses         1801       1802     +1
  Partials        424        424

Powered by Codecov. Last update ded200e...045f474

Also, where you intending to set ALPHA on all APIs? Otherwise you might want the unset case to include experimentalApi for Java

I was going to leave APIs unset for now. The unset case does include ExperimentalApi; notice that the no_path_templates service is untouched in this PR.


Update PATCH user/email/visibility docs to not require email.

Why:
Closes https://github.com/github/profile/issues/208
Note: The above issue is closed as the feature is complete but behind a feature flag. We're ready to roll it out to 100%, at which point we'd love to have the updated docs ready. This PR is an updated version of https://github.com/github/docs/pull/5213
Related Dotcom API change PR:

https://github.com/github/github/pull/176194

What's being changed:

Before
After

Check off the following:

[ ] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[ ] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Closing this as I've gotten better guidance here: https://github.com/github/docs-content/blob/main/docs-content-docs/docs-content-workflows/publishing-documentation/publishing-REST-api-docs.md
I'll make a corresponding github/github PR


Use id or primary keys as identifiers to allow for string primary key

Use id or primary keys as identifiers to allow for string primary key to be used

@antoniopaisfernandes could you explain the use case for this?

Hi there,
Simple use case that works with blueprint:
models:
    PartBrand:
        id: string primary
        name: string
        default_lead_time: integer

    Part:
        id: string primary
        search_number: string:26 index
        part_brand_id: string index

Intended use case that works with blueprint (note the number of chars):
models:
    PartBrand:
        id: string:3 primary
        name: string
        default_lead_time: integer

    Part:
        id: string:20 primary
        search_number: string:26 index
        part_brand_id: string:3 index

Best regards

Ok, thanks! Would you be willing to write a test for this?

Sure! :) Will do.

Hi,
Can you please check it out? I could extract some logic to a method but, being a trait, I didn't want to pollute the method surface.
Best regards

@antoniopaisfernandes going to close this PR in a week

Yeah... go ahead. Couldn't find time to address it :(

@antoniopaisfernandes I'd have helped if you helped me understand. Sorry..


Text Aligment

How I can set textAligment of textfield to .right ?

Hello @tarekjradi
Please, do not submit a new issue. Reopen your previous one if needed. I aswered you there.
https://github.com/jobandtalent/AnimatedTextInput/issues/41


Modrinth

Hello, I was wondering if the mod can be updated to Modrinth as on github it's already 1.19.4? It's easier for myself and others to keep track. Thanks!

Even though Modrinth does not display it directly on the front page, a 1.19.4 version is well-available and has been ever since it was made
Cheers


Add nix flake using pyproject.nix

closes: #270
This should add a devshell for nix develop, and a buildable/runnable package using nix build or nix run

@Quince-Pie This is superb! Could you kindly create another PR for release/5.x as well?

@Quince-Pie Should we do anything to keep these updated? Like when I tried to set this up, it was downloading cdxgen 10.2.3 which is not the latest. Should we publish cdxgen separately?

@prabhu this is due to the flake.lock file which pins the dependencies to make it fully reproducible.
running nix flake update will update lock file to point to the latest nixpkgs, which should update cdxgen to the version that is present in the channel


Bug:Speedment does not generate proper queries in joins while applying count and sort

Count

Join<Tuple2<VkycOkycTransactionIdMapping, User>> userDetailsJoin = getJoinComponent().from(VkycOkycTransactionIdMappingManager.IDENTIFIER)
.where(VkycOkycTransactionIdMapping.ENTERPRISE_ID.equal(enterpriseId))
.innerJoinOn(User.CLIENT_PARTNER_USER_ID).equal(VkycOkycTransactionIdMapping.PARTNER_UNIQUE_ID)
.build(Tuples::of);
Join<Tuple2<VkycOkycTransactionIdMapping, User>> userDetailsJoin
= getUserDetailsFromEnterpriseIdTupleJoin(enterpriseId);
long count = userDetailsJoin.stream()
.collect(Collectors.counting());

Should generate a query equivalent to

SELECT  count(*) FROM digitap.vkyc_okyc_transaction_id_mapping AS A INNER JOIN digitap.user AS B ON (B.client_partner_user_id = A.partner_unique_id)  WHERE (A.enterprise_id = 1);

But generated query is

SELECT A.id,A.ent_user_log_subscription_service_mapping_id,A.partner_unique_id,A.status,A.enterprise_id,A.url,A.skip_okyc,A.created_on,A.updated_on, B.id,B.mobile,B.email,B.password,B.fname,B.lname,B.palgo,B.salt,B.type,B.createdOn,B.updatedOn,B.partner_user_id,B.client_partner_user_id FROM digitap.vkyc_okyc_transaction_id_mapping AS A INNER JOIN digitap.user AS B ON (B.client_partner_user_id = A.partner_unique_id)  WHERE (A.enterprise_id = ?) [Integer 1]

Which results in getting entire data from database to java layer and treats it has a collection and then stream the collection to find the count which results in huge performance impact
Order by and Limit

Join<Tuple2<VkycOkycTransactionIdMapping, User>> userDetailsJoin = getJoinComponent().from(VkycOkycTransactionIdMappingManager.IDENTIFIER)
.where(VkycOkycTransactionIdMapping.ENTERPRISE_ID.equal(enterpriseId))
.innerJoinOn(User.CLIENT_PARTNER_USER_ID).equal(VkycOkycTransactionIdMapping.PARTNER_UNIQUE_ID)
.where(User.MOBILE.contains(mobile))
.build(Tuples::of);
Comparator<Tuple2<VkycOkycTransactionIdMapping, User>> comparator =  User.FNAME.asString().compose(Tuple2.getter0());
List userDetailsList = userDetailsTupleJoin.stream()
.sorted(genericComparator)
.skip(0)
.limit(25)
.map(UserDetails::new)
.collect(Collectors.toList());

Should have created

SELECT A.id,A.ent_user_log_subscription_service_mapping_id,A.partner_unique_id,A.status,A.enterprise_id,A.url,A.skip_okyc,A.created_on,A.updated_on, B.id,B.mobile,B.email,B.password,B.fname,B.lname,B.palgo,B.salt,B.type,B.createdOn,B.updatedOn,B.partner_user_id,B.client_partner_user_id FROM digitap.vkyc_okyc_transaction_id_mapping AS A INNER JOIN digitap.user AS B ON (B.client_partner_user_id = A.partner_unique_id)  WHERE (A.enterprise_id = ?) [Integer 1] order by B.fname limit 0,25;

But generating

SELECT A.id,A.ent_user_log_subscription_service_mapping_id,A.partner_unique_id,A.status,A.enterprise_id,A.url,A.skip_okyc,A.created_on,A.updated_on, B.id,B.mobile,B.email,B.password,B.fname,B.lname,B.palgo,B.salt,B.type,B.createdOn,B.updatedOn,B.partner_user_id,B.client_partner_user_id FROM digitap.vkyc_okyc_transaction_id_mapping AS A INNER JOIN digitap.user AS B ON (B.client_partner_user_id = A.partner_unique_id)  WHERE (A.enterprise_id = ?) [Integer 1]

Without order by and limit clause again this results in a major impact, it selects all the rows from the database and applies sort on and group by on top of it

Speedment is not able to optimize all queries under all conditions. Which version are you using?

Speedment is not able to optimize all queries under all conditions. Which version are you using?

We're using Speedment version 3.2.7

We're using Speedment version 3.2.7

I know there have been updates to the rendering of joined streams in some of the recent versions. Are you able to test the most recent version 3.2.10?

I know there have been updates to the rendering of joined streams in some of the recent versions. Are you able to test the most recent version 3.2.10?

Hi minborg,
We've tried with version 3.2.10, but still, the issue is not yet resolved.
Basically, we're trying to achieve pagination, so as the number of records grows getting count in an above-mentioned way could be a huge performance impact for us.
can you please take this as a high priority?

Hi minborg,
We've tried with version 3.2.10, but still, the issue is not yet resolved.
Basically, we're trying to achieve pagination, so as the number of records grows getting count in an above-mentioned way could be a huge performance impact for us.
can you please take this as a high priority?

Please send a mail to<EMAIL_ADDRESS>and reference this issue and we will get back to you.

Please send a mail to<EMAIL_ADDRESS>and reference this issue and we will get back to you.


call addEventListener on attachedCallback (fixes #9)

This seems to be a very important bugfix.
@jmalonzo @erikringsmuth PTAL.

Thanks @web-padawan!


quemu-system-x86_64: -audiodev: invalid option

Hello,
launching mac on linux fails with the error quemu-system-x86_64: -audiodev: invalid option on debian 10.

Related threads
https://www.reddit.com/r/debian/comments/kmje3i/qemu_from_busterbackports_and_audiodev/
https://ubuntu-mate.community/t/unable-to-run-quickemu-audiodev-invalid-option-error/23715
Suggested fix:
Install the packages qemu-system-common and qemu-system-gui if available. Ensure you are using the latest packages.
With the percentage of people having problems with qemu packages, I might have to bundle a build of qemu along with the scripts. The idea is to create an AppImage later on to avoid platform specific problems. Till then all I can request is to research a bit about the problems that frequently occur with qemu on your distribution.


My bug, your bug, or a "feature"?

While working on the parser using the Postgresql module I found another strange thing, and I'm not sure wether it's just my "bad" data, the pgsql-postal module or a real issue in libpostal:
Taking this address-string, the quotation marks obviously are causing troubles:
"Югра" Октябрьский район Ханты-Мансийский автономный округ - Югра Уральский федеральный округ
In Postgresql
select postal_parse('"Югра" Октябрьский район Ханты-Мансийский автономный округ - Югра Уральский федеральный округ')
I get this error:
ERROR:  invalid input syntax for type json
DETAIL:  Token "югра" is invalid.
CONTEXT:  JSON data, line 1: {"house":"" югра...

and on the command line using address_parser this result:
Result:
{
  "house": "\" югра \" октябрьский район ханты-мансийский",
  "state_district": "автономный округ югра уральский",
  "state": "федеральный округ"
}

The same issue occurs when a backslash occurs in the data, e.h. in this example:
Центральная улица 35\1, 35\2 Суземский район Брянская область Центральный федеральный округ
ERROR:  invalid input syntax for type json
DETAIL:  Escape sequence "\ " is invalid.
CONTEXT:  JSON data, line 1: ...ральная улица","house_number":"35 \ ...

Result:

{
  "road": "центральная улица",
  "house_number": "35 \\ 1 35 \\ 2",
  "road": "суземский район",
  "state_district": "брянская область",
  "city": "центральный",
  "state_district": "федеральный",
  "state": "округ"
}

That's an issue with the Postgres binding, which treats strings coming from libpostal as valid JSON. That is true 99.9% of the time, except when there are certain characters like quotes, etc. Can either raise an issue there: https://github.com/pramsey/pgsql-postal or remove problematic characters from the input before parsing.

OK, but shouldn't a function that returns JSON make sure that it always returns correct JSON, no matter how bad the input was?

No, because none of the libpostal functions actually return JSON. The data structures used under the hood are just arrays of strings which contain most of the original characters from the input. It's up to the caller/binding to marshall those strings into the desired data structure/output format.
The command-line client is a C program that calls the libpostal API and formats the output, making it easy to test the parser without needing to write/compile C. The results are formatted as pseudo-JSON (though keys can repeat) for readability, and we do escape those strings before displaying them. The Postgres binding would simply need to do a similar sort of escaping before attempting to parse the result as JSON.

Ah, OK, thank you for the clarification!


2.18 regression: errors out with empty SERVER_FALLBACK_PAGE

Describe the bug
With the following Dockerfile, I could run the resulting image even with an empty SERVER_FALLBACK_PAGE:
ARG STATIC_WEB_SERVER_VERSION=2.17
FROM joseluisq/static-web-server:${STATIC_WEB_SERVER_VERSION}

# SWS configuration, check https://sws.joseluisq.net/configuration/environment-variables/
ENV SERVER_ROOT=/public

# Set fallback page for Single-page Applications
ARG SERVER_FALLBACK_PAGE
ENV SERVER_FALLBACK_PAGE=${SERVER_FALLBACK_PAGE}

# The whole website
COPY public/ /public/

Now, setting STATIC_WEB_SERVER_VERSION to 2.18, the same build gives:
error: a value is required for '--page-fallback <PAGE_FALLBACK>' but none was supplied

To Reproduce
Set an empty SERVER_FALLBACK_PAGE environment variable:
# Works
$ docker run -e SERVER_FALLBACK_PAGE= joseluisq/static-web-server:2.17
^C
# Fails
$ docker run -e SERVER_FALLBACK_PAGE= joseluisq/static-web-server:2.18
error: a value is required for '--page-fallback <PAGE_FALLBACK>' but none was supplied

For more information, try '--help'.

Environment and Specs

static-web-server: 2.18

This seems to be a regression caused by https://github.com/static-web-server/static-web-server/pull/215

In fact, I've found that I can pass false to it too;

You can theoretically whatever string that Pathbuf supports. But it will get validated when trying to read the fallback page content at server start-up time.

This is thanks to https://docs.rs/clap/latest/clap/struct.Arg.html#method.env:

Note that the value parser controls how flags are parsed. In this case we’ve selected FalseyValueParser. A false literal is n, no, f, false, off or 0. An absent environment variable will also be considered as false. Anything else will considered as true.

Yeah, this is a rigid effect of our last migration to Clap v4.
Anyway, this is fixed now. See more details on PR #219.

Released on v2.19.0


:sparkles: adding notification when executing methods

Codecov Report

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

@@          Coverage Diff          @@
##           master    #10   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines         169    169
  Branches       48     48
=====================================
  Hits          169    169

Impacted Files
Coverage Δ

src/components/ComponentFixture.vue
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Make convert_error generic

Good day!
Nom's error handling is convenient with VerboseError<I> type that is generic over input type.
But one useful function convert_error get argument with non-generic VerboseError<&str> type.
It would be excellent if this function have generic VerboseError<I> argument too to use it with custom input types.

May be it header would be looks like
pub fn convert_error<'a, T>(input: &str, e: VerboseError<T>) -> String
    where
        T: Copy + Offset + InputIter<Item=char> + Deref<Target=&'a str>
{
...

the type of the input argument and the T type in VerboseError should match. b2ed755 should be enough to fix it, feel free to reopen if there are some edge cases


Switch to PyPI token for deployment

This is slightly more secure since the token can be revoked.

fixed by #153


[Bug] hive 查询问题

Search before asking

[X] I searched the issues and found no similar issues.

Linkis Component
linkis-web
Steps to reproduce
ERROR Job with execId-IDE_root_hive_6 + subJobId : 38  execute failed,21304, Task is Failed,errorMsg: ask Engine failed + errCode: 12003 ,desc: hadoop-alone:9101_573 Failed  to async get EngineNode LinkisRetryException: errCode: 30002 ,desc:  The em of labels{userCreator=root-IDE, codeType=hql, engineType=hive-2.3.3} not found ,ip: hadoop-alone ,port: 9101 ,serviceKind: linkis-cg-linkismanager ,ip: hadoop-alone ,port: 9104 ,serviceKind: linkis-cg-entrance
Expected behavior
ERROR Job with execId-IDE_root_hive_6 + subJobId : 38  execute failed,21304, Task is Failed,errorMsg: ask Engine failed + errCode: 12003 ,desc: hadoop-alone:9101_573 Failed  to async get EngineNode LinkisRetryException: errCode: 30002 ,desc:  The em of labels{userCreator=root-IDE, codeType=hql, engineType=hive-2.3.3} not found ,ip: hadoop-alone ,port: 9101 ,serviceKind: linkis-cg-linkismanager ,ip: hadoop-alone ,port: 9104 ,serviceKind: linkis-cg-entrance
Your environment
ERROR Job with execId-IDE_root_hive_6 + subJobId : 38  execute failed,21304, Task is Failed,errorMsg: ask Engine failed + errCode: 12003 ,desc: hadoop-alone:9101_573 Failed  to async get EngineNode LinkisRetryException: errCode: 30002 ,desc:  The em of labels{userCreator=root-IDE, codeType=hql, engineType=hive-2.3.3} not found ,ip: hadoop-alone ,port: 9101 ,serviceKind: linkis-cg-linkismanager ,ip: hadoop-alone ,port: 9104 ,serviceKind: linkis-cg-entrance
Anything else
ERROR Job with execId-IDE_root_hive_6 + subJobId : 38  execute failed,21304, Task is Failed,errorMsg: ask Engine failed + errCode: 12003 ,desc: hadoop-alone:9101_573 Failed  to async get EngineNode LinkisRetryException: errCode: 30002 ,desc:  The em of labels{userCreator=root-IDE, codeType=hql, engineType=hive-2.3.3} not found ,ip: hadoop-alone ,port: 9101 ,serviceKind: linkis-cg-linkismanager ,ip: hadoop-alone ,port: 9104 ,serviceKind: linkis-cg-entrance
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

It seems that there is a problem with the start of the linkis-cg-engineconnmanager service. Just restart the service.


Tracker as "Controller"

It would be nice to have an advanced mode where i can select trackers in "Controller" drop down.

Added in version 0.2.0


Set concurrency limit

Refactor the worker package to limit amount of concurrent DELETE requests to ACR server

type PurgeJob struct {

Can you divide it into two structs as PurgeTagJob and PurgeManifestJob, having a common PurgeJobBase and matches a PurgeJob interface?

Refers to: cmd/worker/purge_structures.go:9 in 3a71145. [](commit_id = 3a71145d24ea98cee255b97b299c208b72060f94, deletion_comment = False)

type PurgeJob struct {

Can you divide it into two structs as PurgeTagJob and PurgeManifestJob, having a common PurgeJobBase and matches a PurgeJob interface?

Refers to: cmd/worker/purge_structures.go:9 in 3a71145. [](commit_id = 3a71145d24ea98cee255b97b299c208b72060f94, deletion_comment = False)

@shizhMSFT Please help to review, Thanks!

@shizhMSFT Please help to review, Thanks!


use official libtorrent, fix tests, make it a normal dependency

linux binary works. mac and windows needs testing.
Testing:

start SDK
play or manually download bigbuckbunny-torrent1

Look to not work correct on MacOS

lbrynet 0.109.0

Coverage increased (+0.01%) to 57.761% when pulling 174de127f9aab2daa9a441fec068c3f713dc49fe on libtorrent into 01cd95fe460094b7a9e29ecfd61864e705b2e2c1 on master.


Using Electron's systemPreferences.askForMediaAccess fails when running through integrated terminal

VSCode Version: 1.52.1
OS Version: MacOS 11.1 (20C69)

Steps to Reproduce:

Create a demo electron app using yarn create electron-app my-app or npx create-electron-app my-app
Add an entitlements.plist that contains camera access support:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>com.apple.security.cs.allow-jit</key>
    <true/>
    <key>com.apple.security.cs.allow-unsigned-executable-memory</key>
    <true/>
    <key>com.apple.security.cs.allow-dyld-environment-variables</key>
    <true/>
    <key>com.apple.security.cs.disable-library-validation</key>
    <true/>
    <key>com.apple.security.device.camera</key>
    <true/>
    <key>com.apple.security.device.microphone</key>
    <true/>
    <key>com.apple.security.device.audio-input</key>
    <true/>
</dict>
</plist>

In the forge config in package.json reference those entitlements

packagerConfig: {
    usageDescription: {
      Camera: 'Access is needed to use the Camera',
      Microphone: 'Access is to use the Microphone',
    },
    appCategoryType: 'public.app-category.video',
    osxSign: {
      identity: 'my-app',
      hardenedRuntime: true,
      'gatekeeper-assess': false,
      entitlements: 'entitlements.plist',
      'entitlements-inherit': 'entitlements.plist',
      'signature-flags': 'library',
    },
  }

Run yarn start
Receive the following error

❯ (node:16354) UnhandledPromiseRejectionWarning: RpcIpcMessagePortClosedError: Cannot send the message - the message port has been closed for the process 16354.

This happens because VScode doesn't register itself for handling video & microphone in the MacOS security & privacy settings.
Running the app in Terminal or iTerm2 works fine since they register themselves.

Does this issue occur when all extensions are disabled?: Yes
Related issues:
https://github.com/electron/electron/issues/19307

Merging to https://github.com/microsoft/vscode/issues/95062

Merging to https://github.com/microsoft/vscode/issues/95062


Add few common widgets with example

What 🕵 🔍

Add 3 common widgets with docs and examples

switch
button
card

How to test 🥼 🔬

check example app and compare with design blueprints

Screenshots 📸 📱

light
dark

References 📝 🔗

jira
figma

LGTM!!


[ADP-3042] add state-to-ktype implication

[x] add new type family CredFromOf that maps states to CredFromKey types, which are part of Depth kind , which is ... strange, but I didn't touch it.
[x] remove ktype from ApiLayer
[x] remove ktype from WallteLayer
[x] remove k and ktype from MockWalletLayer

I'm a bit perplexed on the ktype , after binding it to the state type I realized that even the key type implies it. So a type function like
type family CredFromOfKey k where
    CredFromOfKey (SharedKey) = 'CredFromScriptK
    CredFromOfKey _ = 'CredFromKeyK

type CredFromOf s = CredFromOfKey (KeyOf s)

would just suffice,  instead of the bulky
type family CredFromOf s where
    CredFromOf (SharedState n key) = 'CredFromScriptK
    CredFromOf (SeqState n key) = 'CredFromKeyK
    CredFromOf (RndState n) = 'CredFromKeyK
    CredFromOf (TestState n key) = 'CredFromKeyK
    CredFromOf (RndAnyState n p) = 'CredFromKeyK
    CredFromOf (SeqAnyState n key p) = 'CredFromKeyK

I'm proposing here
The key type implication would also remove ktype from other data , like

TransactionLayer
PaymentAddress
DelegationAddress

and derived types/classes
I left this out of the PR, because I'm not sure of the intentions of this polymorphism.
ADP-3042

bors r+


Roll engine ae8e6d9f4699..13145e90cd72 (1 commits)

https://github.com/flutter/engine/compare/ae8e6d9f4699...13145e90cd72
git log ae8e6d9f46990b9585dc1fb5b8aabe491c08aaf3..13145e90cd72f9497b45c637a91768f496afa1d7 --no-merges --oneline
13145e90c ios-unit-tests: Started using rsync instead of cp -R to copy frameworks. (flutter/engine#9471)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (chinmaygarde@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5541770729881600

Commit queue failed; closing this roll.


telink: Update telink hal

Update telink hal
Signed-off-by: Alex Tsitsiura<EMAIL_ADDRESS>

The following west manifest projects have been modified in this Pull Request:

Name
Old Revision
New Revision
Diff

hal_telink
https://github.com/telink-semi/hal_telink/commit/176f4d651526620aea4f7202e6fad10d04426b38
https://github.com/telink-semi/hal_telink/commit/86c577a2d3d01c9485f6367766067413d6669b0b (develop)
<EMAIL_ADDRESS>

Note: This message is automatically posted and updated by the Manifest GitHub Action.


When using the OpenAIFunctionsAgentOutputParser() to parse agent output meet an error.

Issue you'd like to raise.
The following issue occurred when parsing the output of the proxy.

Expected an AI message got <class 'langchain_core.messages.chat.ChatMessage'>

Code:
self.agent_output_parser = OpenAIFunctionsAgentOutputParser()
self.agent = {
                 "paths": lambda x: x["paths"],
                 "in_name": lambda x: x["in_name"],
                 "out_name": lambda x: x["out_name"],
                 "agent_scratchpad": lambda x: format_to_openai_functions(x['intermediate_steps'])
             } | self.gen_chatprompt | llm_with_tools | self.agent_output_parser

There were no errors in this code before the update.
current version of langchain is 0.0.350.
Suggestion:
No response

🤖
Hello @qhNana7mi! I'm Dosu, a friendly bot here to assist you with bugs, answer your questions, and guide you in contributing to LangChain. While you're waiting for a human maintainer, feel free to ask me anything. Looking forward to helping you!
Based on the information provided, it seems like the error you're encountering is due to a change in the type of message returned by the ChatGeneration output in LangChain version 0.0.350. The OpenAIFunctionsAgentOutputParser()._parse_ai_message() method expects an instance of AIMessage but it received an instance of ChatMessage. This could be due to the update where the type of message returned might have changed.
Here is the relevant code causing the error:
def _parse_ai_message(message: BaseMessage) -> Union[AgentAction, AgentFinish]:
    """Parse an AI message."""
    if not isinstance(message, AIMessage):
        raise TypeError(f"Expected an AI message got {type(message)}")

(Source: libs/langchain/langchain/agents/output_parsers/openai_functions.py)
To resolve this issue, you might need to update the _parse_ai_message() method to accept ChatMessage instances or ensure that the message returned by the ChatGeneration output is an AIMessage instance.
There are similar issues that have been resolved in the LangChain repository, such as The agent run output parser cause error when run a simple quick start. The suggested solution in these issues is to refer to the article on how to handle parsing errors in LangChain. The link to the article is: https://python.langchain.com/docs/modules/agents/how_to/handle_parsing_errors
Please let me know if this helps or if you need further assistance.
Sources

The agent run output parser cause error when run a simple quick start
libs/langchain/langchain/agents/output_parsers/openai_functions.py

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.

Why I get a ChatMessage rather that an AIMessage? I never met this error in my agent before I update my langchain version.


DynamoDB - Improve handling of ReturnConsumedCapacity-param

Only returns the param now if required, and throws an error if the value is unknown.
The validation and content is exactly the same across all methods, so being able to use a single decorator across all of them reduces the need for repeated code.
Fixes #2851
Fixes #3959

Codecov Report

Merging #4241 (efbf018) into master (728c0c9) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #4241   +/-   ##
=======================================
  Coverage   95.13%   95.13%
=======================================
  Files         485      485
  Lines       54143    54176   +33
=======================================
+ Hits        51507    51541   +34
+ Misses       2636     2635    -1

Flag
Coverage Δ

servertests
54.91% <67.39%> (+0.01%)
:arrow_up:

test_responses
32.89% <36.95%> (+<0.01%)
:arrow_up:

unittests
95.04% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/__init__.py
98.36% <100.00%> (ø)

moto/dynamodb2/responses.py
98.05% <100.00%> (+0.09%)
:arrow_up:

moto/s3/models.py
94.83% <100.00%> (+0.04%)
:arrow_up:

moto/s3/responses.py
95.59% <100.00%> (-0.02%)
:arrow_down:

moto/iam/access_control.py
97.46% <0.00%> (+0.42%)
:arrow_up:

Continue to review full report at Codecov.

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


🛠fix: footer position for page with short content

Resolves https://github.com/datopian/flowershow/issues/563

LGTM


editor.html template is missing

I installed version 2.1.0 of the lib in my project and followed the quickstart  tutorial, but I am now getting an error in the page where the field is supposed to render - template "django_jsonform/editor.html" does not exist. I checked that there's no "templates" directory in the locally installed django_jsonform package. The only folders are models and forms and the template is being referenced in JSONFormWidget.

I've released a new version fixing this issue. Please upgrade using pip install -U django-jsonform.


Moved LD_LIBRARY_PATH to java.library.path to address part of wpilibs…

…uite/java-installer#18. Also removed the GenICAM path, as it's no longer necessary. @Kevin-OConnor @PeterJohnson. /cc @sciencewhiz.

I get farther, but not all the way running.
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/frc/lib/li           bwpilibJavaJNI.so: libMathParser_gcc-4.4-arm_v3_0_NI.so: cannot open shared obje           ct file: No such file or directory         at java.lang.ClassLoader$NativeLibrary.load(Native Method)         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1847)         at java.lang.Runtime.loadLibrary0(Runtime.java:870)         at java.lang.System.loadLibrary(System.java:1119)         at edu.wpi.first.wpilibj.hal.JNIWrapper.<clinit>(JNIWrapper.java:22)         at edu.wpi.first.wpilibj.RobotBase.initializeHardwareConfiguration(Robot           Base.java:165)         at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:187)
libMathParser_gcc-4.4-arm_v3_0_NI.so is in the GenICAM path, so I think it's still necessary.

Note this PR should also include a requirement to only use image V8, since it will break with old images.

@sciencewhiz what image version?  v6 or v8?

Why would it break old images, since we apparently still need the GenICAM stuff?

Well if it did work without the genIcam stuff, that would have broken old images. But I feel like Joe is potentially on v6 or v7. Id wait for a response from him before adding that stuff back in.

I'm on 7, updating to 8 now. What changed?

/etc/ld.so.conf.d/vision_libs.conf

@sciencewhiz Sometime between v6 and v8 they fixed vision_libs. So to test, don't redownload this PR as fred just added a patch to add that back in.

works for me with v8


fix cmake

this file is missing when install

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.0%) to 99.129%

Totals

Change from base Build<PHONE_NUMBER>:
2.0%

Covered Lines:
15132

Relevant Lines:
15265

💛  - Coveralls


[BuildSystem] Add support for setting external process working directory

This currently is limited to Darwin platforms, as it is implemented via a
non-portable pthread API.
rdar://problem/39941219

@swift-ci please smoke test

@swift-ci please smoke test


Redirect from hacked/docs to hacked

What's changed, or what was fixed?
-Adds redirect from /web/fundamentals/security/hacked/docs/... to hacked/
Target Live Date: 2017-12-22

[X] I have run gulp test locally and all tests pass.
[X] I have added the appropriate type-something label.
[X] I've staged the site and manually verified that my content displays correctly.

CC: @petele

:+1:


accept more clock_id in clock_gettime  (IDFGH-6422)

Is your feature request related to a problem? Please describe.
By upgrading esp-idf from v4.2 to v4.3.1, some macros are added in time.h:

These macros are linux specific macros. Normally, they are only defined in Linux's time.h.
The applications' code may detect these macros, and passing these macros into clock_gettime when these macros are defined.
But acturally, the esp-idf does not really support these macros:
https://github.com/espressif/esp-idf/blob/1cb31e50943bb757966ca91ed7f4852692a5b0ed/components/newlib/time.c#L271
So some applications are broken.
Describe the solution you'd like
accept these newly added macros in clock_gettime
Describe alternatives you've considered
do not define these macros in time.h

Note: time.h exist in toolchain.

./xtensa-esp32-elf/xtensa-esp32-elf/include/machine/time.h
./xtensa-esp32-elf/xtensa-esp32-elf/sys-include/time.h


Calendar

Set up a termly Calendar page.

Infeasible until Exec set up an internal calendar and/or communicate events more than a few days in advance.


Use the already downloaded models

When we use the steps mentioned below and download the models it will create few files:
https://github.com/meta-llama/llama3?tab=readme-ov-file#quick-start
checklist.chk  consolidated.00.pth  params.json  tokenizer.model
Here these file size is in GB.
Now, I want to switch to ollama and use these files how can I do without ollama run or ollama pull command .
As this will be duplicate of the same model.

@nitulkukadia check out the import documentation for how to load a model into Ollama.

Yes I have seen that, FROM ./mistral-7b-v0.1.Q4_0.gguf  file is the single file only,
How do we choose one of the file from below files:
checklist.chk consolidated.00.pth params.json tokenizer.model

Yes I have seen that, FROM ./mistral-7b-v0.1.Q4_0.gguf file is the single file only,
How do we choose one of the file from below files:
checklist.chk consolidated.00.pth params.json tokenizer.model

Hi. I had been dealing with that too. Your best bet is to use Open Web UI: https://github.com/open-webui/open-webui.


Local aliases take precedence

Sometimes one wants to use their own version of a shared alias in their ~/.aliases.local. This makes that possible.
Motivating use case: the dotfiles alias is set to ~/dev/epion/dotfiles in aliases. I would like to use the dotfiles repo on my personal laptop, which has its dotfiles in a different spot. Thus, I want to override the team dotfiles alias in my ~/.aliases.local file.

:rocket:


Touch: clicking an action like "split editor" does it twice

Steps to Reproduce:

use a touch device
open an editor
touch on the "Split Editor" action

=> the editor splits twice

The issue here was that we were no longer preventing default and stop propagation of the native tap event. This casued that in the split editor case we would both react on the tap event which we generate oand on the click event which vrowser generates for the tap.
I have fixed this to prevent default and stop propagating only if I have found a target to wihc hto forward the tap event. I can not blindly prevent since we also realy on native behavior (input boxes getting focused when tapped)

While the split thing works, when I click on a tab close button, the editor closes and opens again.

Pushing to next week when I have a touch laptop.


Fix: Copy/Alias Page also copies restrictions to the copied page

Fixes #10111

Add functionality to copy page restrictions if the page is copied or aliased.
Prevent copying the restrictions if the parent page has restrictions.
Add test cases in test_page_model.py to check if the restrictions were copied correctly in case parent has or doesn't have restrictions

Please check the following:

[x] Do the tests still pass?[^1]
[x] Does the code comply with the style guide?

[x] Run make lint from the Wagtail root.

[x] For Python changes: Have you added tests to cover the new/fixed behaviour?
[ ] For new features: Has the documentation been updated accordingly?

Please describe additional details for testing this change.
With tests I have essentially tried to cover Four Cases

copy: when parent_page has restrictions/when parent_page doesn't have restrictions
alias: when parent_page has restrictions/when parent_page doesn't have restrictions

@lb- Sir, could you review this pr, I think it has gone under your sights. Thank You!

@GeekGawd it's flagged for a review - I'm not sure I'm the best person to review this sorry. Others in the core team should see this comment and review when they get the cha chance.

@zerolab do you mind giving this one a review when you get the chance?

@lb- can try to have a look over the weekend (that is the earliest, I'm afraid)

Thanks Dan. I'll add you as a reviewer for now.

hi! @zerolab sir, could you please give this pr a review when you find the time.

I should have some dedicated time from next week, so will look at reviewing it then

Pinging for another look if you do get a chance @zerolab

Sorry Dan - did not mean to spam you, accidentally removed your review request.

A potentially relevant PR - copying privacy settings when copying pages. https://github.com/wagtail/wagtail/pull/6406

Thanks @GeekGawd! I made a few changes when merging #6406 that conflicted with this one, so I rebuilt this PR at #10801 and have now merged.


responses: add more options for multiple severities

I'm not super happy with this "unusedText" hack but I wanted to make it possible to hide "tankbuster on" for healers in alliance raids sometimes, since sometimes it can be very noisy.
Do folks have opinions on this? @panicstevenson @Akurosia @Jaehyuk-Lee

Maybe the cleanest solution here is to just add tankbusterTargetOnly() instead of hacky 'none'.

I'm just going to remove 'none' here.  I think I forgot you could just add a conditional if you only wanted it on the target.


How do we use a fine-tuned model with Wordcab Transcribe?

I have a Whisper model which I've fine-tuned, and converted to CTranslate2 format.
How can I use it with Wordcab?

Hi @mathiasfoster, check this in the .env file: https://github.com/Wordcab/wordcab-transcribe/blob/8c967bd0fdb29a8496ab9d32caa6d6c9a7649c03/.env#L29
You can also host the model on Hugging face and just pas the org-name/model-name, it should work if the model is public.

Thank you!


fix typo in uploading blob to ollama

Pull Request Checklist

[ X] Description: Briefly describe the changes in this pull request.
[ X] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[ X] Documentation: Have you updated relevant documentation?
[ X] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?

Description
Fix typo in upload blob code

Changelog Entry
Fixed

Fixed call to openllama call to include /api in front

Is this tested as working? Could you possibly attach a short video? (Sorry, we've realized we need to ask about this now due to some past PRs we didn't introspect nearly enough before merging.)
I bring it up, because there have been recent refactors involving the URL constructor for the Ollama API and I wonder if your attempt to "fix" it has aken this into account.

LGTM, Thanks!


Linter cleanup

Collection of various fixes reported by clang-tidy & gcc's -fanalyzer. Also, extend the CI pipeline to run gcc with -fanalyzer & clang tidy for all configuration options

Nice job!


Password resets for Ionic.io

This may not be the best repo.
Twice this morning someone reset my password for ionic.io. I think the system should not reset until after an email is sent to the user and the user clicks to complete the process.

@ericb, thoughts?

Is this for apps.ionic.io, or the ionic platform users reset?

Dang it - I'm sorry. It's the platform thing - and most likely someone using my demo. I ran into this before and was confused. Sorry.
Although in my defense, I filed an ER to make that text customizable so the user would be real clear who was asking for resets. :)


E commerce product page

Description: This project is an E-commerce Product Page designed to display individual products with images, descriptions, and pricing. It features an interactive "Add to Cart" button and is fully responsive, ensuring a seamless shopping experience across devices. Technologies used include HTML, CSS, and JavaScript.
Request: Please merge this pull request as soon as possible, as Hacktoberfest is about to end.


Fixed EOL build issue on Windows

This PR will fix a EOL build issue #705 on Windows as reported here.
The issue is caused by an assumption in the build script. The assumptions is that read files will always use the local OS's end-of-line (i.e. os.EOL). However this is not the case since by default git does not auto-convert line-endings during checkout. In addition, the system or even nodejs may transparently convert line-endings to be more portable.
The fix replaces the use of os.EOL with the OS-agnostic regex pattern [\r\n]+, which will work for any line-ending-style.

Thanks, I'm going to check this out just need to find the time to test it :-)


Cider implementation for for super-initializer parameters

See https://github.com/dart-lang/sdk/issues/48055 for the main tracking issue.

cc @keertip

Note: in our planning meeting on Dec 13, it was suggested that when the user hovers over an optional super parameter that inherits a default value from the corresponding parameter on the base class, the IDE should show the default value that's being inherited from the base class constructor.  Doing so requires work in the analysis server, and possibly in some of the IDE integration logic.

FYI, the flag has been flipped so these can be used without a flag internally now.

@leafpetersen per your comment, this issue seems like it can be closed.

No, my comment was just to indicate that work on this can start.

@keertip do you have a status on this?


re-addChore/tests select dataset model

Description
PR contains mostly unit tests updates for canvas and user input screen (select model , dataset and fill inputs).
Also contains minor improvement to when the saved message is displayed when save button is clicked on header.

Most unit tests code changes are under __tests__ and __mock__ subfolders (also include jest files)
Code changes under ai-verify-portal/src/modules/project/header.tsx are additions of lines on save button click handling. The existing save function is called and no change is made to that. Additional new codes are added after it to ensure that the Project saved message is displayed only after save is successful. Previously, it was just displayed without checking if save is successful. With this improvement, unit test can assert the APIs that's needed to be called when save is clicked.
All other code changes that has additions of toErrorWithMessage simply improves the error message formatting (out put are normally just logged in browser console). No impact to functionality.
There is 1-liner code change in ai-verify-portal/src/modules/projectTemplate/canvas.tsx where new Date().getTime() is changed to Date.now(). Both return the exact same thing. Changing to Date.now() allows us to stub and mock it in unit tests`
Another addition in ai-verify-portal/src/modules/projectTemplate/canvas.tsx are isNaN handlings which only happens in unit tests jsdom, because there are no screen pixel level calculations or details available.

Motivation and Context
Increase unit tests coverage
Type of Change

chore: Routine tasks, maintenance, or tooling changes

How to Test

Under ai-verify-portal root folder, run npm test
On report canvas, ensure that widget drag & drop behaviours are normal
Click save icon on header and see that Project Saved message is displayed

Checklist
Please check all the boxes that apply to this pull request using "x":

[ x]  I have tested the changes locally and verified that they work as expected.
[ ]  I have added or updated the necessary documentation (README, API docs, etc.).
[x ]  I have added appropriate unit tests or functional tests for the changes made.
[x ]  I have followed the project's coding conventions and style guidelines.
[ ]  I have rebased my branch onto the latest commit of the main branch.
[x ]  I have squashed or reorganized my commits into logical units.
[ ]  I have added any necessary dependencies or packages to the project's build configuration.
[x ]  I have performed a self-review of my own code.
[x ]  I have read, understood and agree to the Developer Certificate of Origin below, which this project utilises.

Screenshots (if applicable)

Additional Notes
[Add any additional information or context that might be relevant to reviewers.]

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
   have the right to submit it under the open source license
   indicated in the file; or

(b) The contribution is based upon previous work that, to the best
   of my knowledge, is covered under an appropriate open source
   license and I have the right under that license to submit that
   work with modifications, whether created in whole or in part
   by me, under the same open source license (unless I am
   permitted to submit under a different license), as indicated
   in the file; or

(c) The contribution was provided directly to me by some other
   person who certified (a), (b) or (c) and I have not modified
   it.

(d) I understand and agree that this project and the contribution
   are public and that a record of the contribution (including all
   personal information I submit with it, including my sign-off) is
   maintained indefinitely and may be redistributed consistent with
   this project or the open source license(s) involved.

@imda-benedictlee
All 68 unit tests pass. Status is red because of code coverage threshold.
Also pushed an npm audit fix and updated workflow yaml to omit dev dependencies in npm audit flow


Implementing depend.scalikejdbc in uniform Jira:OCU-582

@jdcba Build is passed now. The build was failed initially, this may be due to some network problem during the download of jars.

Hi, I re-ran the failed build now and it has passed.


According to IntelliSense documentation, dialogs inherit TelemetryClient when added using AddDialog

According to IntelliSense documentation, dialogs inherit TelemetryClient when added using ComponentDialog.AddDialog:
// Remarks:
//     Adding a new dialog will inherit the Microsoft.Bot.Builder.IBotTelemetryClient
//     of the ComponentDialog.

This conflicts with the documentation that you need to add it manually to all dialogs:
> When adding each dialog using the AddDialog method, set the TelemetryClient value:

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

ID: db892de5-e60e-1d4f-505b-11b1cdb73323
Version Independent ID: f7263014-b8fa-9a20-71aa-e4217b2821ee
Content: Add telemetry to your bot - Bot Service
Content Source: articles/v4sdk/bot-builder-telemetry.md
Service: bot-service
GitHub Login: @WashingtonKayaker
Microsoft Alias: kamrani

@hansmbakker In this case, the IntelliSense is correct. While the sample code as currently structured works fine, it does extra work, with respect to setting the telemetry client on child dialogs. We need to coordinate with a couple other teams, so we'll let you know when a full fix is in place.

@hansmbakker Thanks for taking the time to report this.  The change to the sample app is on the backlog, once the updated sample is ready we will update the article as well.


chore: add exponential backoff for job load data

Yeah, I have tried in https://test.infrabox.datahub.only.sap/dashboard/#/project/test-jiacheng/build/3/1, the backoff was working.

I merged it now. But I suggest to make it available in pro cluster on the next Monday.


COALESCE in INSERT results in missing arguments

Version
1.21.0
What happened?
When writing a query like
INSERT INTO authors (
    address,
    name,
    bio
) VALUES (
    ?,
    COALESCE(sqlc.narg("authName"), ""),
    COALESCE(sqlc.narg("authBio"), "")
);

Only the ? is recognised and add as a parameter to the insert query
Relevant log output
none - generate works

Database schema
CREATE TABLE authors (
  id   BIGINT AUTO_INCREMENT NOT NULL,
  address VARCHAR(200) NOT NULL,
  name VARCHAR(20) NOT NULL,
  bio  LONGTEXT NOT NULL
);

SQL queries
-- name: AddAuthor :execlastid
INSERT INTO authors (
    address,
    name,
    bio
) VALUES (
    ?,
    COALESCE(sqlc.narg("calName"), ""),
    COALESCE(sqlc.narg("calDescription"), "")
);

Configuration
{
  "version": "1",
  "packages": [
    {
      "path": "db",
      "engine": "mysql",
      "schema": "query.sql",
      "queries": "query.sql"
    }
  ]
}

Playground URL
https://play.sqlc.dev/p/8471d8c7965409b41c01510cf680b8026ae5268dc83ae2591e891c432aef0432
What operating system are you using?
macOS
What database engines are you using?
MySQL
What type of code are you generating?
Go

I think the bug is sadly worse than your description, and I'll probably update the title. It appears that sqlc fails to generate input parameters for values passed to COALESCE in INSERT statements, even without sqlc.narg(). And I also see this behavior with PostgreSQL.
This playground link updates the one you provided to demonstrate that things work fine in the context of UPDATE: https://play.sqlc.dev/p/0d614a07b58fbacdea078b51d5e6d338414dc6558059249294c29f74212f9104

Interestingly this does indeed seem particular to COALESCE. I went back and tried a couple of other functions like substrings (both for postgresql and the mysql variant) but they seem ok.

Fix has been merged, will be included in v1.23.0


[rss] Display RSS Feeds in Notifications

It is now possible to use the RSS plugin to display the items from an
RSS feed within the notifications. RSS feed items are always marked as
unread and info.
We also added a page implementation for the plugin to show the items of
a single RSS feed. This allows us to link from a notification entry to
the complete rss feed.

[x] I added a CHANGELOG entry for this change.
[ ] I adjusted the corresponding documentation for this change.
[ ] I adjusted the values.yaml file and the documentation for all values.

Codecov Report

Merging #392 (9afed34) into main (184289e) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #392      +/-   ##
==========================================
+ Coverage   45.20%   45.21%   +0.01%
==========================================
  Files         134      134
  Lines       10377    10379       +2
==========================================
+ Hits         4691     4693       +2
  Misses       5608     5608
  Partials       78       78

Impacted Files
Coverage Δ

plugins/plugin-rss/cmd/rss.go
100.00% <100.00%> (ø)

plugins/plugin-rss/pkg/feed/feed.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


wip: initial set up

Description
Description of the feature or fix with link to the issue if existing
On what platform have you tested the change?

[ ] Android - Emulator
[ ] Android - Physical device
[ ] iOS - Emulator
[ ] iOS - Physical device

Screenshots
Please attach screenshots showing the change if relevant
Checklist

[ ] I have updated mockServer
[ ] I've added analytics as relevent
[ ] I have run npm test
[ ] I have run npm run test:i18n

Out of scope and potential follow-up
Is there any related changes that you plan to do in a follow-up PR or voluntarily excluded from the scope?

Here's how i envisage the response/json looking. Will keep it on this PR for now for discussion.
enum TimelineEventType {
    SIGNED_UP: 'Began reporting',
    COMPLETED_SCIENTIFIC_STUDY: 'Completed Scientific Discovery',
    SCIENTIFIC_FINDING: 'Scientific Finding',
    SCIENTIFIC_DISCOVERY: 'Scientific Discovery',
    SCIENTIFIC_DISCOVERY: 'Scientific Discovery',
    PUBLISHED_SCIENTIFIC_DISCOVERY: 'Published Scientific Discovery',
}

data types/shape:
array of items that look like:

    {
        date: string,  // for MVP string as 'Month Year' from BE is fine, saves faff? It'll be ordered by date in json
        eventType: TimelineEventType,
        title: string,
        subTitle: string,
        summary: string,
        externalLink: string,
        externalLinkText: string,
        onging: boolean

        // Not relevant to MVP but in design so worth planning for?
        progress: number, // Seems to be a progress bar? Data on mvp won't support this
        yourContribution: string
    }

example json data:

ordered_timeline_json = {
    timeline_data: [
        {
            date: 'March 2020',
            eventType: 'SIGNED_UP',
            title: 'You Began Reporting',
            ongoing: false,
        },
        {
            date: 'April 2020',
            eventType: 'COMPLETED_SCIENTIFIC_STUDY',
            title: 'Skin Rash as a key symptom of COVID',
            subTitle: 'Findings Published',
            ongoing: false,
        },
        {
            date: 'May 2020',
            eventType: 'SCIENTIFIC_FINDING',
            title: 'Risk of COVID-19 in front-line health-care workers vs the general community',
            summary: 'Front-line healthcare workers with adequate PPE still have 3x higher risk of catching COVID',
            externalLink: 'More details',
            externalLinkText: 'https://zoe.com/blog/123/',
            ongoing: false,
        }
    ]
}```


RedissonLocalCachedMap.clear sometimes doesn't clear immediately

I'm facing a problem where I clear redis but somehow it is not empty when I access it shortly after:
RedissonLocalCachedMap redis;
redis.clear();
redis.clearLocalCache();
List result = redis.get("key"); // result is usually empty but sometimes not empty

Does calling .clear() guarantee that subsequent call to .get() will return empty result?
If so, then what could be the cause of this issue?

after clearLocalCache local cache should be cleared on all instances.
Unable to reproduce.
        RLocalCachedMap<String, String> localCachedMap = redisson.getLocalCachedMap("udi-test",
                LocalCachedMapOptions.defaults());
        for (int i = 0; i < 100; i++) {
            localCachedMap.put("1", "2");
            localCachedMap.clear();
            localCachedMap.clearLocalCache();
            String v = localCachedMap.get("1");
            assertThat(v).isNull();
        }

Thanks @mrniko
Yes it's difficult to reproduce it locally. In our case it only occurs when multiple servers make calls to redis at same time.
Question: What will happen if one server calls .clear() and another server calls .put("1", "2") at same time. Is there some sort of locking to prevent them from running at same time. Or is the behavior undefined in this case?

What will happen if one server calls .clear() and another server calls .put("1", "2") at same time.

In this case of course you can get data inserted right after put method call since they aren't synchronized. You can try to use RLock object to avoid this.


authorizations.js should compare int to an int - resolves #163

In the own method of authorizations.js, we use triple equals to compare the model[prop] with the user.id. But the user.id is an int and model[prop] is sometimes (always?) a string.

Good call.
Rob Rogers
415.615.2859
<EMAIL_ADDRESS>
On Feb 7, 2018, at 5:18 AM, Michaël De Boey<EMAIL_ADDRESS>wrote:
@MichaelDeBoey requested changes on this pull request.
In resources/assets/js/authorizations.js https://github.com/JeffreyWay/council/pull/164#discussion_r166572859:

@@ -2,7 +2,7 @@ let user = window.App.user;

module.exports = {
owns (model, prop = 'user_id') {

   return model[prop] === user.id;

   return parseInt(model[prop]) === user.id;

It's best to specify the radix, like suggested on MDN https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt 🙂
return parseInt(model[prop], 10) === user.id;
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/JeffreyWay/council/pull/164#pullrequestreview-94654619, or mute the thread https://github.com/notifications/unsubscribe-auth/ACpX2s49BKI0MdB-GIykIQjEyDxm7zIWks5tSXhcgaJpZM4R75YQ.


Added a ModulePath folder check to be sure the directory exists ...

I have some old left-over directories who used the FooBar, BarBiz folder structure and in the current situation, this will become str_slug -> studly_case, so Foobar, Barbiz.
I added a check if the current folder-directory exists, otherwise use the FooBar folder structure ...

Thanks!


Overestimating clock rate for BA.2, clade needs to be split

This is from our current root-to-tip plot:

Note red corresponds to BA.2 and derived lineages.  There are two clusters (the upper-right cluster is obscured by other points) that is causing the root-to-tip regression to estimate a higher rate of evolution than should be supported by the data.
This upper cluster appears to be associated with BA.2.75 and derived lineages.  I am going to see what happens if I separate this from the rest of BA.2.

Adding BA.2.75 as a pango.group seems to resolve the problem.

Going to push to new branch iss107 and issue pull request.  Cleaning up code in scanlineages.R right now

Thanks for this! Great idea!

What are the remaining red on the top then? Would be good to look at this further.

Thanks Art it s BA.2.75, I will separate this group and make it orange !


Local demo runs correctly on recent version of PCF dev

Currently, given a recent version of PCF dev:
$ cf version
cf version 6.40.1+85d04488a.2018-10-31
$ cf dev version
CLI: 0.0.11
cf: v4.5.0
cf-mysql: 36.15.0

Then the local demo scripts to not successfully deploy the service broker and demo app.

This is address in #23


Change all local links to be relative (rebased)

This is a rebased https://github.com/bitcoin-core/bitcoincore.org/pull/741, nothing added and did not even check if new absolute links need {{ ROOT_PATH }}.

Looks like there's a lot of HTMLproofer errors in finding the release binaries. I don't know if this is a problem with the generated HTML or the tool.

no longer your can of worms 😂

Can this be closed?

Sure. Closing.


crash when no metrics got registered

This tracker is for issues related to:

Dart VM

crash when no metrics got registered
run the following program,
click 'metrics' page on observatory to trigger a crash
import 'dart:async';
main() {
new Timer.periodic(new Duration(seconds: 1), (t) {});
}
I have sent a patch with git-cl upload -s in
https://dart-review.googlesource.com/c/sdk/+/180300

/cc @bkonyi

/cc @bkonyi

Closed by https://github.com/dart-lang/sdk/issues/44859.


Initial support for Mesos containerizing Docker images directly

This is a bit of a WIP currently, but works well enough that I've done a couple of test deployments.  I'd love some feedback on what direction you guys would like this to go in.

DYI @stevenschlansker planning on trying to fold this in post 1.x upgrade. Should be fairly easy to wire up


Editing

I edited for spelling, punctuation, grammar, usage, and corporate voice. I also added .DS_Store to .gitignore.

Thanks @Buzzardo !


Switch to puppet/archive

puppet/archive is the "official" archive module now, has the best score (5.0 currently) and is actively developed. So let's switch to it from  camptocamp/archive.
(Fixes https://github.com/bfraser/puppet-grafana/issues/81)

Unfortunately the namespace has changed and you need to replace puppet-community with voxpupuli.


Translations update and guidance

closes #126
closes #142

There are a lot of changes in the *po files because the first time I ran makemessage from inside the data_registry directory, but that is not necessary


ios 9.3 crash when plug in start...

In first of all thanks .. i write becouse when i start plugin ios 9.3 crash there is special value or permission to add in xml config? thx

Can you add more information? plugin version, cordova version, device model, code used


Uploading to a file system?

I am working for a web firm who does hosting as well through our own servers. With that, we are networked into those servers and do a lot of local uploads.
Is there a way to set brackets to push a file to that folder on the server, without having to edit from the server? We use Git for repositories, to keep up to date on everything that's been changed.
I can upload to SFTP, to Media Temple, but I can't push to a local server.

There are many FTP/SFTP extensions available in brackets. Please check if one of those suits your requirement.

I checked out the FTP/SFTP sites however nothing supports what I need. The file system I use is such
\\ICS-dev-02\var\www\domain.dev.com\filesofdomain

We work off repos, while I can open them directly from the server, it's best if I do it on my own repo. The FTP/SFTP 2 plugins I found do not support those.

@kupoback the path \\ICS-dev-02\var\www\domain.dev.com\filesofdomain looks like an SMB share. You could directly mount the network share in linux/windows and edit the files as if on a local drive. Would this work in your case?

Unfortunately we use Git Repositories, so editing on the local server is not really an option. I mean, yes I can, however, I would have to pull those files onto my desktop and then push them to bitbucket. A bit of extra work. I was merely curious.


Fix Pulse Reliability

Pulse has been all over the place.
The problem is in the front end, the service is getting into a state where calls are not going out because the old pulse pipeline is failing.
Here is graph of traffic pattern:
AntaresIISLogFrontEndTable
| where PreciseTimeStamp >= datetime(2017-02-10 15:10:00) and PreciseTimeStamp <= datetime(2017-02-10 21:10:00) and Tenant =~ "0dfb65f7d040400f9dc565d045e817d1"
| where Cs_host =~ "rteventservice.azurewebsites.net" or Cs_host =~ "rteventservice.trafficmanager.net"
| where Cs_uri_stem contains "HttpAggregate"
| where User_agent != "AlwaysOn"
| project PreciseTimeStamp, Http2xx = (Sc_status / 100 == 2), Http3xx = (Sc_status / 100 == 3), Http4xx = (Sc_status / 100 == 4), Http5xx = (Sc_status / 100 == 5)
| summarize count(Http2xx), count(Http3xx), count(Http4xx), count(Http5xx)  by bin(PreciseTimeStamp, 1m)
| order by PreciseTimeStamp asc
The solution in two step:

try to get the services to not fail requests for the time being
Make change in front end to eliminate the old pulse pipeline

Here is the graph of the requests with pulse data coming into rteventservice. It is clear where I made the change to fix reliability


Failure when debugging Spring Boot pod in IntelliJ

Bug Description
Debugging a Spring Boot pod in IntelliJ fails.
Worked after a restart.
Steps to Reproduce

Backtrace
No response
Relevant Logs
ERROR: transport error 202: connect failed: Connection refused
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]

### Your operating system and version

---

### Local process

---

### Local process version

_No response_

### Additional Info

_No response_

suggestion solution by IntelliJ folks, haven’t tried
https://intellij-support.jetbrains.com/hc/en-us/community/posts/12176087844882-Expose-the-debugger-ephemeral-port-before-the-debug-session-starts-in-the-API