Could not open shard

Expected Behavior
CouchDB must open shards without any error.
Current Behavior
When replicated database from other server to standalone CouchDB time to time i see errors like this
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [notice] 2018-01-15T10:34:47.577647Z<EMAIL_ADDRESS><0.25708.3> -------- <IP_ADDRESS> - - GET / 200
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [notice] 2018-01-15T10:34:47.880163Z<EMAIL_ADDRESS><0.25433.3> -------- Retrying GET request to http://<IP_ADDRESS>:5984/account%2f51%2fb3%2fd5b4883ebe3261b1250e401deca0/ in 4.0 seconds due to error {code,500}
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [error] 2018-01-15T10:34:47.893174Z<EMAIL_ADDRESS><0.25726.3> -------- Could not open file ./data/shards/00000000-1fffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479.couch: no such file or directory
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [info] 2018-01-15T10:34:47.893399Z<EMAIL_ADDRESS><0.206.0> -------- open_result error {not_found,no_db_file} for shards/00000000-1fffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [error] 2018-01-15T10:34:47.894595Z<EMAIL_ADDRESS><0.25730.3> -------- Could not open file ./data/shards/20000000-3fffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479.couch: no such file or directory
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [info] 2018-01-15T10:34:47.895033Z<EMAIL_ADDRESS><0.206.0> -------- open_result error {not_found,no_db_file} for shards/20000000-3fffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [error] 2018-01-15T10:34:47.895562Z<EMAIL_ADDRESS><0.25734.3> -------- Could not open file ./data/shards/40000000-5fffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479.couch: no such file or directory
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [info] 2018-01-15T10:34:47.895868Z<EMAIL_ADDRESS><0.206.0> -------- open_result error {not_found,no_db_file} for shards/40000000-5fffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [error] 2018-01-15T10:34:47.896352Z<EMAIL_ADDRESS><0.25738.3> -------- Could not open file ./data/shards/60000000-7fffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479.couch: no such file or directory
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [info] 2018-01-15T10:34:47.896630Z<EMAIL_ADDRESS><0.206.0> -------- open_result error {not_found,no_db_file} for shards/60000000-7fffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [error] 2018-01-15T10:34:47.897154Z<EMAIL_ADDRESS><0.25742.3> -------- Could not open file ./data/shards/80000000-9fffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479.couch: no such file or directory
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [info] 2018-01-15T10:34:47.897454Z<EMAIL_ADDRESS><0.206.0> -------- open_result error {not_found,no_db_file} for shards/80000000-9fffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [error] 2018-01-15T10:34:47.897923Z<EMAIL_ADDRESS><0.25746.3> -------- Could not open file ./data/shards/a0000000-bfffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479.couch: no such file or directory
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [info] 2018-01-15T10:34:47.898239Z<EMAIL_ADDRESS><0.206.0> -------- open_result error {not_found,no_db_file} for shards/a0000000-bfffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [error] 2018-01-15T10:34:47.898754Z<EMAIL_ADDRESS><0.25750.3> -------- Could not open file ./data/shards/c0000000-dfffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479.couch: no such file or directory
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [info] 2018-01-15T10:34:47.899083Z<EMAIL_ADDRESS><0.206.0> -------- open_result error {not_found,no_db_file} for shards/c0000000-dfffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [error] 2018-01-15T10:34:47.899571Z<EMAIL_ADDRESS><0.25754.3> -------- Could not open file ./data/shards/e0000000-ffffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479.couch: no such file or directory
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [info] 2018-01-15T10:34:47.899888Z<EMAIL_ADDRESS><0.206.0> -------- open_result error {not_found,no_db_file} for shards/e0000000-ffffffff/account/51/b3/d5b4883ebe3261b1250e401deca0.1516012479
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [error] 2018-01-15T10:34:47.900597Z<EMAIL_ADDRESS><0.25433.3> -------- Replicator, request GET to "http://<IP_ADDRESS>:5984/account%2f51%2fb3%2fd5b4883ebe3261b1250e401deca0/" failed due to error {code,500}
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [error] 2018-01-15T10:34:47.900935Z<EMAIL_ADDRESS><0.25433.3> -------- exit:{http_error_code,500,<<"GET http://<IP_ADDRESS>:5984/account%2f51%2fb3%2fd5b4883ebe3261b1250e401deca0/">>}: Replication 77d0d1cc310aa875647f25011de294cf+create_target failed to start "http://<IP_ADDRESS>:5984/account%2f51%2fb3%2fd5b4883ebe3261b1250e401deca0/" -> "http://<IP_ADDRESS>:5984/account%2f51%2fb3%2fd5b4883ebe3261b1250e401deca0/" doc null:null stack:[{couch_replicator_api_wrap,db_open,3,[{file,"src/couch_replicator_api_wrap.erl"},{line,119}]},{couch_replicator_scheduler_job,init_state,1,[{file,"src/couch_replicator_scheduler_job.erl"},{line,590}]}]
Jan 15 10:34:47 node0.docker.rcsnet.ru sh[1690]: [error] 2018-01-15T10:34:47.901167Z<EMAIL_ADDRESS><0.357.0> -------- couch_replicator_scheduler : Transient job {"77d0d1cc310aa875647f25011de294cf","+create_target"} failed, removing. Error: <<"{http_error_code,500,\n                 <<\"GET http://<IP_ADDRESS>:5984/account%2f51%2fb3%2fd5b4883ebe3261b1250e401deca0/\">>}">>
Jan 15 10:34:48 node0.docker.rcsnet.ru sh[1690]: [notice] 2018-01-15T10:34:48.682942Z<EMAIL_ADDRESS><0.25757.3> 8f8d36eae3 undefined <IP_ADDRESS> undefined GET / 200 ok 0
Jan 15 10:34:49 node0.docker.rcsnet.ru sh[1690]: [notice] 2018-01-15T10:34:49.578731Z<EMAIL_ADDRESS><0.25774.3> -------- <IP_ADDRESS> - - GET / 200

Possible Solution
Not sure but this may by thread sync issue. Similar error is described here for other erlang program.
link 1
link2
Steps to Reproduce (for bugs)

start docker container
start replication about 1500 databases (total 25 Gb) from other server.

Context
I want migrate date from other CouchDB server.
Your Environment

Version used: docker image tag 2.1.1
Browser Name and version: Google Chrome 63.0.3239.132 (Official Build) (64-bit)
Operating System and version (desktop or mobile): Fedora 27 + Docker 17.12.0-ce
Link to your project: none

For others, so you don't have to sign up for a JIRA account, here's the text (2600/teletype):

On debian 8.6 ander openvz container fax attachment cannot be attached to email.
Root of issue call "file:read_file(ToFile)" return enoent
Fragment of strace cammnad output
stat("/tmp/a0b205e547697bcd.pdf", 0x7f5a29a1ed00) = -1 ENOENT (No such file or directory)
Think OTP have bug that appears only Debian 8.6 virtualized under openvz on Proxmox 3.4 (two years old). Tested command tiff2pdf -o ~s ~s &> /dev/null && echo -n \"success\"" on OTP-<IP_ADDRESS>

@sergey-safarov This doesn't directly apply because the operation to open a CouchDB shard file is not an os:cmd operation, but an internal Erlang operation.
You may be right that in your specific configuration there is an issue, but the above information points more likely to a very slow disk (unable to open file for 4.0 seconds is very very slow.)
Are you able to reproduce this issue when you are not running under Docker and proxmox? We see sporadic reports of this type of behaviour and don't really have a good way to resolve this. Increasing this timeout as a default could lead to very bad performance for CouchDB in other situations; putting every single timeout into local.ini is not a good solution, either.

Hello @wohali
About slow disk. Docker files located at RAID10 disk created from 6 SATA disk.
Short test demonstrate that used partitions is not slow.
[root@node0 backup]# date; dd if=/dev/zero of=/var/lib/docker/volumes/test.img bs=1G count=10; date
Thu Feb  1 20:47:31 GMT 2018
10+0 records in
10+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 5.62274 s, 1.9 GB/s
Thu Feb  1 20:47:36 GMT 2018
[root@node0 backup]#

I cannot use couchdb 2.1.1, issue https://github.com/apache/couchdb/issues/1119 is blocked me.
@wohali how I can measure file opening operation for CouchDB?
May be via logs?

It's not about the speed of the disk, it's about the latency of disk operations from inside of the Docker image.
Your log shows that, on occasion, the Docker environment has very slow disk performance.
CouchDB performance is directly related to the latency of disk I/O operations.
Have you tried using the device storage mapper device on real block devices rather than loopback mounted block devices? See https://github.com/moby/moby/issues/21485 for more information:

Joan (@wohali) on provided link is not used volumes and used disk image via loopback + docker filesystem overlay. You example is not applicable to this ticket.
On my host is installed Fedora 27 operation system.
For Fedora is recommended

Linux distribution
Recommended storage drivers

Docker CE on Fedora
devicemapper, overlay2 (Fedora 26 or later, experimental), overlay (experimental), vfs

When possible, overlay2 is the recommended storage driver. When installing Docker for the first time, overlay2 is used by default.

But i use volume as permanent store for couchdb data and according this page  is not mater what is used storage driver

A data volume is a directory or file in the Docker host’s filesystem that is mounted directly into a container. Data volumes are not controlled by the storage driver. Reads and writes to data volumes bypass the storage driver and operate at native host speeds.

I have googled about slow disk operation inside docker container. I find only related to docker for MacOS (not linux).
Also i have made test inside docker container
[root@node0 ~]# docker run --rm -it -v test:/home fedora:27 /bin/sh
sh-4.4# date; dd if=/dev/zero of=/home/test.img bs=1G count=10; date
Fri Feb  2 02:19:51 UTC 2018
10+0 records in
10+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 5.12558 s, 2.1 GB/s
Fri Feb  2 02:19:56 UTC 2018
sh-4.4#

Results is same to test on host operation system.

Joan (@wohali) my mistake. Link you provided is applicable.
I will made additional test

Joan (@wohali)
First i measured disk io operation when tmpfs mounted as volume inside container.
[root@c0ed791b0e7d /]# rm -f /workspace/* && time dd if=/dev/zero of=/opt/couchdb/data/test_container1.img bs=512 count=1000 oflag=dsync
1000+0 records in
1000+0 records out
512000 bytes (512 kB, 500 KiB) copied, 0.00277375 s, 185 MB/s

real	0m0.004s
user	0m0.003s
sys	0m0.001s
[root@c0ed791b0e7d /]# rm -f /workspace/* && time dd if=/dev/zero of=/opt/couchdb/data/test_container1.img bs=512 count=1000 oflag=dsync
1000+0 records in
1000+0 records out
512000 bytes (512 kB, 500 KiB) copied, 0.00277794 s, 184 MB/s

real	0m0.004s
user	0m0.001s
sys	0m0.003s
[root@c0ed791b0e7d /]# rm -f /workspace/* && time dd if=/dev/zero of=/opt/couchdb/data/test_container1.img bs=512 count=1000 oflag=dsync
1000+0 records in
1000+0 records out
512000 bytes (512 kB, 500 KiB) copied, 0.00283199 s, 181 MB/s

real	0m0.004s
user	0m0.001s
sys	0m0.003s
[root@c0ed791b0e7d /]# rm -f /workspace/* && time dd if=/dev/zero of=/opt/couchdb/data/test_container1.img bs=512 count=1000 oflag=dsync
1000+0 records in
1000+0 records out
512000 bytes (512 kB, 500 KiB) copied, 0.00279983 s, 183 MB/s

real	0m0.004s
user	0m0.001s
sys	0m0.003s

Then i started couchdb container with mounter tmpfs as volume.  Added arg --mount type=tmpfs,destination=/opt/couchdb/data
docker run -t --rm=true --log-driver=none --network kazoo --name couchdb1 \
                --hostname couchdb1.kazoo \
                --ip <IP_ADDRESS> \
                --ulimit nofile=999999 \
                --mount type=tmpfs,destination=/opt/couchdb/data \
                -v /etc/kazoo/couchdb/vm.args.node1:/opt/couchdb/etc/vm.args \
                apache/couchdb:2.1.1

vm.args is same to default with added option name
[root@node0 ~]# docker exec -it couchdb1 cat /opt/couchdb/etc/vm.args
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.

# Ensure that the Erlang VM listens on a known port
-kernel inet_dist_listen_min 9100
-kernel inet_dist_listen_max 9100

# Tell kernel and SASL not to log anything
-kernel error_logger silent
-sasl sasl_error_logger false

# Use kernel poll functionality if supported by emulator
+K true

# Start a pool of asynchronous IO threads
+A 16

# Comment this line out to enable the interactive Erlang shell on startup
+Bd -noinput
-setcookie monster
-name<EMAIL_ADDRESS>
[root@node0 ~]#

Now disk layout inside container
[root@node0 ~]# docker exec -it couchdb1 df
Filesystem                  1K-blocks     Used Available Use% Mounted on
overlay                     268304384 76159032 192145352  29% /
tmpfs                           65536        0     65536   0% /dev
tmpfs                        65968072        0  65968072   0% /sys/fs/cgroup
/dev/mapper/vgRAID10-root     2086912   157692   1929220   8% /etc/couchdb
/dev/mapper/vgRAID10-docker 268304384 76159032 192145352  29% /etc/hosts
shm                             65536        0     65536   0% /dev/shm
tmpfs                        65968072       48  65968024   1% /opt/couchdb/data
tmpfs                        65968072        0  65968072   0% /proc/scsi
tmpfs                        65968072        0  65968072   0% /sys/firmware

Host total memory. Host have 128Gb of memory and used about 160 Mb of swap.
top - 01:41:43 up 17 days, 15:46,  4 users,  load average: 1.78, 1.54, 0.87
Tasks: 900 total,   1 running, 283 sleeping,   0 stopped, 486 zombie
%Cpu(s):  0.8 us,  0.8 sy,  0.0 ni, 98.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem : 13193614+total, 12358560 free,  2934528 used, 11664305+buff/cache
KiB Swap: 31457280+total, 31441177+free,   161036 used. 12743585+avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 1332 root      20   0 1469936 452596   4084 S   6.3  0.3 587:28.21 beam.smp
14915 root      20   0 1297128 295484   3928 S   5.6  0.2 510:51.97 beam.smp
20715 root      20   0   54392   5120   3812 R   0.7  0.0   0:00.09 top

Then i started replication and after 5 hours i have folowing results.
Disk layout inside couchdb container. CoucDB data size about 10Gb
[root@node0 ~]# docker exec -it couchdb1 df
Filesystem                  1K-blocks     Used Available Use% Mounted on
overlay                     268304384 76134184 192170200  29% /
tmpfs                           65536        0     65536   0% /dev
tmpfs                        65968072        0  65968072   0% /sys/fs/cgroup
/dev/mapper/vgRAID10-root     2086912   157692   1929220   8% /etc/couchdb
/dev/mapper/vgRAID10-docker 268304384 76134184 192170200  29% /etc/hosts
shm                             65536        0     65536   0% /dev/shm
tmpfs                        65968072 10083456  55884616  16% /opt/couchdb/data
tmpfs                        65968072        0  65968072   0% /proc/scsi
tmpfs                        65968072        0  65968072   0% /sys/firmware

Host memory usage. Swap usage not changed. All CouchDB data is located inside memory.
top - 06:35:51 up 17 days, 20:40,  6 users,  load average: 1.03, 0.95, 0.82
Tasks: 938 total,   1 running, 322 sleeping,   0 stopped, 486 zombie
%Cpu(s):  1.4 us,  1.1 sy,  0.0 ni, 97.2 id,  0.1 wa,  0.1 hi,  0.1 si,  0.0 st
KiB Mem : 13193614+total, 87901344 free,  3644528 used, 40390272 buff/cache
KiB Swap: 31457280+total, 31441177+free,   161036 used. 11659586+avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 5269 root      20   0   56704   5360   3876 R  11.8  0.0   0:00.03 top
14915 root      20   0 1315680 307456   5852 S  11.8  0.2 550:18.26 beam.smp
 1332 root      20   0 1463408 452628   5444 S   5.9  0.3 615:53.69 beam.smp
23036 root      20   0 1859228  63316  31484 S   5.9  0.0  30:43.66 dockerd

After 5 hours of replication to database located on memory disk (tmpfs) couchdb have following errors in log
Could not open shards - total 2 error
2ea5274cd52c5bf0-201802/_local/75d3dc6ddfdfcae76e87a7acdfc5ed89 201 ok 42
Feb 02 03:50:57 node0.docker.rcsnet.ru sh[28220]: [notice] 2018-02-02T03:50:57.866252Z<EMAIL_ADDRESS><0.357.0> -------- couch_replicator_scheduler: Job {"75d3dc6ddfdfcae76e87a7acdfc5ed89","+create_target"} completed normally
Feb 02 03:50:57 node0.docker.rcsnet.ru sh[28220]: [notice] 2018-02-02T03:50:57.866613Z<EMAIL_ADDRESS><0.22131.14> 8a931c0f9d <IP_ADDRESS>:5984 <IP_ADDRESS> undefined POST /_replicate 200 ok 2805
Feb 02 03:50:57 node0.docker.rcsnet.ru sh[28220]: [notice] 2018-02-02T03:50:57.916222Z<EMAIL_ADDRESS><0.357.0> -------- couch_replicator_scheduler: Job {"80f52a6352af0019a08ff5bf307e6192","+create_target"} started as <0.10587.13>
Feb 02 03:50:59 node0.docker.rcsnet.ru sh[28220]: [error] 2018-02-02T03:50:59.599271Z<EMAIL_ADDRESS><0.14885.14> 4c046843ba Request to create N=3 DB but only 1 node(s)
Feb 02 03:50:59 node0.docker.rcsnet.ru sh[28220]: [notice] 2018-02-02T03:50:59.629560Z<EMAIL_ADDRESS><0.14885.14> 4c046843ba <IP_ADDRESS>:5984 <IP_ADDRESS> undefined PUT /account%2f94%2f93%2f45d6587d8f195f1620b65b1eb063-201802/ 201 ok 32
Feb 02 03:50:59 node0.docker.rcsnet.ru sh[28220]: [error] 2018-02-02T03:50:59.655204Z<EMAIL_ADDRESS><0.2117.13> -------- Could not open file ./data/shards/60000000-7fffffff/account/94/93/45d6587d8f195f1620b65b1eb063-201802.1517543459.couch: no such file or directory
Feb 02 03:50:59 node0.docker.rcsnet.ru sh[28220]: [error] 2018-02-02T03:50:59.655216Z<EMAIL_ADDRESS><0.2121.13> -------- Could not open file ./data/shards/40000000-5fffffff/account/94/93/45d6587d8f195f1620b65b1eb063-201802.1517543459.couch: no such file or directory
Feb 02 03:50:59 node0.docker.rcsnet.ru sh[28220]: [info] 2018-02-02T03:50:59.666163Z<EMAIL_ADDRESS><0.206.0> -------- open_result error {not_found,no_db_file} for shards/60000000-7fffffff/account/94/93/45d6587d8f195f1620b65b1eb063-201802.1517543459
Feb 02 03:50:59 node0.docker.rcsnet.ru sh[28220]: [info] 2018-02-02T03:50:59.666210Z<EMAIL_ADDRESS><0.206.0> -------- open_result error {not_found,no_db_file} for shards/40000000-5fffffff/account/94/93/45d6587d8f195f1620b65b1eb063-201802.1517543459
Feb 02 03:50:59 node0.docker.rcsnet.ru sh[28220]: [warning] 2018-02-02T03:50:59.666204Z<EMAIL_ADDRESS><0.2139.13> d9f2f7b03a creating missing database: shards/60000000-7fffffff/account/94/93/45d6587d8f195f1620b65b1eb063-201802.1517543459
Feb 02 03:50:59 node0.docker.rcsnet.ru sh[28220]: [warning] 2018-02-02T03:50:59.666235Z<EMAIL_ADDRESS><0.2149.13> d9f2f7b03a creating missing database: shards/40000000-5fffffff/account/94/93/45d6587d8f195f1620b65b1eb063-201802.1517543459
Feb 02 03:50:59 node0.docker.rcsnet.ru sh[28220]: [error] 2018-02-02T03:50:59.666644Z<EMAIL_ADDRESS><0.303.0> -------- mem3_shards tried to create shards/40000000-5fffffff/account/94/93/45d6587d8f195f1620b65b1eb063-201802.1517543459, got file_exists
Feb 02 03:50:59 node0.docker.rcsnet.ru sh[28220]: [error] 2018-02-02T03:50:59.932281Z<EMAIL_ADDRESS><0.16410.7> -------- rexi_server: from: couchdb@couchdb1.kazoo(<0.16407.7>) mfa: fabric_rpc:all_docs/3 exit:timeout [{rexi,init_stream,1,[{file,"src/rexi.erl"},{line,256}]},{rexi,stream2,3,[{file,"src/rexi.erl"},{line,204}]},{fabric_rpc,view_cb,2,[{file,"src/fabric_rpc.erl"},{line,308}]},{couch_mrview,finish_fold,2,[{file,"src/couch_mrview.erl"},{line,642}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,139}]}]
Feb 02 03:50:59 node0.docker.rcsnet.ru sh[28220]: [error] 2018-02-02T03:50:59.932290Z<EMAIL_ADDRESS><0.16409.7> -------- rexi_server: from: couchdb@couchdb1.kazoo(<0.16407.7>) mfa: fabric_rpc:all_docs/3 exit:timeout [{rexi,init_stream,1,[{file,"src/rexi.erl"},{line,256}]},{rexi,stream2,3,[{file,"src/rexi.erl"},{line,204}]},{fabric_rpc,view_cb,2,[{file,"src/fabric_rpc.erl"},{line,308}]},{couch_mrview,finish_fold,2,[{file,"src/couch_mrview.erl"},{line,642}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,139}]}]

Replicator error. Cannot put document - about 20 errors
Feb 02 04:04:51 node0.docker.rcsnet.ru sh[28220]: [error] 2018-02-02T04:04:51.673222Z<EMAIL_ADDRESS><0.8179.40> -------- rexi_server: from: couchdb@couchdb1.kazoo(<0.10464.36>) mfa: fabric_rpc:all_docs/3 exit:timeout [{rexi,init_stream,1,[{file,"src/rexi.erl"},{line,256}]},{rexi,stream2,3,[{file,"src/rexi.erl"},{line,204}]},{fabric_rpc,view_cb,2,[{file,"src/fabric_rpc.erl"},{line,308}]},{couch_mrview,finish_fold,2,[{file,"src/couch_mrview.erl"},{line,642}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,139}]}]
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]: [error] 2018-02-02T04:04:55.012851Z<EMAIL_ADDRESS>emulator -------- Error in process <0.10651.59> on node<EMAIL_ADDRESS>with exit value: {{nocatch,{mp_parser_died,noproc}},[{couch_att,'-foldl/4-fun-0-',3,[{file,"src/couch_att.erl"},{line,613}]},{couch_att,fold_streamed_data,4,[{file,"src/couch_att.erl"},{line,664}]},{couch_att,foldl,4,[{file,"src/couch_att.erl"},...
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]: [info] 2018-02-02T04:04:55.013064Z<EMAIL_ADDRESS><0.353.0> -------- Replication connection to: "<IP_ADDRESS>":5984 died with reason {{nocatch,{mp_parser_died,noproc}},[{couch_att,'-foldl/4-fun-0-',3,[{file,"src/couch_att.erl"},{line,613}]},{couch_att,fold_streamed_data,4,[{file,"src/couch_att.erl"},{line,664}]},{couch_att,foldl,4,[{file,"src/couch_att.erl"},{line,617}]},{couch_httpd_multipart,atts_to_mp,4,[{file,"src/couch_httpd_multipart.erl"},{line,208}]}]}
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]: [error] 2018-02-02T04:04:55.014366Z<EMAIL_ADDRESS><0.7570.55> 8967ff8316 req_err(4199105376) badmatch : ok
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]:     [<<"chttpd_db:db_doc_req/3 L782">>,<<"chttpd:process_request/1 L295">>,<<"chttpd:handle_request_int/1 L231">>,<<"mochiweb_http:headers/6 L91">>,<<"proc_lib:init_p_do_apply/3 L237">>]
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]: [notice] 2018-02-02T04:04:55.014881Z<EMAIL_ADDRESS><0.7570.55> 8967ff8316 <IP_ADDRESS>:5984 <IP_ADDRESS> undefined PUT /account%2f0e%2fe2%2fb3fccd72d86299cf8f66f6caa6bd-201801/201801-b089783f4734b57244ea8b5613f8375a?new_edits=false 500 ok 2
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]: [error] 2018-02-02T04:04:55.015761Z<EMAIL_ADDRESS><0.5748.60> -------- Replicator, request PUT to "http://<IP_ADDRESS>:5984/account%2f0e%2fe2%2fb3fccd72d86299cf8f66f6caa6bd-201801/201801-b089783f4734b57244ea8b5613f8375a?new_edits=false" failed due to error {error,
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]:     {'EXIT',
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]:         {{{nocatch,{mp_parser_died,noproc}},
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]:           [{couch_att,'-foldl/4-fun-0-',3,
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]:                [{file,"src/couch_att.erl"},{line,613}]},
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]:            {couch_att,fold_streamed_data,4,
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]:                [{file,"src/couch_att.erl"},{line,664}]},
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]:            {couch_att,foldl,4,[{file,"src/couch_att.erl"},{line,617}]},
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]:            {couch_httpd_multipart,atts_to_mp,4,
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]:                [{file,"src/couch_httpd_multipart.erl"},{line,208}]}]},
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]:          {gen_server,call,
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]:              [<0.13476.55>,
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]:               {send_req,
Feb 02 04:04:55 node0.docker.rcsnet.ru sh[28220]:                   {{url,

About replication error is important server IP <IP_ADDRESS>. This of destination CouchDB server.
Joan (@wohali), I think issue not related to disk IO speed inside container. Test is made on RAM disk (tmpfs) with speed about 180 MB/s. That value is more greater then on real hard disk.

OK, then I do not know. Someone else will have to help you.

Hello Joan (@wohali)
Ticket is marked as waiting for user.
Could you write what is need to do from my side?

We’ll have to wait for #1245 to land before we can debug this further. Unless anyone here is willing to run this commit in the environment described above.

Can you retry this with 2.2.0 when it comes out. Closing this out in the meantime.

Is the working theory still that this is Docker-related? I'm unaware of any virtualization going on with Docker on Linux (it's kernel namespacing, and we've verified by hand in C that normal file operations such as open(2), write(2), read(2), and fsync(2) work as expected in-container and perform at native speeds).
We're experiencing this issue and cannot come up with a theory as to why a database-level RPC failure would be related to Docker's namespacing/isolation.
Is there any more information available here, or could you perhaps share any working theories on what specifically might be causing this and what subsystem(s) (e.g. at the CouchDB level, at the Erlang level, at the system level) you currently suspect?
Thanks in advance.

@browndav If you could try the same scenario outside of Docker to rule out it being Docker-specific great.
There are continuing issues around Docker and CouchDB that are ill-defined, especially when it comes to AUFS (see thread above) so we prefer to rule that out first.
If you're unable to rule this out with 2.2.0 outside of Docker, I'm afraid it may be some time before we have any solid answer here.

@browndav Looked at your linked issue and see it's not exactly the same as the OP.
FYI rexi timeouts are a more general error indicating, in general, you are overloading your cluster. Recommend increasing the # of nodes, amount of CPU cores and RAM as well.

The instance and cluster are essentially idle (load average 0.01) when we're encountering these errors, and they're occurring seconds after startup. Further, even if the server were loaded, it doesn't seem like a database system should fail purely because of increased I/O latency or availability of scheduler timeslices – in my past experience with database systems, overloaded machines would continue to attempt the work they were asked to perform rather than aborting or crashing.
There are a lot of threads above: would you mind linking to any of the specific evidence/discussion/theories that would implicate AUFS as a potential cause? In the mean time we'll work to reproduce the issue in a variety of environments and on a variety of filesystems, and can definitely help rule out (or in) filesystem-specific issues from these tests.
We're extremely interested in getting to the bottom of this issue, as our production infrastructure's reliability hinges on the stability of CouchDB.

FWIW, we're seeing the identical issue with our CouchDB datastore placed on bind mounts and non-AUFS Docker volumes. Unless the issue has to do with CouchDB binaries and/or Erlang itself being on AUFS, I'd be suspect of the filesystem-specific theory.

@browndav as stated, rexi timeouts are a more general error indicating, in general, you are overloading your cluster. Recommend increasing the # of nodes, amount of CPU cores and RAM as well.
Sorry this is something I don't have any more time for in open source CouchDB Support, if you need a paid support offering for CouchDB Support, those are available from various third parties.

@browndav No relationships - just that I don't have more time to assist you.
Someone else will have to assist at this point.

@browndav did you try increasing the fabric timeout?

@browndav To make it clear, I tend to be the first line of issue triaging for CouchDB. I don't have more time to dig into your issue, sorry. It could be a while before someone else looks at this. So, if you need an answer quickly, guaranteed, going with a paid offering from one of the available vendors would get you the support you need. Otherwise you'll have to wait until someone comes along to assist.
Sorry I couldn't be of more assistance here.

2.2.0 is out now and has additional error logging for this issue. I'm happy to look at fresh logs.

We went back to first principles and attempted to set up CouchDB 2.2.0 manually, per the non-wizard instructions at http://docs.couchdb.org/en/latest/install/setup.html. We now have a different error. The machine's load average is zero; it is idle.
The CouchDB manual suggests that the we create the _users database once the system comes up. Unfortunately, CouchDB begins crashing in reference to the _users database immediately, before we even have time to set up the required system databases per the instructions. The database system becomes unusable from that point on.
Any idea what's going on here? Even creating the _users database manually and restarting CouchDB doesn't seem to cut it; we see the same errors repeating on subsequent starts. Is it possible that the instructions have fallen out of sync with the release? We're unfortunately not able to use a wizard in production.
[info] 2018-08-15T15:19:35.688656Z<EMAIL_ADDRESS><0.11.0> -------- Application couch_log started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:35.693970Z<EMAIL_ADDRESS><0.11.0> -------- Application folsom started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:35.765819Z<EMAIL_ADDRESS><0.11.0> -------- Application couch_stats started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:35.765982Z<EMAIL_ADDRESS><0.11.0> -------- Application khash started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:35.777264Z<EMAIL_ADDRESS><0.11.0> -------- Application couch_event started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:35.777414Z<EMAIL_ADDRESS><0.11.0> -------- Application hyper started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:35.786869Z<EMAIL_ADDRESS><0.11.0> -------- Application ibrowse started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:35.795983Z<EMAIL_ADDRESS><0.11.0> -------- Application ioq started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:35.796157Z<EMAIL_ADDRESS><0.11.0> -------- Application mochiweb started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:35.809087Z<EMAIL_ADDRESS><0.211.0> -------- Apache CouchDB 2.2.0 is starting.
[info] 2018-08-15T15:19:35.809156Z<EMAIL_ADDRESS><0.212.0> -------- Starting couch_sup
[notice] 2018-08-15T15:19:35.822077Z<EMAIL_ADDRESS><0.99.0> -------- config: [features] pluggable-storage-engines set to true for reason nil
[notice] 2018-08-15T15:19:35.871635Z<EMAIL_ADDRESS><0.99.0> -------- config: [couchdb] uuid set to e9dd318e72cd3eff60a52da3b2e3df1b for reason nil
[info] 2018-08-15T15:19:35.929686Z<EMAIL_ADDRESS><0.217.0> -------- open_result error {not_found,no_db_file} for _users
[info] 2018-08-15T15:19:35.985482Z<EMAIL_ADDRESS><0.211.0> -------- Apache CouchDB has started. Time to relax.
[info] 2018-08-15T15:19:35.985561Z<EMAIL_ADDRESS><0.211.0> -------- Apache CouchDB has started on http://<IP_ADDRESS>:5986/
[info] 2018-08-15T15:19:35.985846Z<EMAIL_ADDRESS><0.11.0> -------- Application couch started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:35.986067Z<EMAIL_ADDRESS><0.11.0> -------- Application ets_lru started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:36.001712Z<EMAIL_ADDRESS><0.11.0> -------- Application rexi started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:36.013619Z<EMAIL_ADDRESS><0.217.0> -------- open_result error {not_found,no_db_file} for _nodes
[warning] 2018-08-15T15:19:36.013665Z<EMAIL_ADDRESS><0.287.0> -------- creating missing database: _nodes
[info] 2018-08-15T15:19:36.041166Z<EMAIL_ADDRESS><0.217.0> -------- open_result error {not_found,no_db_file} for _dbs
[warning] 2018-08-15T15:19:36.041202Z<EMAIL_ADDRESS><0.301.0> -------- creating missing database: _dbs
[warning] 2018-08-15T15:19:36.041242Z<EMAIL_ADDRESS><0.300.0> -------- creating missing database: _dbs
[info] 2018-08-15T15:19:36.047811Z<EMAIL_ADDRESS><0.11.0> -------- Application mem3 started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:36.048139Z<EMAIL_ADDRESS><0.11.0> -------- Application fabric started on node
<EMAIL_ADDRESS>[info] 2018-08-15T15:19:36.068172Z<EMAIL_ADDRESS><0.11.0> -------- Application chttpd started on node
<EMAIL_ADDRESS>[notice] 2018-08-15T15:19:36.079238Z<EMAIL_ADDRESS><0.338.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:395) <= mem3_shards:load_shards_from_disk/1(line:370) <= mem3_shards:load_shards_from_disk/2(line:399) <= mem3_shards:for_docid/3(line:86) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134)
[error] 2018-08-15T15:19:36.079511Z<EMAIL_ADDRESS>emulator -------- Error in process <0.339.0> on node<EMAIL_ADDRESS>with exit value:
{database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,395}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,370}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,399}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,86}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,38}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,187}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,134}]}]}

[info] 2018-08-15T15:19:36.084896Z<EMAIL_ADDRESS><0.11.0> -------- Application couch_index started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:36.085009Z<EMAIL_ADDRESS><0.11.0> -------- Application couch_mrview started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:36.085056Z<EMAIL_ADDRESS><0.11.0> -------- Application couch_plugins started on node<EMAIL_ADDRESS>[notice] 2018-08-15T15:19:36.114719Z<EMAIL_ADDRESS><0.99.0> -------- config: [features] scheduler set to true for reason nil
[info] 2018-08-15T15:19:36.134469Z<EMAIL_ADDRESS><0.217.0> -------- open_result error {not_found,no_db_file} for _replicator
[notice] 2018-08-15T15:19:36.138139Z<EMAIL_ADDRESS><0.355.0> -------- creating replicator ddoc <<"_replicator">>
[info] 2018-08-15T15:19:36.153545Z<EMAIL_ADDRESS><0.11.0> -------- Application couch_replicator started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:36.162640Z<EMAIL_ADDRESS><0.11.0> -------- Application couch_peruser started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:36.175302Z<EMAIL_ADDRESS><0.11.0> -------- Application ddoc_cache started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:36.197073Z<EMAIL_ADDRESS><0.11.0> -------- Application global_changes started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:36.197097Z<EMAIL_ADDRESS><0.11.0> -------- Application jiffy started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:36.203955Z<EMAIL_ADDRESS><0.11.0> -------- Application mango started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:36.212173Z<EMAIL_ADDRESS><0.11.0> -------- Application setup started on node<EMAIL_ADDRESS>[info] 2018-08-15T15:19:36.212221Z<EMAIL_ADDRESS><0.11.0> -------- Application snappy started on node<EMAIL_ADDRESS>[notice] 2018-08-15T15:19:41.082305Z<EMAIL_ADDRESS><0.338.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:395) <= mem3_shards:load_shards_from_disk/1(line:370) <= mem3_shards:load_shards_from_disk/2(line:399) <= mem3_shards:for_docid/3(line:86) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134)
[error] 2018-08-15T15:19:41.082706Z<EMAIL_ADDRESS>emulator -------- Error in process <0.477.0> on node<EMAIL_ADDRESS>with exit value:
{database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,395}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,370}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,399}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,86}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,38}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,187}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,134}]}]}

The error messages in that logfile you see are normal and are not the database "crashing." Proceed to join the nodes and create the _users database once you've joined the nodes together.
If you create the _users database prior to joining the nodes together, the database will not be distributed across those additional nodes and you will be placing all of the _users database onto a single node.

We're running a single-node configuration; there is no clustering. Is this documented anywhere in the manual?

Re: crashing – the database becomes unavailable. To our users, that's unfortunately a crash. We've followed the non-clustered setup steps to the letter.

Thanks for your help. Given that this isn't fabric-related anymore and we've managed to mitigate our failed PUT request issue (delay inserted; we may have been racing with some component during startup; who knows), I'm happy to drop this. If we see fabric-related issues under 2.2.0+ we'll open an issue.
Thanks again.

@browndav Sorry for the frustration in resolving this issue on your behalf.
(In a single node cluster, just create the databases, no need to join nodes together.)


Getting user settings?

Would it be possible to expose user settings in userprofile search. Of course a OAuth for the current user has to be provided. Settings that could be useful the items specified under "DATE & TIME" in account settings. (Time & Date format)

I don't think we want to expose any user settings like that, I'm not sure what the use case is to need that info? You can get the OAuth user settings using https://trakt.docs.apiary.io/#reference/users/settings/retrieve-settings for that specific user.

That was what I was looking for! Didn't find it on my own. Thanks.


Adding mac support

Using sed instead of vl for git branches since vl does not exist on MacOS.

Addresses #3

IIRC the advantage of vl over just tabs was that it always aligned things neatyl in columns. On OSX / Linux, there's a column command that works nicely that I used originally, but switched to vl when I was working on windows, since node.js is cross platform.
lemme spend a day to see if there's a way to get nice columns, multi-platform support, and no node.js dependencies


Disable Nested Entity Annotations "Named Entity Recognition" in "Natural Language Processing"

In the named entity recognition task, it seems that nested entities are allowed by default. To disable nested entity annotations, how can i set?

This is managed in the labeling configuration file.

Hey @yanwenjie1 — thank you for reaching out.
You can further customize the Named Entity Recognition (NER) template to suit your need.
Here's a link to our documentation on how to customize our Named Entity Recognition template https://labelstud.io/templates/named_entity.html
I'm closing this issue out and marked resolved.
In the meantime come join us on thecommunity slack if you have any further questions.


Item price - what are the units?

The price of an Item appears to be a string that is passed on to the remote gateway unaltered. It does not get validated, parsed or converted in any way. So, what are the units? There seem to be two main options:

It's whatever the remote gateway wants. That doesn't feel very "OmniPay".
It's the major units like the overall price. There are no tools built into the Item for validating, converting to minor units etc. so every driver would need to provide their own.

Any other thoughts? The documentation does not really state one way or the other, but since the main amount is a decimal, it makes sense for the Item price to be treated the same way. Hopefully it can be a proper money object of some sort in v3.0.

I would say they need to be handled the same as the regular amount.

That would be my assumption too. I think I'll put a check in my gateway: if it is an integer then it's minor units, and if a string with a decimal point or a float, then it's in major units. Not ideal, but just trying to be be pragmatic.

Should V3 formalise it a little more? Perhaps accept a money object (with no ambiguities) as well as the current string?

The ambiguity of the price attribute is stopping me from implementing this. If there is any plan to add a Money parameter, I would be more than happy to help.

@devnix there is a setMoney() method on the abstract request now: https://github.com/thephpleague/omnipay-common/blob/master/src/Common/Message/AbstractRequest.php#L366
The setAmount() method accepts major units as a string. Make sure you include the decimal point and minor units in the amount that is passed in to be sure it is parsed correctly.
The setAmountInteger() method accepts minor units as an integer.
Hopefully one of the above will serve your needs. If the documentation is not clear, then maybe that's something that could be improved?

What concerns me is that there is not any kind of typehint about passing an int or a float. For example, I would expect passing 100 to send €1 to the gateway, and this is technically possible: each gateway can implement it with or without decimals.

Hopefully one of the above will serve your needs. If the documentation is not clear, then maybe that's something that could be improved?

Yup. The docs are very unclear about a lot of things, and the items API is not even documented. If I want to support items on my own Omnipay driver, I could be doing it in the wrong way, and for people using two different gateways with two different behaviors, this is an important problem. That's why I was thinking about sending a Money object to setPrice and eliminate any ambiguity: https://github.com/thephpleague/omnipay-common/blob/master/src/Common/Item.php#L104

Since setAmount() does not have any type-hints, then it does make sense to allow it to accept a Money object.
I agree about a lot of the documentation. A lot of it was written a long time ago, with quite a bit either in our heads, or requiring looking through the code. Feel free to submit a PR, even if it is for just one or two lines. Lots of baby steps is what it needs IMO.

Yeah the Items aren't really formalized so I think most of them just use the value as 'as-is'. So if you put in '12.34', it will provide that to the gateway. It would be good to make it follow the same rules, but we must make sure we don't break BC.


[Bug] monaco editor word-break problem when set wordWrap 'on'

Reproducible in vscode.dev or in VS Code Desktop?

[ ] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

[ ] Not reproducible in the monaco editor playground

Monaco Editor Playground Code
// The Monaco Editor can be easily created, given an
// empty container and an options literal.
// Two members of the literal are "value" and "language".
// The editor takes the full size of its container.
// add word or char behide 文章, their behavior is weird.
monaco.editor.create(document.getElementById('container'), {
    value: "测试文章1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111",
    wordWrap: 'on'
});

Actual Behavior
word break at character and numbers, ah, it is difficult to discribe in word, I add a video to discribe it
https://user-images.githubusercontent.com/31922224/177363485-161e4fe7-0e55-41c4-b36e-f9f18456dd1d.mp4
.
Expected Behavior
not to break word, wanna wrap line just  when word overflow viewport.
Additional Context
No response

[ ]  Not reproducible in vscode.dev or VS Code Desktop

Please create the issue in the vscode repository in this case.


Rework generate-deployment to take a default image parameter

What does this PR do?
Since generate-deployment.sh is used to generate deploy yamls for releases, it's necessary to be able to specify an image to use when generating the "default" deployment.
This PR adds the --default-image parameter for generate-deployment.sh, to avoid the requirement of using sed in make-release.sh
One thing I didn't test is whether this breaks CI on version branches -- previously, make-release commits updated generate-deployment.sh so that rerunning it without parameters would generate the same yamls. With the current changes, running make generate_default_deployment on the tagged release would result in changes to deploy/deployment. We could potentially work around this by making the tag not configurable again, but this would require setting up and maintaining a VERSION file.
What issues does this PR fix or reference?
https://github.com/devfile/devworkspace-operator/pull/306#pullrequestreview-607416057
Is it tested? How?
Tested by running ./deploy/generate-deployment.sh --use-defaults --default-image test:test

Did we get a definitive answer on

One thing I didn't test is whether this breaks CI on version branches -- previously, make-release commits updated generate-deployment.sh so that rerunning it without parameters would generate the same yamls. With the current changes, running make generate_default_deployment on the tagged release would result in changes to deploy/deployment. We could potentially work around this by making the tag not configurable again, but this would require setting up and maintaining a VERSION file.

I think it will be fine, but it's something to keep in mind going forward.


Skeleton-navigation-typescript fails to load with electron

Hello,
I am testing a clean skeleton-navigation-typescript with Electron, however it just gives the spinner view (Aurelia is not loading). I tested it with gulp watch (at localhost:9000), and it works. I have all dependencies installed, and I also tested sample non-Aurelia project using Electron (running smoothly).
I tried to follow Readme step by step, is there anything missing there?
Electron: 0.36.3
npm: 3.5.3
node: 5.5.0

I believe I know the cause of this. It's a regression in the last update which was attempting to fix a core-js 2.0 bug. We can get it fixed in the next patch release.

Works for me. Still the current tag provided in package.json does not include this commit.

Works fine now, thank you!


Client Disconnect from Server/Server Crash on Opening GUI

---- Minecraft Crash Report ----
// There are four lights!

Time: 2022-12-14 14:02:28
Description: Exception in server tick loop

java.lang.NoSuchMethodError: 'net.minecraft.world.inventory.Slot ml.pkom.uncraftingtable.UncraftingScreenHandler.addSlot(net.minecraft.world.inventory.Slot)'
	at ml.pkom.uncraftingtable.UncraftingScreenHandler.<init>(UncraftingScreenHandler.java:24) ~[UncraftingTable-forge-1.1.5.jar%23424!/:?] {re:classloading}
	at ml.pkom.uncraftingtable.UncraftingTableBlock.lambda$createScreenHandlerFactory$0(UncraftingTableBlock.java:35) ~[UncraftingTable-forge-1.1.5.jar%23424!/:?] {re:classloading}
	at net.minecraft.world.SimpleMenuProvider.m_7208_(SimpleMenuProvider.java:25) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:classloading}
	at net.minecraft.server.level.ServerPlayer.m_5893_(ServerPlayer.java:966) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
	at net.minecraft.world.level.block.CraftingTableBlock.m_6227_(CraftingTableBlock.java:30) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:classloading,pl:accesstransformer:B}
	at ml.pkom.uncraftingtable.UncraftingTableBlock.m_6227_(UncraftingTableBlock.java:30) ~[UncraftingTable-forge-1.1.5.jar%23424!/:?] {re:classloading}
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.m_60664_(BlockBehaviour.java:714) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:snowrealmagic.mixins.json:BlockStateMixin,pl:mixin:A}
	at net.minecraft.server.level.ServerPlayerGameMode.m_7179_(ServerPlayerGameMode.java:340) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:mixin,re:computing_frames,re:classloading,pl:mixin:APP:uniquebase.mixins.json:common.InteractionManagerMixin,pl:mixin:A}
	at net.minecraft.server.network.ServerGamePacketListenerImpl.m_6371_(ServerGamePacketListenerImpl.java:1060) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:A}
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:34) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:classloading}
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:8) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:classloading}
	at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:22) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:classloading}
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:classloading}
	at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:computing_frames,re:mixin,re:classloading}
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:763) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:746) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:740) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:726) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:658) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:244) ~[server-1.19.2-20220805.130853-srg.jar%23433!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:A}
	at java.lang.Thread.run(Thread.java:833) [?:?] {re:mixin}

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
	Minecraft Version: 1.19.2
	Minecraft Version ID: 1.19.2
	Operating System: Linux (amd64) version 5.15.0-52-generic
	Java Version: 17.0.2, Oracle Corporation
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
	Memory:<PHONE_NUMBER> bytes (3100 MiB) /<PHONE_NUMBER> bytes (9104 MiB) up to<PHONE_NUMBER>0 bytes (19040 MiB)
	CPUs: 12
	Processor Vendor: AuthenticAMD
	Processor Name: AMD Ryzen 5 3600 6-Core Processor
	Identifier: AuthenticAMD Family 23 Model 113 Stepping 0
	Microarchitecture: Zen 2
	Frequency (GHz): -0.00
	Number of physical packages: 1
	Number of physical CPUs: 6
	Number of logical CPUs: 12
	Graphics card #0 name: unknown
	Graphics card #0 vendor: unknown
	Graphics card #0 VRAM (MB): 0.00
	Graphics card #0 deviceId: unknown
	Graphics card #0 versionInfo: unknown
	Virtual memory max (MB): 31622.31
	Virtual memory used (MB): 11080.14
	Swap memory total (MB): 15616.00
	Swap memory used (MB): 0.00
	JVM Flags: 2 total; -Xms128M -XX:MaxRAMPercentage=95.0
	Server Running: true
	Player Count: 1 / 10; [ServerPlayer['Fundryi'/86, l='ServerLevel[AAASurvival]', x=-1861.57, y=118.00, z=-682.80]]
	Data Packs: vanilla, mod:saturn (incompatible), mod:cyclopscore (incompatible), mod:mowlib, mod:ftbessentials (incompatible), mod:telepads (incompatible), mod:supermartijn642configlib (incompatible), mod:v_slab_compat (incompatible), mod:extratrades, mod:mcwwindows, mod:multimine (incompatible), mod:kleeslabs (incompatible), mod:noenchantcap (incompatible), mod:golemsarefriends (incompatible), mod:controlling (incompatible), mod:placebo (incompatible), mod:jumpoverfences (incompatible), mod:bookshelf (incompatible), mod:secretroomsmod (incompatible), mod:buildinggadgets (incompatible), mod:darkutils (incompatible), mod:uniqueapex (incompatible), mod:mcwdoors, mod:lightingwand (incompatible), mod:balm (incompatible), mod:snowrealmagic (incompatible), mod:dynview (incompatible), mod:biggerstacks (incompatible), mod:uniqueutil (incompatible), mod:jeresources (incompatible), mod:betterthanmending (incompatible), mod:cloth_config (incompatible), mod:sound_physics_remastered (incompatible), mod:mob_grinding_utils (incompatible), mod:sdlink (incompatible), mod:mcwbridges, mod:industrialforegoing (incompatible), mod:torchmaster (incompatible), mod:morevillagers, mod:commoncapabilities (incompatible), mod:ambientsounds (incompatible), mod:musicdr (incompatible), mod:botanytrees (incompatible), mod:ironfurnaces (incompatible), mod:mcwtrpdoors, mod:mcwfences, mod:supermartijn642corelib (incompatible), mod:goprone, mod:curios, mod:patchouli (incompatible), mod:collective, mod:uniquee (incompatible), mod:gobber2, mod:ftbultimine (incompatible), mod:runelic (incompatible), mod:mcwroofs, mod:indestructible (incompatible), mod:architectury (incompatible), mod:javd (incompatible), mod:moreoverlays (incompatible), mod:mcwfurnitures, mod:tramplestopper, mod:jadeaddons (incompatible), mod:toms_storage (incompatible), mod:infinitetrading, mod:fastleafdecay, mod:disenchanting (incompatible), mod:codechickenlib (incompatible), mod:veinmining, mod:geckolib3 (incompatible), mod:enchantinginfuser (incompatible), mod:effortlessbuilding (incompatible), mod:mcwlights, mod:kiwi (incompatible), mod:cucumber (incompatible), mod:trashslot (incompatible), mod:ftblibrary (incompatible), mod:ftbteams (incompatible), mod:rechiseled (incompatible), mod:mekanismtweaks, mod:jei (incompatible), mod:old_combat_mod, mod:tesseract (incompatible), mod:simplerpc (incompatible), mod:mekanism, mod:mekanismgenerators, mod:mekanismadditions, mod:mekanismtools, mod:moremekanismprocessing (incompatible), mod:reap (incompatible), mod:ringsofascension (incompatible), mod:uniquebattle (incompatible), mod:uniquebase (incompatible), mod:thermal_extra (incompatible), mod:fallingleaves (incompatible), mod:clumps (incompatible), mod:botanypots (incompatible), mod:opf (incompatible), mod:snowundertrees, mod:mcjtylib (incompatible), mod:rftoolsbase (incompatible), mod:rftoolsdim (incompatible), mod:notenoughwands (incompatible), mod:pedestals, mod:enderstorage (incompatible), mod:rftoolspower (incompatible), mod:ftbchunks (incompatible), mod:forge, mod:colossalchests (incompatible), mod:mysticalagriculture (incompatible), mod:mysticalagradditions (incompatible), mod:matc, mod:cofh_core, mod:thermal, mod:thermal_integration, mod:redstone_arsenal (incompatible), mod:thermal_innovation, mod:thermal_foundation, mod:thermal_expansion, mod:thermal_locomotion, mod:ensorcellation, mod:okzoomer (incompatible), mod:trade_cycling (incompatible), mod:moonlight (incompatible), mod:mousetweaks, mod:titanium (incompatible), mod:jade (incompatible), mod:ae2 (incompatible), mod:aeinfinitybooster (incompatible), mod:jerintegration, mod:ae2wtlib (incompatible), mod:ae2ao (incompatible), mod:ae2things (incompatible), mod:creativecore (incompatible), mod:bsvsb (incompatible), mod:spectrelib (incompatible), mod:smoothboot, mod:ceilingtorch, mod:domum_ornamentum, mod:pipez (incompatible), mod:reliquary (incompatible), mod:jaopca (incompatible), mod:growablecells (incompatible), mod:gravestone (incompatible), mod:thermal_cultivation, mod:pigpen (incompatible), mod:experienceobelisk, mod:polymorph, mod:justenoughprofessions, mod:torcherino (incompatible), mod:fluxnetworks (incompatible), mod:almostunified (incompatible), mod:doubleslabs (incompatible), mod:effective_fg (incompatible), mod:ambientenvironment (incompatible), mod:puzzleslib (incompatible), mod:appmek (incompatible), mod:ae2additions (incompatible), mod:megacells (incompatible), mod:nostalgic_tweaks (incompatible), V Slab Compat Generated Pack, inmemory:jaopca (incompatible), mod:sophisticatedcore (incompatible), mod:inventorysorter (incompatible), mod:sophisticatedstorage (incompatible), mod:appleskin, mod:polylib (incompatible), mod:soulshards (incompatible), mod:infinitemusic (incompatible), mod:mcpitanlibarch (incompatible), mod:findercompass (incompatible), mod:uncraftingtable76 (incompatible)
	World Generation: Experimental
	Is Modded: Definitely; Server brand changed to 'forge'
	Type: Dedicated Server (map_server.txt)
	ModLauncher: 10.0.8+10.0.8+main.0ef7e830
	ModLauncher launch target: forgeserver
	ModLauncher naming: srg
	ModLauncher services:
		mixin-0.8.5.jar mixin PLUGINSERVICE
		eventbus-6.0.3.jar eventbus PLUGINSERVICE
		fmlloader-1.19.2-43.2.0.jar slf4jfixer PLUGINSERVICE
		fmlloader-1.19.2-43.2.0.jar object_holder_definalize PLUGINSERVICE
		fmlloader-1.19.2-43.2.0.jar runtime_enum_extender PLUGINSERVICE
		fmlloader-1.19.2-43.2.0.jar capability_token_subclass PLUGINSERVICE
		accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE
		fmlloader-1.19.2-43.2.0.jar runtimedistcleaner PLUGINSERVICE
		modlauncher-10.0.8.jar mixin TRANSFORMATIONSERVICE
		modlauncher-10.0.8.jar fml TRANSFORMATIONSERVICE
	FML Language Providers:
<EMAIL_ADDRESS>		lowcodefml@null
<EMAIL_ADDRESS>		javafml@null
	Mod List:
		saturn-mc1.19.2-0.0.1.jar                         |Saturn                        |saturn                        |0.0.1               |DONE      |Manifest: NOSIGNATURE
		CyclopsCore-1.19.2-1.17.2.jar                     |Cyclops Core                  |cyclopscore                   |1.17.2              |DONE      |Manifest: NOSIGNATURE
		mowlib-0.2.41.jar                                 |MowLib                        |mowlib                        |0.2.41              |DONE      |Manifest: NOSIGNATURE
		ftb-essentials-1902.1.10-build.47.jar             |FTB Essentials                |ftbessentials                 |1902.1.10-build.47  |DONE      |Manifest: NOSIGNATURE
		telepads-1.19.2-<IP_ADDRESS>.jar                       |Telepads                      |telepads                      |1.19.2-<IP_ADDRESS>      |DONE      |Manifest: NOSIGNATURE
		supermartijn642configlib-1.1.6b-forge-mc1.19.jar  |SuperMartijn642's Config Libra|supermartijn642configlib      |1.1.6b              |DONE      |Manifest: NOSIGNATURE
		v_slab_compat-1.19.2-1.2.jar                      |Vertical Slabs Compat         |v_slab_compat                 |1.19.2-1.2          |DONE      |Manifest: NOSIGNATURE
		extratrades-1.19.2-1.2.jar                        |Extra Trades                  |extratrades                   |1.19.2-1.2          |DONE      |Manifest: NOSIGNATURE
		mcw-windows-2.1.0forge-1.19.2.jar                 |Macaw's Windows               |mcwwindows                    |2.1.0               |DONE      |Manifest: NOSIGNATURE
		MultiMine-<IP_ADDRESS>.jar                            |Multi Mine                    |multimine                     |<IP_ADDRESS>            |DONE      |Manifest: NOSIGNATURE
		sophisticatedcore-1.19.2-<IP_ADDRESS>.jar           |Sophisticated Core            |sophisticatedcore             |1.19.2-<IP_ADDRESS>   |DONE      |Manifest: NOSIGNATURE
		kleeslabs-forge-1.19-12.1.0.jar                   |KleeSlabs                     |kleeslabs                     |12.1.0              |DONE      |Manifest: NOSIGNATURE
		noenchantcap-forge-1.19.2-2.2.3.jar               |No Enchant Cap                |noenchantcap                  |2.2.3               |DONE      |Manifest: NOSIGNATURE
		golemsarefriends-1.19.2-<IP_ADDRESS>.jar               |Golems Are Friends Not Fodder |golemsarefriends              |1.19.2-<IP_ADDRESS>      |DONE      |Manifest: NOSIGNATURE
		Controlling-forge-1.19.2-10.0+7.jar               |Controlling                   |controlling                   |10.0+7              |DONE      |Manifest: NOSIGNATURE
		Placebo-1.19.2-7.0.1.jar                          |Placebo                       |placebo                       |7.0.1               |DONE      |Manifest: NOSIGNATURE
		jumpoverfences-forge-1.19.2-1.1.0.jar             |Jump Over Fences              |jumpoverfences                |1.1.0               |DONE      |Manifest: NOSIGNATURE
		Bookshelf-Forge-1.19.2-16.2.16.jar                |Bookshelf                     |bookshelf                     |16.2.16             |DONE      |Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5
		secretrooms-1.19.2-1.2.0.jar                      |Secret Rooms 6                |secretroomsmod                |1.19.2-1.2.0        |DONE      |Manifest: NOSIGNATURE
		buildinggadgets-3.16.1-build.15+mc1.19.2.jar      |Building Gadgets              |buildinggadgets               |3.16.1-build.15+mc1.|DONE      |Manifest: NOSIGNATURE
		DarkUtilities-Forge-1.19.2-13.1.2.jar             |DarkUtilities                 |darkutils                     |13.1.2              |DONE      |Manifest: NOSIGNATURE
		Unique Enchantments Apex-1.19.2-3.0.1.jar         |Unique Apex Enchantments      |uniqueapex                    |3.0.1               |DONE      |Manifest: NOSIGNATURE
		mcw-doors-1.0.7-mc1.19.2.jar                      |Macaw's Doors                 |mcwdoors                      |1.0.7               |DONE      |Manifest: NOSIGNATURE
		LightingWand-1.19.2-forge-5.1.0.jar               |Lighting Wand                 |lightingwand                  |5.1.0               |DONE      |Manifest: NOSIGNATURE
		balm-4.5.3.jar                                    |Balm                          |balm                          |4.5.3               |DONE      |Manifest: NOSIGNATURE
		SnowRealMagic-1.19.2-forge-5.1.0.jar              |Snow!  I haven't checked it because I'm busy, but I'll check it later.


Update Web Chat icons (Microphone, Send, Attachment, & Download)

Pull Request Test Coverage Report for Build 623

5 of 8 (62.5%)  changed or added relevant lines in 5 files are covered.
189 unchanged lines in 46 files lost coverage.
Overall coverage decreased (-14.8%) to 30.085%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/component/src/Attachment/Assets/DownloadIcon.js
0
1
0.0%

packages/component/src/SendBox/Assets/MicrophoneIcon.js
1
2
50.0%

packages/component/src/Utils/AdaptiveCardBuilder.ts
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

packages/core/src/actions/incomingActivity.js
1
50.0%

packages/core/src/sagas/stopDictateOnCardAction.js
1
71.43%

packages/core/src/utils/uniqueID.js
1
0.0%

packages/core/src/utils/sleep.js
1
0.0%

packages/core/src/actions/setSuggestedActions.js
1
50.0%

packages/component/src/Middleware/Attachment/createAdaptiveCardMiddleware.js
1
5.0%

packages/core/src/utils/getTimestamp.js
1
0.0%

packages/component/src/Middleware/Attachment/createCoreMiddleware.js
1
6.25%

packages/core/src/actions/stopDictate.js
1
50.0%

packages/core/src/actions/postActivity.js
1
80.0%

Totals

Change from base Build 622:
-14.8%

Covered Lines:
538

Relevant Lines:
1441

💛  - Coveralls


Implement LogitProcessor, Expose ForwardTokensAndSample, and support customRequest in web worker

This PR

introduces LogitProcessor interface:

interface LogitProcessor {
  processLogits: (logits: Float32Array) => Float32Array;
  processSampledToken: (token: number) => void;
  resetState: () => void;
}

which can be passed to ChatModule to allow pre-processing of the logits before sampling tokens.
Note that the LogitProcessor can be stateful, meaning that the processing rule can depend on things like past tokens sampled, etc.
Besides, we:

Expose a lower-level API forwardTokensAndSample() to generate tokens and sample them.
Support an additional kind in web worker messages customRequest to allow customized communications between the main thread and the worker thread apart from the predefined ones.

We also add an example of how to use a LogitProcessor, both with a web worker and without.
Co-authored-by: @CharlieFRuan

Note to self: LogitProcessor is only mentioned in src/chat_module.ts and not a part of src/types.ts.


Remove NETLIFY_NEXT_VERIFY_FORMS environment variable to app

One #3796 is fixed, we need to Note that I've currently added the following environment variable so we can buildvremove the NETLIFY_NEXT_VERIFY_FORMS environment variable from the app.

Newsletter form is fixed and environment variable removed


Dracula Theme for Chrome

Is anyone aware of a Dracula theme for Chrome/Chromium? If there's not one out there already I might be down to try to make one.

Hey @jamesbvaughan,
Sorry for the delay on answering you. We do have a Chrome DevTools theme (https://github.com/dracula/chrome-devtools), but not for the Chrome browser itself. Let me know if you give it a try :)

We actually do have one now:
https://github.com/dracula/google-chrome


[Feature Request] Specify Report Builder application for CU 9652 Edit RDLC Report Layout

Custom Report Layouts are an excellent tool we can use to upgrade old customised reports to Business Central.
Unfortunately the ability to edit RDLC layouts from the client always opens SQL Report Builder.
It would be useful if we could specify a different application to use, in such instances where developers might want to use Visual Studio (or something else) instead.
SQL Report builder is lacking in many useful productivity features by comparison, so at the moment it's not feasible to use it to upgrade reports to use Custom Report Layouts within the timely manner required by our customers.

Hi! Please go ahead and post this to our Ideas forum at https://aka.ms/BusinessCentralideas, or vote up the idea if its already there. We're constantly monitoring top Ideas and will consider them for a future release.


Wording

Would it be possible to change some words to improve comprehension:
Borrowing requests:
Due date -> Returned date
Purchase orders :
Internal purchase requisition ID (DAI)
ID of inter-departmental transfer (TID)
IDT ID -> TID ID
IPR ID -> DAI ID
Search bar:
ebooks -> e-books
Left menu:
Series / Monographs -> Series / Multipart

e-book vs. ebook:
https://catalogue.library.cern/backoffice/eitems?q=urls.description%3A"ebook"&l=list&order=asc&p=1&s=15&sort=bestmatch
vs.
https://catalogue.library.cern/backoffice/eitems?q=urls.description%3A"e-book"&l=list&order=asc&p=1&s=15&sort=bestmatch
-> I thought that the chosen word was 'e-book' according to the form used by the Oxford Dictionary.

harmonize ebook / e-book in e-items.

On the form: https://sandbox-cds-ils.web.cern.ch/backoffice/acquisition/orders/create
Internal purchase requisition ID -> please add 'DAI' in parenthesis at the end
ID of inter-departmental transfer -> please add 'TID' in parenthesis at the end
I still see 'ebooks' in the Search bar in the front office:
ebooks -> e-books
I do not see this change. I still see 'Monographs':
Left menu:
Series / Monographs -> Series / Multipart

In addition to Salomé's comments, could you please change "Returned Date" with "Returned date":


Build ami images ready to be rolled as worker instances

/kind feature

What happened:
We currently building every instance from scratch (and by pulling external resources). We always had it in mind to enable faster scaling by pre building images that come with batteries (docker images, kubelet binaries included)
What you expected to happen:
Process for using a pre buildt worker AMI as base. This image should come up in minimal time but still execute wing (and throught that puppet)
Anything else we need to know?:
Make sure we are not integrating any secrets into the image (TLS kubernetes, etcd, SSH keys)

/assign


Server returns mod error if autocomplete has nothing to complete

When I do anaction by itself, like /me bonks it prints * Siinamon bonks but in the server console it spits an error:
17:34:26 [Server Error] Unable to autocomplete/autocorrect phrase "bonks": System.NullReferenceException: Object reference not set to an instance of an object

This should not give an error if it can't autocorract/autocomplete. It should return nicely since it is not an error.

Hmm, in the code it returns the original, unaltered phrase if an error occurred so that the user doesn't necessarily see it, but deliberately logs to the console as an FYI; I'll look into that exception

Stability fixes added in 1.2.1 should cover this, closing until resurfaced


Flashlight mode

Hold up on boot to enable flashlight mode (screen on, bright).
Thoughts? :-)

Too gimmicky?  It would only take a few bytes.

It would also be good for a defective pixel test.


Removed the Image

Related Issue
BUG: REMOVE THIS PICTURE  #679 ,  Removed the image #692, Removed the unwanted Image #773
Fixes:  #issue no. #679
Description
The image is not fixed properly, I've removed the image that enhances the website's looks.
Issue no: #679
Type of PR

[ ] Bug fix

Screenshots / videos (if applicable)
Before:

After:

Checklist:

[ x] I have made this change from my own.
[x ] My code follows the style guidelines of this project.
[x ] I have performed a self-review of my own code.
[ x] My changes generate no new warnings.
[ x] I have tested the changes thoroughly before submitting this pull request.
[ x] I have provided relevant issue numbers and screenshots after making the changes.

@PriyaGhosal  @samarth-6  Please review my pr and also add label of gssoc-ext, hactoberfest'24, hacktoberfest-accepted, level-2.

@Sudhanshu248

I have merged your PR but still it shows that image .. please look into the matter


Verify upgrade scenarios with hosting bundle

Found some issues, waiting on @joeloff assistance.

What are the issues?

Known issue with ANCM installers for uninstall. TL;DR if you install a 2.2.0 hosting bundle and then a 2.2.1 hosting bundle, you must uninstall the 2.2.0 bundle before uninstalling the 2.2.1 bundle.


FastPathAlloc: Skip if below clang 18.1.x

Fixes #301
We probably need to disable the arm64 android emulation as Google completely broke it.

We probably need to disable the arm64 android emulation as Google completely broke it.

How so? From what I can tell only the FastPathAlloc test is failing in the latest builds, which should be fixed with your updated Clang version check, right?

From what I can tell only the FastPathAlloc test is failing in the latest builds, which should be fixed with your updated Clang version check, right?

Google broke ARM64 emulation on x86_64 hosts a while a go. One workaround was to overwrite the qemu machine type, but I guess they changed this with the newer emulator version. Apart from this, it really bottlenecked the CI, because it was just terrible slow. The real solution is to virtualise it on an AArch64 platform.

I see, but the latest builds seem to run fine (minus the FastPathAlloc issue)?
E.g. https://github.com/gnustep/libobjc2/actions/runs/11118537658/job/30892281978

I see, but the latest builds seem to run fine?

Take a look at https://github.com/gnustep/libobjc2/actions/runs/11445118340/job/31841516643:  MU2 emulator does not support arm64 CPU architecture[command]/usr/local/lib/android/sdk/platform-tools/adb -s emulator-5554 shell getprop sys.boot_completed


Filesystem matches are interfering with script discovery

If you have a script block like
"scripts": {
    "lint:prettier": "prettier",
    "lint": "run-p lint:*"
}

And a file beside the package.json called lint:d, then running npm lint will throw:

ERROR: Task not found: "lint:d"

This can be worked around by using "lint": "run-p lint:\\*", but I don't think that should be necessary

@yads You might want to take a look at #200


:bug: Working with big arrays

Pull Request Test Coverage Report for Build 74

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 93.365%

Totals

Change from base Build 70:
0.1%

Covered Lines:
159

Relevant Lines:
166

💛  - Coveralls

Pull Request Test Coverage Report for Build 74

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 93.365%

Totals

Change from base Build 70:
0.1%

Covered Lines:
159

Relevant Lines:
166

💛  - Coveralls


Ignore Typescript Checks

Would it be possible to add // @ts-nocheck to the top of each generated file?
It looks like the typescript configuration of my project isn't compatible with the config used to generate the files as i get errors from the generated files, see below.

Open to other ideas?

Fixed v6.3.4


Running Exit Node

Which tool would you like to see added to the image? Why is it useful?
I use this to run an exit node with a VPN that gives me a static IP and dynamic port. If the image updates, I lose my keys and configuration and have to do it again and this resets the lifecycle of the exit node. I also don't know where the secret keys are now.
How is it installed? Does it require any configuration?
Would you be able to pass arguments that modify the torrc file when the container is recreated and can also add secret keys ?

Hi @needsupport, you can provide your own torrc file using the -v /local/path/to/your/torrc:/etc/torrc option where /local/path/to/your/torrc is the absolute path to your version of the file. The default torrc is pretty basic so it seems easier for you to replace it completely than to "patch" it by passing arguments.
Regarding your question about the secret keys, just to be clear which of these keys are you talking about?

Found them and fixed using this. I am getting terrible performance with this while running a relay node though. I have a 1 Gig connection and a powerful dedicated server but I just can't get relay speeds above 1 mbps at best. I transfer about 1 gb after a week of running.
Combined with https://github.com/qdm12/gluetun this could be a very private and powerful way to run tor relays nodes.
Could you investigate this please. Thank you for this docker image.


examples for docs

Description
This preview provides a scaffold for our examples. Notes:

This is based on the remove snip sync PR: https://github.com/dlt-hub/dlt/pull/615
The full code example of every example is in the /code directory of example in the website/docs folder.
update_snippets is updated to sync the examples from the website into /docs/examples. It will copy over every file and take the "example" snippet from each file.
There is a unique component that all examples share, which is the header with some introductory info and stuff that is shared between all examples. This is an approach we can take in other parts of the docs too to reduce duplication.
The code example itself is just for illustration purposes for now.

on top of the comments:
should we have docosaurus directly in /docs? o docs/docs? not in docs/website/docs?
we can just delete archives or skip it from being crawled by docosaursu

Yes, I think that would be nice. But we should do this when there are no open documentation branches.


🔧 identity balance

⚠ hotfix to prod
PR Type

[x] Bugfix

Context

[x] Closes #4995
[x] Related with #4945
[x] pallet version changed for bsx now 88...

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Screenshot 📸
snek

bsx

@vikiival might need you help here, any idea why pallet version changed? is it from new snekk release?
@cryptodamsky you should be able to mint on this preview

@vikiival might need you help here, any idea why pallet version changed?

possible

Looks correct on BSX

On Kusama

hmm... not sure what should I be looking at


Create release workflow

Create workflow which can promote a helm chart and image to the specific version.

Can we create a TODO for tracking this?

[ ] #105
[ ] Package YAML manifests into GitHub release

Closing, already implemented.


Here are some rules for those who use plausible and modsecurity

As you know there are some isues with plausible and modsecurity which block plausible by default.
Here are some custom rules, feel free to use them or to enhance them:
# Autoriser text/plain pour la route /api/event
SecRule REQUEST_URI "@streq /api/event" \
    "id:1000005,phase:1,t:none,pass,nolog,ctl:requestBodyAccess=On"

# Désactiver les règles spécifiques uniquement pour /api/event
SecRule REQUEST_URI "@streq /api/event" \
    "id:1000006,phase:1,t:none,pass,nolog,ctl:ruleRemoveById=920420,ctl:ruleRemoveById=949110"

# Autoriser toutes les requêtes .com pour l'agent utilisateur Plausible
SecRule REQUEST_HEADERS:User-Agent "@contains Plausible" \
    "id:1000008,phase:1,t:none,pass,nolog,ctl:ruleRemoveById=920440,ctl:ruleRemoveById=949110"

# Autoriser l'accès aux requêtes .com pour l'agent utilisateur Plausible
SecRule REQUEST_URI "@contains .com" \
    "id:1000010,phase:1,t:none,pass,nolog,ctl:ruleRemoveById=920440,ctl:ruleRemoveById=949110"

Thanks for your feedback for those who use modsecurity

👋 @2803media
Is modsecurity somehow related to Apache configuration? I don't use Apache myself so I have very little context here :)

If it is about Apache, would you be able to open a PR into its configuration (https://github.com/plausible/community-edition/blob/v2.1.1/reverse-proxy/apache2/plausible.conf) and explain the changes in detail?

It's not really a change to the apache conf it's a setup for modsecurity with apache in order to not block Plausible, it's maybe more a doc than an apache conf for virtualhost!

Ok I will made a PR

Sorry I messed up a bit the PR ;)


Chat: add support to send terminal text to Cody chat

CLOSE https://linear.app/sourcegraph/issue/CODY-3703/add-terminal-output-as-chat-context
The cody.mention.selection command now handles selection argument that enables users to send selected text from terminal to Cody chat.

Update  cody.mention.selection command to send terminal text to Cody chat
Update mention selection command to handle text selection
Update package.json to enable terminal text mention command

Note: Keybinding doesn't seem to work when terminal is focused?
Test plan

Select some text in your terminal and right click > Add Selection to Cody Chat:
https://github.com/user-attachments/assets/89c7f12a-398a-46df-8daa-32d4184a3c39
Changelog

Chat: add support to send selected text from terminal to Cody chat

@beyang @chenkc805 could you also take a quick look if this is the right implementation for https://linear.app/sourcegraph/issue/CODY-3703/add-terminal-output-as-chat-context?
@abeatrix would it be possible to add a top level shortcut instead of going into the Cody dropdown when you right click? I feel like that would make it easier to use

would it be possible to add a top level shortcut

just found a hacky way to do it. will continue tmr.


Port for GNU/Linux

This looks excellent, I'd love to be able to use it :)

Thanks, but it's unlikely that I'd be able to port this to Linux.


1.92 Regression: scrolling in integrated terminal is borked

Does this issue occur when all extensions are disabled?: Yes.
After updating to VS Code 1.92, I noticed several scroll-related issues with the integrated terminal:

After exiting a full screen CLI app (git diff or git log), sometimes scroll up or down doesn't work anymore until I press cmd+c - at which point I am teleported back to the start of the cli log.
See the below video:
https://github.com/user-attachments/assets/58e3c21e-c7fc-4e53-ba43-cc4708e0e8fd

start git log

scroll works (though way too sensitive - see issue 2)

press q

scroll up down no longer works

press cmd+c

as soon as I try to scroll again, I am teleported to the top of the cli log output (though, at least scroll works after that)

Note, while the above triggers the issue, sometimes the issue also occurs even without that (at one point I just run git status and this bug was triggered)

In full-screen CLI apps (vim, git log, man), the scroll sensitivity is way higher than when scrolling in non-full-screen apps. This scroll sensitivity is uncomfortably high, way higher than it was before, and remains high even if I set terminal.integrated.mouseWheelScrollSensitivity to a very low value like 0.1.
https://github.com/user-attachments/assets/6315ab60-bf33-42ac-a5ac-b68981fa4790

When scrolling through full-screen CLI app (git log or git diff), sometimes the terminal will not let me scroll up. If I try to scroll up, I am "teleported" back to previous position. As soon as I scroll down, I can't scroll back up to the previous text.
https://github.com/user-attachments/assets/5f8855ba-bbf4-4096-bcd0-ea17ada0aa58

Relevant information:

VS Code Version: 1.92
OS Version: macOS 14.5
Issues are reproducible in ZSH. I was also able to trigger issue 1 in BASH

In ZSH, I am using oh-my-zsh and powerlevel19k, BUT I was able to reproduce the issues even after I temporary disabled oh-my-zsh and powerlevel19k in my .zshrc

Issues are reproducible even if I start VS Code with empty user dir and empty extensions dir.

 Enabling it does not make things better
terminal.integrated.fastScrollSensitivity - N/A as I am not holding the Alt key - I am just scrolling using the touchpad
terminal.integrated.stickyScroll.enabled is off. Enabling it did not make things better
I am sorry if some of the above reproduction steps a bit vague - some of these don't happen each time so it's hard to see what triggered it. But these all started happening as soon as VS Code got updated to 1.92. I will keep updating this issue if I have more details.

System info
General:
VS Code Version: 1.92.0
Commit: b1c0a14de1414fcdaa400695b4db1c0799bc3124
Date: 2024-07-31T23:26:45.634Z
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.92.0 Chrome/124.0.6367.243 Electron/30.1.2 Safari/537.36

System info:

System Information
_

CPUs
Apple M1 Pro (10 x 2400)

GPU Status
2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off

Load (avg)
2, 2, 3

Memory (System)
32.00GB (6.06GB free)

Process Argv
/Users/mak13180/site/esri/arcgis-web-components --crash-reporter-id eb79c588-0746-4857-a17b-b971547fd81f

Screen Reader
no

VM
0%

Enabled extensions (BUT, issues are reproducible with all extensions disabled):

Extension
Author (truncated)
Version

vite
ant
0.2.5

shell-syntax
bma
1.0.5

vscode-tailwindcss
bra
0.12.5

vscode-eslint
dba
3.0.10

apc-extension
drc
0.4.1

gitlens
eam
15.2.3

vscode-html-css
ecm
2.0.10

prettier-vscode
esb
10.4.0

lintlens
ghm
7.5.0

copilot
Git
1.219.0

copilot-chat
Git
0.18.1

vscode-github-actions
git
0.26.3

vscode-pull-request-github
Git
0.92.0

gc-excelviewer
Gra
4.2.59

todo-tree
Gru
0.0.226

search-node-modules
jas
1.3.0

nodejs-repl
los
0.5.15

rainbow-csv
mec
3.12.0

remote-ssh
ms-
0.112.0

remote-ssh-edit
ms-
0.86.0

remote-explorer
ms-
0.4.3

vscode-css-peek
pra
4.4.1

vscode-yaml
red
1.15.0

code-spell-checker
str
3.0.1

vscode-stylelint
sty
1.4.0

vscode-mdx
uni
1.8.9

vscodeintellicode
Vis
1.3.1

explorer
vit
1.0.6

vim
vsc
1.27.3

pretty-ts-errors
Yoa
0.6.0

markdown-all-in-one
yzh
3.6.2

A/B experiment info:
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
da93g388:31013173
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
impr_priority:31102340
nativerepl2:31104044
refactort:31108082
ccplc:31103425
pythonrstrctxt:31103193
hdi1a554:31097393
wkspc-onlycs-t:31106322
wkspc-ranged-t:31107835

My settings.json (BUT, issues are also reproducible when VS Code is started with empty user dir):
settings.json
The Output -> Terminal log when VS Code is started as code --log trace --user-data-dir ~/Downloads/user-dir --extensions-dir ~/Downloads/extensions-dir:
trace.log

Upstream PR fixing it https://github.com/xtermjs/xterm.js/pull/5127

In full-screen CLI apps (vim, git log, man), the scroll sensitivity is way higher than when scrolling in non-full-screen apps. This scroll sensitivity is uncomfortably high, way higher than it was before
After exiting a full screen CLI app (git diff or git log) [...] as soon as I try to scroll again, I am teleported to the top of the cli log output

The milestone says September 2024 (1.94), but at least the two issues I've quoted above are still present in 1.94.2. Have they actually been fixed, and if so, when will they be released?
 All described issues still seem to be present

VS Code Details
Version: 1.94.2
Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427
Date: 2024-10-09T16:08:44.566Z
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.94.2 Chrome/124.0.6367.243 Electron/30.5.1 Safari/537.36


Refactor code to use tidyverse, addresses #6

I have refactored the code to use dplyr and ggplot2 functions. I feel better to the ability to maintain this code. I like this version more than the original base graphics functions.

Thanks for your contribution


Fix Chemical Probes Portal links in Chemical Probes detail view section

As noted by @AsierGonzalez, there is a bug in the links to the Chemical Probes Portal in the Chemical Probes detail view section.

For example, the Chemical Probes Portal links on the MAPK7 profile page direct users to https://alpha.targetvalidation.org/target/www.chemicalprobes.org/AX15836; however, users should be directed to https://www.chemicalprobes.org/AX15836.
Can we please update the logic that constructs the link and direct users to the correct external link?

Ticket closed as work completed and merged into Beta release - see https://beta.targetvalidation.org/target/ENSG00000166484


feat(Algebra/Category/ModulaCat): the free presheaf of modules on a presheaf of sets

This contribution was created as part of the AIM workshop "Formalizing algebraic geometry" in June 2024.
Co-authored-by: Johan Commelin<EMAIL_ADDRESS>
Thanks to the refactor #16667, this is a better attempt as compared to #14245.

[x] depends on: #16667

Thanks @chrisflav for your suggestions!

Thanks!
maintainer merge

Thanks!
bors merge


[5.3][CodeCompletion] Don't update VFS content hash map after each completion

Cherry-pick of #33645 into release/5.3

Explanation: Fix an issue where stat is call on all the dependency files for each completion invocation. There was a function call that checks the files are from virtual file systems. It was completely unnecessary to do it after each fast-completion.
Scope: Code completion
Risk: Low
Testing: There's no observable behavior change. A regression test case is updated to ensure that it behaves correctly.
Issue: rdar://problem/67773257
Reviewer: Ben Langmuir (@benlangmuir)

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - ef8f05a61d94322ec9bee2731d0c50bb650e0106

@swift-ci Please test macOS

@swift-ci Please nominate


Implement key exchange using Component Token

We no longer require client ID + client secret, but allow key->token exchange using component tokens

Changes Unknown when pulling 3c00a34a3ce4c83f04e14a31c7ebc19c167116e0 on feature/key-exchange into ** on develop**.


Reimplement experimental load-balancing tests in scripttest

This PR adds a "k8s" script command and reimplements the k8s integration test-suite in pkg/loadbalancer/experimental as script tests.
StateDB is bumped to v0.3.2 to fix the column ordering bug.

/test

/cc @DamianSawicki

/cc @DamianSawicki

Jussi already mentioned this to me on Slack, but thanks for remembering to let me know @ovidiutirla! I'll try to have a look.

/test


Random Colors

What is your question?
Is there a way to set a sprite's color to a random color?

setProperty('whatever.color', getRandomInt(-16777216, -1)) (i chose those numbers because the first one is "000000" hex and the last one is "FFFFFF" in hex.)

I mean, you should set the getRandomInt as a variable like randomColorInt or something so you can get everything the same color but ok

I'll see what I can do...
Thanks...


fix: Sorting by price in offers made doesn't work properly

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[x] Bugfix
[ ] Feature
[ ] Refactoring

What's new?

[x] PR closes #3549
[ ] Requires deployment <rubick/magick_issue>
[ ] <brief_description_of_what_I've_added>

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

@Jarsen136 we have some conflicts nowww

pay 50 usd

😍 Perfect, I’ve sent the payout
💵 $50 @ 62.74 USD/KSM ~ 0.797 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0x7c7192bf4237488bd43056bf39e7bda343af84afccdbe4c0c0cc125f588236da
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues

pay 50 usd

😍 Perfect, I’ve sent the payout
💵 $50 @ 62.73 USD/KSM ~ 0.797 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0x296dc3a90d0f850888c677a7bf3e74123f67dca0ca547b09a2a6c8d50e7ee14f
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


⚠ ClamAV has degraded performance

In 5905704, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 192 ms

Resolved: ClamAV performance has improved in eab4540.


Question about CPU usage

BrickEmuPy seems to max out a single thread, even with the debugger hidden.
Is the debugger the cause of this or is the emulation in general causing the "high" usage?

Emulation takes up most of the CPU time.
And the main problem, as far as I understand, is that I try to perform each instruction in its own time, as a real processor would do, because of this the CPU has no time to sleep at all. Instead, I need to execute the instructions of the emulated processor in groups, tied not to the clock, but, for example, to the refresh rate of the display. Maybe I'll do it someday.

Thank you!


Show / Hide for alert, prompt, and confirm

I realise I could use the custom modal for this, but it would be nice if I could set these 3 modal types to not auto-open.
In my particular use-case, when I am running an XMLHttpRequest / Fetch, if I know it is going to take a few seconds, I like to show an alert when the request starts, and then hide it when the request finishes.
In the past with something like Bootbox, I have used an 'alert' set to not auto-show, then in my onLoadStart function, I 'show()' the modal, and in the onLoadEnd function, I 'hide()' the modal.
If I could do something like
let myModal = modal.alert({ message: "Test", show: false });

xhr = XMLHttpRequest();
xhr.onloadstart = (e) => { myModal.show(); };
xhr.onloadend = (e) => { myModal.hide(); };

That would be perfect.
Right now I am doing
let myModal = new modbox({
  title: "Alert",
  message: "Test",
  destroyOnClose: true
});

xhr = XMLHttpRequest();
xhr.onloadstart = (e) => { myModal.show(); };
xhr.onloadend = (e) => { myModal.hide(); };

And while it works, it's basically just duplicating what modal.alert already does with the exception of being able to show/hide on command.

Unfortunately, it wouldn't be possible for it to work quite like that.  Those modal types use a promise-based approach by design.  For your particular use-case, starting with a custom modal (new modbox()) is exactly how it's meant to be used.
Technically, I could add some new option to prevent those modal types from returning a promise, but that's kind of the opposite of their purpose, and would just be duplicating functionality that already exists.
I do appreciate the suggestion, but this is behaving as designed.


Make connecting to Ether Dream more stable

After connecting the Ether Dream to your laptop, and starting an example on it, it always fails the first few times. This has probably something to do with timing, or maybe a bug in the firmware. Either way, we should have a retry mechanism in place so it just tries re-connecting till it works.

In #79 there was a good discussion about the same issue.
In short the problem is that currently our Ether Dream implementation sends just enough points to fill the DACs buffer each time. When the end of the buffer is reached, Ether Dream stops outputting due to safety reasons.
So what we need to do instead is always keep the buffer filled, similar to how our new Lasercube Wifi implementation works. We should also look a bit into the Python DAC code.


Datarate

@stianvikanes I can help you clean up the commit history if you want! I see you rebased/merged into this
Have you been able to run this and it worked? I don't have my chip on me to test so I'll trust you on this one

Hi @sousandrei , @stianvikanes was working on this and the other PR during the summer, but has now moved on to other adventures. I think you can just go ahead and get this through in any way you like. Same with the other PR.


net::ERR_SSL_KEY_USAGE_INCOMPATIBLE

When trying to make a Post request to localhost using chrome with axios in React, (Windows) I receive the above error.
When trying to make the same Post with postman, it works fine

Also having this issue:

Im having the same issue
We are to use rootCA.pem on the server right?

If you are seeing this error, it means you are trying to use the root CA directly. You are NOT supposed to use rootCA.pem directly. Instead, generate a certificate for localhost or example.com with mkcert localhost or mkcert example.com and use that.