chore(autoware_imu_corrector): refactored the imu corrector into the autoware namespace

Description
Part of the autoware namespace series of PRs
Needs to be merged with: https://github.com/tier4/aip_launcher/pull/273
Related links
Parent Issue:

Link

How was this PR tested?
Tested that the nodes were correctly launched
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@knzo25 Hello. Thank you for the PR. I have a question.
Why did you move the .hpp files to the include/autoware directory?
If they are not intended for external export, they should be placed in the src directory.
https://autowarefoundation.github.io/autoware-documentation/main/contributing/coding-guidelines/ros-nodes/directory-structure/#include-and-src

@knzo25
Thank you for the PR!
I found that sample_sensor_kit_launch also needs modification too, so could you modify sample_sensor_kit_launch too as same as aip_launcher?
https://github.com/autowarefoundation/sample_sensor_kit_launch/blob/main/sample_sensor_kit_launch/launch/imu.launch.xml

@YamatoAndo  @TaikiYamada4
Thanks for the catches.
With regards to the launchers, also awsim was missing, which was addressed in
https://github.com/RobotecAI/awsim_sensor_kit_launch/pull/16
https://github.com/autowarefoundation/sample_sensor_kit_launch/pull/99
There is also awsim_labs, but that should sync itself to the upstream

@YamatoAndo @TaikiYamada4
anything blocking this PR?

@knzo25 Sorry for the confusion. I was waiting, thinking that you would submit a fix PR for other repositories as well.
Could you please also fix the following?
https://github.com/autowarefoundation/autoware_tools/blob/a53a926d1b300a35f948dfe02eece51ace42a24b/localization/deviation_estimation_tools/deviation_evaluator/launch/deviation_evaluator.launch.xml#L54
https://github.com/autowarefoundation/autoware-documentation/blob/f93e489120c1df0f7d4ccb3ebf09a4530be4a56c/docs/how-to-guides/integrating-autoware/creating-vehicle-and-sensor-model/creating-sensor-model/index.md?plain=1#L998
Additionally, could you check if there are any other items that need to be fixed?

@YamatoAndo
Apologies, I missed the documentation one, and completely forgot the existence of the tools repository.
I sent the respective PRs, and used
GHUSER=tier4; curl "https://api.github.com/users/$GHUSER/repos?per_page=1000" | grep -o 'git@[^"]*' | xargs -L1 git clone
GHORG=autowarefoundation; curl "https://api.github.com/orgs/$GHORG/repos?per_page=1000" | grep -o 'git@[^"]*' | xargs -L1 git clone

to check for occurrences in all autowarefoundation and tier4 repositories

@YamatoAndo @TaikiYamada4
friendly ping


Replaced to_tensor() with pil_to_tensor() + convert_image_dtype()

This PR replaces uses of to_tensor() in reference scripts with a combination of pil_to_tensor() + convert_image_dtype(). to_tensor() has some implicit assumptions and is unclear with a number of issues reported with it.
cc @datumbox

Detection training logs with these changes:
detection_training_run.txt

Segmentation training logs with these changes:
segmentation_training_run.txt

@prabhat00155 Can you provide validation runs for pretrained models? We need to ensure that before/after all metrics remain the same for all models.

fasterrcnn_resnet50_fpn:
Without changes:
IoU metric: bbox
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.369
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.585
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.396
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.212
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.403
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.482
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.307
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.485
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.509
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.317
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.544
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.649

With changes:
IoU metric: bbox
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.369
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.585
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.396
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.212
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.403
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.482
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.307
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.485
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.509
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.317
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.544
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.649

fcn_resnet50:
Without changes:
Test: Total time: 0:00:48
global correct: 91.4
average row correct: ['94.0', '80.9', '73.9', '72.3', '49.9', '56.9', '81.0', '66.5', '88.6', '43.2', '75.7', '67.6', '80.9', '84.3', '81.2', '90.9', '49.0', '80.4', '61.2', '77.7', '69.0']
IoU: ['90.3', '72.6', '61.2', '61.6', '42.7', '46.9', '73.0', '53.7', '80.3', '33.6', '64.1', '33.9', '61.2', '72.0', '73.6', '80.7', '29.1', '63.5', '48.2', '71.2', '56.3']
mean IoU: 60.5

With changes:
Test: Total time: 0:00:49
global correct: 91.4
average row correct: ['94.0', '80.9', '73.9', '72.3', '49.9', '56.9', '81.0', '66.5', '88.6', '43.2', '75.7', '67.6', '80.9', '84.3', '81.2', '90.9', '49.0', '80.4', '61.2', '77.7', '69.0']
IoU: ['90.3', '72.6', '61.2', '61.6', '42.7', '46.9', '73.0', '53.7', '80.3', '33.6', '64.1', '33.9', '61.2', '72.0', '73.6', '80.7', '29.1', '63.5', '48.2', '71.2', '56.3']
mean IoU: 60.5

@prabhat00155 Some ToTensor() survived the extermination. :(
This is the class form not the functional part of the implementation. If you search for ToTensor() in the code you will find lots of references on docstrings as well.
What that intentionally left out? It would be awesome if we could replace them as well.

@prabhat00155 Some ToTensor() survived the extermination. :(
This is the class form not the functional part of the implementation. If you search for ToTensor() in the code you will find lots of references on docstrings as well.
What that intentionally left out? It would be awesome if we could replace them as well.

Okay, will do that.

Might require additional validation runs. Happy to review the PR if you tag me.

Might require additional validation runs. Happy to review the PR if you tag me.

Here is the PR: https://github.com/pytorch/vision/pull/4481

Hey @prabhat00155, thanks for doing this! Do we also have plan for replacing all the to_tensor() used in references/classification/presets.py?

ohhh right! My bad. Thanks for pointing it out.


Indexer: purgatory

Given two ENV vars that control lists of assets and accounts, indexer should prevent ingesting assets which are a match
Format of the lists: https://github.com/oceanprotocol/list-purgatory

will close after fix of https://github.com/oceanprotocol/ocean-node/issues/275


Issue with importing files in user js files

I have been dabbling in adjusting and adding a few raidboss triggers. I am a software dev who happens to work with js, so I know a tiny bit of js. (Frameworks mask all the important bits.)
With the new user file paradigm, I am definitely liking the persistence of my changes across updates! But I have been having a couple issues with some code.
I tend to modify triggers in simple ways. I like to copy-paste the triggers from the data js files (e.g. e12s.js), and then make those modifications. When copying a few triggers, recently, I was getting a few null-reference/undefined errors. I had copied constants that were defined in the e12s.js file, and thus were not in global scope (tangent enhancement request). It would be nice if such global were exported, but not required as I can simply redefine them. However, I could not find a way around the Outputs being undefined (e.g. copying 'E12S Promise Junction Shiva').
I had tried importing Outputs, just like the e12s.js file did, but seeing as file references are different, that did not work. Then I tried using relative filepath from my user folder. That did not work. Then I tried as if it was in the ui/raidboss/ directory (like sound file references). Then I tried a direct, full filepath reference. ....Still nothing, all with the same error:
Unexpected identifier at loadUser (<filepath>/cactbot/dist/config.bundle.js:1:41226) (<filepath>/cactbot/dist/config.bundle.js)
...I since figured out a workaround for what I was doing, but I figured it was worth mentioning this hole I found with user files. ...Or I am doing something wrong. That could be it, too.
Thank you very much for all your work and help!

Unfortunately, the trigger files themselves and user files are used in different ways.  Each built-in trigger file is an ESM module, with imports and exports.  The user files (because they can be loaded anywhere) are eval'd.  As such, the eval itself cannot import or export anything because import is not valid inside of an eval context.  There are a few default imports that a user file is provided (things like Regexes, NetRegexes, Conditions, etc) but they cannot import anything directly.  Additionally, each user file is evaluated into a single value (which in practice is the array of trigger sets because that is the last statement in the file), and so values from one user file do not leak into other use files.
It is a little bit unfortunate that in some cases where triggers are complicated and use some shared data structure or shared helper function at the top of the function, it is not as simple as just copying and pasting the trigger directly and you need to copy those constants around as well.  As the documentation says, At this point, you are writing JavaScript and CSS, and so you might need a little bit of programming savvy..  I think that's just how it is, even if it's unfortunate.
One thing that you can do (and that I do), is to pull the cactbot source tree down and put your user folder in cactbot/user/ in the source tree.    It would have almost certainly caught this.  Another debugging tip is to use the raid emulator, and try your triggers there.

Unfortunately, the trigger files themselves and user files are used in different ways.  Each built-in trigger file is an ESM module, with imports and exports.  The user files (because they can be loaded anywhere) are eval'd.  As such, the eval itself cannot import or export anything because import is not valid inside of an eval context.  There are a few default imports that a user file is provided (things like Regexes, NetRegexes, Conditions, etc) but they cannot import anything directly.  Additionally, each user file is evaluated into a single value (which in practice is the array of trigger sets because that is the last statement in the file), and so values from one user file do not leak into other use files.
It is a little bit unfortunate that in some cases where triggers are complicated and use some shared data structure or shared helper function at the top of the function, it is not as simple as just copying and pasting the trigger directly and you need to copy those constants around as well.  As the documentation says, At this point, you are writing JavaScript and CSS, and so you might need a little bit of programming savvy..  I think that's just how it is, even if it's unfortunate.
One thing that you can do (and that I do), is to pull the cactbot source tree down and put your user folder in cactbot/user/ in the source tree.    It would have almost certainly caught this.  Another debugging tip is to use the raid emulator, and try your triggers there.

That all makes sense, and regardless, I was able to figure out a workaround.
I tempered expectations with my js knowledge, because I tend to know less of the more complex intricacies of js, but I know enough to be decent. So I get what you are saying.
Could there be more objects (which are commonly used in trigger files) that can be provided in your list of default imports, which might help ease the burden in situations like these? (Also, documentation on which libraries/resources we have access too, would be nice, too.)
Thanks again for your help!

That all makes sense, and regardless, I was able to figure out a workaround.
I tempered expectations with my js knowledge, because I tend to know less of the more complex intricacies of js, but I know enough to be decent. So I get what you are saying.
Could there be more objects (which are commonly used in trigger files) that can be provided in your list of default imports, which might help ease the burden in situations like these? (Also, documentation on which libraries/resources we have access too, would be nice, too.)
Thanks again for your help!


Aliyun (Alibaba Cloud) Support for Vault-Operator

Is your feature request related to a problem? Please describe.
I am trying to test the vault-operator in aliyun, but struggled when trying to configure auto-unseal using aliyun. Although bank-vaults appears to have aliyun support, it looks like vault-operator does not.
Describe the solution you'd like
Support for vault-operator in aliyun.
Describe alternatives you've considered
I can try testing in other cloud providers but unfortunately in China the other cloud providers do not have reliable enough connectivity for production use.

That would be useful thing to have!

The issue here is that the Alibaba credentials are not passed in through the operator, that needs to be fixed: https://github.com/banzaicloud/bank-vaults/blob/master/cmd/bank-vaults/util.go#L104


[Bug]: /lib64/libm.so.6: version `GLIBC_2.27' not found

Describe the bug
opensearch-sql repo github workflow failed. https://github.com/opensearch-project/sql/actions/runs/9865774421/job/27243340727?pr=2811
Run actions/checkout@v3
/usr/bin/docker exec  ff6201b20d7adc4ce3fc4d7b4060c504c70b5b08f74e82452f5add288eff9532 sh -c "cat /etc/*release | grep ^ID"
/__e/node20/bin/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)

To reproduce
https://github.com/opensearch-project/sql/actions/runs/9865774421/job/27243340727?pr=2811
Expected behavior
no issue
Screenshots
If applicable, add screenshots to help explain your problem.
Host / Environment
No response
Additional context
No response
Relevant log output
No response

Close as it is fixed for now.
Thanks.


Fix NumPy 1.24.0 compatibility and pin coverage<7.0

Summary

In the 1.24.0 release, NumPy followed through on deprecating the creation of arrays with elements differing in size (like np.array([[1,2], [3]]), which broke several tests. This PR fixes each of these, with the exception of the SNOBFIT optimizer. There we rely on github.com/scikit-quant and the compatibility needs to be fixed there. Until then, the SNOBFIT optimizer will raise a QiskitError if used with NumPy 1.24.0 or above and the tests are skipped.

Pin coverage to below 7.0.0 (released Dec 18th) which breaks with Python 3.8 due to a missing import of

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.15/x64/bin/coveragepy-lcov", line 5, in <module>
    from coveragepy_lcov.cli import main
  File "/opt/hostedtoolcache/Python/3.8.15/x64/lib/python3.8/site-packages/coveragepy_lcov/cli.py", line 3, in <module>
    from .converter import Converter
  File "/opt/hostedtoolcache/Python/3.8.15/x64/lib/python3.8/site-packages/coveragepy_lcov/converter.py", line 5, in <module>
    from coverage.files import FnmatchMatcher, prep_patterns
ImportError: cannot import name 'FnmatchMatcher' from 'coverage.files' (/opt/hostedtoolcache/Python/3.8.15/x64/lib/python3.8/site-packages/coverage/files.py)

The coverage pin and the Snobfit exception for 1.24 both should be addressed in the future, and removed ideally. The Snobfit pin is likely a bug in the package and not inside of Qiskit (as @ElePT tracked down), but about coverage I'm not so sure, maybe @jakelishman or @mtreinish have some insights 🙂

@kdk done in 2778bba94 🙂


[BUG] helm-install-rke2-snapshot-controller jobs are in crashloop backoff post etcd snapshot/restore on an rke2 cluster

Rancher Server Setup

Rancher version: v2.7.2
Installation option (Docker install/Helm Chart): Docker install

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): k3s v1.25.5+k3s1

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.24.11+rke2r1 upgraded to v1.25.7+rke2r1
Cluster Type (Local/Downstream): Downstream Infrastructure provider RKE2

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions: Standard user

Describe the bug
etcd snapshot ws taken on cluster with k8s 1.24.11+rke2r1 and then the cluster was upgraded to v1.25. Now if we restore the cluster back to v1.24.11 by using the etcd snapshot, noticing the jobs for the rke2-snapshot go into crashloop backoff and never finish.
To Reproduce

Create a rancher server on v2.7.2
Create an rke2 cluster on k8s v1.24.11+rke2r1 and set the snapshot to be saved on s3 by providing the config for s3 on the cluster
Take an etcd snapshot and make sure the snapshot gets saved in the s3 bucket
Upgrade the cluster to k8s v1.25.7+rke2r1
Restore the cluster using the snapshot taken in step3
Cluster comes back up active.

Result
Notice the jobs helm-install-rke2-snapshot-controller, helm-install-rke2-snapshot-controller-crd and helm-install-rke2-snapshot-validation-webhook are in crashloop backoff and following are the error logs
helm_v3 install --set-string global.clusterCIDR=<IP_ADDRESS>/16 --set-string global.clusterCIDRv4=<IP_ADDRESS>/16 --set-string global.clusterDNS=<IP_ADDRESS> --set-string global.clusterDomain=cluster.local --set-string global.rke2Data
Dir=/var/lib/rancher/rke2 --set-string global.serviceCIDR=<IP_ADDRESS>/16 rke2-snapshot-controller /tmp/rke2-snapshot-controller.tgz
2023-04-17T13:17:02.220174749Z Error: INSTALLATION FAILED: chart requires kubeVersion: >= v1.25.7 which is incompatible with Kubernetes v1.24.11+rke2r1

Expected Result
Expected the job to complete without any errors.
Additional context
Not seen on an rke1 cluster.
Not seen on a k3s cluster also.

The ke2-snapshot-controller and rke2-snapshot-controller-crd manifests are only packaged with 1.25+. When you rolled back the cluster version to 1.24, the charts for the other packaged components were overwritten with their 1.24 versions. Because there is no 1.24 version of these charts, the 1.25 versions (that are not compatible with 1.24) were left on disk.
RKE2 itself does not support, nor does it have any logic to handle, Kubernetes version downgrades. If Rancher is going to support this, it will need to have logic in it to delete /var/lib/rancher/rke2/server/manifests/rke2-* as part of the version downgrade process, to ensure that there aren't any "new" charts left behind that will not be overwritten by the old release.

@brandond while it is relatively trivial to add an instruction that fmt.Sprintf("rm -rf /var/lib/rancher/%s/server/manifests/%s-*", distro, distro), I am slightly concerned about potentially introducing a regression from users that may have their own manifests in that directory that are prefixed with k3s- or rke2. Additionally, inspecting this directory on a K3s node nets a result like:
[root@ck-c7-4 manifests]# ls -l
total 24
-rw-------. 1 root root 1914 Apr 18 17:12 ccm.yaml
-rw-------. 1 root root 4868 Apr 18 17:12 coredns.yaml
-rw-------. 1 root root 3764 Apr 18 17:12 local-storage.yaml
drwx------. 2 root root  227 Apr 18 17:12 metrics-server
-rw-------. 1 root root 1039 Apr 18 17:12 rolebindings.yaml
-rw-------. 1 root root 1072 Apr 18 17:12 traefik.yaml

whereas on an RKE2 system, I see:
[root@ck-c7-2 manifests]# ls -l
total 312
drwxr-xr-x. 2 root root    130 Apr 17 17:37 rancher
-rw-r--r--. 1 root root 133466 Apr 18 15:11 rke2-calico-crd.yaml
-rw-r--r--. 1 root root  16466 Apr 18 15:11 rke2-calico.yaml
-rw-r--r--. 1 root root  25668 Apr 18 15:11 rke2-coredns.yaml
-rw-r--r--. 1 root root  57130 Apr 18 15:11 rke2-ingress-nginx.yaml
-rw-r--r--. 1 root root  13626 Apr 18 15:11 rke2-metrics-server.yaml
-rw-r--r--. 1 root root  14492 Apr 18 15:11 rke2-snapshot-controller-crd.yaml
-rw-r--r--. 1 root root  18656 Apr 18 15:11 rke2-snapshot-controller.yaml
-rw-r--r--. 1 root root  20808 Apr 18 15:11 rke2-snapshot-validation-webhook.yaml

This leads me to believe we can potentially hit the same problem in K3s if a new manifest is added but doesn't have the k3s-* prefix.
Are there any unique identifiers that would indicate that the manifests were system specific? I'm not really trying to get into the business of parsing yaml on the fly, but we theoretically should be able to invoke kubectl get -f <manifest> if necessary to validate that we should delete the manifest file if it belongs to K3s/RKE2.

for RKE2 you can look at /var/lib/rancher/rke2/data/<VERSION>/charts/ to figure out which manifests are owned by a particular release. Files are staged into to that directory when extracted from the runtime image, and then copied into the manifests dir.
If we'd been more intentional about keeping the --disable flag in sync with packaged components on RKE2 I would suggest trying to parse that, but it doesn't contain everything that we're packaging - just things that a user might want to disable manually, not things that are disabled internally based on logic like CNI or cloud provider selection.

I suppose we could use the current symlink... at time of etcd restoration/rollback we would be running the shutdown/doing the manifest cleanup, we should never be delivering a plan that "installs" the old version of RKE2.

of course on RKE2 there is no current symlink... but on k3s there is

Yeah, the whole content extraction code path is wildly different between the two products.

QA TEST PLAN
Scenarios

Scenario
Test Case

1
As a standard user, provision a downstream RKE2 v1.24.x+rke2r1 cluster, take an etcd snapshot, upgrade to v1.25.x+rke2r1, restore the snapshot and validate that all workloads come up as Active

2
As a standard user, provision a downstream RKE2 v1.24.x+rke2r1 cluster, take an etcd snapshot using S3, upgrade to v1.25.x+rke2r1, restore the snapshot and validate that all workloads come up as Active

3
Setup Rancher v2.7.2, provision a downstream RKE2 v1.24.x+rke2r1 cluster, upgrade Rancher to v2.7-head, take an etcd snapshot,  upgrade to v1.25.x+rke2r1, restore the snapshot and validate that all workloads come up as Active

4
Setup Rancher v2.7.2, provision a downstream RKE2 v1.24.x+rke2r1 cluster, upgrade Rancher to v2.7-head, take an etcd snapshot using S3,  upgrade to v1.25.x+rke2r1, restore the snapshot and validate that all workloads come up as Active

Reproduced the issue on v2.7.2. See details below:
ENVIRONMENT DETAILS

Rancher install: Docker
Rancher version: v2.7.2
Browser: Chrome

TEST RESULT

Scenario
Test Case
Result

1
As a standard user, provision a downstream RKE2 v1.24.x+rke2r1 cluster, take an etcd snapshot, upgrade to v1.25.x+rke2r1, restore the snapshot and validate that all workloads come up as Active
:x:

REPRO STEPS
Scenario 1

As a standard user, provisioned a downstream RKE2 v1.24.13+rke2r1 node driver cluster.

Validated that the cluster and nodes came up as Active.

Took an etcd snapshot of the cluster.
Upgraded the cluster to v1.25.9+rke2r1; validated that the cluster and nodes are Active and have had their K8s version upgraded.
Restored the snapshot with option cluster configuration, Kubernetes version and etcd.

Validated that the cluster and nodes are back at v1.24.13+rke2r1 and they are Active.

Navigated to top-left menu > cluster > Workloads > Pods and reproduced the issue as shown below:

Now that I have reproduced the issue, I will attempt to validate that it is addressed in the latest v2.7-head.

Will retest this once the latest commit with this fix is passing drone.

Validated that this is addressed in v2.7-head https://github.com/rancher/rancher/commit/6ce75a0b57ad9e88cf135254a9b3b40082788eb6. See details below:
ENVIRONMENT DETAILS

Rancher install: Docker
Rancher version: v2.7-head https://github.com/rancher/rancher/commit/6ce75a0b57ad9e88cf135254a9b3b40082788eb6
Browser: Chrome

TEST RESULT

Scenario
Test Case
Result

1
As a standard user, provision a downstream RKE2 v1.24.x+rke2r1 cluster, take an etcd snapshot, upgrade to v1.25.x+rke2r1, restore the snapshot and validate that all workloads come up as Active
:white_check_mark:

2
As a standard user, provision a downstream RKE2 v1.24.x+rke2r1 cluster, take an etcd snapshot using S3, upgrade to v1.25.x+rke2r1, restore the snapshot and validate that all workloads come up as Active
:white_check_mark:

3
Setup Rancher v2.7.2, provision a downstream RKE2 v1.24.x+rke2r1 cluster, upgrade Rancher to v2.7-head, take an etcd snapshot,  upgrade to v1.25.x+rke2r1, restore the snapshot and validate that all workloads come up as Active
:white_check_mark:

4
Setup Rancher v2.7.2, provision a downstream RKE2 v1.24.x+rke2r1 cluster, upgrade Rancher to v2.7-head, take an etcd snapshot using S3,  upgrade to v1.25.x+rke2r1, restore the snapshot and validate that all workloads come up as Active
:white_check_mark:

VALIDATION STEPS
Scenario 1

As a standard user, provisioned a downstream RKE2 v1.24.13+rke2r1 node driver cluster.

Validated that the cluster and nodes came up as Active.

Took an etcd snapshot of the cluster.
Upgraded the cluster to v1.25.9+rke2r1; validated that the cluster and nodes are Active and have had their K8s version upgraded.
Restored the snapshot with option cluster configuration, Kubernetes version and etcd.

Validated that the cluster and nodes are back at v1.24.13+rke2r1 and they are Active.

Validated that all workloads are in a state of Active.

Scenario 2

Repeated scenario 1, but instead of taking a local etcd snapshot, I utilized an S3 bucket as my snapshot location.

Validated in scenario 1 step 2 that the backup appears in Amazon S3 under my respective bucket.

Scenario 3

Setup Rancher v2.7.2 and logged in as a standard user.
Provisioned a downstream RKE2 v1.24.13+rke2r1 node driver cluster.

Validated that the cluster and nodes came up as Active.

Upgraded Rancher to v2.7-head; validated that the cluster or nodes did not auto-upgrade after upgrade completion.
Took an etcd snapshot of the cluster.
Upgraded the cluster to v1.25.9+rke2r1; validated that the cluster and nodes are Active and have had their K8s version upgraded.
Restored the snapshot with option cluster configuration, Kubernetes version and etcd.

Validated that the cluster and nodes are back at v1.24.13+rke2r1 and they are Active.

Validated that all workloads are in a state of Active.

Scenario 4

Repeated scenario 3, but instead of taking a local etcd snapshot at step 4, I utilized an S3 bucket as my snapshot location.

Validated that the backup appears in Amazon S3 under my respective bucket.


Better deletions on frontend

This PR closes #723
What's done:

[x] Implemented functions to delete organizations and projects: now buttons work fine
[ ] Add tests on ProjectView deletion
[ ] Add tests on OrganizationView deletion

Pls write some test?

Pls write some test?

Now having this type of error with frontend tests for ProjectView:
debug.js:21 Error: Uncaught TypeError: jquery(...).tooltip is not a function (http://localhost:9876/absolute/var/folders/wg/stk4v7wx0h92r3p2738g6_9w0000gn/T/_karma_webpack_558967/commons.js:113564)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4210:1)
    at invokeGuardedCallback (react-dom.development.js:4274:1)
    at reportUncaughtErrorInDEV (react-dom.development.js:22737:1)
    at captureCommitPhaseError (react-dom.development.js:27078:1)
    at commitPassiveMountEffects_complete (react-dom.development.js:24783:1)
    at commitPassiveMountEffects_begin (react-dom.development.js:24768:1)
    at commitPassiveMountEffects (react-dom.development.js:24756:1)
    at flushPassiveEffectsImpl (react-dom.development.js:26990:1)
    at flushPassiveEffects (react-dom.development.js:26935:1)

Trying to fix it.


Create lambda template for dr2 lambdas.

Description of files and inputs is in the README.

I did do an application.properties but application.conf makes more sense, I've changed it.
You can't get an "are you happy prompt", there aren't a lot of options for the CLI.
I've added in a config file for pre-commit. It's also what TRE are using so that lines up. This runs scalaFmt on commit. There's no way I think to get this installed automatically when the template is created so I've added instructions in the README to show how to set it up.


Mobile: Disclaimer text not aligned to left making it easily truncated

Open a scatter plot with compressed data on mobile
In standing/portrait mode, the disclaimer text *Providing an overivew of... isn't aligned to the left so it gets truncated very easily.

This disclaimer is consistent to other la-vie charts!


[FEATURE] restore nvim-tree folder structure base on deepest restored buffer?

I have some buffers to restore at startup of nvim.
I also have nvim-tree setup and start when nvim start.
current behavior is that when i start nvim: nvim, auto-session will restore and put me/cursor to buffer of nvim-tree with all folders closed.
but i want the folders are expanded bases on the deepest buffer on the session.
i.e:
tree
fder1/file1
fder2/fder3/file3
fder4/fder5/fder6/fder7/file8
fder9/fder10/fder11/fder12/fder13/fder14/file15

so if after restore session i have file3 in buffer, i want nvim-tree also expand its folder structure to fder3/
if after restore session i have file8 in buffer, i want nvim-tree also expand its folder struture to fder8/

Hey 👋 auto-session has exactly zero control over how nvim-tree gets restored. You can try to use a post_restore hook to run whatever command makes nvim-tree do what you want it to do.
Relevant issue:
https://github.com/rmagatti/auto-session/issues/105#issuecomment-1011689655

After doing some tests, this works for me on nvim v0.8.2:
lua << EOF
require("auto-session").setup{
  pre_save_cmds = {"NvimTreeClose"}
}
EOF

autocmd VimEnter * :NvimTreeToggle

With above config, worked means nvim-tree will expand to last open/focused buffer --> this is what i want.
Thanks.

@rmagatti : how can i restore nvimtree when i switch sessions?
I use auto-session with telescope-project.nvim and from your comment here I've set restore_upcoming_session = true,. I now can switch between projects by :Telescope project and then ctrl-l to switch to it.
It switched ok (all buffers restored ok) but I want nvim-tree also opened after switched to new project (despite of current/old session having nvim-tree open or not, switching to project always have nvim-tree closed)
I had this setup of auto-session:
    require("auto-session").setup({
      pre_save_cmds = { "NvimTreeClose" },
      pre_restore_cmds = { "NvimTreeOpen" },
      cwd_change_handling = {
        restore_upcoming_session = true,
        pre_restore_cmds = { "NvimTreeOpen" }, -- having this or not, still same result
      },
    })

note, this time i use lua instead of vimscript.
so how can i open nvimtree after switch project (or actually session)?

It's likely just a timing issue.
You're using pre_restore_cmds but that only runs before the session is in fact restored. You want to do post_restore_cmds so NvimTreeOpen runs after the session has already been restored.

tks but:
require("auto-session").setup({
  <..>
  post_restore_cmds = { "NvimTreeOpen" },
  <...>
})

will keep cursor at nvimtree buffer, that's not what i want, as i want: open nvim-tree at pre-restore -> restore -> cursor at last focused buffer ----> how can i do this?

The cursor moves to the nvim-tree buffer because that's apparently the behaviour nvim-tree chooses. Auto Session has no control over what happens when you call NvimTreeOpen. You can try and check if there's a config in nvim-tree that disables auto-focusing the tree buffer.

thanks, nvim-tree does not have that feature close but not focus, switched to neotree for that and worked like charm now.

I got this issue, step (clean up/remove all saved session files from cache):
1. use :Telescope project to create project/session A and B (with different directory)
2. cd "$(mktemp -d)"
3. nvim
4. :Telescope project and then ctrl-l to switch session A, and then open some buffers
5. same as 4 but with B
6. switch back and forth between A and B --> perfect, bufferline.nvim show its bar and buffers' name/title
7. exit nvim
8. nvim
9. select project A and B back and forth
10. observe that there're no bufferline's bar exist --> bufferline completely not appear

why and how bufferline disappear when restore session and its' not happen in first session when create them. @rmagatti

after 8 if stay in one of project A or B and open nvim, and switch A and B back and forth, the issue is not happens. Only if i cd to a folder that is not current A or B, the issue is happen @rmagatti

can you re-open this? or should i create a new one?

At this point, I don't think the issues you're seeing have anything to do with auto-session. If you'd like to open a discussion instead to get help with your config that should work better, or even reach out in the Neovim channel in Matrix. Happy to help with anything specific to auto-session though 👍

switched to https://github.com/noib3/nvim-cokeline and don't see this issue: https://github.com/akinsho/bufferline.nvim/issues/655


Feature/issue 88 improve test coverage

GitHub Issue: #88
Description
This change improves the test suite to increase code coverage.
Local test steps
Added new tests and all tests are successfully passing.
Overview of integration done
Explain how this change was integration tested. Provide screenshots or logs if appropriate. An example of this would be a local Harmony deployment.
PR Acceptance Checklist

[ ] Unit tests added/updated and passing.
[ ] Integration testing
[ ] CHANGELOG.md updated
[ ] Documentation updated (if needed).

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


[AutoPR workloadmonitor/resource-manager] Adding PUT notificationSettings api

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4445

Build output:

Build output:

Build output:

Build output:

Build output:

Build output:

Closing PRs that have been open for more than 1 month.


Update mobile brand assets

https://app.clickup.com/t/8694cukt5

adaptive icon sample

The new design does look way cooler, gg @buberdds on suggesting it 👍

Can we commit the changes for resources folder? The folder that assets get generated from. So it's easy to reproduce the current results. + did you minify the original icon/splash?

lol I did not even notice this folder. Why it's not called assets like in Capacitor docs?

lol I did not even notice this folder. Why it's not called assets like in Capacitor docs?

It does support both folders. https://github.com/ionic-team/capacitor-assets#usage. But I think resources was legacy I guess, because before it was community package(I think).

I did not minify source files, only generated ones.

Wait, you went through the trouble to minify every generated one? The last I did it, I just minified the ones in resources folder.

hm I don't like idea of adding 9MB of source image files to the repo. These files are controlled and prepared by designers not us

But if we nuke android/ios due to an upgrade, or something changes in the structure(like new device aspect ration in nay of the platforms). It would be easier, for consistent asset generation. I would just minify them first.

Wait, you went through the trouble to minify every generated one? The last time I did it, I just minified the ones in resources folder.
if the trouble is to run one CLI command than yes. Maybe that's why most of prev assets were much larger

But if we nuke android/ios due to an upgrade, or something changes in the structure(like new device aspect ration in any of the platforms). It would be easier, for consistent asset generation. I would just minify them first.

For image manipulation like scaling I guess it's better to use original source file not minified, but Ok I will add assets folder.

if the trouble is to run one CLI command than yes. Maybe that's why most of prev assets were much larger

Yes, true, that way it is really simple. Didn't think of that 😅

For image manipulation like scaling I guess it's better to use original source file not minified, but Ok I will add assets folder.

True, but it is usually scaled down from the original image anyway. Don't think there is an image larger than the source file. But anyhow, I agree your way is better 👍 I personally would appreciate if the source files are added to the repo.If you strongly disagree we can leave them out.

hm cannot merge due to stuck Post Run<EMAIL_ADDRESS>

manually wiped out github caches (100+) for this PR as we were running out of vail cache space. will create issue to remove satackey/action-docker-layer-caching as it is deprecated


Android: lineCap property of  is not working

Is this a bug report?
(write your answer here)
Yes

Have you read the Installation Instructions?
(Write your answer here.)
Yes
Environment

react-native: 0.55.4
react: 16.3.2
react-native-maps: 0.21.0

Steps to Reproduce
<Polyline
        coordinates={points}
        strokeWidth={10}
        strokeColor="#00a8ff"
        lineCap="round"
      />

(Write your steps here:)

put the following code in

<Polyline
        coordinates={points}
        strokeWidth={10}
        strokeColor="#00a8ff"
        lineCap="round"
      />

Expected Behavior

(Write what you thought would happen.)
The polyline start and end cap should be round
Actual Behavior

(Write what happened. Add screenshots!)
The polyline start and end cap is butt

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)
https://snack.expo.io/S1vdcrN7Q

Thanks for the merge. 👍


Is it possible to generate and sign an offline standard single-signature transaction using NEO-gui?

I see conflicting views on this and have not been able to determine a definitive answer.
Is it possible to sign a standard single-signature transaction using an offline version of NEO-gui and then relay this to the live blockchain using an online version of NEO-gui?
I see that some kind of support for multi-signatures was added in #162 but cannot for the life of me figure out how to do it for a standard single-signature transaction.

I have reopened #4 for this feature.

Great, thanks


Cannot install usercss files with Stylus extension.

Describe the bug
Using the Stylus extension:
https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne
I generally install this usercss file for gmail:
https://github.com/jackbuehner/gmail-dark-modifications/raw/master/gmail-dark.less.user.css
I cannot figure out a way to do that with Kiwi on Android.
To Reproduce
Install Stylus and open that usercss link, there is no interface to install it.
Nothing works from Stylus extension options either.
Expected behavior
When you open the usercss you get the Stylus extension interface to install it etc..
Smartphone (please complete the following information):

Device: pc laptop
Android Version: Android-x86 9.0-r2
Kiwi Browser Version: Generation<PHONE_NUMBER>

If anyone knows another way to install usercss/userstyles please let me know!

Coming from https://github.com/openstyles/stylus/issues/1367
I confirm this issue.
Android 9
Kiwi Browser 96.0.4664.46
Stylus 1.5.22
Loading a raw .user.css file does not trigger the Stylus install process.
For comparison purpose, in case it helps:

It does work on Firefox for Android 68.11.0 with Stylus 1.5.21
Violentmonkey does install .user.js user scripts when clicking View raw on same Kiwi Browser


Does this work with vGPU?

We would like to use this project to configure MIG backed vGPUs on A100s in an OpenStack cloud. We are using vGPU host driver version 525.60.12. As I understand it, I have to enable SR-IOV on the A100s in order to expose the vGPUs to OpenStack / KVM using the /usr/lib/nvidia/sriov-manage included with the vGPU driver. However, once I do that, mig-parted starts acting up:
# nvidia-mig-parted export
FATA[0000] Error checking MIG capable: error getting device handle: Invalid Argument

Is this scenario not supported or am I doing something wrong?

This use case is not officially supported as we do not test it. Can you provide the debug output so we can get more information:
nvidia-mig-parted -d export

I'm afraid that does not provide any additional info:
# nvidia-mig-parted -d export
FATA[0000] Error checking MIG capable: error getting device handle: Invalid Argument

Okay. I have tried using mig-parted in the past for this use case and recall needing this change in one of mig-parted's dependencies to make it work: https://gitlab.com/nvidia/cloud-native/go-nvlib/-/merge_requests/13. mig-parted is still using an older version of this dependency without this change, so it is not expected to work today. I am tracking this as a feature request. cc @klueska

Thanks for the pointer. I can confirm that nvidia-mig-parted export works after bumping go-nvlib to the latest commit. I will try applying a configuration tomorrow.

@cdesiniotis Hi. I took a look at the PR https://gitlab.com/nvidia/cloud-native/go-nvlib/-/merge_requests/1 where you authored the PR.
In my case, I want to bind a virtual function to vfio-pci and pass through the virtual function. I don't want to use vGPU. It is unclear if this is something that would ever function. Would you clarify if you could?
Thank you,
-steve


Freeze model list for v0.6

SWG Notes:
We want to finalize the list of models by next Wednesday. We will follow up in special topics on Wednesday to confirm. Our belief is that we are not adding models. Please raise concerns over email prior to Wednesday next week.
AI(Everyone): confirm this internally.

SWG Notes:
Consensus for v0.6:
GNMT
Transformer
Maskrcnn
SSD
Resnet
NCF (larger scale)
Minigo (new 19x19, new 9x9, or old TBD)

agree to the list of 7 models but agreed changes at each model need to be specified further.

No further action required, closed.


supports srcset, closes #237

Thanks for filing a PR! Adding default support for srcset seems like a fair idea to me, but I think that, to align with the simplecrawler philosophy, we need to slim down this diff. Could we express this logic in a short function that's added to the discoverRegex's? Maybe by extracting the content of the srcset attribute, split by ",", clean up media queries, return?

Also, would be great if you could add a small test :)

That sounds good. I will need help with the regex, though.


[next][RadioGroup] add onFocus as optional property

Description
With the current next RadioGroup, it has all the intelligence to navigate radios (yay!).  With the desire to add material helper text around the group, I need to know if any of those radios have focus, which the RadioGroup is keenly aware but it is not yet exposed.
Images & references
Material Design required field specification with helper texts
Problem description
Given a RadioGroup with Radios
And the RadioGroup is initialized with a prop onFocus
When any of the Radios receive focus
Then RadioGroup should emit a focus event to the optional onFocus listener provided
Versions

Material-UI: next commit 95d3b8f77964fc319c6d821f8203451fb32e57a9
React: 15.3.2
Browser: Chrome

Not needed - events bubble up already as noted in the PR.


[QUESTION] How does "sortBy": "most-used" work ?

Question
I've set "sortBy": "most-used", for all of the sections on the dash, but none of the items inside of the sections are changing positions.
Does something else need to be set for sorting by most-used ?
Category
Configuration
Please tick the boxes

[X] You are using a supported version of Dashy (check the first two digits of the version number)
[X] You've checked that this question hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

I also have this problem.

This is still relevant.

Heya @Zixim
Sorry for the delay...
So when section[n].displayData.sortBy: most-used is enabled for a given section, each time you click an item, a click count will be stored in local storage (using key MOST_USED). Then items are sorted based on this value.
Here's the code for the sorting:
https://github.com/Lissy93/dashy/blob/0319b8b1ed260ec04b36993a92930a5e723be397/src/components/LinkItems/Section.vue#L222-L228
And here's the code for the setting:
https://github.com/Lissy93/dashy/blob/0319b8b1ed260ec04b36993a92930a5e723be397/src/mixins/ItemMixin.js#L215-L222
Since data is only stored client-side, so if you open Dashy on a new device or browser, then usage counters won't be carried over, hence the order may vary between sessions.

@Lissy93 thanks for your clarification. It just doesn't seem to be working at all.
Here's what is stored in Local Storage :

This for a Dashy instance that has been set to sortby most-used for all sections for many weeks, i.e. :
  - name: Online media
    icon: fas fa-book
    displayData:
      sortBy: most-used
      rows: 1
      cols: 3
      collapsed: true
      hideForGuests: false
    items:
      .....

Something must be wrong somewhere ?

Oh yeah, you're right - looks like the itemId is undefined when it gets passed to that function. It should have been this.item.id instead of this.id. I've opened a PR to fix this in #1123 :)


Problem with rewrite engine

Hello, i just tried your plugin and i have a little problem.
The code i used is this :
<!--  <?php echo css('assets/css/main.css') ?>-->
  <?php echo cssfingerprint('assets/css/main.css') ?>

And what i get :
<!--  <link rel="stylesheet" href="http://<IP_ADDRESS>/dev/pro/ad62/assets/css/main.css">-->
  <link rel="stylesheet" href="http://<IP_ADDRESS>/dev/pro/ad62/assets/css\main.7eb9c8dbba117ab1727e7ef47a65b3d5.css">

The "" just before the main is a problem i think, what can i do?
Edit : it seems to work in production so it's a local problem. I use xammp, do you have an idea about this?

Is it possible to made it work in localhost?

Could you check if my latest commit solved the issue? https://github.com/iksi/KirbyFingerprint/commit/bba6a033d8bfce7470f4e3e6af9db24a1b55b953

The "" problem is solved but... i got this :
http://<IP_ADDRESS>/dev/pro/ad62/assets/css/main.7eb9c8dbba117ab1727e7ef47a65b3d5.css
The url is not supposed to is like css/file/path/style.css?numericid ?
I got a dot, not an interrogation point.

The file in the url is supposed to look like: main.7eb9c8dbba117ab1727e7ef47a65b3d5.css.
It’s not using a querystring like main.css?7eb9c8dbba117ab1727e7ef47a65b3d5. You can read more on that: http://www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/.
If it doesn’t work, it probably has to do with the .htaccess file.

The htaccess is the standard kirby htaccess + your code.

Could you show me the full .htaccess?

Do i said i was dumb?
I am...
See :
''''
Kirby .htaccess
rewrite rules

enable awesome urls. i.e.:
http://yourdomain.com/about-us/team
RewriteEngine on
#Fingerprint rewrite (uncomment if u use it)
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(.+).([0-9a-z]{32}).(js|css|png|jpe?g|gif|svg|ico)$ $1.$3 [L]
make sure to set the RewriteBase correctly
if you are running the site in a subfolder.
Otherwise links or the entire site will break.

If your homepage is http://yourdomain.com/mysite
Set the RewriteBase to:

RewriteBase /mysite
block text files in the content folder from being accessed directly
RewriteRule ^content/(.*).(txt|md|mdown)$ error [R=301,L]
block all files in the site folder from being accessed directly
RewriteRule ^site/(.*) error [R=301,L]
block all files in the kirby folder from being accessed directly
RewriteRule ^kirby/(.*) error [R=301,L]
make panel links work
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^panel/(.*) panel/index.php [L]
make site links work
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L]

Additional recommended values
Remove comments for those you want to use.

AddDefaultCharset UTF-8

php_flag short_open_tag on
''''


Fix warning about __objc_no

          2 Warnings

:warning:
Any changes to library code should be reflected in the CHANGELOG. Please consider adding a note there about your change.

:warning:
The library files were changed, but the tests remained unmodified. Consider updating or adding to the tests to match the library changes.

  Generated by :no_entry_sign: Danger

Codecov Report

Merging #1065 into master will increase coverage by 0.55%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #1065      +/-   ##
=========================================
+ Coverage   37.55%   38.1%   +0.55%
=========================================
  Files          27      27
  Lines        3944    3944
=========================================
+ Hits         1481    1503      +22
+ Misses       2463    2441      -22

Impacted Files
Coverage Δ

Classes/DDLog.m
59.41% <100%> (ø)
:arrow_up:

Classes/DDOSLogger.m
61.53% <0%> (+42.3%)
: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 9107ddc...bcdf67b. Read the comment docs.


Create .exe installation

hi, can you publish the app as exe for windows

this might help https://pub.dev/packages/squirrel

Hey! If the #11 gets merged there will be an MSIX installer for Windows, it is not as straightforward as squirrel to install but should be good enough for the time being.

Squirrel doesn't look to difficult to implement either, might be worth a shot too. @leoafarias could you assign this issue to me, I'll try it out on companion and if it works well w/ the auto-update feature that'll roll out then we can add this as an asset and done.

@aguilaair when we can get .exe file?

Sidekick now has .MISX, I'll experiment with squirrel soon(ish) to see if we can use it

Update: Squirrel cannot currently be implemented. We'll continue to use MSIX for the foreseeable future until the NNBD migration is done and we can use it.
[sidekick] flutter pub get
Running "flutter pub get" in sidekick...
Because pubspec_yaml 2.0.1+1 depends on yaml ^2.2.0 and no versions of pubspec_yaml match >2.0.1+1 <3.0.0, pubspec_yaml ^2.0.1+1 requires yaml ^2.2.0.

And because every version of squirrel depends on yaml ^3.1.0 and every version of fvm from git depends on pubspec_yaml ^2.0.1+1, squirrel is incompatible with fvm from git.

So, because sidekick depends on both fvm from git and squirrel ^0.1.0, version solving failed.
pub get failed (1; So, because sidekick depends on both fvm from git and squirrel ^0.1.0, version solving failed.)
exit code 1

Tried using squirrel but this dependency thing is a pain. Probably will be part of a null safety migration

This is on the alpha4

@leoafarias i know this is closed but you can check out inno setup
i use it more often to create standalone .exe files for my flutter desktop applications as installable setup files

@DonnC can you create a new issue as an enhancement so we can discuss?
Would like to know the benefits over the current setup.


Very slow compilation under Windows with libz-ng-sys

I wasn't quite sure if I should make the issue here or on the flate2 repo, but here we go:
I noticed for a long time that the longest crate to compile on one of my projects is libz-ng-sys that I use through flate2.
I do a lot of testing with different configurations for fun, so I end up cargo cleaning and then rebuilding a lot, so it's particularly bad.
I use the libz backend because the pure rust one is significantly slower, and the problem is even worse on debug.
With a debug full build on said project, on my machine:
windows, libz backend: ~33s
windows, rust backend: ~10s
wsl linux, libz backend: ~14s
Now, I did a bit of investigation on a separate project that only includes libz-ng-sys, by running both commands manually on an empty folder that the build script usually executes, and:
Creating the initial project
This takes ~19s on my system. A big part of it seems to be checking for unixy headers, and the other big part is from checking simd intrinsics. Most of the headers and features are never found for me. This is a lot of time just for creating a project.
Compiling the sources
This takes ~5s on my system. It is not outrageous compared to the first step, but the compilation is single threaded even if the script tries to pass "--parallel" "20". Unfortunately, that's not enough to enable parallel compilation on MSBuild, and it actually actively hurts it. See this SO thread.
Actually passing the multi processing flags correctly brings this down to ~2s, which is better.
Solutions?
The second step can be fixed fairly easily I think, but the first step is a problem so much bigger than the second.
Something in the Windows ecosystem really doesn't play well with CMake, given that the build under Linux is far more reasonable.
Maybe the CMake can be optimized? Maybe ditching CMake completely and just calling cl directly with all the right options? Maybe clang-cl does a better job and we should suggest it to people? Or if the problem is MSBuild, then also have an option for Ninja or something else?
In conclusion, I don't know.

I checked the build.rs, it uses crate cc for compiling libz and uses crate cmake (which invokves cmake cmd) for compiling libz-ng.
I have a look at crate cmake and it seems to disable jobserver on windows which prevents make/ninja from creating too many processes.
It could be that you are using a slow build system, it seems that there's make and bsdmake, which doesn't support jobserver and probably not parallel compilation, mingw-make.
There's also ninja but seems that crate cmake does not auto-detect and use ninja on windows.

Thanks for sharing, and thanks for chiming in @NobodyXu!

by running both commands manually on an empty folder that the build script usually executes, and:

Is there something missing that might matter or is it a way to transition into the next paragraph titles?

I have a look at crate cmake and it seems to disable jobserver on windows which prevents make/ninja from creating too many processes.

If it's true that this issue is mostly caused by the cmake crate, would it be better to post an issue there? I doubt that it's feasible to replace the usage of cmake here with anything else.

Is there something missing that might matter or is it a way to transition into the next paragraph titles?
Just a way of transitioning.

The cmake crate might be able to fix the second problem, but I very much doubt it can do anything about the first.

The problem I see is that these build systems are used by the underlying source projects, and thus not under control or custody of this FFI crate. For me, unless I am missing something, there would be nothing to do here, particularly since it seems established that the second problem, cmake (the crate) disabling the job server, also cannot be influenced here (yet).


Add deprecation policy for APIs/libraries

ref https://github.com/sigstore/sigstore-website/issues/119
(That issue can be closed once we have DEPRECATIONS.md in each repo)

cc @dlorenc @bobcallaway @lukehinds


Removing all graph relationships from an entity is ignored

Describe the bug
The graph service will update an entity's relationships in all cases except where the entity is removing its relationships entirely. In this case, the relationships are not removed.
To Reproduce
Steps to reproduce the behavior:

Supply a dataset with upstream lineage
verify you can see the upstream lineage in the UI
Emit an aspect that remove upstream lineage from that dataset
Verify the lineage is not removed in the UI

Expected behavior
The lineage should be removed from the UI.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

fixed


Change comment on transforming string parameters for Ex 2: Client

In the exercise description for Ex 2: Client it states:
"Keep in mind that process.argv are passed as
string so you might want to transform them into numbers"
I couldn't see any point in turning the parameters into numbers in the client as they are then passed as JSON strings. Suggest changing the advice to convert the JSON parameters in the math code. But this would be better included as part of Ex 1: Math

Ignore this one - it can be done in client or in the service


what folder should config.esbuild.js be in?

What can I do to fix this I'm using rails 7.04

I got into this gem because I was getting an error that my javascript file in app/javascript couldn't be found


Question: About go-like folder structure with src for source code

Let's say I have the following project structure
myproject |
    -> example.app |
        -> Contents |
            -> MacOS |
                example
    -> src |
        main.go
        -> github.com |
            -> zserge |
                -> webview |
                ...

I would have assumed this structure would work with the command:
go build -o example.app/Contents/MacOS/example
but it complains that there are no go files in the current directory.
Obviously moving your main.go up a directory and running the same command creates the executable without any issues (so far at least). I would have liked to have all my source inside the src directory, am I wrong in thinking this design decision of webview goes against how golang would like code to be structured? Was this by design? Is there a way to get this structure?

You can't build a go package from a subdirectory without passing it to the go build command as an argument. That's not webview but go. Closing this issue.


[TE] Add support for data filter in detection pipeline emulation layer

Add support for legacy data filter in detection pipeline emulation layer

The old pipeline skips anomaly detection if the time series does not pass data filter with in a time range.


Duplicate request with Kong

I'm need send with Kong (Community Edition) one webhook ( request ) for two apis.
The problem is i use one webhook of third parties, and can only specific one URL ( this not negotiation ).
I use in my app Docker, Kong and many apis call throug Kong, as show in the picture.

I can't send request the Service1 to Service2.
I creating one module with same logic of plugins http-log but it does not feel natural and i create exist other way i not know.
Original question

Interesting post.

@ruby232 I don't believe there is a built in way to do this, but you could pretty easily write a plugin that forwards a request to multiple endpoints.

I think you can easily do this with:
https://docs.konghq.com/hub/kong-inc/serverless-functions/
And when PDK has http built-in, it will be even easier.

Solucione este problema usando https://goreplay.org/ y trabaja muy bien  Solve this problem using https://goreplay.org/ and work very well.


babi-dialog task5

Hello,
I faced this problem below when I ran Task 5 in babi-dialog (other task 1-4 are fine). I checked the code since like the loss is nan in this case. Could you please help me with the issue?
InvalidArgumentError (see above for traceback): Nan in summary histogram for: HistogramSummary_8
	 [[Node: HistogramSummary_8 = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](HistogramSummary_8/tag, gpu_sync/average_gradients/Mean_8)]]

my python version is 3.5 and tensorflow is 0.11.0
@shmsw25 @seominjoon can you?

I know why... a small mistake here:
https://github.com/uwnlp/qrn/blob/master/dialog/model.py#L395
added to pull request


rust-analyzer on both cfg

Can IDE features be made to work on both frontend and backend code? ssr and hydrate features enabled, that is, separately.

https://github.com/srid/leptos-fullstack/blob/5df2a5456e17ab85654dfb29dd64607c8caccf2b/.vscode/settings.json#L3


Cannot add Databricks workspace to subnet with Azure Classic Provider

What happened?
We are trying to create a Databricks workspace using the classic provider (See related: pulumi/pulumi-azure-native#2617), however when we want to create the workspace with Custom Subnets, it expects public_subnet_network_security_group_association_id, and when I try to create one along with the workspace, it complains with:
stderr: error: 1 error occurred:
* A resource with the ID "/subscriptions/<subscriptionid>resourceGroups/vnet_foob-network-rg/providers/Microsoft.Network/virtualNetworks/vnet_foob/subnets/snet_public_foob" already exists - to be managed via Terraform this resource needs to be imported into the State. Please see the resource documentation for "azurerm_subnet_network_security_group_association" for more information.

We are of course creating the subnets and NSGs with Native Provider (v1), and hence when Classic is used, it throws the error that the subnet already exists, though we are not exactly creating it with the TF Bridge provider.
Expected Behavior
The Databricks Workspace is created with the given Private and Public Subnet.
Steps to reproduce

Create required NSGs, Private and Public Subnets.
Assign them to the workspace using:

snsgap = network.SubnetNetworkSecurityGroupAssociation(
    f"subnet_network_security_group_association_public",
    network_security_group_id=nsg_public.id,
    subnet_id=subnet_public.id,
    opts=ResourceOptions(
        parent=resource_group,
        depends_on=[nsg_public, subnet_public],
        provider=pulumi_azure_provider,
    ),
)

databricks_workspace = databricks.Workspace(
    resource_name=name,
    customer_managed_key_enabled=True,
    infrastructure_encryption_enabled=True,
    resource_group_name=resource_group.name,
    managed_disk_cmk_key_vault_key_id=(
        "https://foobar.vault.azure.net/"
        "keys/foobar/0000000000000000000000"
    ),
    managed_resource_group_name="mg_rg_000",
    sku="premium",
    managed_services_cmk_key_vault_key_id=(
        "https://foobar.vault.azure.net/"
        "keys/foobar/0000000000000000000000"
    ),
    custom_parameters=databricks.WorkspaceCustomParametersArgs(
        no_public_ip=True,
        private_subnet_name=subnet_private.name,
        public_subnet_name=subnet_public.name,
        public_subnet_network_security_group_association_id=snsgap.id,
        virtual_network_id=vnet.id,
    ),
    location=location,
    opts=ResourceOptions(
        parent=resource_group,
        provider=pulumi_azure_provider,
    ),
)

Output of pulumi about
CLI
Version      3.76.0
Go Version   go1.20.6
Go Compiler  gc
Plugins
NAME          VERSION
azure-native  2.1.1
python        unknown
Host
OS       ubuntu
Version  22.04
Arch     x86_64
This project is written in python: executable='/usr/bin/python3' version='3.10.6
'
Current Stack: organization/test-stack/dev
Found no resources associated with dev
Found no pending operations associated with dev
Backend
Name
URL            file://.
User
Organizations
Dependencies:
NAME                 VERSION
pip                  23.2.1
pulumi-azure-native  2.1.1
setuptools           68.0.0
wheel                0.41.0
Pulumi locates its logs in /tmp by default
Additional context
We would need either pulumi/pulumi-azure-native#2617 or this one to be solved, else Databricks causes a Major Risk to our planned GoLive in Sep 2023.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

If you're already creating the association in Azure Native, you shouldn't need to create it again in the classic provider. You should be able to use the Id output property from the Native resource in place of the snsgap.id you're using above.
Alternatively, you should be able to look-up the existing association in the classic provider rather than trying to re-created it.

Hi @ahmed-wajid
I built out the following self-contained program, with the mix of native and classic resources, but it fails to reproduce your issue. The stack is successfully created for me. Could you let me know what I am missing to repro?
import pulumi
import pulumi_azure
from pulumi_azure_native import network
from pulumi_azure_native import resources

resource_group = resources.ResourceGroup("MyResourceGroup")

virtual_network = network.VirtualNetwork(
    'myvnet',
    resource_group_name=resource_group.name,
    address_space=network.AddressSpaceArgs(
        address_prefixes=["<IP_ADDRESS>/16"],
    ),
)

# Create an Azure Subnet
subnet_public = network.Subnet(
    'mysubnet',
    resource_group_name=resource_group.name,
    virtual_network_name=virtual_network.name,
    address_prefix="<IP_ADDRESS>/24",
)

nsg_public = network.NetworkSecurityGroup(
    "MySecurityGroup",
    resource_group_name=resource_group.name,
    security_rules=[
        network.SecurityRuleArgs(
            name="SSH",
            direction="Inbound",
            priority=300,
            access="Allow",
            destination_port_range="22",
            protocol="Tcp",
            source_port_range="*",
            source_address_prefix="*",
            destination_address_prefix="*",
        )
    ],
)

snsgap = pulumi_azure.network.SubnetNetworkSecurityGroupAssociation(
    f"subnet_network_security_group_association_public",
    network_security_group_id=nsg_public.id,
    subnet_id=subnet_public.id,
)

@mikhailshilkov Thank you for the response. The error occured when we were using a Dynamic Provider to create the subnets using Aviatrix, and perhaps the SubnetNetworkSecurityGroupAssociation was created already, and hence it complains that it has to be imported. Meanwhile, we have moved away from this approach and are using Azure Native successfully for Databricks. We can close this issue and hope we do not come across this problem in the future.


PostgreSQL: Rolling back a failed transaction with COPY results in expecting ParseComplete but received CommandComplete

Bug Description
When

using copy_out_raw
which has a runtime failure
which runs inside a transaction
when the tx is rolled back
the main connection is no longer usable due to a protocol error

Minimal Reproduction
this PR has the testcase which reproduces my error, as well as a tentative solution for a fix.
Info

SQLx version: 0.8.0-alpha.0
SQLx features enabled: postgres, runtime-tokio
Database server and version: PostgreSQL 16.2
Operating system: Ubuntu 22.04 x86_64
rustc --version: 1.77.0-beta.9

Failing test here

fixed by #3138 (?)


Unable to compile trainer

Unable to compile trainer for version <IP_ADDRESS>03. I'm assuming the version of EFT is too new for the trainer?

dupe of #167


Fix #2749 and #2488: Manage Controlled Processes does not show any process

Fix #2749 and #2488:
When serializing data using
gson.toJson(object, writer);

we need to ensure response.getWriter() is closed in the end, otherwise it might return an empty json.
see the explanation in https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/2749#issuecomment-986244291

The servlet's response is automatically closed by the servlet engine. Closing explicitly might cause issues with filters https://stackoverflow.com/a/1159244. The issue must be a different one...

Usually those issues arise if a BufferedWriter is used under the hood which is not closed, maybe the original response writer is wrapped in a filter here and the filter forgets to properly close the BuffetexWriter?

Usually those issues arise if a BufferedWriter is used under the hood which is not closed, maybe the original response writer is wrapped in a filter here and the filter forgets to properly close the BuffetexWriter?

I don't see any filters that could do that. If explicit close() can cause issues then we can try a different strategy: instead of passing response.getWriter() to Gson we can first serialize the entire payload into a string and then pass that string to response.getWriter() . That will work too.
What puzzles me is why it works on local and when connected to remote IP and does not work when connected via host name. I  suspect it could be HTTP/1.1 vs HTTP2  .

Ill add changlog and update test fo try-resources


Export diagram does not let the user choose a name/location

Diagram ->Export: we need to propose a dialog and let the end-user choose a name and a location about the export diagram. Currently, it creates a file under the folder of the selected diagram and create a file with the extension ".svg". This could be the proposed default name for the end-user.

It seems a bit weird that you have to click on a diagram to export it too...

Related to https://github.com/theia-ide/theia/issues/696


chore: pin used pnpm version in package.json

For documentation purposes at least, the expected pnpm version should be declared in package.json. See https://nodejs.org/api/packages.html#packagemanager
I would recommend updating to pnpm v9 when time allows. I would have done it here, but it involves an automatic reformat of the lockfile and has a high chance of conflicting any current work.

This version of the package manager breaks the CI. The version used in the CI is 8.15.4.


Setup front end for add course

As an initiator, I want to be able to view the UI for adding courses, so that I can input new course information.
This is a subtask of #7
[Story Points: 4]
[Priority: High]
[Risk: Medium]

This issue was closed by #121

video (1).webm


Allow better language file handling

Currently all language files are loaded when osrm-text-instructions is initialized, but only one is used then.
We should instead:

Allow to control which languages are actually loaded
Allow switching languages without reloading language files

This is happening in #107.

#107 landed.


[integration_test] running on custom embedder

Is there an existing issue for this?

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

Steps to reproduce

integration_test example

flutter drive  --driver=test_driver/integration_test.dart --target=integration_test/example_test.dart  -d desktop-auto

I have platform channel implemented on embedder side.  It test results are success I call std::exit(0), if test exception I call std::exit(1).
Expected results
Expect after exiting embedder with return value 0/1 that flutter drive will continue.
Actual results
The flutter application (embedder) exits, and the flutter drive command does not proceed.
Code sample
C++ platform handler
// Copyright 2023 Toyota Connected North America
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include "integration_test.h"

#include <flutter/standard_method_codec.h>
#include <thread>
#include <chrono>

#include "engine.h"

using namespace std::chrono_literals;

void IntegrationTestPlugin::OnPlatformMessage(
    const FlutterPlatformMessage* message,
    void* userdata) {
  auto engine = reinterpret_cast<Engine*>(userdata);
  auto& codec = flutter::StandardMethodCodec::GetInstance();
  std::unique_ptr<std::vector<uint8_t>> result =
      codec.EncodeErrorEnvelope("unhandled_method", "Unhandled Method");
  auto obj = codec.DecodeMethodCall(message->message, message->message_size);

  do {
    auto method = obj->method_name();
    if (method == kAllTestsFinished) {
      if (!obj->arguments()->IsNull()) {
        auto args = std::get_if<flutter::EncodableMap>(obj->arguments());
        if (args == nullptr) {
          result = codec.EncodeErrorEnvelope("argument_error",
                                             "no arguments provided");
          break;
        }
        for (const auto& it : *args) {
          auto key = std::get<std::string>(it.first);
          if (key == kArgResults) {
            if (!it.second.IsNull()) {
              auto value = std::get<flutter::EncodableMap>(it.second);
              for (const auto& results : value) {
                auto v = std::get<std::string>(results.second);
                result = codec.EncodeSuccessEnvelope();
                engine->SendPlatformMessageResponse(message->response_handle, result->data(),
                                                    result->size());
                // ensure platform channel drains
                std::this_thread::sleep_for(1000ms);
                if (v == kResultSuccess) {
                  std::exit(0);
                } else {
                  std::exit(1);
                }
              }
            }
          }
        }
      }
    } else if (method == kConvertFlutterSurfaceToImage) {
      result = codec.EncodeErrorEnvelope("Could not convert to image",
                                         "Not implemented yet");
    } else if (method == kRevertFlutterImage) {
      result = codec.EncodeErrorEnvelope("Could not revert Flutter image",
                                         "Not implemented yet");
    } else if (method == kCaptureScreenshot) {
      result = codec.EncodeErrorEnvelope("Could not capture screenshot",
                                         "Not implemented yet");
    } else if (method == kScheduleFrame) {
      result = codec.EncodeErrorEnvelope("Could not schedule frame",
                                         "Not implemented yet");
    }
  } while (false);

  engine->SendPlatformMessageResponse(message->response_handle, result->data(),
                                      result->size());
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
flutter drive verbose Logs
[   +1 ms] executing: [/mnt/raid10/workspace-automation/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +6 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 796c8ef79279f9c774545b3771238c3098dbefab
[        ] executing: [/mnt/raid10/workspace-automation/flutter/] git tag --points-at 796c8ef79279f9c774545b3771238c3098dbefab
[   +8 ms] Exit code 0 from: git tag --points-at 796c8ef79279f9c774545b3771238c3098dbefab
[        ] 3.10.5
[   +1 ms] executing: [/mnt/raid10/workspace-automation/flutter/] git rev-parse --abbrev-ref HEAD
[   +1 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] HEAD
[        ] executing: [/mnt/raid10/workspace-automation/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[   +2 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] fatal: HEAD does not point to a branch
[   +5 ms] Unable to locate an Android SDK.
[        ] executing: uname -m
[   +1 ms] Exit code 0 from: uname -m
[        ] x86_64
[  +39 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +22 ms] executing: bash -c loginctl show-session $(awk '/tty/ {print $1}' <(loginctl)) -p Type
[  +13 ms] Type=wayland
[   +2 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +36 ms] executing: [/mnt/raid10/workspace-automation/flutter/packages/integration_test/example/] /mnt/raid10/workspace-automation/flutter/bin/cache/dart-sdk/bin/dart pub --suppress-analytics --verbose --directory . get --example
MSG : Resolving dependencies...
MSG :   _fe_analyzer_shared 58.0.0 (62.0.0 available)
    |   analyzer 5.10.0 (6.0.0 available)
    |   args 2.4.0 (2.4.2 available)
    |   collection 1.17.1 (1.17.2 available)
    |   crypto 3.0.2 (3.0.3 available)
    |   file 6.1.4 (7.0.0 available)
    |   glob 2.1.1 (2.1.2 available)
    |   logging 1.1.1 (1.2.0 available)
    |   matcher 0.12.15 (0.12.16 available)
    |   material_color_utilities 0.2.0 (0.8.0 available)
    |   pedantic 1.11.1 (discontinued replaced by lints)
    |   pub_semver 2.1.3 (2.1.4 available)
    |   shelf 1.4.0 (1.4.1 available)
    |   shelf_packages_handler 3.0.1 (3.0.2 available)
    |   shelf_static 1.1.1 (1.1.2 available)
    |   shelf_web_socket 1.0.3 (1.0.4 available)
    |   source_span 1.9.1 (1.10.0 available)
    |   stream_channel 2.1.1 (2.1.2 available)
    |   test 1.24.1 (1.24.4 available)
    |   test_api 0.5.1 (0.6.1 available)
    |   test_core 0.5.1 (0.5.4 available)
    |   typed_data 1.3.1 (1.3.2 available)
    |   vm_service 11.3.0 (11.7.2 available)
    |   watcher 1.0.2 (1.1.0 available)
    |   web_socket_channel 2.3.0 (2.4.0 available)
    |   yaml 3.1.1 (3.1.2 available)
MSG : Got dependencies!
MSG : Logs written to /mnt/raid10/workspace-automation/.config/flutter_workspace/pub_cache/log/pub_log.txt.
[ +450 ms] Found plugin integration_test at /mnt/raid10/workspace-automation/flutter/packages/integration_test/
[   +3 ms] Found plugin integration_test_macos at /mnt/raid10/workspace-automation/flutter/packages/integration_test/integration_test_macos/
[  +35 ms] Found plugin integration_test at /mnt/raid10/workspace-automation/flutter/packages/integration_test/
[        ] Found plugin integration_test_macos at /mnt/raid10/workspace-automation/flutter/packages/integration_test/integration_test_macos/
[  +25 ms] Generating /mnt/raid10/workspace-automation/flutter/packages/integration_test/example/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +28 ms] Initializing file store
[   +2 ms] Done initializing file store
[  +11 ms] Skipping target: gen_localizations
[   +4 ms] Skipping target: gen_dart_plugin_registrant
[ +190 ms] Skipping target: kernel_snapshot
[ +147 ms] Skipping target: copy_flutter_bundle
[        ] Persisting file store
[  +13 ms] Done persisting file store
[   +4 ms] executing: bash -c rm -rf .desktop-auto
[   +7 ms] executing: bash -c rm -rf .desktop-auto
[   +3 ms] executing: bash -c mkdir -p .desktop-auto/data && cp -r /mnt/raid10/workspace-automation/.config/flutter_workspace/desktop-auto/default_config.json .desktop-auto/ && cp -r /mnt/raid10/workspace-automation/.config/flutter_workspace/flutter-engine/bundle/* .desktop-auto/ && ln -rsf build/flutter_assets .desktop-auto/data/flutter_assets
[  +22 ms] executing: bash -c LD_LIBRARY_PATH=/mnt/raid10/workspace-automation/app/comp_surf_pbr/build /mnt/raid10/stargate/ivi-homescreen/cmake-build-debug/shell/homescreen --w=800 --h=600 --b=.desktop-auto 2>&1 | tee /tmp/homescreen.log

Flutter Doctor output
Doctor output
$ flutter doctor -v
[!] Flutter (Channel unknown, 3.10.5, on Fedora Linux 37 (Workstation Edition) 6.3.4-101.fc37.x86_64, locale en_US.UTF-8)
    ! Flutter version 3.10.5 on channel unknown at /mnt/raid10/workspace-automation/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    ! Unknown upstream repository.
      Reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    • Framework revision 796c8ef792 (3 weeks ago), 2023-06-13 15:51:02 -0700
    • Engine revision 45f6e00911
    • Dart version 3.0.5
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update
      checks and upgrades.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 15.0.7 (Fedora 15.0.7-2.fc37)
    • cmake version 3.26.4
    • ninja version 1.10.2
    • pkg-config version 1.8.0

[✓] VS Code (version 1.79.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.68.0

[✓] Connected device (2 available)
    • Linux (desktop)              • linux        • linux-x64 • Fedora Linux 37 (Workstation Edition) 6.3.4-101.fc37.x86_64
    • Toyota flutter-auto (mobile) • desktop-auto • linux-x64 • flutter-auto x86_64

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

! Doctor found issues in 1 category.

The comments in lib/src/commands/drive.dart read:
/// The app and the test are launched simultaneously. Once the test completes
/// the application is stopped and the command exits. If all these steps are
/// successful the exit code will be `0`. Otherwise, you will see a non-zero
/// exit code.

Thanks for the detailed report @jwinarske
Currently I do not have a custom embedder set up to run the given code sample. I'll label this based on the report for team's attention.

@pdblasi-google fyi
When you're calling std::exit, you're in the process under test.
Before you do that, you'd need to let the driver process know that the test has failed. You can see how this works a bit here: https://github.com/flutter/flutter/blob/6c2023162fbfd3f24ae157b29329646488f84cd6/packages/integration_test/lib/_callback_io.dart#L34-L42
You need to make sure your implementation is traveling down that code path. Just exiting the process will leave the driver waiting for a response about whether the test has passed or failed.
FWIW, I would recommend you not use flutter drive for this purpose. That command is really only maintained for usage by the flutter team for our own integration/performance tests at this point. It is used for integration testing by customers in some cases, but there are no plans currently to extend that to other platforms than ones currently suported.
I'd be happy to talk about this more on discord, but there are no current plans to implement functionality to better support this use case, so I'm going to close the bug.

@dnfield Hi Dan,
The terminate happens after a delay.  This allows the platform channel to properly drain.  I initially tested without the terminate, and regardless what I return with nothing progresses.  I'm happy to submit a PR to enable support, I just need help understanding the stack a bit better


Remove trailing space breaking website blocks

This removes some trailing spaces that seem like they were breaking some website blocks. Without this change, these blocks render no matter what (example - https://beam.apache.org/documentation/programming-guide/#applying-transforms:~:text=Note%3A You,block.). With this change they no longer render when their language block is not selected - http://apache-beam-website-pull-requests.storage.googleapis.com/24875/documentation/programming-guide/index.html#pardo:~:text=<IP_ADDRESS>. Lightweight DoFns and other abstractions
I'm not really sure why this makes a difference; it only affects some instances, and others don't seem to have problems (this may have to do with the contained content).

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Also R: @lostluck since this is breaking go docs


Actionscript compile fail

When using npm install steem, it's impossible to compile for mobile usage.
:processF0DebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processF0DebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\steve\AppData\Local\Android\android-sdk\build-tools\23.0.3\aapt.exe'' finished with non-zero exit value 1

Most likely a dependency or path issue

Is this a react native app?

No. It's native, but not a react app.
I've boiled it down to having an error on steemauth.
You can always join me on https://steemit.chat/direct/steve-walschot for direct chat

Fyi: "steem": "adcpm/steem#b6c3f6eaaa57e5ae1c18a937a10c99ed74d8b700" is working.

@steempayments can you check using latest version?

b6c3f6eaaa57e5ae1c18a937a10c99ed74d8b700 didn't have the steemauth dependency. I'd guess it didn't use Node.js' crypto or other modules you have to shim.


The authorization token is not valid at the current time (Azure Functions with Cosmos Db Trigger)

Hi,
i've also commented the error on https://github.com/Azure/azure-documentdb-dotnet/issues/506 but decided to create a separate issue because my setting is totally different.
My Azure Function (V1) uses a CosmosDbTrigger to listen for changes in a Cosmos Db collection (SQL Schema).
This usually works but on the 8th may i got this strange error resulting in the function getting disabled thus not processing and documents from changefeed anymore.
The following 1 functions are in error: Run: Microsoft.Azure.WebJobs.Host: Error indexing method 'TelemetryProcessingFunction.Run'. Microsoft.Azure.WebJobs.Extensions.DocumentDB: Cannot create Collection Information for telemetry in database xxx with lease leases in database xxx : The authorization token is not valid at the current time. Please create another token and retry (token start time: Tue, 08 May 2018 12:47:34 GMT, token expiry time: Tue, 08 May 2018 13:02:34 GMT, current server time: Tue, 08 May 2018 12:39:54 GMT). ActivityId: a4bbfe36-40b7-48a2-b5bc-4cc9b4b9a916, Microsoft.Azure.Documents.Common/<IP_ADDRESS>. Microsoft.Azure.Documents.Client: The authorization token is not valid at the current time. Please create another token and retry (token start time: Tue, 08 May 2018 12:47:34 GMT, token expiry time: Tue, 08 May 2018 13:02:34 GMT, current server time: Tue, 08 May 2018 12:39:54 GMT). ActivityId: a4bbfe36-40b7-48a2-b5bc-4cc9b4b9a916, Microsoft.Azure.Documents.Common/<IP_ADDRESS>.
The other issue suggested a clock skew between server and client. However i'm not in control of this, being in serverless land. Both resources involved (Azure Function and Cosmos Db instance are running in West Europe though).
Kind regards
Markus

We had exactly the same issue, also on 8th May, consuming Cosmos DB from an Azure web app. We determined that it was the app service system clock that had drifted (by opening the Powershell console in Kudu and running Get-Date), and fixed it by temporarily scaling up the app service plan, thus forcing the app onto a new VM.
We raised an issue with Azure support but they couldn't offer any explanation as to why the clock drift happened.

This was the information i got as well from Azure Support.
They are working on platform improvements to prevent this clock skew from happening again in the future.