AppVeyor build is exceeding 60 min

steps
PR.
problem
https://ci.appveyor.com/project/sbt/sbt/builds/34324377
https://ci.appveyor.com/project/sbt/sbt/builds/34324377/messages

Build execution time has reached the maximum allowed time for your plan (60 minutes).

expectation
Make it work.
notes
// publishLocal is done in 5 min
05:10 [info] Running 90 / 95 (94.74%) scripted tests with RunFromSourceMain

// by 17 min mark, the select scripted tests are done
16:54 [success] Total time: 895 s (14:55), completed Jul 27, 2020 4:27:56 PM

// serverTestProj/test portion starts next

17:01 [info] Compiling 8 Scala sources to C:\projects\sbt\server-test\target\scala-2.12\test-classes ...
[info] Done compiling.
[info] testpkg.ClientTest
Starting test server client
[build-1] fork to a new sbt instance
[build-1] wait 1 minute until the server is ready to respond
[info] Updated file C:\projects\sbt\target\test-server\server-test2142617408681263036\client\project\build.properties: set sbt.version to 1.4.0-SNAPSHOT
[info] welcome to sbt 1.4.0-SNAPSHOT (Oracle Corporation Java 1.8.0_211)
[build-1] waiting for the server...
[info] loading project definition from C:\projects\sbt\target\test-server\server-test2142617408681263036\client\project
[build-1] waiting for the server...
[info] loading settings for project client from build.sbt ...
[info] set current project to client (in build file:/C:/projects/sbt/target/test-server/server-test2142617408681263036/client/)
[info] sbt server started at local:sbt-server-06bfcd74adc620633cbc
[info] new client connected: network-1
{"jsonrpc":"2.0","id":1,"result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":0,"willSave":false,"willSaveWaitUntil":false,"save":{"includeText":false}},"hoverProvider":false,"definitionProvider":true}}}
[info] new client connected: network-2
[info] received remote command: willSucceed
[info] - exit success
[info] new client connected: network-3
[info] received remote command: willFail
[info] - exit failure
[info] new client connected: network-4
[info] received remote command: compile;willSucceed
[info] - two commands
[info] new client connected: network-5
[info] received remote command: compile;willFail
[info] - two commands with failing second
[info] new client connected: network-6
[info] received remote command: willFail;willSucceed
[info] - two commands with leading failure
[info] new client connected: network-7
[info] received remote command: compile;clean;willSucceed
[info] - three commands
[info] new client connected: network-8
[info] received remote command: compile;willFail;willSucceed
[info] - three commands with middle failure
17:54 [info] new client connected: network-9

I've been meaning to add an issue about this. The problem is that the server tests can't seem to reliably run on windows on appveyor. I can run them fine on my VM and they sometimes pass on appveyor, but the failure rate is fairly high. I only recently added the server tests as part of #5620. They also occasionally fail on travis ci, but it's much more common for them to fail on windows. My suspicion is that it has to do with the connection throughput of named pipes.

My suspicion is that it has to do with the connection throughput of named pipes.

Could be. A successful run completes in 4 minutes after making 10 network clients in a row.

[info] sbt server started at local:sbt-server-3cf44800475dcee295f8
[info] new client connected: network-1
{"jsonrpc":"2.0","id":1,"result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":0,"willSave":false,"willSaveWaitUntil":false,"save":{"includeText":false}},"hoverProvider":false,"definitionProvider":true}}}
[info] new client connected: network-2
[info] received remote command: willSucceed
[info] - exit success
[info] new client connected: network-3
[info] received remote command: willFail
[info] - exit failure
[info] new client connected: network-4
[info] received remote command: compile;willSucceed
[info] - two commands
[info] new client connected: network-5
[info] received remote command: compile;willFail
[info] - two commands with failing second
[info] new client connected: network-6
[info] received remote command: willFail;willSucceed
[info] - two commands with leading failure
[info] new client connected: network-7
[info] received remote command: compile;clean;willSucceed
[info] - three commands
[info] new client connected: network-8
[info] received remote command: compile;willFail;willSucceed
[info] - three commands with middle failure
[info] new client connected: network-9
[info] - compi completions
[info] new client connected: network-10

[info] Compiling 8 Scala sources to C:\projects\sbt\server-test\target\scala-2.12\test-classes ...
[info] Done compiling.
[info] testpkg.ClientTest
Starting test server client
[build-1] fork to a new sbt instance
[build-1] wait 1 minute until the server is ready to respond
[info] Updated file C:\projects\sbt\target\test-server\server-test4051481926147532193\client\project\build.properties: set sbt.version to 1.4.0-SNAPSHOT
[info] welcome to sbt 1.4.0-SNAPSHOT (Oracle Corporation Java 1.8.0_211)
[build-1] waiting for the server...
[info] loading project definition from C:\projects\sbt\target\test-server\server-test4051481926147532193\client\project
[build-1] waiting for the server...
[info] loading settings for project client from build.sbt ...
[info] set current project to client (in build file:/C:/projects/sbt/target/test-server/server-test4051481926147532193/client/)
[info] sbt server started at local:sbt-server-3cf44800475dcee295f8
[info] new client connected: network-1
{"jsonrpc":"2.0","id":1,"result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":0,"willSave":false,"willSaveWaitUntil":false,"save":{"includeText":false}},"hoverProvider":false,"definitionProvider":true}}}
[info] new client connected: network-2
[info] received remote command: willSucceed
[info] - exit success
[info] new client connected: network-3
[info] received remote command: willFail
[info] - exit failure
[info] new client connected: network-4
[info] received remote command: compile;willSucceed
[info] - two commands
[info] new client connected: network-5
[info] received remote command: compile;willFail
[info] - two commands with failing second
[info] new client connected: network-6
[info] received remote command: willFail;willSucceed
[info] - two commands with leading failure
[info] new client connected: network-7
[info] received remote command: compile;clean;willSucceed
[info] - three commands
[info] new client connected: network-8
[info] received remote command: compile;willFail;willSucceed
[info] - three commands with middle failure
[info] new client connected: network-9
[info] - compi completions
[info] new client connected: network-10
No cached test names found. Press '<tab>' to compile:
[info] received remote command: definedTestNames
[info] Compiling 1 Scala source to C:\projects\sbt\target\test-server\server-test4051481926147532193\client\target\scala-2.12\test-classes ...
[info] done compiling
[info] definedTestNames completed
[success] Total time: 3 s, completed Jul 27, 2020 7:45:48 PM
[info] new client connected: network-11
[info] - testOnly completions
[info] new client connected: network-12
[info] - quote with semi
[build-1] sending exit
[info] received remote command: shutdown
[info] shutting down client connection network-2
[info] shutting down client connection network-3
[info] shutting down client connection network-4
[info] shutting down client connection network-5
[info] shutting down client connection network-6
[info] shutting down client connection network-7
[info] shutting down client connection network-8
[info] shutting down client connection network-9
[info] shutting down client connection network-10
[info] shutting down client connection network-11
[info] shutting down client connection network-12
Starting test server handshake
[build-1] fork to a new sbt instance
[build-1] wait 1 minute until the server is ready to respond
[info] testpkg.HandshakeTest
[info] Updated file C:\projects\sbt\target\test-server\server-test7507280625961391428\handshake\project\build.properties: set sbt.version to 1.4.0-SNAPSHOT
[info] welcome to sbt 1.4.0-SNAPSHOT (Oracle Corporation Java 1.8.0_211)
[build-1] waiting for the server...
[info] loading project definition from C:\projects\sbt\target\test-server\server-test7507280625961391428\handshake\project
[build-1] waiting for the server...
[info] loading settings for project root from build.sbt ...
[info] set current project to handshake (in build file:/C:/projects/sbt/target/test-server/server-test7507280625961391428/handshake/)
[warn] there's a key that's not used by any other settings/tasks:
[warn]
[warn] * Zero / serverLog / logLevel
[warn]   +- C:\projects\sbt\target\test-server\server-test7507280625961391428\handshake\build.sbt:7
[warn]
[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
[info] sbt server started at local:sbt-server-4ead9d7d3ade7ff2054e
[info] new client connected: network-1
{"jsonrpc":"2.0","id":1,"result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":0,"willSave":false,"willSaveWaitUntil":false,"save":{"includeText":false}},"hoverProvider":false,"definitionProvider":true}}}
[info] - handshake
[info] - return number id when number id is sent
[build-1] sending exit
[info] received remote command: shutdown
[info] testpkg.ServerCompletionsTest
Starting test server completions
[build-1] fork to a new sbt instance
[build-1] wait 1 minute until the server is ready to respond
[info] Updated file C:\projects\sbt\target\test-server\server-test4193793971821278361\completions\project\build.properties: set sbt.version to 1.4.0-SNAPSHOT
[info] welcome to sbt 1.4.0-SNAPSHOT (Oracle Corporation Java 1.8.0_211)
[build-1] waiting for the server...
[info] loading project definition from C:\projects\sbt\target\test-server\server-test4193793971821278361\completions\project
[build-1] waiting for the server...
[info] loading settings for project completions from build.sbt ...
[info] set current project to completions (in build file:/C:/projects/sbt/target/test-server/server-test4193793971821278361/completions/)
[info] sbt server started at local:sbt-server-e8b37042ebf1c0b6f97e
[info] new client connected: network-1
{"jsonrpc":"2.0","id":1,"result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":0,"willSave":false,"willSaveWaitUntil":false,"save":{"includeText":false}},"hoverProvider":false,"definitionProvider":true}}}
[info] - return basic completions on request
[info] - return completion for custom tasks
[info] - return completions for user classes
[build-1] sending exit
[info] received remote command: shutdown
[info] testpkg.EventsTest
Starting test server events
[build-1] fork to a new sbt instance
[build-1] wait 1 minute until the server is ready to respond
[info] Updated file C:\projects\sbt\target\test-server\server-test6691347619404361675\events\project\build.properties: set sbt.version to 1.4.0-SNAPSHOT
[info] welcome to sbt 1.4.0-SNAPSHOT (Oracle Corporation Java 1.8.0_211)
[build-1] waiting for the server...
[info] loading project definition from C:\projects\sbt\target\test-server\server-test6691347619404361675\events\project
[build-1] waiting for the server...
[info] loading settings for project events from build.sbt ...
[info] set current project to events (in build file:/C:/projects/sbt/target/test-server/server-test6691347619404361675/events/)
[info] sbt server started at local:sbt-server-496bf2748e19fb731ae8
[info] new client connected: network-1
{"jsonrpc":"2.0","id":1,"result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":0,"willSave":false,"willSaveWaitUntil":false,"save":{"includeText":false}},"hoverProvider":false,"definitionProvider":true}}}
[info] received remote command: hello
[info] - report task failures in case of exceptions
[info] received remote command: run
[info] - return error if cancelling non-matched task id
[info] received remote command: run
[info] - cancel on-going task with numeric id
[build-1] sending exit
[info] received remote command: shutdown
[info] testpkg.ResponseTest
Starting test server response
[build-1] fork to a new sbt instance
[build-1] wait 1 minute until the server is ready to respond
[info] Updated file C:\projects\sbt\target\test-server\server-test3872635508425383390\response\project\build.properties: set sbt.version to 1.4.0-SNAPSHOT
[info] welcome to sbt 1.4.0-SNAPSHOT (Oracle Corporation Java 1.8.0_211)
[build-1] waiting for the server...
[info] loading project definition from C:\projects\sbt\target\test-server\server-test3872635508425383390\response\project
[build-1] waiting for the server...
[info] loading settings for project root from build.sbt ...
[info] set current project to response (in build file:/C:/projects/sbt/target/test-server/server-test3872635508425383390/response/)
[warn] there's a key that's not used by any other settings/tasks:
[warn]
[warn] * Zero / serverLog / logLevel
[warn]   +- C:\projects\sbt\target\test-server\server-test3872635508425383390\response\build.sbt:5
[warn]
[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
[info] sbt server started at local:sbt-server-4a6cf3ed912b29f0a932
[info] new client connected: network-1
{"jsonrpc":"2.0","id":1,"result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":0,"willSave":false,"willSaveWaitUntil":false,"save":{"includeText":false}},"hoverProvider":false,"definitionProvider":true}}}
[info] received remote command: fooExport
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","method":"build/taskStart","params":{"taskId":{"id":"1","parents":[]},"eventTime":1595879270338,"message":"Compiling root","dataKind":"compile-task","data":{"target":{"uri":"file:/C:/projects/sbt/target/test-server/server-test3872635508425383390/response/#root/Compile"}}}}
{"jsonrpc":"2.0","method":"build/taskFinish","params":{"taskId":{"id":"1","parents":[]},"eventTime":1595879270353,"message":"Compiled root","status":1,"dataKind":"compile-report","data":{"target":{"uri":"file:/C:/projects/sbt/target/test-server/server-test3872635508425383390/response/#root/Compile"},"errors":0,"warnings":0,"time":15}}}
{"jsonrpc":"2.0","id":"10","result":["C:\\projects\\sbt\\target\\test-server\\server-test3872635508425383390\\response\\target\\scala-2.12\\classes","C:\\Users\\appveyor\\.sbt\\scripted\\boot\\fakeboot\\scala-2.12.11\\lib\\scala-library.jar"]}
[info] - response from a command
[info] received remote command: fooClasspath
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","method":"build/taskStart","params":{"taskId":{"id":"2","parents":[]},"eventTime":1595879274256,"message":"Compiling root","dataKind":"compile-task","data":{"target":{"uri":"file:/C:/projects/sbt/target/test-server/server-test3872635508425383390/response/#root/Compile"}}}}
{"jsonrpc":"2.0","method":"build/taskFinish","params":{"taskId":{"id":"2","parents":[]},"eventTime":1595879274272,"message":"Compiled root","status":1,"dataKind":"compile-report","data":{"target":{"uri":"file:/C:/projects/sbt/target/test-server/server-test3872635508425383390/response/#root/Compile"},"errors":0,"warnings":0,"time":16}}}
{"jsonrpc":"2.0","id":"11","result":["C:\\projects\\sbt\\target\\test-server\\server-test3872635508425383390\\response\\target\\scala-2.12\\classes","C:\\Users\\appveyor\\.sbt\\scripted\\boot\\fakeboot\\scala-2.12.11\\lib\\scala-library.jar"]}
[info] - response from a task
[info] received remote command: fooFail
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","id":"12","error":{"code":-33000,"message":"fail message"}}
[info] - a command failure
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":1,"message":"Error -33000: "}}
[info] received remote command: fooCustomFail
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","id":"13","error":{"code":500,"message":"some error"}}
[info] - a command failure with custom code
[info] received remote command: fooNotification
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":1,"message":"Error -33000: "}}
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","method":"foo/something","params":"something"}
[info] - a command with a notification
{"jsonrpc":"2.0","id":"15","result":"concurrent response"}
[info] received remote command: fooClasspath
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","id":"14","result":{"status":"Done","channelName":"network-1","execId":"14","commandQueue":["shell"],"exitCode":0}}
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
[info] - respond concurrently from a task and the handler
{"jsonrpc":"2.0","id":"16","result":"concurrent response"}
[info] - concurrent result and error
{"jsonrpc":"2.0","method":"build/taskStart","params":{"taskId":{"id":"3","parents":[]},"eventTime":1595879277016,"message":"Compiling root","dataKind":"compile-task","data":{"target":{"uri":"file:/C:/projects/sbt/target/test-server/server-test3872635508425383390/response/#root/Compile"}}}}
{"jsonrpc":"2.0","method":"build/taskFinish","params":{"taskId":{"id":"3","parents":[]},"eventTime":1595879277046,"message":"Compiled root","status":1,"dataKind":"compile-report","data":{"target":{"uri":"file:/C:/projects/sbt/target/test-server/server-test3872635508425383390/response/#root/Compile"},"errors":0,"warnings":0,"time":30}}}
[info] - response to a notification should not be sent
[build-1] sending exit
[info] received remote command: fooCustomFail
[info] received remote command: shutdown
[info] testpkg.BuildServerTest
Starting test server buildserver
[build-1] fork to a new sbt instance
[build-1] wait 1 minute until the server is ready to respond
[info] Updated file C:\projects\sbt\target\test-server\server-test1050256559570216635\buildserver\project\build.properties: set sbt.version to 1.4.0-SNAPSHOT
[info] welcome to sbt 1.4.0-SNAPSHOT (Oracle Corporation Java 1.8.0_211)
[build-1] waiting for the server...
[info] loading project definition from C:\projects\sbt\target\test-server\server-test1050256559570216635\buildserver\project
[build-1] waiting for the server...
[info] loading settings for project root from build.sbt ...
[info] set current project to root (in build file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/)
[warn] there's a key that's not used by any other settings/tasks:
[warn]
[warn] * Zero / serverLog / logLevel
[warn]   +- C:\projects\sbt\target\test-server\server-test1050256559570216635\buildserver\build.sbt:3
[warn]
[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
[info] sbt server started at local:sbt-server-cb4646ca921b68334d74
[info] new client connected: network-1
{"jsonrpc":"2.0","id":1,"result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":0,"willSave":false,"willSaveWaitUntil":false,"save":{"includeText":false}},"hoverProvider":false,"definitionProvider":true}}}
{"jsonrpc":"2.0","id":"10","result":{"displayName":"sbt","version":"1.4.0-SNAPSHOT","bspVersion":"2.0.0-M5","capabilities":{"compileProvider":{"languageIds":["scala"]},"dependencySourcesProvider":true}}}
[info] - build/initialize
[info] received remote command: bspWorkspaceBuildTargets
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","id":"11","result":{"targets":[{"id":{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#util/Compile"},"displayName":"util","baseDirectory":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/util/","tags":["library"],"capabilities":{"canCompile":true,"canTest":false,"canRun":false},"languageIds":["scala"],"dependencies":[],"dataKind":"scala","data":{"scalaOrganization":"org.scala-lang","scalaVersion":"2.13.1","scalaBinaryVersion":"2.13","platform":1,"jars":["file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.1/scala-compiler-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.1/scala-library-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.13.1/scala-reflect-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/jline/jline/2.14.6/jline-2.14.6.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.12/jansi-1.12.jar"]}},{"id":{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#foo/Test"},"displayName":"foo-test","baseDirectory":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/foo/","tags":["test"],"capabilities":{"canCompile":true,"canTest":false,"canRun":false},"languageIds":["scala"],"dependencies":[{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#util/Compile"},{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#foo/Compile"}],"dataKind":"scala","data":{"scalaOrganization":"org.scala-lang","scalaVersion":"2.13.1","scalaBinaryVersion":"2.13","platform":1,"jars":["file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.1/scala-compiler-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.1/scala-library-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.13.1/scala-reflect-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/jline/jline/2.14.6/jline-2.14.6.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.12/jansi-1.12.jar"]}},{"id":{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#util/Test"},"displayName":"util-test","baseDirectory":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/util/","tags":["test"],"capabilities":{"canCompile":true,"canTest":false,"canRun":false},"languageIds":["scala"],"dependencies":[{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#util/Compile"}],"dataKind":"scala","data":{"scalaOrganization":"org.scala-lang","scalaVersion":"2.13.1","scalaBinaryVersion":"2.13","platform":1,"jars":["file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.1/scala-compiler-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.1/scala-library-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.13.1/scala-reflect-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/jline/jline/2.14.6/jline-2.14.6.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.12/jansi-1.12.jar"]}},{"id":{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#root/Test"},"displayName":"root-test","baseDirectory":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/","tags":["test"],"capabilities":{"canCompile":true,"canTest":false,"canRun":false},"languageIds":["scala"],"dependencies":[{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#root/Compile"}],"dataKind":"scala","data":{"scalaOrganization":"org.scala-lang","scalaVersion":"2.13.1","scalaBinaryVersion":"2.13","platform":1,"jars":["file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.1/scala-compiler-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.1/scala-library-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.13.1/scala-reflect-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/jline/jline/2.14.6/jline-2.14.6.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.12/jansi-1.12.jar"]}},{"id":{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#root/Compile"},"displayName":"root","baseDirectory":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/","tags":["library"],"capabilities":{"canCompile":true,"canTest":false,"canRun":false},"languageIds":["scala"],"dependencies":[],"dataKind":"scala","data":{"scalaOrganization":"org.scala-lang","scalaVersion":"2.13.1","scalaBinaryVersion":"2.13","platform":1,"jars":["file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.1/scala-compiler-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.1/scala-library-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.13.1/scala-reflect-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/jline/jline/2.14.6/jline-2.14.6.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.12/jansi-1.12.jar"]}},{"id":{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#foo/Compile"},"displayName":"foo","baseDirectory":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/foo/","tags":["library"],"capabilities":{"canCompile":true,"canTest":false,"canRun":false},"languageIds":["scala"],"dependencies":[{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#util/Compile"}],"dataKind":"scala","data":{"scalaOrganization":"org.scala-lang","scalaVersion":"2.13.1","scalaBinaryVersion":"2.13","platform":1,"jars":["file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.1/scala-compiler-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.1/scala-library-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.13.1/scala-reflect-2.13.1.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/jline/jline/2.14.6/jline-2.14.6.jar","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.12/jansi-1.12.jar"]}}]}}
[info] - workspace/buildTargets
[info] received remote command: bspBuildTargetSources file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#util/Compile
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","id":"12","result":{"items":[{"target":{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#util/Compile"},"sources":[{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/util/src/main/scala-2.13","kind":2,"generated":false},{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/util/src/main/scala","kind":2,"generated":false},{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/util/src/main/java","kind":2,"generated":false}]}]}}
[info] - buildTarget/sources
[info] received remote command: bspBuildTargetCompile file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#util/Compile
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","method":"build/taskStart","params":{"taskId":{"id":"1","parents":[]},"eventTime":1595879310535,"message":"Compiling util","dataKind":"compile-task","data":{"target":{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#util/Compile"}}}}
{"jsonrpc":"2.0","method":"build/taskFinish","params":{"taskId":{"id":"1","parents":[]},"eventTime":1595879310566,"message":"Compiled util","status":1,"dataKind":"compile-report","data":{"target":{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#util/Compile"},"errors":0,"warnings":0,"time":31}}}
{"jsonrpc":"2.0","id":"13","result":{"statusCode":1}}
[info] - buildTarget/compile
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
[info] received remote command: bspBuildTargetScalacOptions file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#util/Compile
{"jsonrpc":"2.0","method":"build/logMessage","params":{"type":4,"message":"Processing"}}
{"jsonrpc":"2.0","id":"14","result":{"items":[{"target":{"uri":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/#util/Compile"},"options":[],"classpath":["file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/util/target/scala-2.13/classes","file:/C:/Users/appveyor/AppData/Local/Coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.1/scala-library-2.13.1.jar"],"classDirectory":"file:/C:/projects/sbt/target/test-server/server-test1050256559570216635/buildserver/util/target/scala-2.13/classes"}]}}
[build-1] sending exit[info] - buildTarget/scalacOptions
[info] received remote command: shutdown
[info] ScalaTest
[info] Run completed in 3 minutes, 41 seconds.
[info] Total number of tests run: 0
[info] Suites: completed 0, aborted 0
[info] Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0
[info] No tests were executed.
[info] Passed: Total 31, Failed 0, Errors 0, Passed 31
[success] Total time: 233 s (03:53), completed Jul 27, 2020 7:48:35 PM
Build success


Frigate camera name autodetection didn't work

Hi, first of all great work on this card, it has all that's needed to display frigate cameras and even more. :)
I had a series of issues configuring it, I worked around most of them but probably I'm missing something, here the macro steps I followed:

I didn't have the WebRTC component, I just wanted to display the live view of frigate but it didn't work, I was only seeing a grey rectangle.
I installed WebRTC and I configured the camera throught the GUI, selecting the camera.citofono entity, I had an error displayed on the video "RTSP only stream supported" (something like that), but the camera (a doorbell) is RTSP.
I read in the doc that I could also use a RTSP URL, but in the GUI I couldn't find it, there was only the listbox with the entity selector:

I switched to YAML and replaced the entity: with url: and the RTSP path, then I finally saw the video appearing. :)
I wanted to try frigate-jsmpeg but in the GUI selector (see above) it didn't appear. I'm using integration 2.1.

So to summarize the issues:

live view provider set with frigate doesn't work (grey box)
can't find frigate-jsmpeg in live view provider listbox, even if using integration 2.1
in webrtc (used as workaround) if I use the entity camera.citofono (created by frigate) webrtc complains about it not being an RTSP stream. Using the RTSP url as workaround means I'm opening a second stream from the camera. I'd prefer to use Frigate as proxy.
in webrtc options GUI, you can't set the rtsp url, as described in the documentation, only selection of entity is possible

This is the current config:
  - type: custom:frigate-card
    controls: {}
    menu_mode: overlay-bottom
    webrtc:
      url: rtsp://user:XXXXXX@citofono.axel.dom:554/Streaming/Channels/101
      webrtc: true
      mse: false
    autoplay_clip: false
    menu_buttons:
      frigate: false
      clips: true
      live: true
      snapshots: true
      frigate_ui: false
    camera_entity: camera.citofono
    frigate_url: http://hass.axel.dom:5000
    view_default: live
    live_provider: webrtc

I think that's everything, if I missed something I'll integrate the post. :)
Thanks again for your great work and the support.
Alessandro

Thanks  for the feedback!   If we find bugs here, I'd really appreciate breaking them out into a separate issue for each so I can resolve and respond to them separately, as this conversation will get confusing fast ;-)

live view provider set with frigate doesn't work (grey box)

The main 'frigate' live provider does not seem to work for you? If you manually set your live_provider to 'Frigate' and select a Frigate based camera entity, you get a grey box? The card has very few moving pieces in this configuration -- does the video stream (outside of the card) actually work? Can you go to your devices page in HA Configuration -> Integrations -> Frigate -> Devices -> (Choose camera device from list) -> (Choose the main camera entity) -> do you actually see the video stream? If yes, that sounds like a card bug. If no, then it sounds like your Frigate integration is not correctly setup (not related to the card).

can't find frigate-jsmpeg in live view provider listbox, even if using integration 2.1

I'm going to wager you're not using the pre-release of this card that actually support JSMPEG. You need minimum v1.1.0 (not v1.0.1) -- see this post for brief instructions on installing a pre-release.

in webrtc (used as workaround) if I use the entity camera.citofono (created by frigate) webrtc complains about it not being an RTSP stream. Using the RTSP url as workaround means I'm opening a second stream from the camera. I'd prefer to use Frigate as proxy.

Correct. Frigate does not expose RTSP streams (even if the underlying camera is RTSP). Did you read these docs? I think it's fairly explicit on the extra configuration that needs to be taken, but if you did follow those instructions and still ran into issues, I'd love to know how to make it clearer.

in webrtc options GUI, you can't set the rtsp url, as described in the documentation, only selection of entity is possible

As above, I suspect you're using an older version of the card. Here is what you should see in the latest version, which tries to  be super explicit  that you cannot select a Frigate camera here:

Thanks again for the time taken to file the issue.

So, the "live" view of frigate doesn't work for me, I might have to open an issue on frigate GH. Strange thing is that if I go to the frigate integration page, I can see the live view and everything's working fine, but if I use a lovelace card and use "live" view, I see a gray box. Before using your card, I used a picture glance card which allowed me to see the stream, but I had to select "auto" instead of "live" view. If I select live, I see a gray box also in that one. So I guess it's a frigate issue, not your card's issue. I'll need to investigate.

You were right, I wasn't using the beta version of your card, I thought those feature were already included in the base version, now I've installed the beta and I can see frigate-jsmpeg and also the rtsp url on webrtc options:

So, it seems I have to solve the live view issue with frigate, then I can remove webrtc, even if it's working quite well.
I loved the possibility to add more entities on the status bar, I did add the switches to the two external gates, to open them, exactly like I did with the picture glance card, but when I click on the icons, instead of toggling, it opens the entity properties. It would be really nice if those could be toggled. :)
Sorry for the confusion in opening multiple issues in one, and thank you so much for your support and kindness, I really appreciate it, keep up the great job you're doing with this card. :)
Alessandro

UPDATE: I tried one last thing, the optional camera name, and with that frigate-jsmpeg worked. It takes 1 sec. more, I see a white rectangle first, then the stream pops up fine.

If I set frigate it doesn't work. So there's definitely something with standard live stream that doesn't work, but if jsmpeg works, it means I'm restreaming from frigate, not opening another stream from the camera, correct?
Why is the camera name needed? autodetection not working properly?

OK -- sounds like the only remaining issues are:

'Frigate' as live provider doesn't work.
Somehow autodetection of camera name doesn't work.

Pardon a silly question, but both of these could be caused by not using a Frigate camera entity as the camera entity for the card. Do this:

Press 'e' in Home Assistant. An entity filter window will pop up.
Enter the name of the camera entity you have configured the card with (i.e. enter the value you entered under the 'Required' settings for the frigate card)
A window will pop up  (Do you see a video stream here?)
Click the 'cog' icon.
Click 'related'
Is the integration show as Frigate?

I have selected the camera entity, it is a mandatory option:

This is the camera entity:

But unfortunately live stream doesn't work, I saw open issues related to this from other users on frigate GH:

[Streaming from Frigate via frigate-jsmpeg and streaming from Frigate via frigate live provider are entirely different services offered by the Frigate server, just because one works does not really imply anything about the other]

I perfectly know this, but the scope was avoiding to open a separate stream to the camera, using jsmpeg should still use Frigate as a source, not the camera, or did I get it wrong? I'm still reading the already opened issues about this problem with frigate live and trying to solve it.

Opened issue #1892

OK -- lets focus just on the autodetected name, and the video issue on the  other issue.
For the name, you have definitely tried having frigate_camera_name unset on the new version of the card? (At the start of this bug you had a different version, and there were substantial changes in name autodetection between versions). You should be able to leave frigate_camera_nameunset, and use JSMPEG as your live  provider -- and it should just work.

BTW: You mentioned it'd be nice if menu entities could be toggled by click, https://github.com/dermotduffy/frigate-hass-card/issues/74 has that feature request (and I do plan to work on it).

For the name, you have definitely tried having frigate_camera_name unset on the new version of the card? (At the start of this bug you had a different version, and there were substantial changes in name autodetection between versions)

The camera name issue was tested at the end of the trail/error process, when I already installed beta version v1.1.0.
Anyway, I just tried again, running v1.1.0 beta:

removed the camera name:

configure the name:

Thank you so much for doublechecking. The autodetection does two things:

It looks up the unique_id for the entity and pulls the camera name out of that.
If it can't find it, it just assumes that the entity_id after camera. is the Frigate camera name. In your case, it seems like the entity_id is camera.citofono and the frigate camera name is citofono.

Since #2 seems like it should work for you, it must be #1 that's going wrong.
To help debug, I need one more thing:

If you can, manually open /<your-config-directory>/.storage/core.entity_registry in a text viewer and search for

"entity_id": "camera.citofono"
... then paste that section (that JSON dict) in here.

Correct: the name is citofono in frigate and camera.citofono is the entity_id.
Here's the requested json data:
            {
                "entity_id": "camera.citofono",
                "config_entry_id": "96d5f95a3a3149b74b9b678a5f244be7",
                "device_id": "873716c70eeb3cbb54a556189ef69b60",
                "area_id": null,
                "unique_id": "96d5f95a3a3149b74b9b678a5f244be7:camera:citofono",
                "platform": "frigate",
                "name": null,
                "icon": null,
                "disabled_by": null,
                "capabilities": {},
                "supported_features": 2,
                "device_class": null,
                "unit_of_measurement": null,
                "original_name": "Citofono",
                "original_icon": null
            }

Thank you. I'm at a loss. The unique_id field is matched against this regexp:
        const match = entityResult.unique_id.match(/:camera:(?<camera>[^:]+)$/);

... which works as expected ...
"96d5f95a3a3149b74b9b678a5f244be7:camera:citofono".match(/:camera:(?<camera>[^:]+)$/).groups['camera']
-> "citofono"

What version of Home Assistant are you using?

I was on 9.7, yesterday I upgraded to 10.0b2.
Can I debug in some way to help you nail the problem?

What happens if you have multiple entries with the same entity_id?
            {
                "entity_id": "camera.citofono",
                "config_entry_id": "96d5f95a3a3149b74b9b678a5f244be7",
                "device_id": "873716c70eeb3cbb54a556189ef69b60",
                "area_id": null,
                "unique_id": "96d5f95a3a3149b74b9b678a5f244be7:camera:citofono",
                "platform": "frigate",
                "name": null,
                "icon": null,
                "disabled_by": null,
                "capabilities": {},
                "supported_features": 2,
                "device_class": null,
                "unit_of_measurement": null,
                "original_name": "Citofono",
                "original_icon": null
            },
            {
                "entity_id": "camera.citofono_bicycle",
                "config_entry_id": "96d5f95a3a3149b74b9b678a5f244be7",
                "device_id": "873716c70eeb3cbb54a556189ef69b60",
                "area_id": null,
                "unique_id": "96d5f95a3a3149b74b9b678a5f244be7:camera_snapshots:citofono_bicycle",
                "platform": "frigate",
                "name": null,
                "icon": null,
                "disabled_by": null,
                "capabilities": {},
                "supported_features": 0,
                "device_class": null,
                "unit_of_measurement": null,
                "original_name": "Citofono Bicycle",
                "original_icon": null
            },
            {
                "entity_id": "camera.citofono_bird",
                "config_entry_id": "96d5f95a3a3149b74b9b678a5f244be7",
                "device_id": "873716c70eeb3cbb54a556189ef69b60",
                "area_id": null,
                "unique_id": "96d5f95a3a3149b74b9b678a5f244be7:camera_snapshots:citofono_bird",
                "platform": "frigate",
                "name": null,
                "icon": null,
                "disabled_by": null,
                "capabilities": {},
                "supported_features": 0,
                "device_class": null,
                "unit_of_measurement": null,
                "original_name": "Citofono Bird",
                "original_icon": null
            },

Only the first one will match :camera:, the others will be ignored.

Anything interesting showing up in your javascript console? (F12 in Chrome)

I removed the optional camera name, then I debugged the javascript with a breakpoint, the regexp is working:

OK! Thank you -- believe I figured it out.
In https://github.com/dermotduffy/frigate-hass-card/blob/main/src/components/live.ts#L53 we are using the raw configuration value for the camera name, rather than the autodetected one if that raw configuration value is empty. Let me add it to my bug list -- thanks for helping me debug!

My pleasure. I'll leave the name configured until next version. :)


[Bug] - Fix JSON variable handling in the worker

Describe the bug
As soon as there is a process variable of type JSON the worker fails to map the variables. This is caused by the Camunda7WorkerAdapter or to be more specific in the Camunda7PojoMapper class.
See exception below:
2023-09-15T09:07:51.042+02:00 ERROR 9632 --- [criptionManager] i.m.m.c.a.i.c.w.Camunda7WorkerAdapter    :
Error while executing external task com.fasterxml.jackson.databind.exc.MismatchedInputException:
Cannot construct instance of `java.util.LinkedHashMap` (although at least one Creator exists):
no String-argument constructor/factory method to deserialize from String value ('A')
at [Source: (String)""A""; line: 1, column: 1]

The only current work around is to ensure that there are no JSON variables in the process. This can be done by overriding the JSON variable in the input of an external service task. This is exemplary shown in the screenshot below:

Expected behaviour
Fetching and mapping JSON variables to pojos in the context of a Camunda 7 worker should not cause any exception.

Could be solved by: https://github.com/Miragon/miranum-connect/pull/207


Grab user location history

If the user allows accessing then pull all history recodes from google location history
I didn't get any recourse which can import those recodes directly not in Google MAP SDK also
Useful resources

https://support.google.com/maps/answer/6258979?co=GENIE.Platform%3DDesktop&hl=en&oco=0
https://github.com/JanLauGe/Maps-Location-History

No need to find a direct import method. we can upload the user's details by export those recode as a kml option as the first step.


[BUG] #![feature] may not be used on the stable release channel

  Compiling gdk-pixbuf-sys v0.15.0 (/home/lollo/Shit/gtk-rs-core/gdk-pixbuf/sys)
error[E0554]: `#![feature]` may not be used on the stable release channel
  --> glib/sys/src/lib.rs:12:30
   |
12 | #![cfg_attr(feature = "dox", feature(doc_cfg))]

Happens when compiling with cargo test --doc --all-features

That's known, the docs requires rust nightly

Ah, sorry then


Helm release is deleted if the source of the Helm chart has changed.

Describe the bug a clear and concise description of what the bug is.
Helm release is deleted if the source of the Helm chart has changed. (releaseName is set)
Which in my opinion is a terrible bug (unexpected behavior).
Because Helm itself behaves differently.
Let's imagine that I installed a chart with a database (a critical element of the system), but had to fork the upstream chart to urgently fix a critical bug.
I change spec.chart.specюc.hart of HelmRelease and the operator completely deletes the previous Helm release and installs everything again (there will be revision 1).
{"level":"info","ts":"2024-10-27T14:10:16.521Z","msg":"release target configuration changed (chart name): running uninstall for current release","controller":"helmrelease","controllerGroup":"helm.toolkit.fluxcd.io","controllerKind":"HelmRelease","HelmRelease":{"name":"hello-world","namespace":"test"},"namespace":"test","name":"hello-world","reconcileID":"4140ba43-337c-430c-aa51-f7713d07b252"}
What's your helm version?
v3.15.3
What's your kubectl version?
v1.30.3
What's the chart version?
2.14.0
What happened?
When only the chart source name was changed, the Helm release was removed and reinstalled.
{"level":"info","ts":"2024-10-27T14:10:16.521Z","msg":"release target configuration changed (chart name): running uninstall for current release","controller":"helmrelease","controllerGroup":"helm.toolkit.fluxcd.io","controllerKind":"HelmRelease","HelmRelease":{"name":"hello-world","namespace":"test"},"namespace":"test","name":"hello-world","reconcileID":"4140ba43-337c-430c-aa51-f7713d07b252"}
It would be great if there was at least an option to disable uninstall in such scenario
What you expected to happen?
When the name of the chart source is changed or the chart name changed in the repository, the Helm release is updated, not re-installed. (the revision version of helm release is increased)
(releaseName is set)
How to reproduce it?

Install Flux2

helm upgrade -i flux2-controller fluxcd-community/flux2 -f values.yaml

Apply HelmRepository

cat <<EOF | kubectl apply -f -

apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
  name: gitlab
spec:
  interval: 5m0s
  provider: generic
  suspend: false
  timeout: 60s
  type: oci
  url: oci://registry-1.docker.io/subetov/
status: {}

EOF

Apply HR

cat <<EOF | kubectl apply -f -

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
  name: hello-world
spec:
  chart:
    spec:
      chart: hello-world-chart-forked
      interval: 3m
      reconcileStrategy: ChartVersion
      sourceRef:
        kind: HelmRepository
        name: gitlab
      version: 0.1.1
  install:
    createNamespace: true
    remediation:
      retries: -1
  interval: 5m0s
  releaseName: hello-world
  storageNamespace: test
  suspend: false
  targetNamespace: test
  test: {}
  timeout: 5m0s

EOF

Change spec.chart.specюc.hart in HR and Apply

cat <<EOF | kubectl apply -f -

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
  name: hello-world
spec:
  chart:
    spec:
      chart: hello-world-chart-forked-2
      interval: 3m
      reconcileStrategy: ChartVersion
      sourceRef:
        kind: HelmRepository
        name: gitlab
      version: 0.1.2
  install:
    createNamespace: true
    remediation:
      retries: -1
  interval: 5m0s
  releaseName: hello-world
  storageNamespace: test
  suspend: false
  targetNamespace: test
  test: {}
  timeout: 5m0s

EOF

Enter the changed values of values.yaml?
imageAutomationController:
  create: false

imageReflectionController:
  create: false

kustomizeController:
  create: false

notificationController:
  create: false

Enter the command that you execute and failing/misfunctioning.

Install Flux2
helm upgrade -i flux2-controller fluxcd-community/flux2 -f values.yaml
Apply HelmRepository

cat <<EOF | kubectl apply -f -

apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
  name: gitlab
spec:
  interval: 5m0s
  provider: generic
  suspend: false
  timeout: 60s
  type: oci
  url: oci://registry-1.docker.io/subetov/
status: {}

EOF

Apply HR

cat <<EOF | kubectl apply -f -

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
  name: hello-world
spec:
  chart:
    spec:
      chart: hello-world-chart-forked
      interval: 3m
      reconcileStrategy: ChartVersion
      sourceRef:
        kind: HelmRepository
        name: gitlab
      version: 0.1.1
  install:
    createNamespace: true
    remediation:
      retries: -1
  interval: 5m0s
  releaseName: hello-world
  storageNamespace: test
  suspend: false
  targetNamespace: test
  test: {}
  timeout: 5m0s

EOF

Change spec.chart.specюc.hart in HR and Apply

cat <<EOF | kubectl apply -f -

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
  name: hello-world
spec:
  chart:
    spec:
      chart: hello-world-chart-forked-2
      interval: 3m
      reconcileStrategy: ChartVersion
      sourceRef:
        kind: HelmRepository
        name: gitlab
      version: 0.1.2
  install:
    createNamespace: true
    remediation:
      retries: -1
  interval: 5m0s
  releaseName: hello-world
  storageNamespace: test
  suspend: false
  targetNamespace: test
  test: {}
  timeout: 5m0s

EOF

Anything else we need to know?
No response

Sorry, wrong repo, I'll open it in https://github.com/fluxcd/helm-controller


added systemd to init_style attribute in README

obvious fix.
Description
Added missing option to init_style attribute
Issues Resolved
[List any existing issues this PR resolves]
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Thanks for this update to documentation.


Update to Bevy 0.14rc-2

Pretty straightforward migration.
The tests all pass, and I've checked the examples manually, which seem to work.
There don't appear to be any meaningful user-facing changes, so I left the release notes minimal.

This has been done in https://github.com/NiklasEi/bevy_common_assets/tree/bevy_main already.


onChange behavior is different from the input/textarea onChange

The Value change will always trigger the onChange even the change is not coming from user type in( e.g. state value change). Currently, the onChange will be executed when the next value is not equal to the current one. for input/textarea, the onChange will only be trigger when type in happen. I'm not sure if it is a feature or bug.

This is great. Thanks so much for the explanation.


fix: timeout issue in 0215-kth-largest-element-in-an-array.py

Fix the timeout issue in the second solution. There seems to be a new test case which can trigger the worst case scenario that the original solution cannot handle, leading to a timeout error.

File(s) Modified: 0215-kth-largest-element-in-an-array.py
Language(s) Used: python
Submission URL: _https://leetcode.com/problems/kth-largest-element-in-an-array/submissions/1153138241/_

@MHamiid Hi, could you please take a look at this?

@unw9527 Good fix for the timeout issue, thanks for the contribution 👍


⚠ Mobitopup has degraded performance

In 20f22a0, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 5740 ms

Resolved: Mobitopup performance has improved in 65de47c after 7 minutes.


Delete extra commas and format code

Make sure set the target branch to develop
What is the purpose of the change
Delete extra commas and format code
Brief changelog
Delete extra commas and format code
Verifying this change
Delete extra commas and format code
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-0.2%) to 48.275% when pulling d5f04493c846082fa9b216e02e773734d7d514b3 on 123monkey:develop into 8ccffa7e8ad3fcc30c3390591118b86b0f5be897 on apache:develop.

Codecov Report

Merging #4649 (d5f0449) into develop (8ccffa7) will increase coverage by 0.06%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #4649      +/-   ##
=============================================
+ Coverage      44.31%   44.38%   +0.06%
- Complexity      7280     7301      +21
=============================================
  Files            968      968
  Lines          65899    65899
  Branches        8635     8635
=============================================
+ Hits           29204    29249      +45
+ Misses         33086    33051      -35
+ Partials        3609     3599      -10

Impacted Files
Coverage Δ

...mq/client/impl/producer/DefaultMQProducerImpl.java
44.37% <ø> (ø)

...mq/broker/topic/TopicQueueMappingCleanService.java
12.43% <0.00%> (-3.63%)
:arrow_down:

...org/apache/rocketmq/store/ha/DefaultHAService.java
67.48% <0.00%> (-1.85%)
:arrow_down:

...ava/org/apache/rocketmq/filter/util/BitsArray.java
60.68% <0.00%> (-1.71%)
:arrow_down:

...rocketmq/broker/processor/PopMessageProcessor.java
38.19% <0.00%> (-0.55%)
:arrow_down:

...rocketmq/remoting/netty/NettyRemotingAbstract.java
53.76% <0.00%> (-0.36%)
:arrow_down:

...org/apache/rocketmq/store/DefaultMessageStore.java
55.24% <0.00%> (-0.24%)
:arrow_down:

...main/java/org/apache/rocketmq/store/CommitLog.java
68.84% <0.00%> (+0.09%)
:arrow_up:

...cketmq/store/ha/autoswitch/AutoSwitchHAClient.java
75.84% <0.00%> (+0.37%)
:arrow_up:

...rocketmq/client/impl/factory/MQClientInstance.java
47.44% <0.00%> (+0.41%)
:arrow_up:

... and 17 more


[Feature Request] Show Download Progression When Media is Processing

Description
Hello, it has been great so far using Jellyseer, my friends love it! I just had an idea for a feature request.
In the requests tab, for any media that is being processed there should be a way to see download progression.
Since you can see the download progression in Radarr/Sonarr under activity > queue, maybe that could be used for integration in jellyseer?
For instance see the api docs for Radarr about QueueDetails.
Scrolling towards the end under the media type you see this:
......
"size": 0,
    "title": "string",
    "sizeleft": 0,
    "timeleft": {
      "ticks": 0,
      "days": 0,
      "hours": 0,
      "milliseconds": 0,
      "minutes": 0,
      "seconds": 0,
      "totalDays": 0,
      "totalHours": 0,
      "totalMilliseconds": 0,
      "totalMinutes": 0,
      "totalSeconds": 0
    },
    "estimatedCompletionTime": "2023-01-02T14:14:47.114Z",
    "status": "string",
    "trackedDownloadStatus": "ok",
    "trackedDownloadState": "downloading",
    "statusMessages": [
      {
        "title": "string",
        "messages": [
          "string"
        ]
      }
.....

Perhaps something could be made of this to replace the spinning wheel next to "Processing" in the requests tab.
Thank you for reading this, I am grateful for your efforts in making our lives easier in terms of managing requests!

This is already a feature though.
Currently you can see the download progress if you press the settings of an already processing item as shown below

I am a fool, my apologies!

I know this is a closed issue, but can I get clarification on where this download status is? I'm checking the settings panel of an item during download, but I don't see this progress bar

You need to enable scan on the *arr services. Then only will you see the progress. Because the progress is synced from the *arr


useWindowDimensions causes infinite re-rendering

Environment
react-native -v: 0.72.9
npm ls react-native-macos: 0.72.13
node -v: 21.4.0
npm -v: 10.2.4
yarn --version: 4.0.2
xcodebuild -version: Xcode 15.2 Build version 15C500b

Steps to reproduce the bug
Try to drag and drop to change the application window size after using useWindowDimensions.
export const Tooltip: FC<TooltipBaseProps> = () => {
    const windowDimensions = useWindowDimensions();

    return (
        <View>
            <Text>{windowDimensions.width}</Text>
        </View>
    );
};

Expected Behavior
No response
Actual Behavior
No response
Reproducible Demo
No response
Additional context
▶ 'Warning: Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.',

I don't repro this with RNTester on either 0.72 or 0.73. Are you sure there isn't an extra setState somewhere in your app?
https://github.com/microsoft/react-native-macos/assets/6722175/6f2e1a22-3c5d-485f-854c-36745992cfcb

FWIW, React Native macOS also just supports setting the tooltip prop on any View/Text/Image.


mouse gene synonyms not listed on search result summary pages

On summary pages after a search, the mouse gene synonyms are not appearing.  The synonyms do appear on the mouse gene detail pages.
Not here:  http://staging.alliancegenome.org/search?category=gene&q=Erbb2
But synonyms are here: http://staging.alliancegenome.org/gene/MGI:95410
should probably fix

this sounds like a quartermaster issue.  similar to the errant phenotype summary issue also reported by @cindyJax.

It appears as if the synonyms are being loaded into ElasticSearch (via data provided by the Quartermaster) because they display on the Gene Report page (just not the hitlist). The hitlist is also showing Symbol.Raw and Synonyms.Raw which it shouldn't be doing as those are internal ElasticSearch / Backend values.

We had some discussion in the bug-squashing group with @paaatrick and @sierra-moxon.
We think it might be a highlighting issue?


Does Get-AzTableRow supports TOP option?

How to get TOP X rows using Get-AzTableRow?

Detalji dokumenta
⚠ Ne uređujte ovu sekciju. Ona je neophodna za povezivanje problema slijedom docs.microsoft.com ➟ GitHub.

ID: 1093baf6-b6b6-52f7-5268-697fe6412bdf
Version Independent ID: 65b4f939-ad12-b9e1-afd6-2f734653a163
Content: Perform Azure Table storage operations with PowerShell
Content Source: articles/storage/tables/table-storage-how-to-use-powershell.md
Service: cosmos-db
Sub-service: cosmosdb-table
GitHub Login: @roygara
Microsoft Alias: rogarana

@mchudinov Thanks for the feedback! We are currently investigating and will update you shortly.

@mchudinov As such there is no top command. You can use pipeline to achieve the same pupose.
Could you please try the below command :
Get-AzTableRow -table $cloudTable -customFilter $filter | Select-Object -First 2
Hope this helps.

@mchudinov the TOP operator is supported with SQL queries as described in this doc:https://docs.microsoft.com/en-us/azure/cosmos-db/sql-query-keywords#top if you are using PowerShell, as mentioned in the previous comment, you should add the logic to the cmdlet to filter the required rows.

We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Rm hdpath

Coverage decreased (-0.14%) to 91.52% when pulling 1258ac24fbf2344be7733f8ad6af079e3b7c5601 on isocolsky:rm_hdpath into d02c3c8f5247833f3e54d797b1db9b69bbb6f5e7 on bitpay:master.

Coverage decreased (-0.14%) to 91.52% when pulling 8eefe15762c4a14a6bbb8d3fcd73dd869e3d2610 on isocolsky:rm_hdpath into d02c3c8f5247833f3e54d797b1db9b69bbb6f5e7 on bitpay:master.


SC and MUI styles mix up, even tho they have separate insertion points

Environment
System:

OS: macOS 11.5.2
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 2.18 GB / 32.00 GB
Shell: 5.8 - /bin/zsh

Binaries:

Node: 14.15.4 - ~/.nvm/versions/node/v14.15.4/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 6.14.10 - ~/.nvm/versions/node/v14.15.4/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman

Reproduction
I have a project with both MUI (v4) and SC (v5). I did set insertion points for both of them but still the style tags get mixed up and MUI overrides SC styles. The following image shows the two insertion points and the style tags.

Setting MUI insertion point as:

and SC insertion point as:

I also experimented with MUI's  injectFirst - same issue.
IMO, one of the two insertion points is not working well, or am I missing some other bit of information that is relevant, and influences the order of the insertion?
Also notably, I tried to move SC's insertion point in the body of the HTML, but it does nothing, styles still get inserted in the head. Hence I assume that weather SC only allow insertion point in the header, or the SC insertion point is not working for me.
What else do I need to do, in order to get the style tags in the right order?
Expected Behavior
I would expect the SC styles to be inserted after all the MUI styles, like:

Actual Behavior
See image above.

You'll have to ensure that your target contains a placeholder style tag with the styled attribute. This isn't documented because it hasn't quite been stable throughout but if you observe the code target determines the parent for styled-components' tag: https://github.com/styled-components/styled-components/blob/0d97a33a42fd62851c2373c5f58c0cf451540c84/packages/styled-components/src/sheet/dom.ts#L25
Rehydration then later on determines that we'll have to replace existing SSR style tags with new ones, so old ones may be deleted. We therefore, before creating the "new style tag" for the client-side, create a new style tag after one that we can already find (if one exists): https://github.com/styled-components/styled-components/blob/0d97a33a42fd62851c2373c5f58c0cf451540c84/packages/styled-components/src/sheet/dom.ts#L14
So that means we're looking for:

As far as I remember, beyond that, this means that the new tag will then be created next to this one. I haven't done this in a while however, so it may not be exactly how this is done.
On a side note, please refer with usage questions to Stack Overflow or our Discord, as you're more likely to get quicker and helpful answers there ❤ Repository issues on GitHub are great for bugs, issues, and things that need to be resolved in the library itself, or can't be resolved by anyone but the maintainers.

Thanks for the answer <3
Based on the info you provided I did a bit of debugging and looks like the target when makeStyleTag get called :(, also it is undefined when StyleSheet.insertRules is called.
On the other hand, in StyleSheetManager is is defined, and the sheet gets reconstructed using its value.
Will dig in more, but just wanting to point out my setup is not SSR. It is just client-side React. Hopefully this functionality is working for non-SSR env as well?

Just tested by hardcoding target in makeStyleTag to be document.getElementById("sc-insertion-point"), and it worked... So, maybe I am configuring something wrongly, or this could be a bug?

Well, never-mind. Looks like the issue was on my side, the application has two bundles both consuming SC. Apparently setting the target was done in one bundle and using the styled components was done in another one, hence what i was seeing was basically output from two bundles (one having the target defined, and the other -the one i was interested in- not).
Moving StyleSheetManager to the correct bundle fixed it.


Simple non-breaking improvements

Summary
We are iteratively going to try to make changes along the lines of our changes in #4, which was a bit too large for a single PR. This PR covers simple changes that cannot break any code.
Changes
This includes

Adding inline to function definitions in header files to avoid future linker issues
Simplifying comments
Properly const-qualifying function parameters and member functions.

This looks like it can be merged @adamwcaliola


My file path looks like: content://media/external/video/media/232
Expected Behavior
App should not abort
Your Environment

software
version

react-native-video-processing
current (master branch)

react-native
0.53.3

node
9.5.0

the same as you,but in my case is the video file error

@zivids Were will able to fix this issue?

Hi I resolve this issue by adding GpuImageFramework as embedded binaries instead of linked  framework and libraries

@barbaragomes I used FFmpegMediaMetadataRetriever to got video thumbnails bitmap,it crash frequently.Then I saved bitmap to phone and read from local,it works! But if the video file error, it also crash. So I think the FFmpegMediaMetadataRetriever something wrong

same issue :(

same issue :(


feat: Add Github Action yml to auto deploy.

Add a github action, when some changes push to master branch, this action will auto deploy to github pages.
Some tips:

You must have your own domain name, because the project uses relative paths, if you use github's domain name, it's like this <user>.github.io/mornin.fm/, but it will go to <user>.github.io/ to find js and css.
Configure a CNAME record with your DNS provider, modify the content of src/CNAME to your custom domain name.
Github does not recommend using the root domain name, but using the subdomain name. If the root domain name is used as the CNAME, see configuring-an-apex-domain.
If you use kraken to build your own backend service, modify env.API_BASE in .github/workflows/master.yml
Finally, go to your forked repository, select Settings -> Pages, select gh-pages branch to save.

you may edit the README either, to tell others the tips.

Ok, at first, I thought it was rude to modify the readme of other people's projects, so I wrote it here, I will add it later.


Improve compile-time efficiency of the non-parameterized query

Uses a similar technique to Doobie sql interpolator and Cats Show show interpolator to avoid requiring Binder of HList which was causing the issue in the first place. Special thanks to @phderome for showing me how to properly use the interpolator and @nbenns for pairing with me.
Closes https://github.com/ringcentral/cassandra4io/issues/21

@Alexey-Yuferov @ilyshav @narma sorry for the ping but do you have time to take a look?

Hey Calvin! Great investigation and so fast solution come in, thanks so much! LGTM so far, going to release new version after merging

Thank you so much @narma !


add node user + build optimisation

might resolve #114

trying a fix to the failing CD - looks like the docker build does not have permission.
build optimisation by installing package.json before src files

Sorry but the 'optimisation' broke the build process since we use npm workspace and I coincidentally fixed the issue using a similar solution already. Thanks for your contribution but I think I'm going to close this.


Set scope=provided

Setting the scope of the target libraries of instrumentation to "provided". It is a guarantee that the integrating codebase will provide these libraries, otherwise the instrumentation plugin would be moot if the codebase does not already have these libraries.

Pull Request Test Coverage Report for Build 145

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 27.184%

Totals

Change from base Build 144:
0.0%

Covered Lines:
168

Relevant Lines:
618

💛  - Coveralls


Add docs to ubuntu regarding startup on boot

Fixes #12002
Signed-off-by: Ankush Agarwal<EMAIL_ADDRESS>

CC @moxiegirl @thaJeztah @jfrazelle

There's a typo: "installtion".
Can't fix it myself...

There's a typo: "installtion".

Yes, I noticed that one, thanks @Jean85 !

@ankushagarwal sorry for not responding to this PR sooner, I actually had this open for a couple of days because I wasn't sure how to proceed here (I did notice the typos, but that's not the main issue).
Because I don't have a clear answer now, I'll just put my thoughts here, perhaps you can think along;

I agree this needs to be mentioned somewhere; some people expect that docker is automatically configured to start at boot (when using Systemd). (this was a deliberate decision, so that the user can decide wether or not docker should start automatically)
Perhaps we should add a message to the installer that mentions that Docker is not configured to start automatically (just as the "using Docker as non-root" message in the installer)
It's a bit strange that this section describes how to handle automatic start after installing on 15.04, but  there's no actual installation procedure / mention of 15.04 in the document. In fact, it's not mentioned below "Docker is supported on these Ubuntu operating systems:".
There's also sections on systemd and host integration that can be relevant here, perhaps this should be put inside that document?

(I also think the section on 13.10 should be removed, because it doesn't really add anything and 13.10 is end-of-life as of July 2014, but that's unrelated here :smile:)
/cc @moxiegirl (we briefly discussed this on IRC)

I strongly believe that docker starting up on boot should be default behaviour regardless of the package manager or the system manager or the distro you are trying to install docker on and this behaviour should not differ from distro to distro or package manager or the system manager (systemd v/s upstart). On completing installation we can print a message saying something like "docker will start on boot....  Run command xyz to turn off docker starting on boot..."
I believe so because most system softwares are installed with expectation to start on bootup. Most systems softwares are daemons (eg: sshd, crond, etc) and are always expected to run in the background without explicitly configuring them to do so.
The only reason I see why people wouldn't want docker to start on startup would be if they are experimenting with docker on their laptops. But I believe anybody trying to install docker on a server or a VM would want auto restart on boot as default behavior, with an easily configurable option to disable that.
People have been using wget -qO- https://get.docker.com/ | sh for a while and nobody has complained about docker automatically starting on boot, but started complaining when they did not see that behaviour.

Regarding the 15.04 comment, can we just update the docs and say we support 14.04 and above?

@ankushagarwal  I don't think anyone disagrees that docker daemon should be started on boot.  With this contribution, there are two aspects here.

Adding messaging to the installer which is suggested but not implemented in this ticket
Inclusion of the systemd startup material in the installation docs and in other places

We are leaning toward consolidating the material regarding configuration of startup options in another page.  This page is becoming the central location for that https://docs.docker.com/articles/systemd/ . It covers something a bit further than starting the daemon which is also useful.  Maybe you can consider adding your information to that page.
And then, we will need a link from each installation out to that. What do you think?

Installation is not specific to a given Ubuntu version, unfortunately administration is (as 15.04 introduced systemd). That being said, yes 15.04 is obviously supported, and indeed this could get a bit of a refresh: http://docs.docker.com/installation/ubuntulinux/#ubuntu

Sounds good. Will update the article to reflect that.

Thanks @icecrime and @ankushagarwal.

Thanks! I'd be +1 to mention support for the LTS releases (12.04, 14.04) separate from the "regular" releases, so not mention "14.04 and above". IIRC, 14.10 had some issues running docker and (being a non-LTS release), is no longer supported; http://fridge.ubuntu.com/2015/07/03/ubuntu-14-10-utopic-unicorn-reaches-end-of-life-on-july-23-2015/
So we should keep a good eye on those releases, and keep them up-to-date at all times (and make a mention of that?)

Makes sense. I'll make sure I'll take that into account.

Is this one ready?

I'll update this by tomorrow.

Patch updated.
Could you guys please review : @thaJeztah @icecrime @cpuguy83 @moxiegirl

LGTM

@jfrazelle : Is there a plan to do this(sudo systemctl enable docker) automatically in the install script?

It should already be fixed in the new packages that are on
apt.dockerproject.org. :+1:

LGTM THANKS @ankushagarwal


Clarify which languages are supported in code blocks

This is based on highlightjs support, but we only import some.

This is implemented in the toolbar now.


[Chore]Remove web related modules

We discussed:
https://lists.apache.org/thread/cvncorb4hqnz08c9dg5432bqqg9yyypl
The new repository is here: https://github.com/apache/incubator-seatunnel-web/

LGTM


Expose the MetricsFactory

Simple getter to access to the MetricsFactory object.

2 comments on style, then you're good to go.

@BrandonArp done

Perfect! Thanks for the contribution.  I'll release this ASAP.


Question about demo

Hello, thank you for your wonderful work and selfless sharing.
I have a small doubt. When I tried to run the current demo file, I found that GraphMotion's forward function seemed incomplete. The denoiser doesn't seem to work very well without providing the [hidden_states] argument to the _diffusion_reverse() function, and I can't seem to find a program that can automatically convert the text into a parsed dictionary (like the one in the dataset containing dictionary of word relationships), can you help me?

We use AllenNLP to parse the raw text, and this website might be helpful to you. Additionally, we've provided the code for how we convert the text into a parsed dictionary, which you can find here.

Thank you for your help！


HHH-9512: Avoid creation of invalid managed -> managed entity mapping…

… in MergeContext when traversing cascade loop

@gbadner Would you like to take a look on these changes? All tests are passing and the changes look fine. Let me know what you think too.


Bug in Secondary Proxies section

When we remove the proxy from the Routes menu due to its deactivation and add the same proxy again, even though this proxy is activated, it is not displayed in the Routes menu and in the Secondary Proxies. In other words, when we remove the proxy from the menu, if we add the same proxy again, it will not be displayed in the menu, even though it is activated and available.

Fixed


unknown import path "main": cannot find module providing package main

My project uses go modules. There is only one package main and Id like to get a callgraph for my project, my directory structure is as such

vendor
src
main.go
go.mod

So I can manage to figure it out, I tried go-callvis main and go-callvis . but I get the following error
unknown import path "main": cannot find module providing package main

the same

Please, try changing your current directory to the directory of the main package.


Primarily C++ project misidentified as LLVM

My https://github.com/torc-isi/torc project consists primarily of C++ code, plus a bunch of custom .db files.
For some unknown reason, linguist classifies the project as LLVM.  I checked lib/linguist/languages.yml, and I see that .ll extensions are recognized as LLVM.  However I have only 7 .ll files in the project, and nearly 2,000 other files, as you can see from https://github.com/torc-isi/torc/search?l=llvm.
I noticed your https://github.com/github/linguist#overrides section, but that seems relevant to cases where a file is misclassified.  This instead seems to be an accounting error.  Any suggestions would be much appreciated.

The statistics do not depend on the number of files but on their total size. These .ll files are really big and seem to be generated files so you probably want to ignore them using Linguist overrides ;)

These .ll files are really big and seem to be generated files so you probably want to ignore them using Linguist overrides ;)

:+1: - yep, I think this is your best fix here.

Thanks for the response.  But how do I tell linguist to completely ignore certain files?  https://github.com/github/linguist#overrides tells me how to override a file type based on its extension, but what do I put in .gitattributes to tell linguist to ignore a file completely?

I added a .gitattributes to the top of my repository with the following contents:
src/torc/bitstream/assembler/libraries/memory/*.ll linguist-vendored
That solved my problem.  Thank you.  I didn't realize that "linguist-vendored" was equivalent to saying "ignore this pattern."

Glad you got this sorted @neilsteiner!


Primitives are named differently in CodeGenV2/TreeBuilderV2

In CodeGen/TreeBuilder V1 the JSON output would often include things like long long and int as time names. CodeGen/TreeBuilder V2 have changed to using the platform agnostic int64_t and int32_t.
OIL v2 is using the new naming scheme, making it incompatible with many of the tests written for OID on v1. Once TreeBuilder V2 is the default, these tests should be updated to the new format. For now they are left on the old format and have oil_skip applied, referencing this issue.

Can be fixed with expect_json_v2 in the meantime


Create House Rule “altered-content”

Automatically generated by Netlify CMS

👷 Deploy Preview for dynamic-cheesecake-5fbd8b processing.

Name
Link

🔨 Latest commit
bfbe373560fcef87c0d13a54347b3529880d1134

🔍 Latest deploy log
https://app.netlify.com/sites/dynamic-cheesecake-5fbd8b/deploys/62d89ac136386a0009ffffa9


Compliant with Android 12 scan device permission requirements

Solve the sample scan device on Android 12
Add scan device unexpected exception log

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Submitting this PR is just to provide a solution for Android 12 scan failures.


what about createChannel ?

i'm trying to convert native this code using amqp-ts
amqp.connect(configuration.amqpUrl, function (err: any, conn: any) {
        conn.createChannel(function (err: any, ch: any) {
            ch.assertQueue('', { exclusive: true }, function (err: any, q: any) {
                let corr = uuid.v4();
                ch.consume(q.queue, function (msg: any) {
                    if (msg.properties.correlationId == corr && msg.content != null) {
                        let resData = JSON.parse(msg.content);
                        res.json(resData);
                    }
                }, { noAck: true });

                ch.sendToQueue(queue, new Buffer(JSON.stringify(req)), { correlationId: corr, replyTo: q.queue });
            });
        });
    });

but createChannel , assertQueue not implemented or not there ?
http://www.squaremobius.net/amqp.node/channel_api.html#model_createChannel

amqp-ts was designed to make it easy to connect to amqp, without the need to create channels or wait for callbacks or promises to resolve before continuing. It uses the library you mention as a base.
The code you give could be written as follows with amqp.ts in typescript:
import * as Amqp from "amqp-ts";

// connect to the amqp server
var connection = new Amqp.Connection(configuration.amqpUrl);

// define a new queue
var queue = connection.declareQueue("", {exclusive: true});

// define the consumer for the queue
queue.activateConsumer( message => {
  let msg = message.getContent();
  if (msg.properties.correlationId == corr && msg.content != null) {
    let resData = JSON.parse(msg.content);
    res.json(resData);
  }
}, {noAck: true});

// send a message to the queue
queue.send(new Message({ correlationId: corr, replyTo: q.queue });

// or, if you want to absolutely make sure that the queue is created before you send something
connection.completeConfiguration().then(() => {
  queue.send(new Message({ correlationId: corr, replyTo: q.queue });
}).catch(err => {
  console.log("An error occurred: " + err.message);
});

oops, just noticed that your consumer function needs to be changed a bit more for amqp-ts.
See the documentation of the message class: https://github.com/abreits/amqp-ts/wiki/Message class.
this should be better:
import * as Amqp from "amqp-ts";

// connect to the amqp server
var connection = new Amqp.Connection(configuration.amqpUrl);

// define a new queue
var queue = connection.declareQueue("", {exclusive: true});

// define the consumer for the queue
queue.activateConsumer( msg=> {
  let content = message.getContent();
  if (msg.properties.correlationId == corr && content != null) {
    res.json(content);
  }
}, {noAck: true});

// send a message to the queue
queue.send(new Message({ correlationId: corr, replyTo: q.queue });

// or, if you want to absolutely make sure that the queue is created before you send something
connection.completeConfiguration().then(() => {
  queue.send(new Message({ correlationId: corr, replyTo: q.queue });
}).catch(err => {
  console.log("An error occurred: " + err.message);
});

Hello @abreits thanks for the help i'm referring RPC call on my implementation. i have microservice to consume messages on queue. but above implementation api request it self consume the request from queue. but i need something like this

may be using this code it will possible
queue.rpc(num).then(function(result) {
  console.log(' [.] Got ', result.getContent());
});

but problem was we cannot pass Message to rpc method (cannot pass  correlationId, replyTo as properties) or i might understood this in wrong way. could you please help me to undestand.

Do you mean that you have an existing rpc server and you need to write the client, or that you can both write the server and client (if the latter, then you can use the code in tutorial 6:
https://github.com/abreits/amqp-ts/tree/master/tutorials/6_rpc
If however you have an already existing server implementation then you need to do the following:

connect to the reply_to queue
connect the consumer that processes the rpc response to the reply_to queue
connect to the rpc queue
send the message to the rpc queue (with the correct parameters)

something like this:
// connect to the reply_to queue
// amqp-ts does not work well with autogenerated queue names, so we generate a name
let responseQueueName = "rpc-response-" + uuid.v4();
let rpcResponseQueue = connection.declareQueue(responseQueueName, {exclusive: true});

//create a correlation id (if needed)
let corr = uuid.v4();

// define the consumer function (can also be done inline)
function rpcConsumer (msg: Amqp.Message) {
  rpcResponse = msg.getContent();
    // process rpc response, e.g.
    if (msg.properties.correlationId == corr && rpcResponse != null) {
      res.json(rpcResponse);
    }
  }
}

// connect to consumer to the queue
rpcResponseQueue.activateConsumer(rpcConsumer, {noAck: true});

// connect to the rpc queue
let rpcQueue = connection.declareQueue(rpcQueueName);

// send a message to the rpc queue
let rpcRequest = new Amqp.Message(rpcRequestContent, {correlation_id: corr, reply_to: responseQueueName});
rpcQueue.send(rpcRequest);

Thanks you very much!! That did the job!! thanks again..

Sorry for the bothering is there any specific reason to use exclusive = true because server cannot access to exclusive queue to give the response

No reason, I just added it because it was present in your original example. If it causes problems just remove it.

when consuming message i'm getting error

error: Queue.onMessage consumer function returned error: content is not a buffer module=amqp-ts

i thought it because of queue option but something else

According to the error something went wrong in your consumer function, try to debug it there.

i have dig in to source code and realized i'm calling this function to initialize consumer
var connection = new amqp.Connection(configuration["amqpUrl"]);
        var queueReq = connection.declareQueue(queue, { durable: false });
        queueReq.activateConsumer((message: amqp.Message) => {
            /* some logic go there */

        }, { noAck: true })

but when i call  queueReq.activateConsumer as a parameter message typeof Message getting
but in source this line
it again try to create message   var message = new Message(msg.content, msg.properties);
but msg.content is a already Buffer

That is not a problem, a new Message can be created with a Buffer, it will then be used as is.
see how the content of a new Message object is created:
https://github.com/abreits/amqp-ts/blob/master/src/amqp-ts.ts#L327


Question: Backend import of annotations from csv file

Hi,
I was wondering if there is a faster or more direct API to process label-studio data. I have a csv file with audio annotations and want to import it into label-studio. My current understanding is that I need to use "curl -X POST -H Content-Type:application/json http://localhost:8080/api/..." for each annotation I want to add.
From a Python script, I then need to use an os interface like subprocess.call("curl ...").
Is there a faster, more elegant way to do this. Something like:
studio = LabelStudio(ip="<IP_ADDRESS>", port=8080)
studio.post(data)

best regards,
Alex

Sorry for the bug label. I just don't know how to remove it.

@slychief Hi!
Do you want to use only API / SDK ways to import annotations? Why don't you use GUI way? By GUI I mean is to prepare json file for import with tasks and annotations.

I need to fully automate the experimental design and reduce manual interaction to a minimum. Thus I am creating label-studio projects with an automated script and this script should also load the annotations from a csv file. After training and inference of the models, users should only evaluate the prediction results.
I'm also fine with creating the json files for the tasks and completions automatically. I just can't figure out how to do it right. I'm currently reading "How to make pre-annotations & pre-labeling & predictions" in the FAQs. But this also requires manual copy&paste.

Ok. I think it's optimal for you to call API as it described here: https://labelstud.io/guide/api.html#Import-data-and-tasks
curl -X POST -H Content-Type:application/json http://localhost:8080/api/project/import \
--data "[{\"my_key\": \"my_value_1\"}, {\"my_key\": \"my_value_2\"}]"

Include to your tasks data and predictions fields.

Thank you for the quick confirmation!

Hi,
I'm sorry. But I still need help on the same topic. I now try to import everything using a pre-existing json file
label-studio init --input-path=my_tasks.json
I'm using the tasks.json from a previous project to import the audio files into a new project:
{     "1": {         "id": 1,         "task_path": "\/path\/to\/audio1.mp3",         "data": {             "audio": "\/data\/audio1.mp3?d=%2Fpath%2Fto%2Faudio1%2Fmp3"         }     },     "2": {         "id": 2,         "task_path": "\/path\/to\/audio2.mp3",         "data": {             "audio": "\/data\/audio2.mp3?d=%2Fpath%2Fto%2Faudio2%2Fmp3"         }     } }
I cannot find out from the documentation, how exactly the tasks.json should be compsed in order to correctly use it for the import.

Hi, it's a good point for our documentation to make it more clear :slightly_smiling_face:
Try this one:
[
 { "id": 1, "task_path": "\/path\/to\/audio1.mp3", "data": { "audio": "\/data\/audio1.mp3?d=%2Fpath%2Fto%2Faudio1%2Fmp3" } },
 { "id": 2, "task_path": "\/path\/to\/audio2.mp3", "data": { "audio": "\/data\/audio2.mp3?d=%2Fpath%2Fto%2Faudio2%2Fmp3" } }
]

Also you can check this section:
https://labelstud.io/guide/api.html#Import-data-and-tasks


Restore exclusion of integration tests

Restore the exclusion of integration tests in the default profile (the
exclusion was removed accidentally(?) in a previous change
734c89df5591356f22090015b8c40f015fb20705).
Also, correct browser test tagging, remove it from a test that does not
use the browser and add it to tests that do use.

Changes taken in https://github.com/crawljax/crawljax/pull/529


Korean Translation

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

I would like to take part in translating this project into Korean. I know Koreans aren't exactly the major population of users of this library but with all the startup booms like other countries and tendency to adopt React, I believe people will use this library much more actively if they could understand the documentation. It doesn't have to be now but whenever the admins think it's necessary, you can @ me.
Expected Behavior 🤔

Current Behavior 😯

Examples 🌈

Context 🔦

@serendipity1004 Thank you very much for proposing your help! We don't plan on growing the number of translations we expose in the near future. We first want to make sure it works, meaning it actually help people without costing us too many resources (opportunity cost). We will let you know. cc @mbrookes


Fix crash on rest element destructuring with null initializer

Fixes #2087.

Consider adding a test using undefined as the initializer as well.

:+1:   (with the comment fix)


Occasional substituted variables are empty.

I have run into this twice now were 2 of my variables on different pipelines fail to replace. They show in the debug that replacement was successful but the output is empty.
2022-10-26T19:52:17.9377242Z ##[debug]secrets.TokenRequestConfig__Authority=https://auth.dev.corestream.com
2022-10-26T19:52:18.0304129Z ##[debug]Trying to substitute variable secrets.TokenRequestConfig__Authority
2022-10-26T19:52:18.0305565Z Substituting variable secrets.TokenRequestConfig__Authority as string
However when I check the yaml that was transformed that value is empty.

Would you be able to share the yaml file you are executing the
substitutions on? Or at least a subset that reproduces the issue?
Also, are you overriding the file path in your task? Since it looks like
the substitution worked I am thinking the file could be written at a wrong
location.
On Wed 26 Oct 2022 at 10:07 PM Preston Rodriguez @.***>
wrote:

I have run into this twice now were 2 of my variables on different
pipelines fail to replace. They show in the debug that replacement was
successful but the output is empty.
2022-10-26T19:52:17.9377242Z
##[debug]secrets.TokenRequestConfig__Authority=
https://auth.dev.corestream.com
2022-10-26T19:52:18.0304129Z ##[debug]Trying to substitute variable
secrets.TokenRequestConfig__Authority
2022-10-26T19:52:18.0305565Z Substituting variable
secrets.TokenRequestConfig__Authority as string
However when I check the yaml that was transformed that value is empty.
—
Reply to this email directly, view it on GitHub
https://github.com/happytal/substitute-variables/issues/16, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMSW5LEAIWSCLCNRCKQ5I3WFGFPPANCNFSM6AAAAAARPLHV3Y
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Add character names to round end screen and localize more of the strings

About the PR
Added character name to the round end screen.
Reworked a few localization strings in traitor preset to make it more obvious what each one does.
Localized the traitor objective issuer.
Screenshots

Normal:

Player disconnected:

Changelog

:cl:

add: Added character name to traitor round end screen.

Changed to


Remote RPC Erc1155 Token Connector CLI check

Currently initializing a remote blockchain stack with an erc-1155 token connector as follows:
ff init polygon 1 \
    --multiparty=false \
    -b ethereum \
    -c evmconnect \
    -n remote-rpc \
    -t erc1155 \
    --remote-node-url https://staging.arkane.network/\
    --chain-id 80001 \
    --connector-config ~/Desktop/evmconnect.yml

Throws the following due to a check in the CLI: https://github.com/hyperledger/firefly-cli/blob/8ad18381273eaea05575955bdc77aef6614d3c81/cmd/init.go#L216
This check was created to prevent automatic deployment of factory contracts for erc1155.
Steps for solution:
1- Build CLI with check disabled
2- Address any issues that arise from the CLI or connector

From a very quick look, I think removing this check from the CLI may actually behave alright (from a CLI perspective). The main thing there is to be sure it doesn't try to auto-deploy any contracts... seems like it won't, but worth a double-check.
I think the bigger issue may be that the https://github.com/hyperledger/firefly-tokens-erc1155 container will have issues if it's started without a CONTRACT_ADDRESS or ETHCONNECT_INSTANCE. There's no reason it can't function without a built-in factory now (because you can point it at the address of one with each pool you create) - but I think it was coded to not come up unless it has a pre-deployed contract.


Completed TODOs removed

Ref.: https://github.com/Comcast/snowdrift/commit/a418f1b7bcfb1f87d3c3bf7f0add9f3dd9ec0039

Good catch!  Just merged that. :-)

Good catch!  Just merged that. :-)


EthStorage Devs Meeting #66 Agenda

Meeting Info

Jan 23, 2023, 10:00 UTC+8
Duration: 60 minutes
Meeting link
Anyone can comment on the agenda where they would like this to be discussed.

Agenda

Protocol/App/Research progress

devnet-3 preparation

Using randao as the randomness source - Done
https://github.com/ethstorage/es-node/milestone/2
https://github.com/ethstorage/storage-contracts-v1/milestone/1
Deploy testnet on Goerli + release (WIP)

EthStorage -- sync
Fix issues ( https://github.com/ethstorage/es-node/pull/200, https://github.com/ethstorage/es-node/issues/182， https://github.com/ethstorage/es-node/pull/132 (resolve comments), https://github.com/ethstorage/es-node/pull/188, )
Dashboard: https://github.com/ethstorage/es-node/pull/189, dev 12 report dev report.

Integrate zkWasm batch circuit https://github.com/DelphinusLab/continuation-batcher/pull/17
review ZPrize with Frank https://github.com/ethstorage/ZPrize-23-Prize1/issues/1#issuecomment-1891217292
Bill's progress

keccak256 optimization, big endian to little endian & mpt
reproduce O(1) lab's results

A quick study on DA challenge https://docs.google.com/presentation/d/1YluhWPIzdHQQ68RiNrC5dckJLzcRJEdGSEfczgiAZ68/edit?usp=sharing
Present OP stack and web3:// talk

https://github.com/ethstorage/es-node/pull/191
https://github.com/ethstorage/es-node/pull/192
https://github.com/ethstorage/es-node/pull/194
A quick test of rapidsnark on MBP 2.9 GHz 6-Core Intel Core i9

https://github.com/ethstorage/es-node/issues/155#issuecomment-1903591741

Implementation of the eth-fs tool.
DOC documentation for related tools.

ZPrize: memory optimization + GPU optimization
CFT quiz refinement
zkWASM

Recording: https://drive.google.com/file/d/1jBPtSx2Dfs6tPomtNcXkiRsdqVNoh97W/view?usp=drive_link