Crash/Terminated due to signal 9

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

flutter create fldemowatch
create Apple Watch Companion App

Targeted_Device_Family must be updated in Runner build settings (XCode) and Watch App build settings (XCode)

run Flutter App (Runner target) in XCode
run Watch App in XCode

Flutter App will terminate with
Terminated due to signal 9
in Step 3, if Flutter app is run from VSCode, the app will crash with
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGKILL
    frame #0: 0x00000001d9f88da8 libsystem_kernel.dylib`mach_msg2_trap + 8
libsystem_kernel.dylib`mach_msg2_trap:
->  0x1d9f88da8 <+8>: ret
libsystem_kernel.dylib`macx_swapon:
    0x1d9f88dac <+0>: mov    x16, #-0x30
    0x1d9f88db0 <+4>: svc    #0x80
    0x1d9f88db4 <+8>: ret
Target 0: (Runner) stopped.
Lost connection to device.

Expected results
Flutter app should continue to run when Watch App is run.
Actual results
Flutter App is crashing
When run from XCode, app terminates with
Terminated due to signal 9
When run from VSCode, app terminates with
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGKILL
    frame #0: 0x00000001d9f88da8 libsystem_kernel.dylib`mach_msg2_trap + 8
libsystem_kernel.dylib`mach_msg2_trap:
->  0x1d9f88da8 <+8>: ret
libsystem_kernel.dylib`macx_swapon:
    0x1d9f88dac <+0>: mov    x16, #-0x30
    0x1d9f88db0 <+4>: svc    #0x80
    0x1d9f88db4 <+8>: ret
Target 0: (Runner) stopped.
Lost connection to device.

Code sample
https://github.com/pmagnuson/fldemowatch
Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
Launching lib/main.dart on iPhone12 in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: 2HHUYC857H
Watch companion app found.
Xcode build done.                                           16.4s
(lldb) 2023-08-29 11:01:59.814204-0600 Runner[3267:2313724] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
[SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
[VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(35)] Using the Impeller rendering backend.
Connecting to VM Service at ws://<IP_ADDRESS>:58159/8chT7fVuR5A=/ws
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGKILL
    frame #0: 0x00000001d9f88da8 libsystem_kernel.dylib`mach_msg2_trap + 8
libsystem_kernel.dylib`mach_msg2_trap:
->  0x1d9f88da8 <+8>: ret
libsystem_kernel.dylib`macx_swapon:
    0x1d9f88dac <+0>: mov    x16, #-0x30
    0x1d9f88db0 <+4>: svc    #0x80
    0x1d9f88db4 <+8>: ret
Target 0: (Runner) stopped.
Lost connection to device.
Exited

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.5, on macOS 13.0.1 22A400 darwin-arm64, locale en-US)
    • Flutter version 3.10.5 on channel stable at /Users/phil/bin/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 796c8ef792 (3 months ago), 2023-06-13 15:51:02 -0700
    • Engine revision 45f6e00911
    • Dart version 3.0.5
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/phil/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • ANDROID_HOME = /Users/phil/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (3 available)
    • iPhone12 (mobile) • 00008101-000E706C3641001E • ios            • iOS 16.3.1 20D67
    • macOS (desktop)   • macos                     • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm64
    • Chrome (web)      • chrome                    • web-javascript • Google Chrome 116.0.5845.110
    ! Error: Phil’s Apple Watch has not finished loading development services. Please select a different
      device, or wait for the device to load development services and try again. (code 8)

[✓] Network resources
    • All expected network resources are available.

• No issues found!

The original report was based on running with a physical iPhone 12 (iOS 16.3) and Watch 8 (9.3).
The same results occured with a simulator iPhone 14 (iOS 16.4) and Watch 7 (9.4).
When run from VSCode, the Flutter app log is slightly different.
The crash is not reported, simply Lost connection to device.
Launching lib/main.dart on iPhone 14 in debug mode...
Watch companion app found.
Xcode build done.                                           14.8s
[VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(35)] Using the Impeller rendering backend.
Connecting to VM Service at ws://<IP_ADDRESS>:59965/O0Crgumv3q0=/ws
Lost connection to device.
Exited

flutter doctor with simulator
[✓] Flutter (Channel stable, 3.10.5, on macOS 13.0.1 22A400 darwin-arm64, locale en-US)
    • Flutter version 3.10.5 on channel stable at /Users/phil/bin/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 796c8ef792 (3 months ago), 2023-06-13 15:51:02 -0700
    • Engine revision 45f6e00911
    • Dart version 3.0.5
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/phil/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • ANDROID_HOME = /Users/phil/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (3 available)
    • iPhone 14 (mobile) • 0A042922-6107-47BB-9F56-05D84CBFF2F2 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64   • macOS 13.0.1 22A400
      darwin-arm64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome
      116.0.5845.110

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hi @pmagnuson. Thanks for filing this issue. I see you are on an older version of flutter, can you upgrade to the latest versions to confirm this issue still perists, also from the logs, this might be an issue with memory allocation, kindly check if the device you are testing with has enough memory capacity

I have upgraded flutter and the results are the same.  When the watch app is run, the IOS app crashes with Terminated due to signal 9
As far as a memory leak on the IOS app, note that the IOS app is the standard flutter demo.  This was created with flutter create fldemowatch.  The flutter app is unmodified.
The project code can be found at:  https://github.com/pmagnuson/fldemowatch
flutter doctor -v
[✓] Flutter (Channel stable, 3.13.2, on macOS 13.0.1 22A400 darwin-arm64, locale en-US)
    • Flutter version 3.13.2 on channel stable at /Users/phil/bin/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff5b5b5fa6 (6 days ago), 2023-08-24 08:12:28 -0500
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/phil/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • ANDROID_HOME = /Users/phil/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 116.0.5845.110

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hi @pmagnuson. Thanks for your response. Trying to reproduce this but can you help with some more info. More specifically:

Does this occur when running the new project on the watch or on the iOS device?
-Do you have both simulators on simultaneously?

to reproduce this, using Xcode

run IOS app on simulator - iPhone 14 (iOS 16.4)
run watch app on simulator - Watch 7 (9.4)

as the watch project is built and downloaded, the IOS app will terminate/crash
This also happens if the IOS app is run from VSCode, and then the watch app is run from XCode.

Hi @pmagnuson. Thanks for your response. I tried reproducing this with the same simulator on my device but can't seem to reproduce as it runs fine with no errors thrown, can you help with a full log of flutter run -v to help proceed with this issue?

Thank you very much for investigating this.
Here is the log from flutter run -v
There is not much info, mainly just Lost connection to device.
fldemowatch.log
Thank you.

Any updates on this?
On Fri, Sep 1, 2023, 3:41 AM Damilola Alimi @.***>
wrote:

Hi @pmagnuson https://github.com/pmagnuson. Thanks for your response. I
tried reproducing this with the same simulator on my device but can't seem
to reproduce as it runs fine with no errors thrown, can you help with a
full log of flutter run -v to help proceed with this issue?
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/133572#issuecomment-1702470500,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALSGVA3D7BSC7LADOS4Z53XYGUVPANCNFSM6AAAAAA4DI6GQM
.
You are receiving this because you were mentioned.Message ID:
@.***>

If you make a non-Flutter iOS app and a non-Flutter watch app, do you get different results? If you're running from Xcode this doesn't seem like it would be related to Flutter tooling.

I'm not sure what a non-flutter iOS app has to do with this use case.  The
watch app is non-Flutter as it is written in Swift.  I don't think Flutter
supports the Apple Watch.
If I run from VSCode or flutter run, the app also crashes.
On Mon, Sep 11, 2023 at 1:27 PM stuartmorgan @.***>
wrote:

If you make a non-Flutter iOS app and a non-Flutter watch app, do you get
different results? If you're running from Xcode this doesn't seem like it
would be related to Flutter tooling.
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/133572#issuecomment-1714456640,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALSGVGZKPXZ6RJQ3TAJTB3XZ5Q2RANCNFSM6AAAAAA4DI6GQM
.
You are receiving this because you were mentioned.Message ID:
@.***>

I'm not sure what a non-flutter iOS app has to do with this use case.

I'm trying to determine if killing associated apps is a Xcode tooling behavior that's unrelated to Flutter (since it's not clear where the kill signal is coming from). If the same thing happened with a non-Flutter app, that would be clear evidence of this.

If I run from VSCode or flutter run, the app also crashes.

The underlying functionality to run iOS apps is all built on Apple tooling, so if the kill behavior is at that layer this wouldn't be surprising.

Good or bad, I only do Flutter apps at this point.
Thanks,
Phil
On Mon, Sep 11, 2023 at 2:22 PM stuartmorgan @.***>
wrote:

I'm not sure what a non-flutter iOS app has to do with this use case.
I'm trying to determine if killing associated apps is a Xcode tooling
behavior that's unrelated to Flutter (since it's not clear where the kill
signal is coming from). If the same thing happened with a non-Flutter app,
that would be clear evidence of this.
If I run from VSCode or flutter run, the app also crashes.
The underlying functionality to run iOS apps is all built on Apple
tooling, so if the kill behavior is at that layer this wouldn't be
surprising.
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/133572#issuecomment-1714523848,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALSGVF6CFGTS2W3WCVIKP3XZ5XHPANCNFSM6AAAAAA4DI6GQM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Just seems odd as I'm using the Flutter demo counter app and the Apple
watch "hello world" starter app.
Thanks,
Phil
On Mon, Sep 11, 2023 at 2:55 PM phil magnuson @.***> wrote:

Good or bad, I only do Flutter apps at this point.
Thanks,
Phil
On Mon, Sep 11, 2023 at 2:22 PM stuartmorgan @.***>
wrote:

I'm not sure what a non-flutter iOS app has to do with this use case.
I'm trying to determine if killing associated apps is a Xcode tooling
behavior that's unrelated to Flutter (since it's not clear where the kill
signal is coming from). If the same thing happened with a non-Flutter app,
that would be clear evidence of this.
If I run from VSCode or flutter run, the app also crashes.
The underlying functionality to run iOS apps is all built on Apple
tooling, so if the kill behavior is at that layer this wouldn't be
surprising.
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/133572#issuecomment-1714523848,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALSGVF6CFGTS2W3WCVIKP3XZ5XHPANCNFSM6AAAAAA4DI6GQM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Good or bad, I only do Flutter apps at this point.

Since we can't reproduce this, there's no way for us to investigate further without you running tests.
Closing as unactionable.


Generating error when converting script to python 3

I am trying to run this in windows python 3 with tensor`flow backend(somehow my theano backend fail to utilize gpu). i converted print syntax in the ipython notebook and tried to run the script, it went well, but when i reached to "Loading and compiling model built with 'build_model.py'", received the following error.
May I know what needs to be changed, based on this error. Also, what would be your suggestion if I would like to run the ipython using tensorflow backend with python 3

`thank you in advance for looking into this issue.

This implementation works only with theano. To adapt it for tensorflow you would need to adjust operations with image shapes according to tensorflow dim_ordering.


Use .NET 9 RTW SDK

@jmezach Would be great if we can get 3.0.0 out today...

@ErikEJ Agreed. Let's make that happen :)


Add Validations for GO SDK

Is your feature request related to a use case? Please describe.
As a user I've created a go ux sdk object and want to be notified of any errors prior to submitting the object to the server.  I also don't want to have to write if err != nil on every Set<fieldname> line of code.
The OpenapiArt generator MUST generate a common validation scheme so that when a message is sent over a transport (grpc/http) there are no validation errors present in the message.
Validation errors are those fields that do not fall within the bounds of the supported OpenApi keywords of

format (supported formats are mac, ipv4, ipv6, hex)
minimum (may be present when type is number, integer)
maximum (may be present type is number, integer)
minItems (may be present when type is array)
maxItems (may be present when type is array)

Describe the solution you'd like
Two methods of determining if objects are valid.
One can be called explicitly by the user (this allows the same sdk to be used server side) while the other is called implictly by the rpc function.
The following example contains:

a schema
go ux sdk generated validation code
test case demonstrating the two methods of validation

Sample OpenApi schema
components:
  schemas:
    Sample:
      properties:
        mac_address:
          type: string
          format: mac
        ipv4_address:
          type: string
          format: ipv4
        min_max_value:
          type: integer
          minimum: 6
          maximum: 20
        min_max_list:
          type: array
          minItems: 8
          maxItems: 8
          items:
            type: integer

Sample test case demonstrating how compile time type check passes and run time validation check.
api := NewApi()
sample := api.NewSample()

// the following would all pass compile time check
// any runtime validation that does not pass will be added to an
// internal struct to be checked on any rpc call or by a Validate
// function that can be called at any time
sample.SetMacAddress("3434334")
sample.SetIpvAddress("asdfasdf")
sample.SetMinMaxValue(34343)
sample.SetMinMaxList([]int{1, 2, 3})

// validation check 1
// can be done by a user at any time
// and the returned error would report the contents from
// all the Set<fieldname> functions above
if err := api.Validate(sample); err != nil {
    panic(err)
}

// validation check 2
// if no validation has been done
// it will be done automatically in the rpc function
// and the returned error would report the contents from
// all the Set<fieldname> functions above
// nothing will be sent over the transport
warnings, err := api.SetSample(sample)
if err != nil {
    panic(err)
}

Describe alternatives you've considered
Have each Set<fieldname> function panic as the code is executed. This would require a user to continually follow a practice of code/run/code/run... to resolve validation errors when they can all be reported at the time of the rpc call or an explicit Validate function.

Validations added


Fix - remove symbolic ee file

Description
When running agenta variant serve <variant_name>.py, you will encounter the following error:
"Checking and updating config file...
Preparing code base langchain_try into a tar file...
Error while building image: [('./agenta/agenta-backend/agenta_backend/ee', '/var/folders/yj/b0lz983547dczmm2_7g_bfc40000gp/T/tmpztrd4pn3/agenta/agenta-backend/agenta_backend/ee', "[Errno 2] No such file or directory: './agenta/agenta-backend/agenta_backend/ee'")]"

This PR resolves the error.

I am going to close this for now until we understand the issue better and can reproduce it.


odp-dpdk: <IP_ADDRESS> -> <IP_ADDRESS>

Motivation for this change
Upgrade to <IP_ADDRESS> to fix compilation issues with dpdk-17.02
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Fix odp-dpdk build with the new DPDK-17.05.
Upgrade pktgen.
Mark OFP broken due to ODP-DPDK upgrade.
These changes are part of an effort to reduce the 17.09 issue backlog.

Thank you. Please open a PR with cherry-picked patches against release-17.09 if you want it included in the release as well.


Some usability enhancements

Added package nickname :gflags.
Added allegro support to (command-line)
Made define-flag return the flag symbol (mimicking defparameter)
Made register-flag delete obsolete flags (for 5. below).
Added generate-usage-string function which uses the flag names and
help strings.

With a little more work this library will be better than other getopt libraries. Nice. :-)

Thanks very much for sending me your modifications.  I'll get to them
soon.  I have to browse some git documentation to figure out how
best to handle merge requests.
bob
==========
On Tue, Feb 28, 2012 at 9:10 PM, lhope
<EMAIL_ADDRESS>wrote:

Added package nickname :gflags.
Added allegro support to (command-line)
Made define-flag return the flag symbol (mimicking defparameter)
Made register-flag delete obsolete flags (for 5. below).
Added generate-usage-string function which uses the flag names and
  help strings.

With a little more work this library will be better than other getopt libraries. Nice. :-)
You can merge this Pull Request by running:
git pull https://github.com/lhope/lisp-gflags master
Or you can view, comment on it, or merge it online at:
https://github.com/brown/lisp-gflags/pull/1
-- Commit Summary --

Several small enhancements.
Meant to make the nickname :gflags, not :gflag.

-- File Changes --
M flag.lisp (22)
M package.lisp (2)
-- Patch Links --
https://github.com/brown/lisp-gflags/pull/1.patch
 https://github.com/brown/lisp-gflags/pull/1.diff

Reply to this email directly or view it on GitHub:
https://github.com/brown/lisp-gflags/pull/1

How's this going?

What about the other propositions, like generate-usage-string?

It might be OK to have the gflags code generate a usage
message or some data structure that can be easily walked
to create a nice message.
Bob
On Thu, Mar 19, 2015 at 4:55 PM, Vincent Bernat<EMAIL_ADDRESS>wrote:

What about the other propositions, like generate-usage-string?
—
Reply to this email directly or view it on GitHub
https://github.com/brown/lisp-gflags/pull/1#issuecomment-83757948.


chore: Bump OAV version to 0.19.4

Redo #12 with major version bump for parallel testing prerelease CI

Closing in favour of #19


Make the graph and bar color evaluate on a gradient

as done in my thesis

(i.e. just make a gradient settable, set the default gradient to a constant colour)


Ui not connecting with Coinbase Exchange [prod]

The web ui keep showing disconnected from exchange and tribeca.
Mode and Exchange Configs:
"TRIBECA_MODE": "prod",     "EXCHANGE": "coinbase",
And Coinbase Config:
 "CoinbaseRestUrl": "https://api.gdax.com",     "CoinbaseWebsocketUrl": "wss://ws-feed.gdax.com",     "CoinbasePassphrase": "Hidden",     "CoinbaseApiKey": "Hidden",     "CoinbaseSecret": "Hidden",     "CoinbaseOrderDestination": "Coinbase",
My error log:
tribeca_1        | {"name":"tribeca:qpr","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Starting parameter: QuotingParameters {\n  width: 0.3,\n  size: 0.05,\n  mode: 0,\n  fvModel: 0,\n  targetBasePosition: 3,\n  positionDivergence: 0.8,\n  ewmaProtection: false,\n  autoPositionMode: 0,\n  aggressivePositionRebalancing: false,\n  tradesPerMinute: 2.5,\n  tradeRateSeconds: 300,\n  longEwma: 0.095,\n  shortEwma: 0.19,\n  quotingEwma: 0.095,\n  aprMultiplier: 3,\n  stepOverSize: 0.1 }","time":"2020-02-06T06:10:27.342Z","v":0} tribeca_1        | {"name":"tribeca:active","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Starting saved quoting state:  false","time":"2020-02-06T06:10:27.345Z","v":0} tribeca_1        | {"name":"ewma","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Unable to compute EMWA value","time":"2020-02-06T06:10:27.346Z","v":0} tribeca_1        | {"name":"mt:broker","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"loaded 0 market trades","time":"2020-02-06T06:10:27.354Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"statechange:  { old: 'closed', new: 'open' }","time":"2020-02-06T06:10:27.823Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"statechange:  { old: 'open', new: 'syncing' }","time":"2020-02-06T06:10:27.825Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"statechange:  { old: 'syncing', new: 'processing' }","time":"2020-02-06T06:10:28.215Z","v":0} tribeca_1        | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Disconnected) (oe: Connected)","time":"2020-02-06T06:10:28.216Z","v":0} tribeca_1        | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Connection status changed :: Connected :: (md: Connected) (oe: Connected)","time":"2020-02-06T06:10:28.392Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"statechange:  { old: 'processing', new: 'error' }","time":"2020-02-06T06:10:28.394Z","v":0} tribeca_1        | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Connected) (oe: Disconnected)","time":"2020-02-06T06:10:28.394Z","v":0} tribeca_1        | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Disconnected) (oe: Disconnected)","time":"2020-02-06T06:10:28.395Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2546,"level":40,"msg":"Received message out of order, expected<PHONE_NUMBER>0 but got undefined","time":"2020-02-06T06:10:28.395Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2546,"level":50,"err":{"message":"Unhandled error. (time=1/1/70 00:00:00,000;data=[object Object])","name":"Error [ERR_UNHANDLED_ERROR]","stack":"Error [ERR_UNHANDLED_ERROR]: Unhandled error. (time=1/1/70 00:00:00,000;data=[object Object])\n    at exports.OrderBook.emit (events.js:116:17)\n    at exports.OrderBook.prototype.processMessage (/tribeca/tribeca/service/gateways/coinbase-api.js:373:14)\n    at arrayEach (/tribeca/node_modules/lodash/lodash.js:537:11)\n    at Function.forEach (/tribeca/node_modules/lodash/lodash.js:9359:14)\n    at load (/tribeca/tribeca/service/gateways/coinbase-api.js:342:15)\n    at Request._callback (/tribeca/tribeca/service/gateways/coinbase-api.js:358:17)\n    at Request.self.callback (/tribeca/node_modules/request/request.js:188:22)\n    at Request.emit (events.js:127:13)\n    at Request.<anonymous> (/tribeca/node_modules/request/request.js:1171:10)\n    at Request.emit (events.js:127:13)","code":"ERR_UNHANDLED_ERROR"},"msg":"Unhandled exception!","time":"2020-02-06T06:10:28.400Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"persisting active to false","time":"2020-02-06T06:10:28.401Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"All exiting event handlers have fired, exiting application.","time":"2020-02-06T06:10:28.406Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Exiting with code 0","time":"2020-02-06T06:10:28.406Z","v":0} tribeca_1        | error: Forever detected script exited with code: 0 tribeca_1        | error: Script restart attempt #254 tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"TradedPair = BTC/USD","time":"2020-02-06T06:10:29.137Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"WebClientUsername = NULL","time":"2020-02-06T06:10:29.145Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"WebClientPassword = NULL","time":"2020-02-06T06:10:29.145Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"WebClientListenPort = 3000","time":"2020-02-06T06:10:29.147Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"EXCHANGE = coinbase","time":"2020-02-06T06:10:29.152Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"MongoDbUrl = mongodb://tribeca-mongo:27017/tribeca","time":"2020-02-06T06:10:29.152Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Listening to admins on *: 3000","time":"2020-02-06T06:10:29.168Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"ShowAllOrders = true","time":"2020-02-06T06:10:29.228Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"ShowAllOrders = true","time":"2020-02-06T06:10:29.229Z","v":0} tribeca_1        | {"name":"persister:osr","hostname":"1166d3fd347b","pid":2556,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":10000,"nLoaded":0,"dbName":"osr","msg":"load docs completed","time":"2020-02-06T06:10:29.245Z","v":0} tribeca_1        | {"name":"persister:trades","hostname":"1166d3fd347b","pid":2556,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":10000,"nLoaded":0,"dbName":"trades","msg":"load docs completed","time":"2020-02-06T06:10:29.245Z","v":0} tribeca_1        | {"name":"persister:mt","hostname":"1166d3fd347b","pid":2556,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":100,"nLoaded":0,"dbName":"mt","msg":"load docs completed","time":"2020-02-06T06:10:29.246Z","v":0} tribeca_1        | {"name":"persister:msg","hostname":"1166d3fd347b","pid":2556,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":50,"nLoaded":0,"dbName":"msg","msg":"load docs completed","time":"2020-02-06T06:10:29.247Z","v":0} tribeca_1        | {"name":"persister:rfv","hostname":"1166d3fd347b","pid":2556,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":50,"nLoaded":0,"dbName":"rfv","msg":"load docs completed","time":"2020-02-06T06:10:29.247Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"CoinbaseApiKey = Hidden","time":"2020-02-06T06:10:29.248Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"CoinbaseSecret = Hidden","time":"2020-02-06T06:10:29.248Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"CoinbasePassphrase = Hidden","time":"2020-02-06T06:10:29.248Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"CoinbaseRestUrl = https://api.gdax.com","time":"2020-02-06T06:10:29.248Z","v":0} tribeca_1        | starting coinbase public client, apiURI =  https://api.gdax.com tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"CoinbaseWebsocketUrl = wss://ws-feed.gdax.com","time":"2020-02-06T06:10:29.445Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"CoinbaseRestUrl = https://api.gdax.com","time":"2020-02-06T06:10:29.446Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Starting connect","time":"2020-02-06T06:10:29.446Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"CoinbaseOrderDestination = Coinbase","time":"2020-02-06T06:10:29.452Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"TRIBECA_MODE = prod","time":"2020-02-06T06:10:29.461Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2556,"level":30,"pair":"BTC/USD","minTick":0.01,"hasSelfTradePrevention":true,"msg":"using the following exchange details","time":"2020-02-06T06:10:29.467Z","v":0} tribeca_1        | {"name":"tribeca:qpr","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Starting parameter: QuotingParameters {\n  width: 0.3,\n  size: 0.05,\n  mode: 0,\n  fvModel: 0,\n  targetBasePosition: 3,\n  positionDivergence: 0.8,\n  ewmaProtection: false,\n  autoPositionMode: 0,\n  aggressivePositionRebalancing: false,\n  tradesPerMinute: 2.5,\n  tradeRateSeconds: 300,\n  longEwma: 0.095,\n  shortEwma: 0.19,\n  quotingEwma: 0.095,\n  aprMultiplier: 3,\n  stepOverSize: 0.1 }","time":"2020-02-06T06:10:29.472Z","v":0} tribeca_1        | {"name":"tribeca:active","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Starting saved quoting state:  false","time":"2020-02-06T06:10:29.477Z","v":0} tribeca_1        | {"name":"ewma","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Unable to compute EMWA value","time":"2020-02-06T06:10:29.480Z","v":0} tribeca_1        | {"name":"mt:broker","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"loaded 0 market trades","time":"2020-02-06T06:10:29.490Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"statechange:  { old: 'closed', new: 'open' }","time":"2020-02-06T06:10:29.983Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"statechange:  { old: 'open', new: 'syncing' }","time":"2020-02-06T06:10:29.986Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"statechange:  { old: 'syncing', new: 'processing' }","time":"2020-02-06T06:10:30.387Z","v":0} tribeca_1        | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Disconnected) (oe: Connected)","time":"2020-02-06T06:10:30.388Z","v":0} tribeca_1        | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Connection status changed :: Connected :: (md: Connected) (oe: Connected)","time":"2020-02-06T06:10:30.580Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"statechange:  { old: 'processing', new: 'error' }","time":"2020-02-06T06:10:30.582Z","v":0} tribeca_1        | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Connected) (oe: Disconnected)","time":"2020-02-06T06:10:30.582Z","v":0} tribeca_1        | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Disconnected) (oe: Disconnected)","time":"2020-02-06T06:10:30.582Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2556,"level":40,"msg":"Received message out of order, expected<PHONE_NUMBER>0 but got undefined","time":"2020-02-06T06:10:30.582Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2556,"level":50,"err":{"message":"Unhandled error. (time=1/1/70 00:00:00,000;data=[object Object])","name":"Error [ERR_UNHANDLED_ERROR]","stack":"Error [ERR_UNHANDLED_ERROR]: Unhandled error. (time=1/1/70 00:00:00,000;data=[object Object])\n    at exports.OrderBook.emit (events.js:116:17)\n    at exports.OrderBook.prototype.processMessage (/tribeca/tribeca/service/gateways/coinbase-api.js:373:14)\n    at arrayEach (/tribeca/node_modules/lodash/lodash.js:537:11)\n    at Function.forEach (/tribeca/node_modules/lodash/lodash.js:9359:14)\n    at load (/tribeca/tribeca/service/gateways/coinbase-api.js:342:15)\n    at Request._callback (/tribeca/tribeca/service/gateways/coinbase-api.js:358:17)\n    at Request.self.callback (/tribeca/node_modules/request/request.js:188:22)\n    at Request.emit (events.js:127:13)\n    at Request.<anonymous> (/tribeca/node_modules/request/request.js:1171:10)\n    at Request.emit (events.js:127:13)","code":"ERR_UNHANDLED_ERROR"},"msg":"Unhandled exception!","time":"2020-02-06T06:10:30.588Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"persisting active to false","time":"2020-02-06T06:10:30.588Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"All exiting event handlers have fired, exiting application.","time":"2020-02-06T06:10:30.594Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Exiting with code 0","time":"2020-02-06T06:10:30.594Z","v":0} tribeca_1        | error: Forever detected script exited with code: 0 tribeca_1        | error: Script restart attempt #255 tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"TradedPair = BTC/USD","time":"2020-02-06T06:10:31.358Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"WebClientUsername = NULL","time":"2020-02-06T06:10:31.366Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"WebClientPassword = NULL","time":"2020-02-06T06:10:31.366Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"WebClientListenPort = 3000","time":"2020-02-06T06:10:31.368Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"EXCHANGE = coinbase","time":"2020-02-06T06:10:31.372Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"MongoDbUrl = mongodb://tribeca-mongo:27017/tribeca","time":"2020-02-06T06:10:31.372Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Listening to admins on *: 3000","time":"2020-02-06T06:10:31.389Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"ShowAllOrders = true","time":"2020-02-06T06:10:31.456Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"ShowAllOrders = true","time":"2020-02-06T06:10:31.457Z","v":0} tribeca_1        | {"name":"persister:osr","hostname":"1166d3fd347b","pid":2566,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":10000,"nLoaded":0,"dbName":"osr","msg":"load docs completed","time":"2020-02-06T06:10:31.475Z","v":0} tribeca_1        | {"name":"persister:trades","hostname":"1166d3fd347b","pid":2566,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":10000,"nLoaded":0,"dbName":"trades","msg":"load docs completed","time":"2020-02-06T06:10:31.475Z","v":0} tribeca_1        | {"name":"persister:mt","hostname":"1166d3fd347b","pid":2566,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":100,"nLoaded":0,"dbName":"mt","msg":"load docs completed","time":"2020-02-06T06:10:31.476Z","v":0} tribeca_1        | {"name":"persister:msg","hostname":"1166d3fd347b","pid":2566,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":50,"nLoaded":0,"dbName":"msg","msg":"load docs completed","time":"2020-02-06T06:10:31.477Z","v":0} tribeca_1        | {"name":"persister:rfv","hostname":"1166d3fd347b","pid":2566,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":50,"nLoaded":0,"dbName":"rfv","msg":"load docs completed","time":"2020-02-06T06:10:31.477Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"CoinbaseApiKey = Hidden","time":"2020-02-06T06:10:31.478Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"CoinbaseSecret = Hidden","time":"2020-02-06T06:10:31.479Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"CoinbasePassphrase = Hidden","time":"2020-02-06T06:10:31.479Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"CoinbaseRestUrl = https://api.gdax.com","time":"2020-02-06T06:10:31.479Z","v":0} tribeca_1        | starting coinbase public client, apiURI =  https://api.gdax.com tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"CoinbaseWebsocketUrl = wss://ws-feed.gdax.com","time":"2020-02-06T06:10:31.686Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"CoinbaseRestUrl = https://api.gdax.com","time":"2020-02-06T06:10:31.686Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Starting connect","time":"2020-02-06T06:10:31.686Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"CoinbaseOrderDestination = Coinbase","time":"2020-02-06T06:10:31.694Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"TRIBECA_MODE = prod","time":"2020-02-06T06:10:31.705Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2566,"level":30,"pair":"BTC/USD","minTick":0.01,"hasSelfTradePrevention":true,"msg":"using the following exchange details","time":"2020-02-06T06:10:31.712Z","v":0} tribeca_1        | {"name":"tribeca:qpr","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Starting parameter: QuotingParameters {\n  width: 0.3,\n  size: 0.05,\n  mode: 0,\n  fvModel: 0,\n  targetBasePosition: 3,\n  positionDivergence: 0.8,\n  ewmaProtection: false,\n  autoPositionMode: 0,\n  aggressivePositionRebalancing: false,\n  tradesPerMinute: 2.5,\n  tradeRateSeconds: 300,\n  longEwma: 0.095,\n  shortEwma: 0.19,\n  quotingEwma: 0.095,\n  aprMultiplier: 3,\n  stepOverSize: 0.1 }","time":"2020-02-06T06:10:31.717Z","v":0} tribeca_1        | {"name":"tribeca:active","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Starting saved quoting state:  false","time":"2020-02-06T06:10:31.722Z","v":0} tribeca_1        | {"name":"ewma","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Unable to compute EMWA value","time":"2020-02-06T06:10:31.725Z","v":0} tribeca_1        | {"name":"mt:broker","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"loaded 0 market trades","time":"2020-02-06T06:10:31.734Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"statechange:  { old: 'closed', new: 'open' }","time":"2020-02-06T06:10:32.203Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"statechange:  { old: 'open', new: 'syncing' }","time":"2020-02-06T06:10:32.205Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"statechange:  { old: 'syncing', new: 'processing' }","time":"2020-02-06T06:10:32.638Z","v":0} tribeca_1        | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Disconnected) (oe: Connected)","time":"2020-02-06T06:10:32.639Z","v":0} tribeca_1        | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Connection status changed :: Connected :: (md: Connected) (oe: Connected)","time":"2020-02-06T06:10:32.850Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"statechange:  { old: 'processing', new: 'error' }","time":"2020-02-06T06:10:32.852Z","v":0} tribeca_1        | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Connected) (oe: Disconnected)","time":"2020-02-06T06:10:32.852Z","v":0} tribeca_1        | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Disconnected) (oe: Disconnected)","time":"2020-02-06T06:10:32.852Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2566,"level":40,"msg":"Received message out of order, expected<PHONE_NUMBER>3 but got undefined","time":"2020-02-06T06:10:32.852Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2566,"level":50,"err":{"message":"Unhandled error. (time=1/1/70 00:00:00,000;data=[object Object])","name":"Error [ERR_UNHANDLED_ERROR]","stack":"Error [ERR_UNHANDLED_ERROR]: Unhandled error. (time=1/1/70 00:00:00,000;data=[object Object])\n    at exports.OrderBook.emit (events.js:116:17)\n    at exports.OrderBook.prototype.processMessage (/tribeca/tribeca/service/gateways/coinbase-api.js:373:14)\n    at arrayEach (/tribeca/node_modules/lodash/lodash.js:537:11)\n    at Function.forEach (/tribeca/node_modules/lodash/lodash.js:9359:14)\n    at load (/tribeca/tribeca/service/gateways/coinbase-api.js:342:15)\n    at Request._callback (/tribeca/tribeca/service/gateways/coinbase-api.js:358:17)\n    at Request.self.callback (/tribeca/node_modules/request/request.js:188:22)\n    at Request.emit (events.js:127:13)\n    at Request.<anonymous> (/tribeca/node_modules/request/request.js:1171:10)\n    at Request.emit (events.js:127:13)","code":"ERR_UNHANDLED_ERROR"},"msg":"Unhandled exception!","time":"2020-02-06T06:10:32.858Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"persisting active to false","time":"2020-02-06T06:10:32.859Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"All exiting event handlers have fired, exiting application.","time":"2020-02-06T06:10:32.864Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Exiting with code 0","time":"2020-02-06T06:10:32.864Z","v":0} tribeca_1        | error: Forever detected script exited with code: 0 tribeca_1        | error: Script restart attempt #256 tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"TradedPair = BTC/USD","time":"2020-02-06T06:10:33.714Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"WebClientUsername = NULL","time":"2020-02-06T06:10:33.722Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"WebClientPassword = NULL","time":"2020-02-06T06:10:33.722Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"WebClientListenPort = 3000","time":"2020-02-06T06:10:33.725Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"EXCHANGE = coinbase","time":"2020-02-06T06:10:33.728Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"MongoDbUrl = mongodb://tribeca-mongo:27017/tribeca","time":"2020-02-06T06:10:33.728Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"Listening to admins on *: 3000","time":"2020-02-06T06:10:33.744Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"ShowAllOrders = true","time":"2020-02-06T06:10:33.816Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"ShowAllOrders = true","time":"2020-02-06T06:10:33.816Z","v":0} tribeca_1        | {"name":"persister:osr","hostname":"1166d3fd347b","pid":2576,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":10000,"nLoaded":0,"dbName":"osr","msg":"load docs completed","time":"2020-02-06T06:10:33.844Z","v":0} tribeca_1        | {"name":"persister:trades","hostname":"1166d3fd347b","pid":2576,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":10000,"nLoaded":0,"dbName":"trades","msg":"load docs completed","time":"2020-02-06T06:10:33.845Z","v":0} tribeca_1        | {"name":"persister:mt","hostname":"1166d3fd347b","pid":2576,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":100,"nLoaded":0,"dbName":"mt","msg":"load docs completed","time":"2020-02-06T06:10:33.845Z","v":0} tribeca_1        | {"name":"persister:msg","hostname":"1166d3fd347b","pid":2576,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":50,"nLoaded":0,"dbName":"msg","msg":"load docs completed","time":"2020-02-06T06:10:33.846Z","v":0} tribeca_1        | {"name":"persister:rfv","hostname":"1166d3fd347b","pid":2576,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":50,"nLoaded":0,"dbName":"rfv","msg":"load docs completed","time":"2020-02-06T06:10:33.846Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"CoinbaseApiKey = Hidden","time":"2020-02-06T06:10:33.848Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"CoinbaseSecret = Hidden","time":"2020-02-06T06:10:33.848Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"CoinbasePassphrase = Hidden","time":"2020-02-06T06:10:33.848Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"CoinbaseRestUrl = https://api.gdax.com","time":"2020-02-06T06:10:33.848Z","v":0} tribeca_1        | starting coinbase public client, apiURI =  https://api.gdax.com tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"CoinbaseWebsocketUrl = wss://ws-feed.gdax.com","time":"2020-02-06T06:10:34.071Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"CoinbaseRestUrl = https://api.gdax.com","time":"2020-02-06T06:10:34.071Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"Starting connect","time":"2020-02-06T06:10:34.072Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"CoinbaseOrderDestination = Coinbase","time":"2020-02-06T06:10:34.078Z","v":0} tribeca_1        | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"TRIBECA_MODE = prod","time":"2020-02-06T06:10:34.087Z","v":0} tribeca_1        | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2576,"level":30,"pair":"BTC/USD","minTick":0.01,"hasSelfTradePrevention":true,"msg":"using the following exchange details","time":"2020-02-06T06:10:34.095Z","v":0} tribeca_1        | {"name":"tribeca:qpr","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"Starting parameter: QuotingParameters {\n  width: 0.3,\n  size: 0.05,\n  mode: 0,\n  fvModel: 0,\n  targetBasePosition: 3,\n  positionDivergence: 0.8,\n  ewmaProtection: false,\n  autoPositionMode: 0,\n  aggressivePositionRebalancing: false,\n  tradesPerMinute: 2.5,\n  tradeRateSeconds: 300,\n  longEwma: 0.095,\n  shortEwma: 0.19,\n  quotingEwma: 0.095,\n  aprMultiplier: 3,\n  stepOverSize: 0.1 }","time":"2020-02-06T06:10:34.106Z","v":0} tribeca_1        | {"name":"tribeca:active","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"Starting saved quoting state:  false","time":"2020-02-06T06:10:34.113Z","v":0} tribeca_1        | {"name":"ewma","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"Unable to compute EMWA value","time":"2020-02-06T06:10:34.117Z","v":0} tribeca_1        | {"name":"mt:broker","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"loaded 0 market trades","time":"2020-02-06T06:10:34.129Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"statechange:  { old: 'closed', new: 'open' }","time":"2020-02-06T06:10:34.606Z","v":0} tribeca_1        | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"statechange:  { old: 'open', new: 'syncing' }","time":"2020-02-06T06:10:34.608Z","v":0}

I fixed this issue by changing src/service/gateways/coinbase-api.ts:375 from 'product_id': self.productID, to 'channels': [{'name': 'full', 'product_ids': [self.productID] }],. I'd submit a PR, but this project looks abandoned.


Library release removal request

Library name
Mintrix
Version to remove
1.0.2

Hi @janikheiler. I am confirming your request.
Unlike submissions, this type of request is still handled manually. The Library Manager index maintainer occasionally comes through to clear all the outstanding requests. They will close this issue when it is done. You will get a notification from GitHub at that time.
After that, you can monitor the indexing of the library via its dedicated logs web page.
Information about that here:
https://github.com/arduino/library-registry/blob/main/FAQ.md#can-i-check-on-library-releases-being-added-to-library-manager

Done:
2024/05/13 13:57:54 Loaded 6907 libraries from DB
Removing<EMAIL_ADDRESS>Success!


Crash with :pf

Upon calling :pf f (a,b,c) = g a b c, pointfree' throws an exception and crashes the entire bot. This should be properly caught.
owenbot-exe: pointfree: not supported: PTuple () Boxed [PVar () (Ident () "a"),PVar () (Ident () "b"),PVar () (Ident () "c")]
CallStack (from HasCallStack):
error, called at ./Plugin/Pl/Parser.hs:8:14 in pointfree-<IP_ADDRESS>-I2W1iGuieXp7A9292pxyGI:Plugin.Pl.Parser

I had a peek at the source, and I can't immediately see any exception throwing (in fact, the function returns Maybe String, so I'm surprised we have this problem).

Is the error thrown due to the mishandling of the Maybe or within the function itself?

Within the function it seems, as it's a custom error thrown by pointfree.
Exceptions should be caught by the Command stuff (according to yuto), so it's doubly strange.


Swaleside slot update

Description

Motivation and Context

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Prison details update (e.g. slot updates)

Checklist:

[x] My commit message follows the GDS git style standards we have adopted.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have updated the deployment repo accordingly.
[ ] I have added tests to cover my changes.

@Ed-Bajo Did you mean to delete swaleside?

Please delete the yml files for Swaleside with reference numbers:

a42af92
58496d4

Re submitting the PR.


Can't uv add netifaces (but after uv pip install netifaces it works)

Using uv version 0.4.9 on linux, I cant uv add netifaces, but if I install it with uv pip install netifaces before hand, it works.
Steps to reproduce. On a new project:
uv init
uv add netifaces

results in:
Using Python 3.10.14
Creating virtualenv at: .venv
Resolved 2 packages in 1ms
error: Failed to prepare distributions
  Caused by: Failed to fetch wheel: netifaces==0.11.0
  Caused by: Build backend failed to build wheel through `build_wheel()` with exit status: 1
--- stdout:
running bdist_wheel
running build
running build_ext
checking for getifaddrs...not found. (cached)
checking for getnameinfo...not found. (cached)
checking for socket IOCTLs...not found. (cached)
checking for optional header files...none found. (cached)
checking whether struct sockaddr has a length field...no. (cached)
checking which sockaddr_xxx structs are defined...none! (cached)
checking for routing socket support...no. (cached)
checking for sysctl(CTL_NET...) support...no. (cached)
checking for netlink support...no. (cached)
building 'netifaces' extension
clang -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -fPIC -DNETIFACES_VERSION=0.11.0 -I/home/romaia/.cache/uv/builds-v0/.tmpbYhrAX/include -I/home/romaia/.local/share/uv/python/cpython-3.10.14-linux-x86_64-gnu/include/python3.10 -c netifaces.c -o build/temp.linux-x86_64-cpython-310/netifaces.o
--- stderr:
netifaces.c:210:6: error: You need to add code for your platform.
  210 | #    error You need to add code for your platform.
      |      ^
netifaces.c:1469:22: warning: unused variable 'defaults' [-Wunused-variable]
 1469 |   PyObject *result, *defaults;
      |                      ^~~~~~~~
1 warning and 1 error generated.
error: command '/usr/bin/clang' failed with exit code 1

but if I run:
uv pip install netifaces
Resolved 1 package in 1ms
Installed 1 package in 0.61ms
 + netifaces==0.11.0

It install successfully, and after that, uv add works:
uv add netifaces
Resolved 2 packages in 2ms
Audited 1 package in 0.01ms

I am not sure if its a problem with netifaces itself, but since uv pip works, seems like a issue with uv add

For whatever reason, that uv pip install netifaces is not building the package. It must've already been built and cached by the time you ran that command (otherwise, we'd see Prepared 1 package in...). So I suspect something else is going on here...?

Indeed, testing on 3 fresh vms (ubuntu 24/22/20), the problem does not happen, so I guess something in my current setup is kinda of broken.
Will try to dig deeper to find out what.

netifaces has wheels for python 3.8 (all platforms?) and 3.9 (not all platforms)? And not for newer pythons. So python version will be important for what happens there. You can use a strength of uv - easy to switch python version - configure python 3.8 for the project and that should work well for netifaces - judging from the wheel list on pypi (See the download files view on PyPI).


Not working via node foreman procfile

Hi,
Some bug I ran into today. Not sure why this happens.
Using ts-node-dev works and my express app listens on a port. But when used with node foreman the output is the same. It says it is listening but it is not.
$ ./node_modules/.bin/ts-node-dev server/index.ts

Using ts-node version 8.3.0, typescript version 3.5.3
query: START TRANSACTION
query: SELECT * FROM "information_schema"."tables" WHERE "table_schema" = current_schema() AND "table_name" = 'typeorm_metadata'
query: COMMIT
Website is running at: http://localhost:7070

Procfile
web: ./node_modules/.bin/ts-node-dev server/index.tsx

$ nf start --procfile Procfile.dev
[OKAY] Loaded ENV .env File as KEY=VALUE Format
12:34:21 PM web.1 |  Using ts-node version 8.3.0, typescript version 3.5.3
12:34:25 PM web.1 |  query: START TRANSACTION
12:34:25 PM web.1 |  query: SELECT * FROM "information_schema"."tables" WHERE "table_schema" = current_schema() AND "table_name" = 'typeorm_metadata'
12:34:25 PM web.1 |  query: COMMIT
12:34:25 PM web.1 |  Website is running at: http://localhost:7070

Not really listening. Seems stale or waiting for something.
Other commands in the Procfile do work, so it seems ts-node-dev related.

Reopen if needed.


Marker variant no longer working in v64

UnoCSS version
0.64.1
Describe the bug
In the past, I have used classes like marker:text-blue-500 or marker:text-2xl to adjust the size and color of unordered list discs.
Previously, this would create classes like .marker\:text-blue-500 ::marker{ ... }  this would have a space between the classname and ::marker. Now however, there is no space between the class and the :: which causes it to break.
Please see the reproductions.
I'm curious what change between v0.63.xx and v0.64 would cause this. Also, if anyone has guidance on how I might write a rule in the uno.config.ts to resolve this in the meantime it would be very appreciated.
Reproduction
Here it is working in v0.63.6
Reproduction
And here is in not working in v0.64.1
Reproduction
System Info
Mac OS 15.1.1, Chrome 131.0.6778.70
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I'm guessing the issue is here:
https://github.com/unocss/unocss/blob/e809df983e58028c3595d81e64f8e46ef7848291/packages/preset-mini/src/_variants/pseudo.ts#L73
My thought is the line should be:
['marker', ' ::marker'],

instead of
['marker', '::marker'],


Inactive forks

Most of the forks for small repos I have found are dubbed inactive, i.e. they haven't had any updates. Is there a way to check this when crawling?

There's no direct field for this, but should be able to infer info from created_at and pushed_at info.
Also, here's some insight into the behaviour of pushed_at and updated_at: StackOverflow.


iOS: Saved Stories blocked while app is caching feeds

Just noticed yesterday, if you scroll to the bottom of the iOS app to access your Saved Stories you can't always click on them, if is overlaid by the "Storing past 3 hours...1 day...6 days" messages. Once the caching is finished you can click on Saved Stories like normal

This is a known issue. With saved story tags, it's often only the last saved tag that is blocked, so that makes it less of an issue.


Add eslint rules

Hi,
I would like to add some eslint rules to be more strict. I think many of the ones I added in this PR are unnecessary, but I would like to discuss which ones should we add / remove / modify. There is no hurry, it is just a proposal.

Hi @elenatorro
I've tested this configuration and it gave me some useful hints in my code, specially issues like no-undefined and no-extra-parens.
Most errors at our codebase look like:

no-empty
no-else-return
no-console
no-undefined
no-lonely-if
no-extra-parens

Maybe we could first add these ones and fix those cases.


Let ItemList correctly detect columns in select when checking order by columns

When using the Document Library block, we have this SQL error:
Exception Occurred: /concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:115 An exception occurred while executing ’SELECT distinct n.treeNodeID, if(nt.treeNodeTypeHandle=‘file’, fv.fvTitle, n.treeNodeName) as folderItemName, if(nt.treeNodeTypeHandle=‘file’, fv.fvDateAdded, n.dateModified) as folderItemModified, case when nt.treeNodeTypeHandle=‘search_preset’ then 1 when nt.treeNodeTypeHandle=‘file_folder’ then 2 else (10 + fvType) end as folderItemType, fv.fvSize as folderItemSize FROM TreeNodes n INNER JOIN TreeNodeTypes nt ON nt.treeNodeTypeID = n.treeNodeTypeID LEFT JOIN TreeFileNodes tf ON tf.treeNodeID = n.treeNodeID LEFT JOIN FileVersions fv ON tf.fID = fv.fID and fv.fvIsApproved = 1 LEFT JOIN FileSearchIndexAttributes fis ON fv.fID = fis.fID WHERE n.treeNodeParentID = ? ORDER BY fv.fvTitle asc LIMIT 20 OFFSET 0' with params [“2513”]:
That's because we are ordering for fv.fvTitle, and the ItemList thinks it's already in the select fields (see if(nt.treeNodeTypeHandle=‘file’, fv.fvTitle, n.treeNodeName) as folderItemName), but it's not the case.
Let's fix this.

This is wrong, since it assumes that the select parts in the query are atomic, which is not always the case...


Nested rfactor fix, update predicates as well as source.

Replace reduction axis in predicates as well as the source code. Fixes: https://github.com/dmlc/tvm/issues/3381

Thanks for the contribution, @kazum @sgrechanik-h @derisavi @merrymercy please help to review this PR

@merrymercy Are there any other changes you'd like to see? https://github.com/dmlc/tvm/pull/3444 is also similar if you would please review that one as well, simply wraps the predicate in likely(simplify(...)).


Feature/rwatson/facility display name

Critical Changes
Changes

We've added a new formula field (Display Name) to the Facility object. The Display Name includes the name of the Parent Facility or Account if a Parent Facility or Account is associated with the Facility, for example, "Thomas Edison Building - Room 201" instead of "Room 201". If the Facility has both an Account and a Parent Facility, the name of the Parent Facility is used. This formula field can be updated with different criteria if a better naming format fits your needs.

Note: This field is not added to the Facility layout by default. We recommend that you add it to page layout, as well as to the various Search Layouts in Setup -> Object Manager -> Facility -> Search Layouts.

Issues Closed
Closes #720
New Metadata

New custom field on the Facility: Display_Name__c

Deleted Metadata
Testing Notes

Leaving this as a draft PR for now. The Facility PR #725 needs to be merged in first.


Kills of Crashing Wheel drop Experience Nuggets

Describe the your request
Suggested by MCMOD@QQ酱94706

The amount of exp nugget dropped should be less then usual since it's a easy solution to farm exp.


Fix error in RemoteSegmentStoreDirectory when debug logging is enabled

Description
Fix error in RemoteSegmentStoreDirectory when debug logging is enabled
Also updated test code to print the exception source for traceability
Related Issues

Discovered in https://github.com/opensearch-project/OpenSearch/pull/11957

Check List

[X] New functionality includes testing.

[X] All tests pass

[ ] ~New functionality has been documented.~

[ ] ~New functionality has javadoc added~

[X] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[X] Commits are signed per the DCO using --signoff
[X] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] ~Public documentation issue/PR created~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@andrross Could you take a look?

Test failures:

https://github.com/opensearch-project/OpenSearch/issues/9191
https://github.com/opensearch-project/OpenSearch/issues/12336

Test failure:

https://github.com/opensearch-project/OpenSearch/issues/12308


Dx: Convert JSX to TSX

🛠 Fixes Issue
Closes #181
➕ Changes Introduced
Converted al jsx files to tsx
📄 Note To Reviewers
Types are not too good. As per conversation with @ykdojo over discord, we just want things to move fast and work.

@CerealPlayer are you still working on it? Looks like we have conflicts now

@ykdojo Yeah I saw, however seems like these conflicts need write permissions in order to be merged.
Anyway, I see there are new jsx components so I could make a few more commits

Just fixed conflicts and converted all jsx elements to tsx elements @ykdojo

@subhoghoshX Thank you! And thanks Github for these commit suggestiong features 😍

@subhoghoshX Thank you! And thanks Github for these commit suggestions features :heart_eyes:

Yup, that feature is awesome. Btw I can see some Prettier and TypeScript checks failing, could you look into that? Specifically, it can't seem to find this image @/images/background-call-to-action.jpg.

Thanks @subhoghoshX . I had to move images to public folder (as far as I know that is the recommended approach NextJS) and point to relative path in Image component as typescript was complaining. Locally it works, but for some reason the GH actions will not allow it.


Allow to store cache even if the job DOES NOT complete successfully

In the documentation it states:

If the job completes successfully, the action creates a new cache with the contents of the path directory.
https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows

Please consider to loosen this restriction so it is possible to save cache results even of a failing job.
In my case, I am using CI to test a website. Hyperlinks are checked using HTMLProofer and cached to avoid checking a known-existing page too frequently.
Broken links cause the job to fail (happy about this). But then that also causes the checked links not to be saved into cache (want to change this).
And so I would like this to not be skipped.

More information:
https://github.com/gjtorikian/html-proofer#caching-with-travis
On Travis we used to use to achieve these:
cache:
  directories:
  - $TRAVIS_BUILD_DIR/tmp/.htmlproofer

Workaround:
On your testing step use like rake test || true

I also want this feature, but instead for caching of expensive, infrequently changing build artifacts in C++ builds. This means that if something early in the build breaks something late in the build, the entire thing doesn't get cached even though the fix might only affect later items.

Closing as a duplicate https://github.com/actions/cache/issues/272


Add support to query App Service > Web App & Function App table  FTP & HTTP settings

This is to ensure FTP deployments are disabled for App Service. This will be available in App Service : [General Setting]
This will be helpful if we capture the Stack settings under general setting to validate the latest version of applications.
Ref : Azure CIS 1.3.0 : 9.9, 9.10

#77
9.9 Ensure that 'HTTP Version' is the latest, if used to run the web app (Manual)
select
  name,
  enabled,
  region
from
  azure_app_service_web_app
where
  (configuration -> 'properties' ->> 'http20Enabled')::boolean;

9.10 Ensure FTP deployments are disabled (Automated)
select
  name,
  configuration -> 'properties' ->> 'ftpsState' as ftps_state
from
  azure_app_service_web_app
where
  configuration -> 'properties' ->> 'ftpsState' <> 'AllAllowed';


Copyright message in hindi version of website is in english language

There is a translation mistake in Hindi version of the website in Get started page(आरंभ करे). The copyright sentence is written in English , it needs to be in Hindi language.
Actual Behaviour

Expected Behaviour

Steps to reproduce it

Go to Get started page(आरंभ करे) in hindi version
Go to bottom of page where copyrighted text is written.

Would you like to work on the issue?
Yes.

@Proeditor07 Yes


Stylecheck uses http: reference instead of https:

<!DOCTYPE module PUBLIC
    "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
     "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">

My IDE is complaining this should be https: Found in 3x places in backend/config/checkstyle

@benwarfield-usds I can fix this, just wanted to see if it was still being used and maybe could be removed?

Very much still being used--it's the lint configuration for Java.

Not sure why this didn't get remote-closed when the commit went into main, but 🤷


Get-AzVmSize,  az vm list-sizes and REST API returns incorrect CPU count

Related command
example
az vm list-sizes --location eastus --query "[?name=='Standard_E64-32ds_v5']"
Describe the bug
Get-AzVmSize,  az vm list-sizes and REST API returns incorrect CPU count for Standard_E* series and other instance sizes that have different actual number of vCPUs for the constrained vCPU capable
To Reproduce
run
az vm list-sizes --location eastus --query "[?name=='Standard_E64-32ds_v5']"
returns
[
{
"maxDataDiskCount": 32,
"memoryInMb": 524288,
"name": "Standard_E64-32ds_v5",
"numberOfCores": 64,
"osDiskSizeInMb": 1047552,
"resourceDiskSizeInMb": 2457600
}
]
or
Get-AzVMSize -Location eastus | select Name, NumberOfCores, MemoryInMB | select-string -pattern "Standard_E64-32ds_v5"
returns
@{Name=Standard_E64-32ds_v5; NumberOfCores=64; MemoryInMB=524288}
Expected behavior
for provided example, numberOfCores should be 32
Environment summary
azure-cli                         2.47.0
latest PS module
Any app that using Azure REST API
Additional context
Similar behavior was found 2 years ago. Also recently somebody responded that it should be re-submitted
https://github.com/Azure/azure-cli/issues/16196)

Thank you for opening this issue, we will look into it.

Get-AzVmSize, az vm list-sizes and REST API returns incorrect CPU count for Standard_E* series and other instance sizes that have different actual number of vCPUs for the constrained vCPU capable

Since REST API returns incorrect CPU count, so this should be a service issue

@troiz95 Apologies for the late reply. Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

@troiz95 The az vm list-sizes and Get-AzVMSize both are calling the deprecated  Virtual Machine Sizes - List REST API underneath. The recommended API is Resource Skus - List
I am looking into this further to address this.
In the meantime, Please run the below PS command as a workaround:
$list = Get-AzComputeResourceSku -location eastus | ? { $_.ResourceType -eq 'virtualMachines' -and $_.Name -like 'Standard_E64-32ds_v5' }
$list | select Size, @{n='vCPUs'; e={$_.Capabilities.Where{$_.Name -eq 'vCPUs'}.Value}}, @{n='vCPUsAvailable'; e={$_.Capabilities.Where{$_.Name -eq 'vCPUsAvailable'}.Value}}

Hi @navba-MSFT  !
Thanks, vCPUsAvailable property indeed returns correct result from AzComputeResourceSku  cmdlet. but - usual vCPU is still incorrect.
$list | select Size, @{n='vCPUs'; e={$.Capabilities.Where{$.Name -eq 'vCPUs'}.Value}}, @{n='vCPUsAvailable'; e={$.Capabilities.Where{$.Name -eq 'vCPUsAvailable'}.Value}}
Should I always use "vCPUsAvailable" in REST API apps instead of "vCPUs"? I've checked and even in Resource Sku API it returns incorrect vCPUs count (vCPUsAvailable is correct)
Size       vCPUs vCPUsAvailable

E32-8ds_v5 32    8

@troiz95 vCPUsAvailable will give you the number of virtual processors that are seen by the guest OS. However, if you are running Windows you pay as if there were 64 vCPUs due to the way that we bill for Windows.

@troiz95 I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you had any updates on this. Awaiting your reply.

@troiz95 I hope you had a chance to look at the above comment. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.

Hi @navba-MSFT ! Thanks, vCPUsAvailable property indeed returns correct result from AzComputeResourceSku cmdlet. but - usual vCPU is still incorrect.
Should I always use "vCPUsAvailable" in REST API apps instead of "vCPUs"? I've checked and even in Resource Sku API it returns incorrect vCPUs count (vCPUsAvailable is correct)
$list | select Size, @{n='vCPUs'; e={$.Capabilities.Where{$.Name -eq 'vCPUs'}.Value}}, @{n='vCPUsAvailable'; e={$.Capabilities.Where{$.Name -eq 'vCPUsAvailable'}.Value}}
Size vCPUs vCPUsAvailable E32-8ds_v5 32 8

I just replied to the mentioned Issue #16196 , vCPUsAvailable  is the right attribute to look at even using az cli.
see my reply with the right command and shell script to select constrained Vms based on available VCPU needed.
👉🏽 16196#Comment


Fix typo

Trivial doc change intended to deflake failing device lab builds.

Deflake failed... but at least we have one less typo.


[tests-only] Bump commit id for tests

to include the latest new test scenarios.
Similar to https://github.com/owncloud/ocis/pull/2278 plus https://github.com/owncloud/ocis/pull/2286

It might be best to merge #1881 first. Then I will rebase this.

@ishank011 ready for review


Batch inference?

Hey Nazir, thank you for your exciting research and work on RbA!
I'm trying to potentially run the model for multiple images/frames in a directory in batches.
I noticed that in here you mention only batch_size of 1 is supported.
Is that a limitation related to Mask2Former?
What are the difficulties in adapting the model/code to accept more images in parallel?
Thanks again for your contributions to the community!

Hi @pieris98 , thank you for your interest in our work!
In the script that you have linked, we only use a single batch for simplicity. It can be of course extended to any arbitrary batch size you need. The only important thing to be careful about is satisfying the format expected by mask2former, which requires that a batch is passed as a list, where each image is a dictionary inside that list. For example, the modified version of the function that runs a batch of size 2 would look like this:
def get_logits(model, img1, img2, **kwargs):

    with torch.no_grad():
        out = model([{"image": img1.to(DEVICE)}, {"image": img2.to(DEVICE)}])

    return out

note that img1 and img2 are each of shape (3,H,W) (that is the batch dimension is collapsed. And you can of course extend this the same way for any batch size you need.
I hope this was helpful, if you have any further question please do not hesitate to ask.


Riscduino support for Arduino IDE in Mac OS

I am a participant of the RISC V Product development hackathon and I've own a Mac M1 chipset. While installing the firmware support for Mac OS in the Arduino IDE, I found out there's no support for Mac OS.

Please help me with the installation.

@KarthikDani Sorry, there is no immediate plan to support it in Mac OS


[BUG] Reports of file system corruption in Cloud Shell

We have received some reports of issues observed in Azure Cloud Shell which have been traced to filesystem corruption in the user's home directory in Cloud Shell. We have not yet determined the exact root cause of the issue or a way to reproduce it. In the interim, this issue provides a location to report this incident occurring, and provides some workaround steps.
Symptoms
Operations which read or write to the home directory in Cloud Shell may produce errors, including
Structure needs cleaning
[Errno 5] Input/output error: '/home/<username>/.azure/commands/<filename>'

Cause
In Cloud Shell, your home directory is stored inside a file stored in the Azure File Share you specify when configuring Cloud Shell. This blog post has more details. Under some circumstances, it is possible for the filesystem structure inside that file to become corrupted, leading to these error messages.
Workaround
The simplest workaround is to delete and recreate your home directory.

Back up any important files from the home directory to the cloud drive, for example cp ~/important.txt ~/clouddrive/important.txt. Alternatively you can download these files. All files under ~ except those under ~/clouddrive will be deleted.
Open your Cloud Drive by choosing 'Manage File Share' from the Cloud Shell toolbar.
Run clouddrive unmount and choose Yes. You will be prompted to reconnect to cloud shell. Don't do that yet!
Open the .cloudconsole directory in the File Share window. You should see a single file acc_myusername.img. Delete this file .
Reconnect to Cloud Shell. The acc_myusername.img file containing your home directory will be automatically recreated.
Restore any files desired into the home directory.

Reporting
We are actively trying to determine the root cause for this issue. If you observe it, please report it either to Microsoft Support via the Azure Portal, or by adding a comment to this issue. In either case, please include your PUID (unique id) so we can identify your records in the service logs. You can determine your PUID by running env | grep ACC_PUID.

Open your Cloud Drive by choosing 'Manage File Share' from the Cloud Shell toolbar.

I can't find this 'Manage File Share' button. Am I missing anything? 🤔

I can only run df to get the File Share name：
$ df
Filesystem                                1K-blocks     Used Available Use% Mounted on
...
//xxxxxx.file.core.windows.net/fs20210709   6291456  5242880   1048576  84% /usr/csuser/clouddrive


Reinitialization

Hello,
is there any way to reinitialize simpleParallax?
I've got collapsible element (using bootstrap) in my page and some parallax images under this element. If i show content of collapsible element, parallax stopped working for these elements.
So I thought i will destroy simpleParallax and create new instance but withnout effect.
Is there any way?

Hi podhy,
This is weird that parallax stop working because of accordion, can you share an example? or a codepen?
You should be able to destroy the instance and to init simpleParallax again. The same way you did at the first initialization. Again I would need some example here to spot the issue.

Closing this as no feedback received.


How to run SQL query?

How I can run SQL query in VScode?

Not sure if I'm missing something obvious, but I really can't find the "Run Query" menu entry anywhere. Right clicking either on the query itself, on the database or any of its tables doesn't show any entry (that's the case for basically any other db editor out there). How am I supposed to run a query without adding each single one as a bookmark?

Hi @BlackLight , you can select a query and use this option from the command palette:

Anyway I like the idea of adding it to the context menu, I'll do this tonight and release it ASAP.
Thanks for the feedback

@mtxr : when to release context menu feature?

Doing it right now.

ctrl + e, ctrl + e

To elaborate more on how to quickly run an arbitrary SQL query in Visual Studio Code:

Open a new editor tab (⌘ N) and write your SQL there OR open an existing SQL file.
👉 Select the desired SQL query (yes, it is important to select the whole SQL query you want to execute).
Do one of the following:

right-click on the editor and select "Run Selected Query"
use the dedicated keyboard short (the letter E of course can be lowercase):

macOS: ⌘E ⌘E
Windows and Linux: Ctrl+E, Ctrl+E

Here is a screenshot for illustration:

Alternatively, click the "Run on active connection" link (aka Codelens) just above the query.

Alternatively, click the "Run on active connection" link (aka Codelens) just above the query.

Thank you for the hint, I have updated my post.

My customization:
  {
    "key": "cmd+enter",
    "command": "sqltools.executeCurrentQuery",
    "when": "editorTextFocus && sqltools.file.connectionAttached"
  }

This way I can get ⌘Enter for SQLTools without clashes.


Implemented basic map component with mapbox

added the basic dependencies and component for the map for mapbox api. Not inserted into any page at the moment.

Everything looks really good. We need to discuss how to integrate it with the rest of ui.


[BUG] Atom crashes after killing->restarting Julia runtime (maybe only on Windows)

Within the latest releases (Juno v0.12), a whole Atom process can get crashed on starting Julia process after killing the previous Julia process via Julia Client: Kill Julia command.
This doesn't happen for all the cases, so the issue happens kinda unpredictably.
Maybe related issues:

https://github.com/JunoLab/atom-julia-client/pull/676

I am having the same problem. It happens every time I stop julia. I am on Windows 10.

I tried to catch the error using try catch but it doesn't help https://github.com/aminya/juno-plus/blob/d545e0a820fb8f607e589aa7b3fa6e68a635165d/lib/juno-plus.coffee#L75

Same issue here

I also have the same error
After working on one Julia session for 1h and then stopping the session and attempting to start a new one, Julia gets stuck in a deadlock.
I do not get this issue when starting a new Julia session and killing it instantly after a fresh Atom start. I have only gotten it when working with Julia for a little while and then killing it and then attempting to restart.
The only way for me to get around this issue at the moment is by restarting Atom.

@pfitzseb has done another glorious work: https://github.com/JunoLab/atom-julia-client/pull/699


[Feature] Add All In One Form

Description
I want to add a form which contains all input fields like
text
password
email
textarea
checkbox
options
file
dropdown menu
Rang
I will use Html , Bootstrap for create this form
Screenshots

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

@Rakesh9100 Please assign me this task !
Thank You !

What will be the name of your component? Also, will you enhance the UI, or will it be this simple @zalabhavy

@Rakesh9100
I will enhance UI with shadow in form also input focus I can make animated background behind form.
Name of component :- All in one form

Okay, go ahead @zalabhavy


Net worth history in Mint shows a jump when Robinhood is added?

Can the extension get the history of the Robinhood account too? That way the Mint net worth tracker doesn't show jumps when Robinhood is added, or if I don't sync Robinhood with Mint after a few months and then I re-sync?
Thanks!

Unfortunately there is no Mint interface or API to manually add history for an account (besides transactions). Unless Mint adds functionality I don't believe this would be possible with the extension.


blender exporter tutorials addition

not sure about image links 'cause they're on github, we'll see

Imgs must be in /public/html/imgs

OK! I will change that, thanks


feat(core): add Mobile Payment (Direct Carrier Billing) as a payment method

Type of Change

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

Description

Following are changes added in the pr:

New payment method: Mobile Payment
New payment method type: Direct Carrier Billing
It is a network based billing payment method where OTP(one time password) is required for the payment confirmation.
New next action type - Collect OTP
This next action gives an URL in the response through which you collect OTP for the transaction
New connector added - Digital Virgo
For the connector integration: Auth, Sync and Error handling have been implemented

Additional Changes

[x] This PR modifies the API contract
In request, following payment method  is added:

"payment_method": "mobile_payment",
    "payment_method_type": "direct_carrier_billing",
    "payment_method_data": {
        "mobile_payment": {
            "direct_carrier_billing": {
                "msisdn": "48506000000",
                "client_uid": "02iacdYXGI9CnyJddfsoN8c7"
            }
        }
    }

In response we should receive next action as:
"next_action": {
        "type": "collect_otp",
        "collect_otp_url": "{otp_url}"
    }

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

Motivation and Context

How did you test it?

Create a MCA with Digital Virgo (add the following payment method):

"payment_methods_enabled": [
        {
            "payment_method": "mobile_payment",
            "payment_method_types": [
                {
                    "payment_method_type": "direct_carrier_billing",
                    "payment_experience": "redirect_to_url",
                    "minimum_amount": 1,
                    "maximum_amount": 68607706,
                    "recurring_enabled": true,
                    "installment_payment_enabled": true
                }
            ]
        }
    ],

Create a payment request:

{
    "amount": 110,
    "currency": "USD",
    "confirm": true,
    "capture_method": "automatic",
    "capture_on": "2022-09-10T10:11:12Z",
    "customer_id": "StripeCustomer",
    "email"<EMAIL_ADDRESS>    "name": "John Doe",
    "phone": "999999999",
    "phone_country_code": "+65",
    "description": "Its my first payment request",
    "authentication_type": "no_three_ds",
    "return_url": "https://google.com",
    "setup_future_usage": "on_session",
    "browser_info": {
        "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
        "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
        "language": "nl-NL",
        "color_depth": 24,
        "screen_height": 723,
        "screen_width": 1536,
        "time_zone": 0,
        "java_enabled": true,
        "java_script_enabled": true,
        "ip_address": "<IP_ADDRESS>"
    },
    "shipping": {
        "address": {
            "line1": "1467",
            "line2": "Harrison Street",
            "line3": "Harrison Street",
            "city": "San Fransico",
            "state": "California",
            "zip": "94122",
            "country": "US",
            "first_name": "John",
            "last_name": "Doe"
        }
    },
    "statement_descriptor_name": "joseph",
    "statement_descriptor_suffix": "JS",
    "metadata": {
        "udf1": "value1",
        "new_customer": "true",
        "login_date": "2019-09-10T10:11:12Z"
    },
    "payment_method": "mobile_payment",
    "payment_method_type": "direct_carrier_billing",
    "payment_method_data": {
        "mobile_payment": {
            "direct_carrier_billing": {
                "msisdn": "48506000000",
                "client_uid": "02iacdYXGI9CnyJddfsoN8c7"
            }
        }
    },
    "surcharge_details": {
        "surcharge_amount": 50
    },
    "order_details": [
        {
            "product_name": "FLOWBIRD",
            "quantity": 1,
            "amount": 110
        }
    ],
    "billing": {
        "address": {
            "line1": "8th block",
            "line2": "8th block",
            "line3": "8th block",
            "city": "Bengaluru",
            "state": "Karnataka",
            "zip": "560095",
            "country": "IN",
            "first_name": "Sakil",
            "last_name": "Mostak"
        }
    }
}

The response will of following type:

{
    "payment_id": "pay_WGRM7PpvBRSlSDZniNEk",
    "merchant_id": "merchant_1728629559",
    "status": "requires_customer_action",
    "amount": 110,
    "net_amount": 160,
    "amount_capturable": 160,
    "amount_received": null,
    "connector": "digitalvirgo",
    "client_secret": "pay_WGRM7PpvBRSlSDZniNEk_secret_0UfF4oF4boWQ8achbdYj",
    "created": "2024-10-11T06:54:06.173Z",
    "currency": "USD",
    "customer_id": "StripeCustomer",
    "customer": {
        "id": "StripeCustomer",
        "name": "John Doe",
        "email"<EMAIL_ADDRESS>        "phone": "999999999",
        "phone_country_code": "+65"
    },
    "description": "Its my first payment request",
    "refunds": null,
    "disputes": null,
    "mandate_id": null,
    "mandate_data": null,
    "setup_future_usage": "on_session",
    "off_session": null,
    "capture_on": null,
    "capture_method": "automatic",
    "payment_method": "mobile_payment",
    "payment_method_data": {
        "mobile_payment": {
            "direct_carrier_billing": {
                "msisdn": "48506000000",
                "client_uid": "02iacdYXGI9CnyJddfsoN8c7"
            }
        },
        "billing": null
    },
    "payment_token": null,
    "shipping": {
        "address": {
            "city": "San Fransico",
            "country": "US",
            "line1": "1467",
            "line2": "Harrison Street",
            "line3": "Harrison Street",
            "zip": "94122",
            "state": "California",
            "first_name": "John",
            "last_name": "Doe"
        },
        "phone": null,
        "email": null
    },
    "billing": {
        "address": {
            "city": "Bengaluru",
            "country": "IN",
            "line1": "8th block",
            "line2": "8th block",
            "line3": "8th block",
            "zip": "560095",
            "state": "Karnataka",
            "first_name": "Sakil",
            "last_name": "Mostak"
        },
        "phone": null,
        "email": null
    },
    "order_details": [
        {
            "brand": null,
            "amount": 110,
            "category": null,
            "quantity": 1,
            "product_id": null,
            "product_name": "FLOWBIRD",
            "product_type": null,
            "sub_category": null,
            "product_img_link": null,
            "product_tax_code": null,
            "requires_shipping": null
        }
    ],
    "email"<EMAIL_ADDRESS>    "name": "John Doe",
    "phone": "999999999",
    "return_url": "https://google.com/",
    "authentication_type": "no_three_ds",
    "statement_descriptor_name": "joseph",
    "statement_descriptor_suffix": "JS",
    "next_action": {
        "type": "collect_otp",
        "collect_otp_url": "http://localhost:8080/payments/redirect/pay_WGRM7PpvBRSlSDZniNEk/merchant_1728629559/pay_WGRM7PpvBRSlSDZniNEk_1"
    },
    "cancellation_reason": null,
    "error_code": null,
    "error_message": null,
    "unified_code": null,
    "unified_message": null,
    "payment_experience": null,
    "payment_method_type": "direct_carrier_billing",
    "connector_label": null,
    "business_country": null,
    "business_label": "default",
    "business_sub_label": null,
    "allowed_payment_method_types": null,
    "ephemeral_key": {
        "customer_id": "StripeCustomer",
        "created_at":<PHONE_NUMBER>,
        "expires":<PHONE_NUMBER>,
        "secret": "epk_c4eec95dcda24d39b6c4ebfe13b0e479"
    },
    "manual_retry_allowed": null,
    "connector_transaction_id": "f24f3bb69d34438d",
    "frm_message": null,
    "metadata": {
        "udf1": "value1",
        "login_date": "2019-09-10T10:11:12Z",
        "new_customer": "true"
    },
    "connector_metadata": null,
    "feature_metadata": null,
    "reference_id": null,
    "payment_link": null,
    "profile_id": "pro_mPEx1vKwPqr1By68pRQH",
    "surcharge_details": {
        "surcharge_amount": 50,
        "tax_amount": 0
    },
    "attempt_count": 1,
    "merchant_decision": null,
    "merchant_connector_id": "mca_JZI7HRbAAG2hnqd436mZ",
    "incremental_authorization_allowed": null,
    "authorization_count": null,
    "incremental_authorizations": null,
    "external_authentication_details": null,
    "external_3ds_authentication_attempted": false,
    "expires_on": "2024-10-11T07:09:06.173Z",
    "fingerprint": null,
    "browser_info": {
        "language": "nl-NL",
        "time_zone": 0,
        "ip_address": "<IP_ADDRESS>",
        "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
        "color_depth": 24,
        "java_enabled": true,
        "screen_width": 1536,
        "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
        "screen_height": 723,
        "java_script_enabled": true
    },
    "payment_method_id": null,
    "payment_method_status": null,
    "updated": "2024-10-11T06:54:06.689Z",
    "charges": null,
    "frm_metadata": null,
    "merchant_order_reference_id": null,
    "order_tax_amount": null,
    "connector_mandate_id": null
}

Redirect to the url and fill the otp to confirm the payment.
Do a retrieve call
The status should be succeeded in response of retrieve call

Checklist

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

This next action gives an URL in the response through which you collect OTP for the transaction

Is this like a redirection? If so then we can send the redirect url right?

Is this like a redirection? If so then we can send the redirect url right?

Yes, this is a redirection but generally redirection is either done by connector or is used to invoke their sdk. Here, we are collecting the OTP with our own hosted site to confirm the payment.

@Sakilmostak Can you add the cypress testcases for this

The flow is incomplete for the new payment method. The subsequent PR as stated by this issue (https://github.com/juspay/hyperswitch-cloud/issues/7441) should be able to complete the flow. The cypress test will be raised along with this PR


Security: Update Sequelize.

There is a patch available (not yet targetting) for a high priority vulnerability in the MySQL and PostgreSQL Geo functions.
Please update it in the dependencies.

#40

#42, which should be merged soon, will address this issue.


Deprecated usage of 'editor' class

(from Deprecation Cop)
stylesheets\rust.less
Use the atom-text-editor tag instead of the editor class.
Style elements within text editors using the atom-text-editor::shadow selector or the .atom-text-editor.less file extension. If you want to target overlay elements, target them directly or as descendants of atom-overlay elements.

Thanks. (I almost forgot the stylesheet) ;)