Failed on upgrading BOSH Director from v271.2.0 to v280.0.14

Describe the bug
Failed on upgrading BOSH Director from v271.2.0 to v280.0.14
To Reproduce
Steps to reproduce the behavior (example):
Deploy a bosh director v271.2.0 on vSphere:
$ ./create-env.sh sandbox-cfar 271.2.0
Deployment manifest: '/SANDBOX-CFAR/bosh-director/bosh-deployment-271.2.0/bosh.yml'
Deployment state: '/SANDBOX-CFAR/bosh-director/sandbox-cfar-state.json'

Started validating
  Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
  Validating release 'bosh'... Finished (00:00:03)
  Downloading release 'bpm'... Finished (00:00:03)
  Validating release 'bpm'... Finished (00:00:02)
  Downloading release 'bosh-vsphere-cpi'... Finished (00:00:00)
  Validating release 'bosh-vsphere-cpi'... Finished (00:00:01)
  Downloading release 'uaa'... Finished (00:00:09)
  Validating release 'uaa'... Finished (00:00:05)
  Downloading release 'credhub'... Finished (00:00:03)
  Validating release 'credhub'... Finished (00:00:02)
  Downloading release 'os-conf'... Finished (00:00:00)
  Validating release 'os-conf'... Finished (00:00:00)
  Downloading release 'backup-and-restore-sdk'... Finished (00:00:05)
  Validating release 'backup-and-restore-sdk'... Finished (00:00:09)
  Validating cpi release... Finished (00:00:00)
  Validating deployment manifest... Finished (00:00:00)
  Downloading stemcell... Finished (00:00:12)
  Validating stemcell... Finished (00:00:05)
Finished validating (00:01:26)

Started installing CPI
  Compiling package 'ruby-2.6.5-r0.29.0/269dc54d5306119b0e4f89be04f6c470b4876f552753815586fd1ab8ebeaa70d'... Finished (00:04:19)
  Compiling package 'vsphere_cpi/5dffb632edb799be8e2c7aeed263409627b201d6143ce427621f40d6dd461993'... Finished (00:01:53)
  Compiling package 'iso9660wrap/b9eee11ca7251f93ef853db345596783012ae26b5d6ec5cb3d29bf295899c973'... Finished (00:00:00)
  Installing packages... Finished (00:00:01)
  Rendering job templates... Finished (00:00:00)
  Installing job 'vsphere_cpi'... Finished (00:00:00)
Finished installing CPI (00:06:15)

Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-vsphere-esxi-ubuntu-bionic-go_agent/1.92'... Finished (00:01:26)

Started deploying
  Creating VM for instance 'bosh/0' from stemcell 'sc-74133471-3d5c-4444-8ae0-1b749056bf79'... Finished (00:01:16)
  Waiting for the agent on VM 'vm-2e30ee54-968d-4407-b0e2-0a2c448f6695' to be ready... Finished (00:00:10)
  Creating disk... Finished (00:00:28)
  Attaching disk 'disk-36f89546-442f-4600-b482-ed148588a756' to VM 'vm-2e30ee54-968d-4407-b0e2-0a2c448f6695'... Finished (00:01:08)
  Rendering job templates... Finished (00:00:22)
  Compiling package 'golang/7b633f7a140b41ef9427109d0f3032cf81445ead'... Finished (00:00:27)
  Compiling package 'ruby-2.6.5-r0.29.0/269dc54d5306119b0e4f89be04f6c470b4876f552753815586fd1ab8ebeaa70d'... Finished (00:03:18)
  Compiling package 'mysql/788d06685e1ea1d316759eeeb506782ec7f9302f8c21e2ff04cd4703579f0935'... Finished (00:00:46)
  Compiling package 'libpq/ecbfa62322b4124f25372a19d68b83295b4d290503153667ec378e3196c45f69'... Finished (00:00:28)
  Compiling package 'ruby-2.6.5-r0.29.0/269dc54d5306119b0e4f89be04f6c470b4876f552753815586fd1ab8ebeaa70d'... Finished (00:03:15)
  Compiling package 'database-backup-restorer-boost/05f72399bdd8d91643f42ac411ba65befb78ac0334484dbc3ca95c5286ab7680'... Finished (00:00:19)
  Compiling package 'tini/3d7b02f3eeb480b9581bec4a0096dab9ebdfa4bc'... Finished (00:00:02)
  Compiling package 'bpm-runc/3dcaebacd63b8adc75c5f32954f11041885347b1'... Finished (00:01:47)
  Compiling package 'openjdk_1.8.0/225f67373c9ad0a1da464aeb92f06207bd3e8da1'... Finished (00:00:08)
  Compiling package 'golang-1-linux/7fdbb13e913f2f05232da046b27642ceebab32adf2e78ef3582b63ae6d60df96'... Finished (00:00:27)
  Compiling package 'libpcre2/d5cd2e4263fda94bfeec68d2a388b9e6bb17fa15e28e09c99ebe6a4faa3328f5'... Finished (00:00:14)
  Compiling package 'director/f32385256198535b797059dd4990fcb3b65c0c07337990163c24275a7a29b7e1'... Finished (00:01:25)
  Compiling package 'verify_multidigest/64d1958934e10a0eccc05ddf0d7ba0c8215e6f6d4c227cb93998087335378fa8'... Finished (00:00:01)
  Compiling package 'vsphere_cpi/5dffb632edb799be8e2c7aeed263409627b201d6143ce427621f40d6dd461993'... Finished (00:01:18)
  Compiling package 'davcli/58f558960854f58c55e3d506d3906019178dbc189fbbed1616b8b3c7c02142ea'... Finished (00:00:01)
  Compiling package 'gonats/f58980bd4b0436ff65f588627116dfff63f346f4d13175b7ba47380ab89e08a6'... Finished (00:00:01)
  Compiling package 'database-backup-restorer-postgres-9.4/70d321821ff300fbaef47d64fb7f7b5d33ede23c2349cbf1950886c40f25c2e8'... Finished (00:04:36)
  Compiling package 'database-backup-restorer-postgres-10/41f9bdf0c158e18e850a5744250a39b425f385529b234941c9acf1f6631a3424'... Finished (00:05:14)
  Compiling package 'database-backup-restorer-mysql-5.7/81418214987edce3b03159014ac68449689086d696be746e14857f7551f8f3f6'... Finished (00:02:51)
  Compiling package 'nginx/d4cf69d3e81bed005ebba5bc0bc8d2c28252e70ad47ff455479a9838d5f9b0e4'... Finished (00:01:02)
  Compiling package 'database-backup-restorer-postgres-13/0c18508216826e03c23c623d2f1989405831375c9d457e0ac619125c32b15371'... Finished (00:06:01)
  Compiling package 'database-backup-restorer-postgres-11/be5ee4b5015679ea4d92295ea1eb9a58480c3fff155f69cd1a92f800c11a0c91'... Finished (00:05:38)
  Compiling package 'bpm/818bd9ec39fa5e179c5406c1690fb7c6deb0fc4d'... Finished (00:00:11)
  Compiling package 'postgres-9.4/601f3635b43d0e7ba3ae866e3bd69425cdf33f7fb34a7f1bb21cc26818fb598e'... Finished (00:04:31)
  Compiling package 'credhub/33ea568aad1d35e9522c56f792d3d4fc3cd5975d'... Finished (00:00:07)
  Compiling package 's3cli/7e752dee192da026f6a0cdf2653b855cc6efbe6b041564660f8520c39ddd5a78'... Finished (00:00:02)
  Compiling package 'health_monitor/dd842698e83edeae08bdcc6e672429a5cee3b755645d2024d97b6213f1281d44'... Finished (00:00:34)
  Compiling package 'database-backup-restorer/7c0d80a713009aecb8d6533918a2bf45f7ad0319f50ecca1789fc230aa6d5dd9'... Finished (00:00:06)
  Compiling package 'database-backup-restorer-mariadb/af78e79c98c11c29a721b1d7ba554dd7d0bf25e2789fa933b96bbfd67d697465'... Finished (00:02:12)
  Compiling package 'luna-hsm-client-7.4/746f3c30aadc0af7afc2d5cddcc16d8836a8f845'... Finished (00:00:04)
  Compiling package 'postgres-10/708f8446db4ac7bb21bddce9938e217c741a6e6f82f6209f7e6f6a2b5b25eed3'... Finished (00:05:05)
  Compiling package 'bosh-gcscli/52223432539bbd0607db053f542440869688b4404dd65f2ddf33c2d195b1b891'... Finished (00:00:02)
  Compiling package 'uaa/4f77a97610b962f50d0c21067b48bd467db6066855318c766af8bc1cb990e799'... Finished (00:00:35)
  Compiling package 'iso9660wrap/b9eee11ca7251f93ef853db345596783012ae26b5d6ec5cb3d29bf295899c973'... Finished (00:00:01)
  Compiling package 'database-backup-restorer-mysql-5.6/01bf18f19277261bcccac9736d7634b49eb184a93cd6549b78f4e1d75eabe35a'... Finished (00:02:14)
  Compiling package 'database-backup-restorer-postgres-9.6/6a8fcf2d66b67507403df885b84c4b7cc1d66289f2d7efc5914b43dd2305491c'... Finished (00:05:07)
  Updating instance 'bosh/0'... Finished (00:03:08)
  Waiting for instance 'bosh/0' to be running... Finished (00:01:46)
  Running the post-start scripts 'bosh/0'... Finished (00:00:21)
Finished deploying (01:09:07)

Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)

Succeeded

root@0036416c4de8:/SANDBOX-CFAR/bosh-director# . bosh-env.sh sandbox-cfar 271.2.0
root@0036416c4de8:/SANDBOX-CFAR/bosh-director# bosh env
Using environment '<IP_ADDRESS>' as client 'admin'

Name               sandbox-cfar
UUID               a234617f-6e58-462f-ac51-52c722c3834b
Version            271.2.0 (00000000)
Director Stemcell  ubuntu-bionic/1.92
CPI                vsphere_cpi
Features           compiled_package_cache: disabled
                   config_server: enabled
                   local_dns: enabled
                   power_dns: disabled
                   snapshots: disabled
User               admin

Succeeded

Upload stemcell ubuntu-bionic 1.92
Deploy cf-deployment 21.5.0.
Upgrade the current bosh director v271.2.0 to v280.0.14
$ ./create-env.sh sandbox-cfar 280.0.14
Deployment manifest: '/var/vcap/store/deployment-vm/home/ptran/workspace/SANDBOX-CFAR/bosh-director/bosh-deployment-280.0.14/bosh.yml'
Deployment state: '/var/vcap/store/deployment-vm/home/ptran/workspace/SANDBOX-CFAR/bosh-director/sandbox-cfar-state.json'

Started validating
  Downloading release 'bosh'... Finished (00:00:01)
  Validating release 'bosh'... Finished (00:00:01)
  Downloading release 'bpm'... Finished (00:00:00)
  Validating release 'bpm'... Finished (00:00:00)
  Downloading release 'bosh-vsphere-cpi'... Finished (00:00:01)
  Validating release 'bosh-vsphere-cpi'... Finished (00:00:02)
  Downloading release 'uaa'... Finished (00:00:03)
  Validating release 'uaa'... Finished (00:00:02)
  Downloading release 'credhub'... Finished (00:00:01)
  Validating release 'credhub'... Finished (00:00:01)
  Downloading release 'os-conf'... Finished (00:00:00)
  Validating release 'os-conf'... Finished (00:00:00)
  Downloading release 'backup-and-restore-sdk'... Finished (00:00:04)
  Validating release 'backup-and-restore-sdk'... Finished (00:00:03)
  Validating cpi release... Finished (00:00:00)
  Validating deployment manifest... Finished (00:00:00)
  Downloading stemcell... Skipped [Found in local cache] (00:00:00)
  Validating stemcell... Finished (00:00:12)
Finished validating (00:00:39)

Started installing CPI
  Compiling package 'ruby-3.1/8b225e7cc2608305a7b784b5828b2b4b7c7adc3eb14af46e313d64a9e14a3ad6'... Finished (00:03:39)
  Compiling package 'golang-1-darwin/e6383fc2adbcb1dc5ab18d32b737b1729ff3226b774a358504a44bc5d6bd097f'... Finished (00:00:23)
  Compiling package 'golang-1-linux/c2342901fca75f4c7ec3f32e6a757e923089c6c50d8eb3effd2c25eac1009e31'... Finished (00:00:24)
  Compiling package 'vsphere_cpi/54bcc7a48ba47cc7df2b8dd4704bc8dbb46b945b1a91cbc147262803557a6a7a'... Finished (00:00:35)
  Compiling package 'iso9660wrap/b351c796826a0a3a57e13bad036c12a3958c38f9370bbb50540e782582baaf79'... Finished (00:00:31)
  Installing packages... Finished (00:00:07)
  Rendering job templates... Finished (00:00:00)
  Installing job 'vsphere_cpi'... Finished (00:00:00)
Finished installing CPI (00:05:41)

Uploading stemcell 'bosh-vsphere-esxi-ubuntu-jammy-go_agent/1.340'... Skipped [Stemcell already uploaded] (00:00:00)

Started deploying
  Waiting for the agent on VM 'vm-aef0966d-e843-41ff-873d-2acfe6ee88bb'... Finished (00:00:00)
  Draining jobs on instance 'unknown/0'... Finished (00:00:07)
  Stopping jobs on instance 'unknown/0'... Finished (00:00:00)
  Unmounting disk 'disk-36f89546-442f-4600-b482-ed148588a756'... Finished (00:00:01)
  Deleting VM 'vm-aef0966d-e843-41ff-873d-2acfe6ee88bb'... Finished (00:00:22)
  Creating VM for instance 'bosh/0' from stemcell 'sc-74437d41-122f-4224-a3e1-6266ff62e4df'... Finished (00:00:58)
  Waiting for the agent on VM 'vm-57d3af3a-29bf-4b39-944b-3bcb03d5a164' to be ready... Finished (00:00:29)
  Attaching disk 'disk-36f89546-442f-4600-b482-ed148588a756' to VM 'vm-57d3af3a-29bf-4b39-944b-3bcb03d5a164'... Finished (00:00:40)
  Rendering job templates... Finished (00:00:28)
  Compiling package 'golang-1-linux/c2342901fca75f4c7ec3f32e6a757e923089c6c50d8eb3effd2c25eac1009e31'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'golang-1-darwin/e6383fc2adbcb1dc5ab18d32b737b1729ff3226b774a358504a44bc5d6bd097f'... Finished (00:00:36)
  Compiling package 'golang-1-linux/c2342901fca75f4c7ec3f32e6a757e923089c6c50d8eb3effd2c25eac1009e31'... Finished (00:00:35)
  Compiling package 'ruby-3.1/8b225e7cc2608305a7b784b5828b2b4b7c7adc3eb14af46e313d64a9e14a3ad6'... Finished (00:15:25)
  Compiling package 'director-ruby-3.2/84ee2f9d0485530a75822fa03e7fd0c73544aa4c2f6fe24aaebebe1757195efe'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'tini/3d7b02f3eeb480b9581bec4a0096dab9ebdfa4bc'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'bpm-runc/923e2cae4f8f54cd58de0349352bb14f8662cfa5'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'libopenssl1/7f27f8cdc6cd6f6f865bfbe67ab853977e1505d2ca558415df9bf692eb1b0d63'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'openjdk_17.0/a805b67e0bbf99e97ca878960971301e56d951f67ab5ca14be11553b356556e8'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'database-backup-restorer-boost/05f72399bdd8d91643f42ac411ba65befb78ac0334484dbc3ca95c5286ab7680'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'libpcre2/22fb4c5ee63919fa1e4b1e720fe048f8c55d8998858aeb8172ca67cbdcd0e6de'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'mysql/7ec79ca2b57047da0b337c62944439493b60c1bd5a2767444362cfd1c7b2bbd9'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'libpq/b309a72768019e24e2c592f3f25ded2679e98cbb90f774c3a4d6b7745760079f'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'golang-1-linux/c2342901fca75f4c7ec3f32e6a757e923089c6c50d8eb3effd2c25eac1009e31'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'postgres-15/1059ac62d543dc19011001f80f8c0bb99cc3a9ea4f8c14736e480701051ce9f0'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'database-backup-restorer-postgres-15/162c4cca97dcfd5b12d4241bf40ae421cb3c4fbdbf215ce601f3267865501f66'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'luna-hsm-client-7.4/5956cbd4d17c28c2e4c29f3906e3faddc1d7b921708740f1a532a37d5b6fbe29'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'iso9660wrap/b351c796826a0a3a57e13bad036c12a3958c38f9370bbb50540e782582baaf79'... Finished (00:00:29)
  Compiling package 'vsphere_cpi/54bcc7a48ba47cc7df2b8dd4704bc8dbb46b945b1a91cbc147262803557a6a7a'... Finished (00:01:07)
  Compiling package 'database-backup-restorer-mysql-8.0/488fb8d45895a348f88ca2984fa36939687ad6978deebabd8ee70a1514776f17'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'nats/52d36e5308f7aeced172092016c0fd34f9195ff2788d3106fc2d5cf1ac192c1a'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'bpm/a37a126c1b31da99ab252f4668953a38c4748864'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'database-backup-restorer-mysql-5.6/86603abfbb0d59ebf924449e97fecc422af66d7941bf5498a05099b653a8d3eb'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'database-backup-restorer-postgres-13/ea27ff50286f247ab3acdb3c7cc2101c6d7a666a4eec7c669f7e34e3ef1b51e6'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'database-backup-restorer-postgres-11/b9125bf430a1cf1d00ab83c72e4c5be26f6de52c5315b82beda286d31f4e7cc1'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'davcli/ca2605d13c62b479a215162ea17769326d6f7e37d1002c85816534013235b7d4'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'credhub/e3913a55fb5116fdca99c6403a19a94e7e051e4cd255ab972be279f86ef50de9'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'azure-storage-cli/90a54f4a65a0bfa7d1dc7c651467c1d1b19a009ccbb071ec4ccae42ba903c811'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'database-backup-restorer-mysql-5.7/b1576d316b0046ec60cbbc3ef148eed266daca19992d5b228167a7dfb7059c34'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'database-backup-restorer-mariadb/f66c894e04cf0b91155bf3a3c0af46ff3ce6957ea5f2c07112ba3ead4a185513'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'postgres-10/e3f2ed31116e1a0c929ae6fcdde983a9d6c000c25cafde8a784fd126e06400f9'... Skipped [Package already compiled] (00:00:00)
  Compiling package 's3cli/93d30c08e76d18cf878007359b18c1d1c1c0fb92c757d06bb0bb09de60f2c765'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'verify_multidigest/ffa02c5cc46c56c8006a5c081a16e76b4353f99de7ccc1605c01a95ae47f2fbd'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'health_monitor/5a419aae8750e7fe3f368f6695f8c60fc7d80e8a547d542137d6fbf782cee7fa'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'director/31ce6b1831288b9080178caf68f40d7c59d0743b2f736b449aab842d199fbc4c'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'uaa/2210f02ea85373965968f01d0291a1208d4b6e2e85616a95b477a4354cb93674'... Skipped [Package already compiled] (00:00:03)
  Compiling package 'nginx/82a22b536cf378d354f9325dadcbcb2fa70b1ce9e37eb65a8a7a97cd35e8fc45'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'database-backup-restorer/84b24a5d9b0a1c07b6484bf908700e2d7990b718e4fd2ce5ee4545337109df2f'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'bosh-gcscli/6394d55f449cad79d0f825815777c3f9f06efcae67850796e905e6aab7e9335b'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'postgres-13/a3141b9f3664abe145c6fb452a54b3bbc4b772933083c2c1ef725c0a7c71824f'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'database-backup-restorer-postgres-10/f4a7d1e2aaad5f2aabb6b0dcbcaedb49305f0d62373af72e2ee8f01eaa595be9'... Skipped [Package already compiled] (00:00:00)
  Updating instance 'bosh/0'... Failed (00:04:49)
Failed deploying (00:26:41)

Cleaning up rendered CPI jobs... Finished (00:00:00)

Deploying:
  Running the pre-start script:
    Sending 'get_task' to the agent:
      Agent responded with error: Action Failed get_task: Task 288aece3-c64b-4578-5bf7-c6a7c8058142 result: 1 of 8 pre-start scripts failed. Failed Jobs: postgres. Successful Jobs: blobstore, nats, bpm, director, user_add, credhub, uaa.

Exit code 1

The pre-start script of the postgres job failed.
Expected behavior
BOSH Director should be successfully upgraded from v271.2.0 to v280.0.14
Logs
When sshing into the BOSH Director VM, I found this error in /var/vcap/sys/log/postgres/pre-start.stdout.log:
bosh/0:~$ sudo -i
bosh/0:~# monit summary
/var/vcap/bosh/etc/monitrc:8: Warning: include files not found '/var/vcap/monit/job/*.monitrc'
The Monit daemon 5.2.5 uptime: 20m

System 'system_8c7a4cee-d163-4cd5-4d8c-cd2c5d15cd6f' running

bosh/0:~# ls /var/vcap/sys/log/postgres/ -hal
total 12K
drwxrwx---  2 root vcap 4.0K Jan 27 05:44 .
drwxr-x--- 16 root vcap 4.0K Jan 27 05:44 ..
-rw-r-----  1 root root    0 Jan 27 05:44 pre-start.stderr.log
-rw-r-----  1 root root  283 Jan 27 05:44 pre-start.stdout.log

bosh/0:~# cat /var/vcap/sys/log/postgres/pre-start.stderr.log

bosh/0:~# cat /var/vcap/sys/log/postgres/pre-start.stdout.log
kernel.shmmax = 67108864
copying contents of postgres-10 to postgres-15 for postgres upgrade...
Performing Consistency Checks
-----------------------------
Checking cluster versions                                   ok

The source cluster was not shut down cleanly.
Failure, exiting

When BOSH Director is migrating the database from Postgres 10 to Postgres 15 during the upgrade, it's complaining about the source database (Postgres 10?) is not shutdown cleanly. I attempted to rerun the BOSH Director upgrade several times, but it did not help.
Versions (please complete the following information):

Infrastructure: vSphere
BOSH versions: from 271.2.0 to 280.0.14
BOSH CLI version:
$ bosh -v
version 6.1.1-a0c78bc2-2019-10-25T22:16:25Z
Succeeded
Stemcell versions:
ubuntu-bionic/1.92 for current BOSH Director v271.2.0
ubuntu-jammy/1.340 for new BOSH Director v280.0.14
... other versions of releases being used (BOSH DNS, Credhub, UAA, BPM, etc)

yq '.releases' releases-280.0.14/interpolated-bosh-director-280.0.14.yml
- name: bosh
  sha1: f7fd9b040ab56b9c88dd6c4dfc23fdf682c7d4ad
  url: https://s3.amazonaws.com/bosh-compiled-release-tarballs/bosh-280.0.14-ubuntu-jammy-1.340-20240111-153544-517049233-20240111153545.tgz
  version: 280.0.14
- name: bpm
  sha1: 6ac7f9a016075ed69b6808dfb544146a73565a9f
  url: https://s3.amazonaws.com/bosh-compiled-release-tarballs/bpm-1.2.13-ubuntu-jammy-1.340-20240110-224040-652943252-20240110224041.tgz
  version: 1.2.13
- name: bosh-vsphere-cpi
  sha1: ddcf851983f672b1186590244d94f7dffb959ff2
  url: https://bosh.io/d/github.com/cloudfoundry/bosh-vsphere-cpi-release?v=97.0.5
  version: 97.0.5
- name: uaa
  sha1: a8d7847cf4b5829bcfc085565dfb78697fbc3bb5
  url: https://s3.amazonaws.com/bosh-compiled-release-tarballs/uaa-76.31.0-ubuntu-jammy-1.340-20240119-145417-377757494-20240119145421.tgz
  version: 76.31.0
- name: credhub
  sha1: e9229b2bb5681f9ef8911e653e9719de628b3904
  url: https://s3.amazonaws.com/bosh-compiled-release-tarballs/credhub-2.12.58-ubuntu-jammy-1.340-20240111-190030-621523752-20240111190032.tgz
  version: 2.12.58
- name: os-conf
  sha1: daf34e35f1ac678ba05db3496c4226064b99b3e4
  url: https://bosh.io/d/github.com/cloudfoundry/os-conf-release?v=22.2.1
  version: 22.2.1
- name: backup-and-restore-sdk
  sha1: 28ea9cbf00d89d4d4c363f4459d79268e44ac65f
  url: https://s3.amazonaws.com/bosh-compiled-release-tarballs/backup-and-restore-sdk-1.18.116-ubuntu-jammy-1.340-20240115-082356-879977937-20240115082400.tgz
  version: 1.18.116

Deployment info:
We're using "bosh create-env" command with bosh-deployment to create and upgrade BOSH Director environment.

It seems like you are upgrading from an ancient version of Postgres. This issue was fixed here: https://github.com/cloudfoundry/bpm-release/pull/152

Thank you so much for the response @rkoster!  Indeed we're operating an "outdated" BOSH environment and have not done the upgrade regularly as we should. We have seen this issue intermittently on a few runs of BOSH Director upgrade testing.
How can we move forward with this BOSH Director v280.0.14 upgrade and ensure that this issue won't happen in our existing production BOSH environments?
Option 1: Can we first manually shut down Postgres 10 on the BOSH Director VM before attempting BOSH Director upgrade? If yes, which command sequences should be used to properly shut down Postgres 10 and other BOSH Director related services?
Option 2: First update BPM component to v1.1.14 or higher (https://github.com/cloudfoundry/bpm-release/pull/152#issuecomment-938235720) with the fix on current BOSH Director v271.2.0 before upgrading to BOSH Director v280.0.14.
Any other options? Greatly appreciate your suggestions here.

Updating BPM would still be an update of the instance, and as such have a change of an improper Postgres shutdown.
@bgandon do you remember if there was a workaround that was used before the fix was implemented?

Hi @bgandon,
As @rkoster confirmed using Option #2 will likely run into the same improper Postgres shutdown. Could you please advice on the workaround you used before the BPM fix was implemented if it's possible?
We're thinking of using the Option #1 as a workaround for manually shutting down Postgres 10 on the BOSH Director VM before attempting BOSH Director upgrade. Please help to confirm if the following steps will work.

SSH into BOSH Director VM.
Monit stop all other processes except Postgres.

bosh/0:~# for name in "credhub" "uaa" "health_monitor" "director_nginx" "director_sync_dns" "director_scheduler" "blobstore_nginx" "nats" "director"; do monit stop "${name}"; done

bosh/0:~# monit summary
The Monit daemon 5.2.5 uptime: 7d 2h 19m

Process 'nats'                      not monitored
Process 'postgres'                  running
Process 'blobstore_nginx'           not monitored
Process 'director'                  not monitored
Process 'worker_1'                  not monitored
Process 'worker_2'                  not monitored
Process 'worker_3'                  not monitored
Process 'worker_4'                  not monitored
Process 'director_scheduler'        not monitored
Process 'director_sync_dns'         not monitored
Process 'director_nginx'            not monitored
Process 'health_monitor'            not monitored
Process 'uaa'                       not monitored
Process 'credhub'                   not monitored
System 'system_be0914a6-1473-47f1-58d9-4f3aacbe2ab5' running

Umonitor Postgres process, so monit won't restart it when Postgres is shutdown using "kill" command directly later.

bosh/0:~# monit unmonitor postgres

bosh/0:~# monit summary
The Monit daemon 5.2.5 uptime: 7d 2h 54m

Process 'nats'                      not monitored
Process 'postgres'                  not monitored
Process 'blobstore_nginx'           not monitored
Process 'director'                  not monitored
Process 'worker_1'                  not monitored
Process 'worker_2'                  not monitored
Process 'worker_3'                  not monitored
Process 'worker_4'                  not monitored
Process 'director_scheduler'        not monitored
Process 'director_sync_dns'         not monitored
Process 'director_nginx'            not monitored
Process 'health_monitor'            not monitored
Process 'uaa'                       not monitored
Process 'credhub'                   not monitored
System 'system_be0914a6-1473-47f1-58d9-4f3aacbe2ab5' running

Shutdown Postgres using "kill" command with SIGINT signal for fast mode shutdown.

bosh/0:~# postgres_pid=$(/var/vcap/packages/bpm/bin/bpm pid postgres-10) && kill -s SIGINT "${postgres_pid}"

Check Postgres database cluster state and ensure it's been shutting down properly with "shut down" state instead of "in production"

bosh/0:~# su - vcap -c "/var/vcap/packages/postgres-10/bin/pg_controldata -D /var/vcap/store/postgres-10" | grep -F "Database cluster state"
Database cluster state:               shut down

If Postgres database cluster state is in "shut down", then exit the BOSH Director VM and proceed with the BOSH Director upgrade as usual.


test: fix device attribute provider test cases

Fixes test cases for device attribute provider

@Shahroz16

since we are not updating device attributes differently, is that going to be a separate PR
Apologies but I think I am not sure what exactly you are referring to, to be done in a separate PR? 🤔

@Shahroz16

since we are not now updating device attributes differently, is that going to be a separate PR

Apologies but I think I am not sure what exactly you are referring to, to be done in a separate PR? 🤔

I meant do you plan to add tests for Device attributes? since now we relying on Datapipeline for device attributes, but i talked offline with Rehan about it, we will setup a framework for it first.


Document our dependency version strategy

For example
0.1.x - Wear Compose 1.0
0.2.x - Wear Compose 1.1
0.3.x - 1.2-alpha2
When are alphas, betas, rcs appropriate?
When do we release maintenance releases on old branches.

https://github.com/google/horologist/pull/1696


Does not compile on Windows?

Hi, does this compile for you on Windows?
I've tried CLion's built-in toolchains (VS, MinGW, Cygwin), external installations of LLVM and cmake under MSYS2 environment.
I get either build errors or crashes (clang-tidy) depending on which combination I try.
I'd really love to get this working on Windows. Any help would be much appreciated.

Hey, good call! I will give it a spin later on Windows and fix/add what is needed to have it running proper. I will update this issue when I did so ✌🏻

I had a first look and at least came a bit further, for both MinGW and VS. I changed the CMake file for the static analyzers to this:
# cmake/StaticAnalyzers.cmake

if (NOT CMAKE_BUILD_TYPE STREQUAL "Release")
  find_program(CLANGTIDY clang-tidy)
  if (CLANGTIDY)
    message(STATUS "Using clang-tidy")
    set(CMAKE_CXX_CLANG_TIDY ${CLANGTIDY})
  else ()
    message(WARNING "clang-tidy requested but executable not found")
  endif ()
endif ()

I made clang only a warning and removed the address sanitizer. The address sanitizer just does not seem to be supported in either MinGW nor VS. Clang-tidy I could not get to run, yet. As I´m not as proficient with Windows this will take me a bit longer 😅
Though, even with those changes I did not got it to compile, having errors on the SDL2 part.
I will dig deeper into this and continue to update this issue. This is a nice exercise getting my feet wet with Windows, and I´m sure I can resolve this 🤞

Awesome! Thank you so much for working on this. If you need someone to test just hit me up. 😀

Sorry to keep you waiting, but time is always sparse 😅 Nevertheless, I have a PR I will update to fix running the application on Windows: https://github.com/MartinHelmut/cpp-gui-template-sdl2/pull/2
I already made some changes but I will need to work on this more, I was able to build, but not to run the application so far. If you want to you can give the PR a shot and write what fails on your end 🫣😅

Hi Martin,
No worries. It's always a struggle to find enough time for all my projects as well. 😁
I gave your fix branch in #2 a shot. cmake worked fined so far but compiling fails for me.
This is my environment:
$ uname -a
MSYS_NT-10.0-19045 indigo 3.3.5-341.x86_64 2022-07-04 21:33 UTC x86_64 Msys

$ cmake --version
cmake version 3.24.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).

$ ninja --version
1.11.1

$ clang --version
clang version 14.0.6
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:/msys64/mingw64/bin

$ clang-tidy.exe --version
LLVM (http://llvm.org/):
  LLVM version 14.0.6
  Optimized build.
  Default target: x86_64-w64-windows-gnu
  Host CPU: znver1

Here are the logs for when I ran cmake and ninja:
$ cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -B build/debug
-- The CXX compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Ccache not found
-- Treat compiler warnings as errors
-- Fetching Doctest ...
-- Fetching fmt ...
-- Module support is disabled.
-- Version: 9.1.0
-- Build type: Debug
-- CXX_STANDARD: 20
-- Performing Test has_std_20_flag
-- Performing Test has_std_20_flag - Success
-- Performing Test has_std_2a_flag
-- Performing Test has_std_2a_flag - Success
-- Required features: cxx_variadic_templates
-- Fetching imgui ...
-- Fetching SDL ...
-- The C compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: C:/msys64/mingw64/bin/pkg-config.exe (found version "1.8.0")
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Performing Test HAVE_GCC_WALL
-- Performing Test HAVE_GCC_WALL - Success
-- Performing Test HAVE_GCC_NO_STRICT_ALIASING
-- Performing Test HAVE_GCC_NO_STRICT_ALIASING - Success
-- Performing Test HAVE_GCC_WDECLARATION_AFTER_STATEMENT
-- Performing Test HAVE_GCC_WDECLARATION_AFTER_STATEMENT - Success
-- Performing Test HAVE_GCC_WERROR_DECLARATION_AFTER_STATEMENT
-- Performing Test HAVE_GCC_WERROR_DECLARATION_AFTER_STATEMENT - Success
-- Performing Test HAVE_GCC_ATOMICS
-- Performing Test HAVE_GCC_ATOMICS - Success
-- Performing Test HAVE_GCC_PREFERRED_STACK_BOUNDARY
-- Performing Test HAVE_GCC_PREFERRED_STACK_BOUNDARY - Failed
-- Performing Test HAVE_GCC_FVISIBILITY
-- Performing Test HAVE_GCC_FVISIBILITY - Success
-- Performing Test HAVE_GCC_WSHADOW
-- Performing Test HAVE_GCC_WSHADOW - Success
-- Performing Test HAVE_NO_UNDEFINED
-- Performing Test HAVE_NO_UNDEFINED - Success
-- Performing Test HAVE_MMX
-- Performing Test HAVE_MMX - Success
-- Performing Test HAVE_3DNOW
-- Performing Test HAVE_3DNOW - Success
-- Performing Test HAVE_SSE
-- Performing Test HAVE_SSE - Success
-- Performing Test HAVE_SSE2
-- Performing Test HAVE_SSE2 - Success
-- Performing Test HAVE_SSE3
-- Performing Test HAVE_SSE3 - Success
-- Looking for immintrin.h
-- Looking for immintrin.h - found
-- Performing Test HAVE_ALTIVEC_H_HDR
-- Performing Test HAVE_ALTIVEC_H_HDR - Failed
-- Performing Test HAVE_ALTIVEC
-- Performing Test HAVE_ALTIVEC - Failed
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdio.h
-- Looking for stdio.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Looking for stdarg.h
-- Looking for stdarg.h - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for float.h
-- Looking for float.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for wchar.h
-- Looking for wchar.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for ctype.h
-- Looking for ctype.h - found
-- Looking for math.h
-- Looking for math.h - found
-- Looking for iconv.h
-- Looking for iconv.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for libunwind.h
-- Looking for libunwind.h - not found
-- Looking for 7 include files stddef.h, ..., float.h
-- Looking for 7 include files stddef.h, ..., float.h - found
-- Looking for M_PI
-- Looking for M_PI - found
-- Performing Test HAVE_MPROTECT
-- Performing Test HAVE_MPROTECT - Failed
-- Looking for strtod
-- Looking for strtod - found
-- Looking for malloc
-- Looking for malloc - found
-- Looking for calloc
-- Looking for calloc - found
-- Looking for realloc
-- Looking for realloc - found
-- Looking for free
-- Looking for free - found
-- Looking for getenv
-- Looking for getenv - found
-- Looking for setenv
-- Looking for setenv - not found
-- Looking for putenv
-- Looking for putenv - found
-- Looking for unsetenv
-- Looking for unsetenv - not found
-- Looking for bsearch
-- Looking for bsearch - found
-- Looking for qsort
-- Looking for qsort - found
-- Looking for abs
-- Looking for abs - found
-- Looking for bcopy
-- Looking for bcopy - not found
-- Looking for memset
-- Looking for memset - found
-- Looking for memcpy
-- Looking for memcpy - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for memcmp
-- Looking for memcmp - found
-- Looking for strlen
-- Looking for strlen - found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for strlcat
-- Looking for strlcat - not found
-- Looking for _strrev
-- Looking for _strrev - found
-- Looking for _strupr
-- Looking for _strupr - found
-- Looking for _strlwr
-- Looking for _strlwr - found
-- Looking for index
-- Looking for index - not found
-- Looking for rindex
-- Looking for rindex - not found
-- Looking for strchr
-- Looking for strchr - found
-- Looking for strrchr
-- Looking for strrchr - found
-- Looking for strstr
-- Looking for strstr - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for itoa
-- Looking for itoa - found
-- Looking for _ltoa
-- Looking for _ltoa - found
-- Looking for _uitoa
-- Looking for _uitoa - not found
-- Looking for _ultoa
-- Looking for _ultoa - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtoul
-- Looking for strtoul - found
-- Looking for _i64toa
-- Looking for _i64toa - found
-- Looking for _ui64toa
-- Looking for _ui64toa - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoull
-- Looking for strtoull - found
-- Looking for atoi
-- Looking for atoi - found
-- Looking for atof
-- Looking for atof - found
-- Looking for strcmp
-- Looking for strcmp - found
-- Looking for strncmp
-- Looking for strncmp - found
-- Looking for _stricmp
-- Looking for _stricmp - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for _strnicmp
-- Looking for _strnicmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for wcscmp
-- Looking for wcscmp - found
-- Looking for _wcsdup
-- Looking for _wcsdup - found
-- Looking for wcsdup
-- Looking for wcsdup - found
-- Looking for wcslcat
-- Looking for wcslcat - not found
-- Looking for wcslcpy
-- Looking for wcslcpy - not found
-- Looking for wcslen
-- Looking for wcslen - found
-- Looking for wcsncmp
-- Looking for wcsncmp - found
-- Looking for wcsstr
-- Looking for wcsstr - found
-- Looking for wcscasecmp
-- Looking for wcscasecmp - not found
-- Looking for _wcsicmp
-- Looking for _wcsicmp - found
-- Looking for wcsncasecmp
-- Looking for wcsncasecmp - not found
-- Looking for _wcsnicmp
-- Looking for _wcsnicmp - found
-- Looking for sscanf
-- Looking for sscanf - found
-- Looking for vsscanf
-- Looking for vsscanf - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for fopen64
-- Looking for fopen64 - found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for fseeko64
-- Looking for fseeko64 - found
-- Looking for _Exit
-- Looking for _Exit - found
-- Looking for sigaction
-- Looking for sigaction - not found
-- Looking for setjmp
-- Looking for setjmp - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for sysconf
-- Looking for sysconf - not found
-- Looking for sysctlbyname
-- Looking for sysctlbyname - not found
-- Looking for getauxval
-- Looking for getauxval - not found
-- Looking for elf_aux_info
-- Looking for elf_aux_info - not found
-- Looking for poll
-- Looking for poll - not found
-- Looking for pow in m
-- Looking for pow in m - found
-- Looking for atan
-- Looking for atan - found
-- Looking for atan2
-- Looking for atan2 - found
-- Looking for atanf
-- Looking for atanf - found
-- Looking for atan2f
-- Looking for atan2f - found
-- Looking for ceil
-- Looking for ceil - found
-- Looking for ceilf
-- Looking for ceilf - found
-- Looking for copysign
-- Looking for copysign - found
-- Looking for copysignf
-- Looking for copysignf - found
-- Looking for cos
-- Looking for cos - found
-- Looking for cosf
-- Looking for cosf - found
-- Looking for exp
-- Looking for exp - found
-- Looking for expf
-- Looking for expf - found
-- Looking for fabs
-- Looking for fabs - found
-- Looking for fabsf
-- Looking for fabsf - found
-- Looking for floor
-- Looking for floor - found
-- Looking for floorf
-- Looking for floorf - found
-- Looking for fmod
-- Looking for fmod - found
-- Looking for fmodf
-- Looking for fmodf - found
-- Looking for log
-- Looking for log - found
-- Looking for logf
-- Looking for logf - found
-- Looking for log10
-- Looking for log10 - found
-- Looking for log10f
-- Looking for log10f - found
-- Looking for lround
-- Looking for lround - found
-- Looking for lroundf
-- Looking for lroundf - found
-- Looking for pow
-- Looking for pow - found
-- Looking for powf
-- Looking for powf - found
-- Looking for round
-- Looking for round - found
-- Looking for roundf
-- Looking for roundf - found
-- Looking for scalbn
-- Looking for scalbn - found
-- Looking for scalbnf
-- Looking for scalbnf - found
-- Looking for sin
-- Looking for sin - found
-- Looking for sinf
-- Looking for sinf - found
-- Looking for sqrt
-- Looking for sqrt - found
-- Looking for sqrtf
-- Looking for sqrtf - found
-- Looking for tan
-- Looking for tan - found
-- Looking for tanf
-- Looking for tanf - found
-- Looking for acos
-- Looking for acos - found
-- Looking for acosf
-- Looking for acosf - found
-- Looking for asin
-- Looking for asin - found
-- Looking for asinf
-- Looking for asinf - found
-- Looking for trunc
-- Looking for trunc - found
-- Looking for truncf
-- Looking for truncf - found
-- Looking for iconv_open in iconv
-- Looking for iconv_open in iconv - not found
-- Looking for iconv_open in c
-- Looking for iconv_open in c - not found
-- Looking for alloca.h
-- Looking for alloca.h - not found
-- Looking for alloca
-- Looking for alloca - not found
-- Looking for alloca
-- Looking for alloca - found
-- Looking for alloca
-- Looking for alloca - found
-- Performing Test HAVE_SA_SIGACTION
-- Performing Test HAVE_SA_SIGACTION - Failed
-- Performing Test HAVE_WIN32_CC
-- Performing Test HAVE_WIN32_CC - Success
-- Looking for d3d9.h
-- Looking for d3d9.h - found
-- Looking for d3d11_1.h
-- Looking for d3d11_1.h - found
-- Performing Test HAVE_D3D12_H
-- Performing Test HAVE_D3D12_H - Success
-- Looking for ddraw.h
-- Looking for ddraw.h - found
-- Looking for dsound.h
-- Looking for dsound.h - found
-- Looking for dinput.h
-- Looking for dinput.h - found
-- Looking for dxgi.h
-- Looking for dxgi.h - found
-- Performing Test HAVE_XINPUT_H
-- Performing Test HAVE_XINPUT_H - Success
-- Performing Test HAVE_XINPUT_GAMEPAD_EX
-- Performing Test HAVE_XINPUT_GAMEPAD_EX - Failed
-- Performing Test HAVE_XINPUT_STATE_EX
-- Performing Test HAVE_XINPUT_STATE_EX - Failed
-- Performing Test HAVE_WINDOWS_GAMING_INPUT_H
-- Performing Test HAVE_WINDOWS_GAMING_INPUT_H - Success
-- Looking for tpcshrd.h
-- Looking for tpcshrd.h - found
-- Looking for roapi.h
-- Looking for roapi.h - found
-- Looking for mmdeviceapi.h
-- Looking for mmdeviceapi.h - found
-- Looking for audioclient.h
-- Looking for audioclient.h - found
-- Looking for sensorsapi.h
-- Looking for sensorsapi.h - found
-- Looking for shellscalingapi.h
-- Looking for shellscalingapi.h - found
-- Found Git: C:/msys64/usr/bin/git.exe (found version "2.37.2")
--
-- SDL2 was configured with the following options:
--
-- Platform: Windows-10.0.19045
-- 64-bit:   TRUE
-- Compiler: C:/msys64/mingw64/bin/cc.exe
-- Revision: https://github.com/MartinHelmut/cpp-gui-template-sdl2.git@780652d703bab3a5e36390efd693c114aee77103
--
-- Subsystems:
--   Atomic:	ON
--   Audio:	ON
--   Video:	ON
--   Render:	ON
--   Events:	ON
--   Joystick:	ON
--   Haptic:	ON
--   Hidapi:	ON
--   Power:	ON
--   Threads:	ON
--   Timers:	ON
--   File:	ON
--   Loadso:	ON
--   CPUinfo:	ON
--   Filesystem:	ON
--   Sensor:	ON
--   Locale:	ON
--   Misc:	ON
--
-- Options:
--   SDL2_DISABLE_INSTALL        (Wanted: ON): OFF
--   SDL2_DISABLE_SDL2MAIN       (Wanted: OFF): OFF
--   SDL2_DISABLE_UNINSTALL      (Wanted: OFF): OFF
--   SDL_3DNOW                   (Wanted: ON): ON
--   SDL_ALSA                    (Wanted: OFF): OFF
--   SDL_ALSA_SHARED             (Wanted: OFF): OFF
--   SDL_ALTIVEC                 (Wanted: ON): OFF
--   SDL_ARMNEON                 (Wanted: OFF): OFF
--   SDL_ARMSIMD                 (Wanted: OFF): OFF
--   SDL_ARTS                    (Wanted: OFF): OFF
--   SDL_ARTS_SHARED             (Wanted: OFF): OFF
--   SDL_ASAN                    (Wanted: OFF): OFF
--   SDL_ASSEMBLY                (Wanted: ON): ON
--   SDL_ASSERTIONS              (Wanted: auto): auto
--   SDL_BACKGROUNDING_SIGNAL    (Wanted: OFF): OFF
--   SDL_CLOCK_GETTIME           (Wanted: OFF): OFF
--   SDL_COCOA                   (Wanted: OFF): OFF
--   SDL_DIRECTFB                (Wanted: OFF): OFF
--   SDL_DIRECTFB_SHARED         (Wanted: OFF): OFF
--   SDL_DIRECTX                 (Wanted: ON): ON
--   SDL_DISKAUDIO               (Wanted: ON): ON
--   SDL_DUMMYAUDIO              (Wanted: ON): ON
--   SDL_DUMMYVIDEO              (Wanted: ON): ON
--   SDL_ESD                     (Wanted: OFF): OFF
--   SDL_ESD_SHARED              (Wanted: OFF): OFF
--   SDL_FOREGROUNDING_SIGNAL    (Wanted: OFF): OFF
--   SDL_FUSIONSOUND             (Wanted: OFF): OFF
--   SDL_FUSIONSOUND_SHARED      (Wanted: OFF): OFF
--   SDL_GCC_ATOMICS             (Wanted: ON): ON
--   SDL_HIDAPI                  (Wanted: ON): ON
--   SDL_HIDAPI_JOYSTICK         (Wanted: ON): ON
--   SDL_HIDAPI_LIBUSB           (Wanted: OFF): OFF
--   SDL_INSTALL_TESTS           (Wanted: OFF): OFF
--   SDL_JACK                    (Wanted: OFF): OFF
--   SDL_JACK_SHARED             (Wanted: OFF): OFF
--   SDL_KMSDRM                  (Wanted: OFF): OFF
--   SDL_KMSDRM_SHARED           (Wanted: OFF): OFF
--   SDL_LIBC                    (Wanted: ON): ON
--   SDL_LIBSAMPLERATE           (Wanted: OFF): OFF
--   SDL_LIBSAMPLERATE_SHARED    (Wanted: OFF): OFF
--   SDL_METAL                   (Wanted: OFF): OFF
--   SDL_MMX                     (Wanted: ON): ON
--   SDL_NAS                     (Wanted: OFF): OFF
--   SDL_NAS_SHARED              (Wanted: OFF): OFF
--   SDL_OFFSCREEN               (Wanted: OFF): OFF
--   SDL_OPENGL                  (Wanted: ON): ON
--   SDL_OPENGLES                (Wanted: ON): ON
--   SDL_OSS                     (Wanted: OFF): OFF
--   SDL_PIPEWIRE                (Wanted: OFF): OFF
--   SDL_PIPEWIRE_SHARED         (Wanted: OFF): OFF
--   SDL_PTHREADS                (Wanted: OFF): OFF
--   SDL_PTHREADS_SEM            (Wanted: OFF): OFF
--   SDL_PULSEAUDIO              (Wanted: OFF): OFF
--   SDL_PULSEAUDIO_SHARED       (Wanted: OFF): OFF
--   SDL_RENDER_D3D              (Wanted: ON): ON
--   SDL_RENDER_METAL            (Wanted: OFF): OFF
--   SDL_RPATH                   (Wanted: OFF): OFF
--   SDL_RPI                     (Wanted: OFF): OFF
--   SDL_SNDIO                   (Wanted: OFF): OFF
--   SDL_SNDIO_SHARED            (Wanted: OFF): OFF
--   SDL_SSE                     (Wanted: ON): ON
--   SDL_SSE2                    (Wanted: ON): ON
--   SDL_SSE3                    (Wanted: ON): ON
--   SDL_SSEMATH                 (Wanted: ON): ON
--   SDL_STATIC_PIC              (Wanted: OFF): OFF
--   SDL_TESTS                   (Wanted: OFF): OFF
--   SDL_VIRTUAL_JOYSTICK        (Wanted: ON): ON
--   SDL_VIVANTE                 (Wanted: OFF): OFF
--   SDL_VULKAN                  (Wanted: ON): ON
--   SDL_WASAPI                  (Wanted: ON): ON
--   SDL_WAYLAND                 (Wanted: OFF): OFF
--   SDL_WAYLAND_LIBDECOR        (Wanted: OFF): OFF
--   SDL_WAYLAND_LIBDECOR_SHARED (Wanted: OFF): OFF
--   SDL_WAYLAND_QT_TOUCH        (Wanted: OFF): OFF
--   SDL_WAYLAND_SHARED          (Wanted: OFF): OFF
--   SDL_X11                     (Wanted: OFF): OFF
--   SDL_X11_SHARED              (Wanted: OFF): OFF
--   SDL_X11_XCURSOR             (Wanted: OFF): OFF
--   SDL_X11_XDBE                (Wanted: OFF): OFF
--   SDL_X11_XFIXES              (Wanted: OFF): OFF
--   SDL_X11_XINPUT              (Wanted: OFF): OFF
--   SDL_X11_XRANDR              (Wanted: OFF): OFF
--   SDL_X11_XSCRNSAVER          (Wanted: OFF): OFF
--   SDL_X11_XSHAPE              (Wanted: OFF): OFF
--   SDL_XINPUT                  (Wanted: ON): ON
--
--  CMAKE_C_FLAGS_DEBUG:   -g
--  CMAKE_CXX_FLAGS_DEBUG: -g
--
--  CFLAGS:         -idirafter "D:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-src/src/video/khronos"
--  EXTRA_CFLAGS:   -Wall -fno-strict-aliasing -Werror=declaration-after-statement -Wdeclaration-after-statement -fvisibility=hidden -Wshadow -fdiagnostics-color=always -mmmx -m3dnow -msse -msse2 -msse3
--  EXTRA_LDFLAGS:  -Wl,--no-undefined
--  EXTRA_LIBS:    m;user32;gdi32;winmm;imm32;ole32;oleaut32;version;uuid;advapi32;setupapi;shell32;dinput8
--
--  Build Shared Library: ON
--  Build Static Library: ON
--  Build Static Library with Position Independent Code: OFF
--
-- Fetching spdlog ...

Error while processing D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Log.cpp.

Suppressed 92745 warnings (92745 in non-user code).

Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.

Found compiler error(s).

[485/489] Building CXX object src/app/CMakeFiles/App.dir/App/Main.cpp.obj
FAILED: src/app/CMakeFiles/App.dir/App/Main.cpp.obj
C:\msys64\mingw64\bin\cmake.exe -E __run_co_compile --tidy=C:/msys64/mingw64/bin/clang-tidy.exe;--extra-arg-before=--driver-mode=g++ --source=D:/dev/tmp/cpp-gui-template-sdl2/src/app/App/Main.cpp -- C:\msys64\mingw64\bin\c++.exe -DAPP_ENABLE_ASSERTS -DAPP_PROFILE -DDEBUG -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -ID:/dev/tmp/cpp-gui-template-sdl2/src/app -ID:/dev/tmp/cpp-gui-template-sdl2/src/core -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/fmt-src/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/spdlog-src/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-build/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-build/include-config-debug -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/imgui-src -g -Wall -Wextra -Wnon-virtual-dtor -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wformat=2 -Werror -Wmisleading-indentation -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Wuseless-cast -std=gnu++20 -MD -MT src/app/CMakeFiles/App.dir/App/Main.cpp.obj -MF src\app\CMakeFiles\App.dir\App\Main.cpp.obj.d -o src/app/CMakeFiles/App.dir/App/Main.cpp.obj -c D:/dev/tmp/cpp-gui-template-sdl2/src/app/App/Main.cpp
error: unknown warning option '-Wduplicated-branches' [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wduplicated-cond' [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wuseless-cast' [clang-diagnostic-unknown-warning-option]
147264 warnings and 8 errors generated.

Error while processing D:/dev/tmp/cpp-gui-template-sdl2/src/app/App/Main.cpp.

Suppressed 147265 warnings (147264 in non-user code, 1 NOLINT).

Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.

Found compiler error(s).

[486/489] Building CXX object src/core/CMakeFiles/Core.dir/Core/Window.cpp.obj
FAILED: src/core/CMakeFiles/Core.dir/Core/Window.cpp.obj
C:\msys64\mingw64\bin\cmake.exe -E __run_co_compile --tidy=C:/msys64/mingw64/bin/clang-tidy.exe;--extra-arg-before=--driver-mode=g++ --source=D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Window.cpp -- C:\msys64\mingw64\bin\c++.exe -DAPP_ENABLE_ASSERTS -DAPP_PROFILE -DDEBUG -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -ID:/dev/tmp/cpp-gui-template-sdl2/src/core -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/fmt-src/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/spdlog-src/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-build/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-build/include-config-debug -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/imgui-src -g -Wall -Wextra -Wnon-virtual-dtor -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wformat=2 -Werror -Wmisleading-indentation -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Wuseless-cast -std=gnu++20 -MD -MT src/core/CMakeFiles/Core.dir/Core/Window.cpp.obj -MF src\core\CMakeFiles\Core.dir\Core\Window.cpp.obj.d -o src/core/CMakeFiles/Core.dir/Core/Window.cpp.obj -c D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Window.cpp
error: unknown warning option '-Wduplicated-branches' [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wduplicated-cond' [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wuseless-cast' [clang-diagnostic-unknown-warning-option]
147250 warnings and 8 errors generated.

Error while processing D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Window.cpp.

Suppressed 147253 warnings (147250 in non-user code, 3 NOLINT).

Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.

Found compiler error(s).

[487/489] Building CXX object src/core/CMakeFiles/Core.dir/Core/Application.cpp.obj
FAILED: src/core/CMakeFiles/Core.dir/Core/Application.cpp.obj
C:\msys64\mingw64\bin\cmake.exe -E __run_co_compile --tidy=C:/msys64/mingw64/bin/clang-tidy.exe;--extra-arg-before=--driver-mode=g++ --source=D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Application.cpp -- C:\msys64\mingw64\bin\c++.exe -DAPP_ENABLE_ASSERTS -DAPP_PROFILE -DDEBUG -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -ID:/dev/tmp/cpp-gui-template-sdl2/src/core -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/fmt-src/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/spdlog-src/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-build/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-build/include-config-debug -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/imgui-src -g -Wall -Wextra -Wnon-virtual-dtor -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wformat=2 -Werror -Wmisleading-indentation -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Wuseless-cast -std=gnu++20 -MD -MT src/core/CMakeFiles/Core.dir/Core/Application.cpp.obj -MF src\core\CMakeFiles\Core.dir\Core\Application.cpp.obj.d -o src/core/CMakeFiles/Core.dir/Core/Application.cpp.obj -c D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Application.cpp
error: unknown warning option '-Wduplicated-branches' [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wduplicated-cond' [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wuseless-cast' [clang-diagnostic-unknown-warning-option]
148957 warnings and 8 errors generated.
Error while processing D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Application.cpp.
Suppressed 148961 warnings (148957 in non-user code, 4 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.

Found compiler error(s).

ninja: build stopped: subcommand failed.

For posterity, as we never followed up on this, we (me and @andgeno) paired on this, the bulk of fixes came in in this PR https://github.com/MartinHelmut/cpp-gui-template-sdl2/pull/2 and it should now compile under Windows without issues. Therefore I'm closing this issue 🙌🏻


WIP - refactor to build on versioned rstudio base image

I've had a go at creating a new R Studio image so we can upgrade everyone to R Studio v1.1 without changing their version of R.
See here for my attempt to describe what i've included and why

Could you check in particular that I've got this bit right:
https://github.com/ministryofjustice/analytics-platform-rstudio/blob/643c2712af0e18cfb2ace7ad6d7715cb03c3948b/Dockerfile#L41


glib-macros: Use absolute paths to the StaticType trait

Otherwise code using it derive macros needs to have it in scope already,
which is not very user-friendly.

CC @gdesmott

@GuillaumeGomez This should probably also get a bugfix release.


EDC - Architecture Documentation

Description
As an EDC stakeholder,
I want to have an easy way to understand basic concepts of the EDC and I need a map to trace certain features to their implementation.
For that an architecture document should be started that gives a structural overview of the components that build up an EDC and describes general mechanisms like the extension mechanism.

[ ] An analysis of existing documentation is done and input is gathered
[ ] Major stakeholders in the development team are asked for their input
[ ] An initial architecture document is created and agreed by the developer community

Impact
None, as this is pure documentation
Additional information

[x] I'm willing to contribute to this feature

was presented in open planning ⇾ developer and committer are involved

Hello @lgblaumeiser
Since the feature is a 24.08 feature and the development phase is coming to an end, we need a status on the feature.

[ ] Currently you are assigned (Responsible) → Is this correct? If not, please assign the correct contact person
[ ] Please check whether the status (backlog, work in progress ...) is set correctly
[ ] Please check whether there is an assignment to a committee or expert group (supported-by) to be found on the board
[ ] Please comment on the current status of the feature
[ ] Are all SubTasks (issues from other repositories that deal with the feature) linked? → The easiest way is to mention the feature here in the issue (via the ID) so we can see which teams/repositories are involved.

If you need any clarification, please get in touch, thank you very much.
Stephan

2024-06-11: In Progress, currently no heavy activity

2024-06-11:

[x]  Currently you are assigned (Responsible) → Is this correct? If not, please assign the correct contact person
[x]  Please check whether the status (backlog, work in progress ...) is set correctly
[x]  Please check whether there is an assignment to a committee or expert group (supported-by) to be found on the board
[x]  Please comment on the current status of the feature:
In Progress, currently no heavy activity
[x]  Are all SubTasks (issues from other repositories that deal with the feature) linked? → The easiest way is to mention the feature here in the issue (via the ID) so we can see which teams/repositories are involved.

Spillover for next release

Presented in the DRAFT Feature Freeze -> Committer is available

De-Prioritized and closed

Issue already closed -> new status DONE


Increase coverage by improving e2e and unit testing

Significantly redesigned the e2e testing to allow testing of zooming and
checking that values changes if we wait enough in e2e.
Add also unit testing and fix issues found left and right

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.85%. Comparing base (509217f) to head (1c69705).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@                       Coverage Diff                        @@
##           make_classname_configurable      #15       +/-   ##
================================================================
+ Coverage                        48.58%   69.85%   +21.27%
================================================================
  Files                               40       40
  Lines                              953      962        +9
  Branches                           199      204        +5
================================================================
+ Hits                               463      672      +209
+ Misses                             408      240      -168
+ Partials                            82       50       -32

Flag
Coverage Δ

integration
69.85% <100.00%> (+21.27%)
:arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


MudTable: Fixed table grouping item selection issue (#5759)

Description
Fixed the table grouping selection issue where the selection is not reflected if the expander is reopened because of the one-way binding.
Resolves #5759
How Has This Been Tested?
Tested visually
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Before change:

After fix:

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

For some time now we've been avoiding the table grouping + selection feature because of this bug.
Could this PR please be reviewed? It would also fix #3553

Hi @mikes-gh what is the next step for this PR?  does it requires further review? if yes, can you Tag the right person for the same?   Thanks in advance.

Hi @Gopichandar Im still waiting on my code comments that haven't been completed

Have you checked that this works with virtualisation?

Have you checked that this works with virtualisation?

yes, this has been tested on virtualisation as well.

@Gopichandar Still need to sort the code comments please.

Hi @mikes-gh , I couldn't see any comments on my code. Anything Im missing here?

Sorry maybe my mistake Do you see them now?

Able to see them now. Thanks.

Hi @mikes-gh , anything else pending here?

thank you

Awesome! Thanks guys.


Add a Parameter for ID of external Powermeter

Great software and exactly, what I needed. Many thanks.
The ID of the external PM  in my E3DC S10 is 4 and not 6. Therefore I had to change RscpMqttMain.cpp the line
protocol.appendValue(&PMContainer, TAG_PM_INDEX, (uint8_t)6); to
protocol.appendValue(&PMContainer, TAG_PM_INDEX, (uint8_t)4);
It would be probably a good idea, to add a parameter e.g. PM_INDEX to the config file.

Hi maaque,
thank you for your feedback.
It is exciting to see the differences between the S10 systems.
I will implement this as a configuration option in the next version.
Best regards
Thomas

Perfekt
Viele Grüße
Matthias

Fixed by release v3.14.
Please add the line to your .config:
PM_INDEX=4
and remove:
PM_EXTERN=true

Works perfectly. Thanks


ScanWindow doesn't seem right.

Hi
ScanWindow is wrong when fit:BoxFit.cover. Areas other than the left and right sides of the designated area can still be identified;

Can you please try again with version 3.0.0?

@juliansteenbakker I have the same issue here. Would like some advice on how to properly calculate ScanWindow when using "cover" as fit.


InputContainer should center its label/hint relative to its child

In the example below the label/hint is top justified relative to the InputContainer's dropdown child. It should be vertically centered.
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

class InputContainerLayout extends StatefulWidget {
  @override
  _InputContainerLayoutState createState() => new _InputContainerLayoutState();
}

class _InputContainerLayoutState extends State<InputContainerLayout> {
  static final List<String> _dropdownItems = <String>['One', 'Two', 'Very very wide', 'Four'];
  String _dropdownValue;

  @override
  Widget build(BuildContext context) {
    debugPaintSizeEnabled = true;
    return new Scaffold(
      appBar: new AppBar(
        title: new Text('InputContainer Layout'),
      ),
      body: new DropdownButtonHideUnderline(
        child: new Center(
          child: new InputContainer(
            isEmpty: _dropdownValue == null,
            labelText: 'label/hint',
            child: new DropdownButton<String>(
              isDense: true,
              value: _dropdownValue,
              onChanged: (String newValue) {
                setState(() {
                  _dropdownValue = newValue;
                });
              },
              items: _dropdownItems.map((String value) {
                return new DropdownMenuItem<String>(
                  value: value,
                  child: new Text(value),
                );
              }).toList(),
            ),
          ),
        ),
      ),
    );
  }
}

void main() {
  runApp(new MaterialApp(home: new InputContainerLayout()));
}

@HansMuller Is this covered by the work you're doing for text input?

HI @HansMuller  @Hixie
Is this issue still valid?
Thank you

The InputContainer has been replaced in #9119 and now it does not exist.
Please close this issue.
cc @Hixie @TahaTesser

@YeungKC
I knew about that, wasn't sure to close the issue.
Thank you


Fix production app...

Look into the logs and figure out what's going on

Need to add JAWS to Heroku!!!

Problem solved!


support for Tensorflow 2.0

Do you have any plan to support Tensorflow-based models?

Sorry, we don't have any plans to support TensorFlow version. Thanks.


Risk R006: 💨 Runbook For Secrets in Operations Engineering Mono Repo

User Need
As a member of Operations Engineering
I want to be able to quickly understand the purpose, scope and how to rotate a given secret
so that I can easily assess the impact of removing, amending or updating a secret. Also, so if a secret needs to be rotated, this can be done without too much thought.
Value
The operations-engineering repository hosts many secrets, for communicating with many third-party services across several processes.
Documenting the purpose and scope of each secret will help to identify "black box" secrets which are not easily understood by the team. Which should lead to further investigation in another ticket.
Documenting the appropriate rotation method for each secret will ensure minimal disruption when secrets are required to be rotated and help in automating the process in the future.
Functional Requirements:

[ ] A new runbook has been created, describing the secrets held within the operations-engineering repository. Some ideas of what to detail in the runbook are (all these don't need to be included, list is given to generate initial ideas:

Purpose of the secret
Scope of the secret/permissions i.e. admin, read, write etc.
Current rotations method manual/automatic
Using an individual's Personal Access Token or using a Bot Account PAT?
Modernisation Platform Secret Rotation Guidance for an example of this type of runbook

[ ] Secrets that are not well understood have been highlighted in the document, with a separate ticket to investigate further

Non-Functional Requirements:

[ ] Runbook is easy to read and understand for someone with minimal knowledge of our tools and processes

Acceptance Criteria:

[ ] A runbook has been created which gives sufficient details for someone to confidently/understand the risk of rotating a given secret within the operations-engineering repository.
[ ] Where a secret takes too much time to understand, a separate ticket has been raised for further investigation - and the lack of understanding is highlighted in the runbook.

Notes:

Some secrets may be deprecated, unused or not managed by us directly (Cloud Platform populate some secrets in the repository, for example). If it takes too much time to understand a secret, raise a separate ticket for it and highlight the lack of understanding in the runbook.
We have secrets in other repositories as well - it would be good to understand these, but this is out of the scope of this ticket.

Rationalising GitHub Personal Access Tokens for MOJ-Operations-Engineering-Bot #4007

R006: 🔐 Secret Naming Standard in operations-engineering #4324


enable scm to regsitry substitution

motivation: support registry based depedendencies
changes: enabe the "swizzle" mode by default, which would replace a dependency that comes from source control with one that comes frmo the regsitry when the identity mapping is known

@swift-ci smoke test


Refactor duplicate code

utils/graph.py: build_atomic_graph / build_residue_graph

features/surfacearea.py:

add_sasa_for_residues and add_sasa_for_atoms
add_sasa and and_bsa can be fused
test_surfacearea has duplicate code

query.py:

SingleResidueVariantResidueQuery and SingleResidueVariantAtomicQuery
ProteinProteinInterfaceAtomicQuery and ProteinProteinInterfaceResidueQuery
also check for overlapping code between SingleResidueVariant and ProteinProteinInterface type classes

likely in other places as well

there's often duplicate code for atomic and residue level graphs

was automatically closed, but not done. I will reopen it now


Update commons-io to 2.9.0

Updates commons-io:commons-io from 2.6 to 2.9.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.6).
You might want to review and update them manually.
benchmarks/results/redis/0.5.1.md
project/Dependencies.scala
s3/src/it/resources/244KB.csv
s3/src/it/resources/test.csv
website/static/img/monix-logo.svg

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "commons-io", artifactId = "commons-io" } ]

labels: test-library-update, old-version-remains

Superseded by #666.


Version updates

THIS SHOULD BE INCORPORATED INTO THE REPOSITORY RIGHT BEFORE THE NEXT RELEASE
Updating the version to align with the w.x.y.z versioning scheme. updating the readme file to explain the new versioning scheme.
Saying 1 -> CQL 1.3
the !!date!! needs to be changed to the appropriate release date
release number needs to be confirmed

Pull requests into cqm-execution require the following. Submitter and reviewer should :white_check_mark: when done. For items that are not-applicable, note it's not-applicable ("N/A") and :white_check_mark:.
Submitter:

[x] This pull request describes why these changes were made.
[x] Code diff has been done and been reviewed

Reviewer 1:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose

Codecov Report

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

@@          Coverage Diff          @@
##           master    #26   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          40     40
=====================================
  Hits           40     40

Continue to review full report at Codecov.

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

@jbradl11 @dczulada updated


can't run gatsby develop

gatsby-cli is installed globally, and npm i is OK, but gatsby develop is crying:

On Ubuntu 20.04; node v14.0.0, npm 7.10.0, Gatsby CLI version: 3.4.0

Hi @j2l , this sounds like an issue of a missing globally installed node modules, try using npm run develop instead or follow the steps here to fix your global node modules path:
https://stackoverflow.com/questions/15054388/global-node-modules-not-installing-correctly-command-not-found/15623632#15623632

Thank you @teleaziz
Actually, when starting with a fresh new gatsby, then adding builder it worked.

Personally when I install gatsby under ubuntu, I always have to do: sudo npm install -g gatsby-cli
then I sudo chown -R :users /usr/lib/node_modules/ because my user is in that group.


chore(main): release 0.3.0

:robot: I have created a release beep boop
0.3.0 (2024-01-30)
Features

add test-only option to estimate start time (4ee01c4)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mbhall88/ssubmit/releases/tag/0.3.0 :sunflower:


Add triage automation

Codecov Report

Merging #1314 (ac237f8) into main (66bb275) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1314   +/-   ##
=======================================
  Coverage   95.00%   95.00%
=======================================
  Files           2        2
  Lines          20       20
=======================================
  Hits           19       19
  Misses          1        1

Flag
Coverage Δ

dotnet
95.00% <ø> (ø)

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

Is there any way to automate adding matched issues to the project board? I don't think GH lets you view all issues with a certain tag across multiple repositories, so an easy way to check them all in a fair order would be nice.

Plan is just to cover this repo as well in triage, which will mostly involve categorizing the issues with labels - unless you have a better suggestion!

There's a good view of issues requiring triage on https://github.com/orgs/Azure/projects/115, but we have to manually add issues to the board to have them show up there. There should be a way to have GH actions or fabricbot take care of that first step.


About RTCMulticonnection Doubt

Dear Muaz,
I have some doubt please do needful.
i have developing a application which is about online conference so my doubt is that is there any limitation to join conference means if i open room then how many persons can connect on that room ?  And what is the required internet bandwidth ??
Thank You in Advance

Hello,
I have found some parameter for your question.
You can search under demos question's answer from muaz. Sometimes he shares important info there.
This is written by Muaz :
RTCMultiConnection uses peer-to-peer protocols e.g. mesh/star/etc. Which means that it can merely support maximum 3-to-5 users per room.
Each user requires 120 MB RAM as well as 150 kilo bits per second bandwidth. So you can compare system requirements for 3-to-5 users.
Screen requires 50 kbp/s extra bandwidth as well as CPU usage.
If users are connected using TURN (relay) then stream will be 95% slow comparing pure peer-to-peer (STUN) streaming. Which means that we have no solution to keep streaming quality & latency for TURN based users.
You may wanna check these two demos as well: MCU inside the browser and SFU inside the browser.
You can use SFU on server side (jtisi/etc.) to

keep stream quality for all users
apply less burden on server
support many users (e.g. 14 or more) per each room
etc. (however this solution requires a media server)

Also you can view your stats :
https://www.webrtc-experiment.com/getStats/


Fix load of components without any config from packages

Description:
Add None to the packages config schema validation, to be able to load components without any additional configuration from yaml package files, like wake_on_lan:, media_extractor: and so on.
Now, these components only can be loaded when defined in the main configuration.yaml file.

Test plzzzzz

Test plzzzzz

Done.


ttygif init at 1.4.0

Motivation for this change
add ttygif to nixpkgs
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@GrahamcOfBorg build ttygif

@matthewbauer I not sure if I did this right. I set the platform to platforms.linux. Does this work or did you have something else in mind?

that works

@GrahamcOfBorg build ttygif


fix xsd:list code gen

fixes #35
technically, if the list item_type isn't an Enum, this probably wouldn't work.  But that doesn't occur in the OME schema, so this solution will suffice for us.
Note: this creates a new problem for XML writing, I'll create a new issue for that.

Note: this creates a new problem for XML writing, I'll create a new issue for that.

nevermind... fixed that too


Fix incorrect value of outputKeys on AnalyzeDocumentsChain

@vowelparrot I only caught this because I saw a similar mistake in JS while doing this https://github.com/hwchase17/langchainjs/pull/843


[VL] Daily Update Velox Version (2024_04_26)

Upstream Velox's New Commits:
1daeb9dc7 by Masha Basmanova, Optimize copying null bits in FlatVector::copyValuesAndNulls
6e2184f51 by Bikramjeet Vig, Back out "Back out "[velox][PR] Refactor greatest and least Presto functions using simple function API""
a586a6997 by Bikramjeet Vig, Fix execution of lambda expressions
2f423d868 by Wei He, Run aggregation and window fuzzer tests at PR time
a9a620d4d by Jacob Wujciak-Jens, Add nightly job to track build metrics (9460)
6570db596 by Jacob Wujciak-Jens, Fix naming of generated signatures files. (9624)
6664d6454 by Yoav Helfman, Adding backward compat format conversion
b61ac061e by Jimmy Lu, Filter out null map key entries by default
6c0bcb49d by Ankita Victor, Add array_size Spark function (9516)
61d718dd1 by zhli1142015, Ensure ConnectorQueryCtx does not become a dangling pointer when SplitPreload is enabled (9544)
d97ddb410 by Minhan Cao, Adding decimal support for min() and max() functions (9005)
a689fd4d3 by Pedro Eugenio Rocha Pedreira, Fix macOS build failure
a40dd5562 by Pramod, Configure referenceDB request timeout (9537)
b1c993b95 by Masha Basmanova, Add support for custom types to DuckParser
4e075a0ef by Masha Basmanova, Fix json_extract for non-definite paths (paths with wildcards)
abfcf12a7 by Yoav Helfman, Rename a missed enum and a bit more (9549)
d0221e6a2 by Masha Basmanova, Allow invalid UTF-8 in cast(varchar as json)

The failed unit tests is related:
https://github.com/facebookincubator/velox/pull/9604

/Benchmark Velox

is it possible to always run a benchmark after merging Velox daily update pr ?

is it possible to always run a benchmark after merging Velox daily update pr ?

Yes, there's actually a TPCH perf check job on merge currently. The job should be triggered after merge. However there are some unstable issues in intel labs recently, which makes the job not able to run for some time. Will try to move the job to a new server to make it more stable
thanks,
-yuan

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_5543_time.csv
log/native_master_04_25_2024_8ade7a9cb_time.csv
difference
percentage

q1
35.52
36.23
0.711
102.00%

q2
23.90
23.67
-0.230
99.04%

q3
36.82
39.09
2.269
106.16%

q4
37.83
37.31
-0.515
98.64%

q5
67.14
69.05
1.910
102.84%

q6
7.06
5.64
-1.419
79.91%

q7
80.99
84.14
3.145
103.88%

q8
86.01
85.57
-0.438
99.49%

q9
122.12
123.29
1.165
100.95%

q10
47.80
46.88
-0.926
98.06%

q11
20.64
20.38
-0.264
98.72%

q12
27.42
28.18
0.767
102.80%

q13
54.67
55.46
0.790
101.44%

q14
18.14
17.25
-0.895
95.06%

q15
30.19
31.27
1.086
103.60%

q16
14.27
13.89
-0.374
97.38%

q17
104.76
104.73
-0.028
99.97%

q18
146.04
145.71
-0.321
99.78%

q19
13.68
13.71
0.027
100.20%

q20
29.00
27.47
-1.533
94.71%

q21
293.17
286.10
-7.072
97.59%

q22
14.75
14.41
-0.341
97.69%

total
1311.93
1309.44
-2.488
99.81%

note: follow up needed https://github.com/apache/incubator-gluten/issues/5556


Subdomain implementation requires unique subdomains

Because subdomains are still NFTs, they have to be unique, yadda yadda

kinda think this might be a thing for clients to solve, like by prefixing with the wallet address maybe (or short hash of that)

although the simplest solution is still to allow for long subdomains with a validation on the root part
maybe this is a new function, mint_subdomain, that calls mint under the hood but has some additional functionality.
validation:

change to allow / character

on mint:

validate / is present
check sender is owner of root
check all intermediate parts resolve

then clear any subdomains on send/xfer:

find all tokens for owner
find all that begin with token being xfer'd
burn (?)

probably do with #58


Simple fsm

Codecov Report

Merging #2 into master will increase coverage by 0.52%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
+ Coverage   80.55%   81.08%   +0.52%
==========================================
  Files           5        5
  Lines         180      185       +5
==========================================
+ Hits          145      150       +5
  Misses         30       30
  Partials        5        5

Impacted Files
Coverage Δ

stack.go
66.66% <100%> (ø)
:arrow_up:

fsm.go
85.44% <100%> (+0.47%)
:arrow_up:

Continue to review full report at Codecov.

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


RT-5.8: IPv6 Link Local : Changes to await for interface up check after replace config for OTG

RT-5.8: IPv6 Link Local : Changes to await for interface up check after replace config for OTG configuration to avoid OTG failures.

Pull Request Functional Test Report for #3456 / addfd3854c050bdeed7ea69d7b8d80345e49338c
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

RT-5.8: IPv6 link localRT-5.8: IPv6 Link Local

Cisco 8000E

RT-5.8: IPv6 link localRT-5.8: IPv6 Link Local

Cisco XRd

RT-5.8: IPv6 link localRT-5.8: IPv6 Link Local

Juniper ncPTX

RT-5.8: IPv6 link localRT-5.8: IPv6 Link Local

Nokia SR Linux

RT-5.8: IPv6 link localRT-5.8: IPv6 Link Local

Openconfig Lemming

RT-5.8: IPv6 link localRT-5.8: IPv6 Link Local

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

RT-5.8: IPv6 link localRT-5.8: IPv6 Link Local

Cisco 8808

RT-5.8: IPv6 link localRT-5.8: IPv6 Link Local

Juniper PTX10008

RT-5.8: IPv6 link localRT-5.8: IPv6 Link Local

Nokia 7250 IXR-10e

RT-5.8: IPv6 link localRT-5.8: IPv6 Link Local

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

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

Totals

Change from base Build<PHONE_NUMBER>1:
0.0%

Covered Lines:
1983

Relevant Lines:
3588

💛  - Coveralls


Disable wheel gestures when scroll next and previous are both false

Hello there and thanks for this great plugin!
Is there any way to disable wheel gestures when there are not enough slides to scroll? Right now when emblaApi.canScrollPrev() and emblaApi.canScrollNext() are false, I can still drag slides with wheel gestures and it snaps back into the place.
Best,

You would need to not pass the plugin in the plugins array in case u have less items.

Thanks for the reply. Do you have any responsive solution for this?
This is going to change the ref when screen size changes, destroy and carousel, reinit it and defy the use of breakpoints.


[iOS] zoomTo not implemented

Problem
Calling controller.zoomTo on iOS does nothing, after looking into it I noticed that on iOS zoomTo is not implemented, the only references to zooming is a commented out for pinch to zoom https://github.com/mtellect/CameraDeepAR/blob/32ba7e9c8d08a4dbcb69a6e124e768b82b800162/ios/Classes/SwiftCameraDeepArPlugin.swift#L402-L422

Sorry this feature hasn't been tested properly, that's why it's commented out.

No problem, just wanted to make sure it was brought to your attention


Rounding differs between game and simulation

Required Information
Class: Weaver
Level: 46
Craftsmanship: 201
Control: 203
CP: 265
Recipe Name: Undyed Felt
Recipe Level:43
Solver Seed: 170519
Expected Behaviour
Standard Synthesis is 76
Actual Behaviour
Standard Synthesis is 77
Steps To Reproduce
Have a non-even progress increase value, and use Standard Synthesis. The game rounds down (i.e.  76.5 becomes 76), whereas the solve rounds up (76.5 becomes 77).
Solver Sample vs. in-game log
Monte Carlo Random Example
==========================
 # Action                           DUR    CP      QUA      PRG    IQ  WWYW   CTL  QINC  BPRG  BQUA   WAC       Cond   S/F
 0                                   40   265        0        0     0     0   203     0     0     0     0     Normal     0
 1 Inner Quiet                       40   247        0        0     0     0   203     0     0     0     0     Normal     1
 2 Advanced Touch                    30   199      160        0     1     0   203   160     0   160     0     Normal     1
 3 Steady Hand                       30   177      160        0     1     0   244     0     0     0     0     Normal     1
 4 Great Strides                     30   145      160        0     1     0   244     0     0     0     0     Normal     1
 5 Advanced Touch                    20    97      526        0     2     0   244   366     0   366     0     Normal     1
 6 Great Strides                     20    65      526        0     2     0   284     0     0     0     0       Good     1
 7 Advanced Touch                    10    17     1143        0     3     0   284   617     0   411     0     Normal     1
 8 Standard Synthesis                 0     2     1143       77     3     0   325     0    77     0     0       Good     1
Progress Check: true, Durability Check: true, CP Check: true, Tricks Check: true, Reliability Check: true, Cross Class Skills: 0, Wasted Actions: 0

Our model does round down, but the accuracy of the number before rounding is not perfect. It's a known problem. You can try tweak your craftsmanship values in the simulator buffs panel until it gets the right value.

Is there an open issue to track this?

No, it's basically an unsolvable problem. The game developers choose to round the values at one or more points in the calculations and it's very hard if not impossible for us to determine where those points are.


The !min-w-fit class does not exist.

Current Behavior
Using input group sample markup from documentation page:
https://www.skeleton.dev/elements/forms#input-groups

(segment)

	<input type="search" placeholder="Search..." />
	<button class="variant-filled-secondary">Submit</button>

Within an component results in vite exception:

[plugin:vite:css] [postcss]
node_modules/@skeletonlabs/skeleton/src/lib/styles/tailwind.css:13:1:
The !min-w-fit class does not exist.
If !min-w-fit is a custom class, make sure it is defined within a @layer directive.

Reproduction / Steps To Reproduce

Go to input groups docs:
https://www.skeleton.dev/elements/forms#input-groups
Copy example code

(segment)

	<input type="search" placeholder="Search..." />
	<button class="variant-filled-secondary">Submit</button>

Place into a component
Try to use the component

Anything else?

Project was created with skeleton CLI.
Recently upgraded both skeleton and tailwind.
I'm new to skeleton and tailwind. Maybe this is user error.
This is the only component I've tried that doesn't work for me so far...

/workspace # npm list --depth=0
<EMAIL_ADDRESS>/workspace
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
tailwind.config.cjs
const plugin = require('tailwindcss/plugin');

/** @type {import('tailwindcss').Config} */
module.exports = {
	darkMode: 'class',
	content: ['./src/**/*.{html,js,svelte,ts}', require('path').join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')],
	theme: {
		extend: {},
		minWidth: {
			'metrics': '140px',
		},
	},
	plugins: [
		require('@tailwindcss/forms'),
		require('@tailwindcss/typography'),
		...require('@skeletonlabs/skeleton/tailwind/skeleton.cjs')(),
		plugin(function({ addBase }) {
			addBase({
				html: {
					fontSize: '12px'
				},
			})
		}),
	],
}

Hey @calmdev I see your error in the Tailwind config - don't worry this trips up a lot of fucks. It's one of those situations where they give you "just enough rope to hang yourself". But in the config you have theme.extend and theme.minWidth. If you place anything directly under theme (not within extend) you're basically telling Tailwind to nuke all the defaults it provides and replace them with only the values you specify.
In this case you're use of theme.minWidth is nuking all the min-width defaults!
https://tailwindcss.com/docs/min-width
Move that up into the theme object and you should be good to go!

Thank you! That helped me and it works perfectly now.


User back to login page after successful login

Bug
After a successful login attempt, the user is redirected back to the home
page, where he sees the login button.
When you reload that page however, all is fine. So it looks like the page
does not register the login state?

Seems to be due to SameSite: SameSiteStrictMode. The biblio-backoffice does not use this cookie setting.
Also, the second time you login (after an explicit logout), all is fine.

@nicolasfranck will you fix it?


ra: fix ztunnel CSR validation

Please provide a description of this PR:
When operating in RA mode, Istiod fails validation of CSRs from ztunnel. This is due to a strict check on the CSR having to have an empty O= in Subject.
This check is introduced in https://github.com/istio/istio/pull/51966 and seems to be very specific on asserting CSRs confirm to the way Sidecar issues them.
This fix solves the issue with ztunnel but would like to tag @jaellio on the intention of the original check and if this fix is the most appropriate way to approach this.

Hi @zliu-rh. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

/ok-to-test


Just add import to new project and hav now lot of errors

../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/configure_web.dart:1:8: Error: Not found: 'dart:html'
import 'dart:html';
^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/configure_web.dart:4:8: Error: Error when reading '../../flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart': Das System kann den angegebenen Pfad nicht finden.
import 'package:flutter_web_plugins/src/navigation/url_strategy.dart';
^
../../flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.2/lib/js.dart:8:1: Error: Not found: 'dart:js'
export 'dart:js' show allowInterop, allowInteropCaptureThis;
^
../../flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.2/lib/js_util.dart:8:1: Error: Not found: 'dart:js_util'
export 'dart:js_util';
^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/web_url_strategy.dart:3:30: Error: Type 'PathUrlStrategy' not found.
class WebUrlStrategy extends PathUrlStrategy {
^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/web_url_strategy.dart:8:9: Error: Type 'PlatformLocation' not found.
final PlatformLocation _platformLocation;
^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart:33:20: Error: The method 'promiseToFuture' isn't defined for the class 'KeycloakService'.

'KeycloakService' is from 'package:keycloak_flutter/src/keycloak_service.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart').
Try correcting the name to the name of an existing method, or defining a method named 'promiseToFuture'.
authed = await promiseToFuture(_keycloak.init(initOptions));
^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart:41:31: Error: The method 'allowInterop' isn't defined for the class 'KeycloakService'.
'KeycloakService' is from 'package:keycloak_flutter/src/keycloak_service.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
_keycloak.onAuthSuccess = allowInterop(() {
^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart:44:29: Error: The method 'allowInterop' isn't defined for the class 'KeycloakService'.
'KeycloakService' is from 'package:keycloak_flutter/src/keycloak_service.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
_keycloak.onAuthError = allowInterop((error) {
^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart:48:25: Error: The method 'allowInterop' isn't defined for the class 'KeycloakService'.
'KeycloakService' is from 'package:keycloak_flutter/src/keycloak_service.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
_keycloak.onReady = allowInterop((authenticated) {
^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart:52:36: Error: The method 'allowInterop' isn't defined for the class 'KeycloakService'.
'KeycloakService' is from 'package:keycloak_flutter/src/keycloak_service.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
_keycloak.onAuthRefreshError = allowInterop(() {
^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart:56:30: Error: The method 'allowInterop' isn't defined for the class 'KeycloakService'.
'KeycloakService' is from 'package:keycloak_flutter/src/keycloak_service.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
_keycloak.onAuthLogout = allowInterop(() {
^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart:59:32: Error: The method 'allowInterop' isn't defined for the class 'KeycloakService'.
'KeycloakService' is from 'package:keycloak_flutter/src/keycloak_service.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
_keycloak.onTokenExpired = allowInterop(() {
^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart:96:15: Error: The method 'promiseToFuture' isn't defined for the class 'KeycloakService'.
'KeycloakService' is from 'package:keycloak_flutter/src/keycloak_service.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart').
Try correcting the name to the name of an existing method, or defining a method named 'promiseToFuture'.
await promiseToFuture(this._keycloak.loadUserProfile());
^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart:140:12: Error: The method 'promiseToFuture' isn't defined for the class 'KeycloakService'.
'KeycloakService' is from 'package:keycloak_flutter/src/keycloak_service.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/keycloak_service.dart').
Try correcting the name to the name of an existing method, or defining a method named 'promiseToFuture'.
return promiseToFuture(this._keycloak.updateToken(minValidity));
^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/web_url_strategy.dart:5:36: Error: Method not found: 'BrowserPlatformLocation'.
this._platformLocation = const BrowserPlatformLocation(),
^^^^^^^^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/web_url_strategy.dart:6:13: Error: Too many positional arguments: 0 allowed, but 1 found.
Try removing the extra positional arguments.
]) : super(_platformLocation);
^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/web_url_strategy.dart:8:9: Error: 'PlatformLocation' isn't a type.
final PlatformLocation _platformLocation;
^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/web_url_strategy.dart:12:19: Error: Superclass has no method named 'getPath'.
var p = super.getPath() + _platformLocation.hash;
^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/keycloak_flutter-0.0.2-pre/lib/src/configure_web.dart:8:3: Error: Method not found: 'setUrlStrategy'.
setUrlStrategy(WebUrlStrategy());
^^^^^^^^^^^^^^
../../flutter/packages/flutter_web_plugins/lib/src/plugin_registry.dart:29:5: Error: Method not found: 'webOnlySetPluginHandler'.
ui.webOnlySetPluginHandler(_binaryMessenger.handlePlatformMessage);
^^^^^^^^^^^^^^^^^^^^^^^

Hi, will take a look at this and push out an update soon.

What flutter version are you using?

Flutter 1.22.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9b2d32b605 (3 weeks ago) • 2021-01-22 14:36:39 -0800
Engine • revision 2f0af37152
Tools • Dart 2.10.5

Hi, this package is for flutter web and only works on the beta branch since flutter web is still in beta.


Added unit test for process.exit

Codecov Report

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

@@          Coverage Diff          @@
##           master   #111   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          32     32
  Lines         665    665
  Branches       82     82
=====================================
  Hits          665    665

Flag
Coverage Δ

#builder
100% <ø> (ø)
:arrow_up:

#runtime
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Fix profile example for V3 api

Signed-off-by: Spike Curtis<EMAIL_ADDRESS>Description
Fixes example Profile to match V3API
Todos

[x] Documentation

Release Note

None required

Deploy preview for calico ready!
Built with commit 39cd9062be9e0f94893939c7910f9330b5232c16
https://deploy-preview-2360--calico.netlify.com


Feature Request - Spiderfied CSS Class

Currently, when the a cluster is spiderfied the default behavior reduces its opacity, but the cluster is still visible with cursor: pointer, so it appears clickable.

If possible, it would be nice for the cluster to get some sort of .spiderfied class after its been spiderfied that allows the user to more easily customize the style of a spiderfied cluster.

@tuckergordon You can add custom css class to the cluster icon listening to spiderfied event (and remove it on unspiderfied), like so:
e.cluster._icon.classList.add('leaflet-marker-spiderfied');