Fix default builtin profile path when chartsDir is empty

Fix https://github.com/istio/istio/issues/25291.
[ ] Configuration Infrastructure
[ ] Docs
[x] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@elfinhe: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

integ-distroless-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-distroless-k8s-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

integ-distroless-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-distroless-k8s-tests_istio

integ-mixer-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-mixer-k8s-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

integ-distroless-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-distroless-k8s-tests_istio

integ-mixer-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-mixer-k8s-tests_istio

integ-pilot-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-pilot-k8s-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

integ-distroless-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-distroless-k8s-tests_istio

integ-mixer-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-mixer-k8s-tests_istio

integ-pilot-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-pilot-k8s-tests_istio

integ-ipv6-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-ipv6-k8s-tests_istio

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/test-infra repository. I understand the commands that are listed here.

/retest

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

integ-distroless-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-distroless-k8s-tests_istio

integ-mixer-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-mixer-k8s-tests_istio

integ-pilot-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-pilot-k8s-tests_istio

integ-ipv6-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-ipv6-k8s-tests_istio

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

integ-distroless-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-distroless-k8s-tests_istio

integ-mixer-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-mixer-k8s-tests_istio

integ-pilot-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-pilot-k8s-tests_istio

integ-ipv6-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-ipv6-k8s-tests_istio

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

integ-distroless-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-distroless-k8s-tests_istio

integ-mixer-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-mixer-k8s-tests_istio

integ-pilot-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-pilot-k8s-tests_istio

integ-ipv6-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-ipv6-k8s-tests_istio

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

integ-distroless-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-distroless-k8s-tests_istio

integ-mixer-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-mixer-k8s-tests_istio

integ-pilot-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-pilot-k8s-tests_istio

integ-ipv6-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-ipv6-k8s-tests_istio

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

integ-distroless-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-pilot-k8s-tests_istio

integ-ipv6-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-ipv6-k8s-tests_istio

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-mixer-k8s-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

integ-distroless-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-pilot-k8s-tests_istio

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-mixer-k8s-tests_istio

integ-ipv6-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-ipv6-k8s-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

integ-distroless-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-pilot-k8s-tests_istio

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-mixer-k8s-tests_istio

integ-ipv6-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-ipv6-k8s-tests_istio

integ-operator-controller-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-operator-controller-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

integ-distroless-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-distroless-k8s-tests_istio

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-mixer-k8s-tests_istio

integ-ipv6-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-ipv6-k8s-tests_istio

integ-operator-controller-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-operator-controller-tests_istio

integ-pilot-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-pilot-k8s-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-distroless-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-distroless-k8s-tests_istio

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-mixer-k8s-tests_istio

integ-ipv6-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-ipv6-k8s-tests_istio

integ-operator-controller-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-operator-controller-tests_istio

integ-pilot-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

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/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test gencheck_istio

unit-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test unit-tests_istio

integ-galley-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-mixer-k8s-tests_istio

integ-ipv6-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-ipv6-k8s-tests_istio

integ-operator-controller-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-operator-controller-tests_istio

integ-pilot-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-security-k8s-tests_istio

integ-distroless-k8s-tests_istio
58313bf9395fec36fe5a0816c11d69da110d83f8
link
/test integ-distroless-k8s-tests_istio

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/test-infra repository. I understand the commands that are listed here.


IPTV lagging

When i looking IPTV Player (Borpas) or testing SDXC by cardreader with h2testw 1.4, system keep lagging when browser opened and page scrolls or clikcked.
On IPTV sound lags. On h2testw is packet corruption. Strange behavior. IPTV i look with lags more then month, h2test corruption on a week before i am not tested this way. For experiment i tested USB card with Victoria hdd test and opened browser with many pages and scrolls and clicked as psycho and i have it, error appears. So it is 100% chrome bassed issue. I dont know why it affect only usb data loss. And for purity of experiment i did an new tests without browser and all was good as allways before.
Windows 7 x64 (Simplix update october pack)
Supermium 118.0.5991.0 x86 and x64
Intel i5-3570 ~4Ghz
GA-Z77-D3H
DDR3 1600MhZ 16GB
SSD KingSpec P3-128
Radeon RX570 4GB
PSU Chieftec 550W

I dont remember, but on [115.0.5760.0 R2] there no lags on IPTV was.

Solved in 119


Unable to edit context when last saved context contain errors

If you wrongfully edit a context and make it invalid, it is not possible to correct the error using "nats context edit ". The command only prompts with an error and exit.
Example:
{
"description": "My-NATS",
"url": "nats://localhost:4222",
"token": "",
"user": "user",
"password": ""mySuperSecretPasswordEnteredTheWrongPlace,
"creds": "",
"nkey": "",
"cert": "",
"key": "",
"ca": "",
"nsc": "",
"jetstream_domain": "",
"jetstream_api_prefix": "",
"jetstream_event_prefix": "",
"inbox_prefix": "",
"user_jwt": ""
}
Will give an error: "nats: error: invalid character 'm' after object key:value pair"
Workaround is to edit the JSON file directly to fix the typo.
My environment:
Editor: vim
Shell: zsh 5.9 (x86_64-apple-darwin22.0)
NATS CLI version: 0.0.35

This is fixed in the nightly builds tjst will release in the next few weeks


[bug] Conditional then/else only works with primitives

@TotalTechGeek awesome job with the traversal stuff! We made the switch to this library for that functionality.
if/and/or works as expected if it returns a string, number, or boolean. However, if the if conditional returns an object, it returns undefined because https://github.com/TotalTechGeek/json-logic-engine/blob/master/defaultMethods.js#L53 returns this as a context for another rule.  It seems to me that the expected behavior would be that if the context is not a rule, it should just return the object.
TLDR; If I use JSON logic conditional that returns an object that is not a rule then I get the object back, if I use JSON Logic Engine I do not.
This might all be fixed if _parse would just return data if not satisfied.
Quick way to reproduce the issue is:

    const data = {
      first_name: true
    }

    const rule = {
      if: [
        {
          "===": [
            {
              var: "first_name"
            },
            true
          ]
        },
        { first_name: "scott" },
        { first_name: "no idea" }
      ]
    }

    const result = logic.run(rule, data)

    console.log(result) // 'undefined'

Hi!
I may explore a configuration that allows for this behavior in the near future, though I'm a bit hesitant to make it a default behavior, since I like the syntax remaining consistent as: { func: args }
If I may suggest a workaround for now, I'd recommend using preserve to describe structures that you wish to keep intact.
const rule = {
    if: [
      {
        "===": [
          {
            var: "first_name"
          },
          true
        ]
      },
      { preserve: { first_name: "scott" } },
      { preserve: { first_name: "no idea" } }
    ]
  }

In the default configuration, I may want to design it to throw an exception when it encounters a structure it does not recognize, but allow for a permissive mode that executes things how you're requesting (though I think it'll terminate traversal then & there, similar to preserve).

Also, where you can, I recommend trying
const f = engine.build(rule)

As it will try to optimize your function & do further checks on it. Building will actually throw the exception:
Method 'first_name' was not found in the Logic Engine.

Wow! Thanks for the quick response!
Your library, your rules. I can't use preserve unfortunately, but I tested it and it does work.

We are using these serialized rules across multiple programming languages, and we were testing this library to see if we could use this for the javascript runtime for the traversal feature and port over a few more languages to be able to do the same. The way we are using it though is as an AST to generate runtime functions in target languages.

I would say though, the preserve works, but the mental model breaks.  If I'm trying to simulate a language, the extra keyword is kind of "magic" in this context, particularly if the object I was going to return had the keyword preserve in it  :-p So I hope you decide to support returning the value given in the future if it is not a rule by default.
IE:

if (true) {
  return { first_name:  "scott" }
}
else {
  return {  first_name: "no idea" }
} // { first_name: "scott" }

// vs

if (true) {
  return { preserve: { first_name:  "scott" } }
}
else {
  return {  preserve: { first_name: "no idea" } }
} // magic { first_name: "scott" }

Okay. I will do my best to accommodate. I will add a permissive mode.
ETA: Sometime in the next hour :)

That's is very very kind of you!

The new version should contain the desired functionality,
// I know the undefined to ignore the methods is a bit weird, I may want to rework that.
const logic = new LogicEngine(undefined, { permissive: true })
const data = {
    first_name: true
  }

  const rule = {
    if: [
      {
        "===": [
          {
            var: "first_name"
          },
          true
        ]
      },
      { first_name: "scott" },
      { first_name: "no idea" }
    ]
  }

  const result = logic.run(rule, data)

  console.log(result) // { first_name: 'scott' }

Sorry to re-open this!
So, the current implementation only returns the first key.
const logic = new LogicEngine(undefined, { permissive: true })
const data = {
    first_name: true,
    last_name: true
  }

  const rule = {
    if: [
      {
        and: [
          {
            "===": [
               {
                 var: "first_name"
               },
              true
           },
           {
             "===": [
                {
                  var: "first_name"
                },
               true
            }
        ]
      },
      { first_name: "scott", last_name: "wyatt" },
      { first_name: "no", last_name: "idea" }
    ]
  }

  const result = logic.run(rule, data)

  console.log(result) // should return { first_name: 'scott', last_name: 'wyatt' }, is only returning { first_name: 'scott' }

🙃 Good catch, my apologies! If you use .build it should work. Patch incoming shortly. 🤦

Apologies for the late response, but a patch has been deployed that should resolve the described issue.
Thanks!

Confirmed, thanks!

Please let me know if there's anything else I can help with! Cool use case by the way!


UI drag and drop not working

Type: Bug

Freshly install and run vscode
Drag and drop any of the tabs or activity bar items
Nothing changed

I think this is related to my specific environment but I'm not sure what triggers the problem. I'm on NixOS with Wayland (Hyprland), tried both latest stable and insider builds, no luck. $HOME/.config/Code is not linked or read-only, just norm directory.
VS Code version: Code 1.93.0 (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z)
OS version: Linux x64 6.6.47
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 9 5950X 16-Core Processor (32 x 4566)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_offwebnn: disabled_off

Load (avg)
3, 3, 2

Memory (System)
125.70GB (118.16GB free)

Process Argv
--crash-reporter-id db973166-fe65-4542-84a4-70dbea71647e

Screen Reader
no

VM
0%

DESKTOP_SESSION
undefined

XDG_CURRENT_DESKTOP
Hyprland

XDG_SESSION_DESKTOP
undefined

XDG_SESSION_TYPE
wayland

Extensions disabled
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
g316j359:31013175
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
flightc:31119335
wkspc-onlycs-t:31132770
wkspc-ranged-c:31125598
ei213698:31121563

How about trying the same on https://vscode.dev/ ?

vscode.dev works. I feel it's related to my local config, could you please tell me where are the files that I should look into?

Also, changing order works on my Mac, which has settings sync turned on and shared same profiles with my Code/Code Insiders on linux.

I can reproduce this on stable (1.93.0) and latest insiders, but only if VS Code runs natively under wayland. Drag&Drop works under XWayland.
Some system info:

Kernel: 6.10.9 zen-1-1
Desktop: KDE Plasma (Wayland)
CPU: 11th Gen Intel i7-1165G7
GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics]

I confirm this too, running on Wayland.

Found an issue for this, over 2 years old :(
#156723

/duplicate #156723


Add horizontal gesture support for CupertinoScrollbar

Description
This updates the gesture support for the CupertinoScrollbar to include scrollables in the horizontal axis. Previously, they only worked for vertical scrollables.
Related Issues
Part of https://github.com/flutter/flutter/issues/31753
Tests
CupertinoScrollbar responds to gestures in the horizontal axis.
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.

For more context: I am going to follow similar conventions in updating the material/Scrollbar widget to support gestures. These 'thumbs' will be incorporated into a new DefaultScrollbar that will have a thumb, track, etc.


Interaction with Record & Tuple

Hi Jack, thanks for bringing up this proposal. It is a very interesting problem space to explore.
The following comment is not an objection but something we might want to start thinking about now.
So from your README, you do bring up Record & Tuple:

work with structs proposal (constraint by @rbuckton and @syg), normal objects and Record & Tuples (for consistency).

This is great and we would love to help you make those enums work well with R&T!
One thing that seems to be missing right now seems to be the exact nature of the interaction between the two proposals.
For instance, from the readme:

Support number, bigint, string, and symbol

This point seem to create a new kind of special objects that do look similar to records without being one:

Enum is a frozen, non-extensible normal object

From our point of view, enums could be Records and would naturally support the primitive restriction you brought up.
However we could also imagine enums being their own primitives like Record, Tuple & ObjectPlaceholders are likely to become.

Oh, I didn't express that well in the readme.
Normal enum is a frozen, non-extensible normal object, and ADT enum will try to integrate with structs and Record/Tuples. The details are still unclear yet. I have talked with @hax and @rbuckton, it might be possible that both Object, Record, and Structs are not enough for ADT enum and we need a new primitive kind of specialized object (I don't like that idea though).

Do normal enums have a restriction on what they can contain or it that only for ADTs?

Do normal enums have a restriction on what they can contain or it that only for ADTs?

No decision yet but I prefer normal enums can only have primitive values as their member.

A frozen non-extensible object that only accepts primitives inside do look very similar to a record.
For the ADT, you might be right a new type might be needed depending on the capabilities you might want to have on them.

A frozen non-extensible object that only accepts primitives inside do look very similar to a record.

Maybe Record is good for the normal enum. (unless we want it to have some prototype or methods on it)

enums will almost certainly need their own methods.

I would strongly prefer to be able to store non-primitive objects within enum ADTs.
An example would be a Result ADT which could have an arbitrary Ok(value) or Error(reason)
A way to opt-in to Record semantics for a particular ADT could be interesting to explore, though.

I hope enum could be value type (so have the equals semantic and copy by value semantic), if tuple/record finally be value type. (Immutable objects do not need copy by value semantic, but lack of equals semantic.) And I agree it's the hard requirement that ADT enum should have the ability to hold object references. And it's too cumbersome to do box/unbox manually. So I assume enum ADT would look like unions of tagged tuples with auto box/unbox. 😆


basicauthproxy: Add Basicauth http proxy example

Thanks mholt, you should have another look on the minio readme after these corrections.


Settings DSL: Allow setting the project directory of a subproject directly as part of the include() statement

Allow this:
include("apps/client-app")

(currently gives an error)
To have the same effect as:
include("client-app")
project(":client-app").projectDir = file("apps/client-app")

The path of the project in this example is :client-app. (This is different to include("apps:client-app") which would in addition create and unused middle project called apps.)
Why do we want this:

Locating a subproject in a nested folder is a common pattern and the current API/DSL (see above) is cumbersome
We won't change any working behaviour, but use something that currently is an error for it
It would align with what you can do in includeBuild(...) which defines the location of an included build

Maybe unify includeBuild and include APIs?

to be honest I'd like something more like what npm/yarn does which is you can have a pattern matched list of workspace directories, and it will look for modules from those, simplest might be
projects("apps")
include(":client-app")

would look in ./projects/foo for :foo, to be honest I've never really needed to go farther than just one directory deeper in regards to where to look, this is mostly to keep an excessive number of directories which may or may not be projects/modules out of my root directory. Though if you wanted to get really fancy this could work maybe
projects("apps/**")

and then maybe it could just go figure out that there's a :client-app and then a :client-app:db etc, suggestion is based on yarn/npm workspaces

We should be careful not to mix intent here. Currently, there is a clear distinction between the virtual layout (e.g. project paths like :client-app) and the on-disk layout (e.g. apps/client-app). Instead of shimming everything under the same API, why not provide a more fluent API to configure both information in a more consistent way? We should also be worried about making both include and includeBuild behave the same as both have very distinct intentions (including a project vs a build). Both may suppose to behave the same but unless they behave the same, 100%, we should avoid mixing them up. That would just be very confusing to the users.

perhaps, but making this work is challenging without a lot of repetition, I took a stab at implementing something easier and more automatic, turns out that it doesn't work properly on windows, haven't fixed it yet.
file("modules").walkTopDown().maxDepth(3).onEnter { f ->
  f.isDirectory
}.asIterable()
  .filter { f -> Files.exists(f.toPath().resolve("build.gradle.kts")) }
  .map { f -> f.toPath().toString() }
  .map { path -> path.substringAfter("/modules") }
  .forEach { relPath ->
    val proj = relPath.replace("/", ":")
    include(proj)
    project(proj).projectDir = file("modules$relPath")
  }

I've been something similar in settings.gradle.kts
fun Settings.includeGroup(name: String, depth: Int = 1) {
    file(name).walkTopDown()
        .maxDepth(depth)
        .filter { File(it, "build.gradle.kts").exists() || File(it, "build.gradle").exists() }
        .map { it.toRelativeString(rootDir).replace(File.separatorChar, ':') }
        .let { include(*it.toList().toTypedArray()) }
}

include(":xxx:yyy")
includeGroup("bbb", 2)
includeGroup("ccc")

The unfortunate side effect is that the project takes forever to sync when I add/remove/rename a module. That's the main problem.


The Haag at The Gates

New Analytics

Microsoft Exchange Mailbox Replication service writing Active Server Pages
Windows DISM Remove Defender
Windows Raccine Scheduled Task Deletion

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Windows DISM Remove Defender :white_check_mark:

diskUsage: 376832
runDuration: 2.935s
scanCount: 6

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
MSI Module Loaded by Non-System Binary :x:

diskUsage: 176128
runDuration: 1.5070000000000001s
scanCount: 1

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
MSI Module Loaded by Non-System Binary :x:

diskUsage: 176128
runDuration: 1.268s
scanCount: 1

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Windows Raccine Scheduled Task Deletion :x:

diskUsage: 421888
runDuration: 2.404s
scanCount: 1

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Windows Raccine Scheduled Task Deletion :x:

diskUsage: 421888
runDuration: 1.9080000000000001s
scanCount: 1

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Windows Raccine Scheduled Task Deletion :white_check_mark:

diskUsage: 425984
runDuration: 3.169s
scanCount: 2041

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
MSI Module Loaded by Non-System Binary :x:

diskUsage: 180224
runDuration: 1.304s
scanCount: 1


Add Front Page

Would be good to have an option to select a front page, either as:

html(the same as footer/header)
Parent page (the same as folder name on one level up)
path to wiki page

p.s. superb functionality!! Thanks for your work.

So a structure like this?
[FrontPage]
[the Wiki]
What is the scenario for this?
Why is the frontpage not in the wiki?

I was thinking of the same thing. But I think a nice front page, possibly with full size logo, big title etc would be nice as a document cover. While having such a thing as an opening for a wiki might be a bit weird.
some wiki's/ docs-as-code type of solutions allow for some meta data on the page. Maybe that is a good way to allow for flexibility between wiki and document?

@MaxMelcher The --glocaltoc option give this new importance, as we want the title page before the TOC.

By the way on this... with the last commit the TOC was wrapped in a
...
 container. I was able to add a title page by using CSS:
.toc {
    page-break-after: always;
}

h1.title {
    page-break-before: avoid !important;
    page-break-after: always;
    padding-top: 25%;
    text-align: center;
    font-size: 48px;
}

and the --globaltoc option set with HTML:
--globaltoc "
My Title
"
This works well for me anyways. Means I can set the title page at generation time.

I am now also in need of this.
So here are two options:

Define a front page via markdown and name it as a --frontpage parameter
Define the front page via html like @Diom directly in parameters

I guess as it takes a little while to polish this front page a markdown approach would be nicest (at least in my case).
I'll create a PR for this

I agree. Markdown is the way to go, adding a custom html-based frontpage would be too much.
thanks @cpetry

Would be good to include the 'folder' level markdown page. e.g. if exporting the path and subfolders below /MyProject/Architecture then the front page would be /MyProject/Architecture.md


Support shrinking in property-based testing

QuickCheck and Hypothesis, and all good variants of these, support shrinking: whenever an error occurs in a property test, a chop search is undertaken to find the smallest value from the set that exhibits the failure. Does KotlinTest do this? If not can it be added to the agenda for fairly quick implementation. Property-based testing frameworks are evaluated on supporting domain sampling based on static type, ability to specify bizarre generators, and shrinking.

I've never heard of this feature before but it sounds absolutely fantastic. I'd make excellent use of it myself. It's definitely going on on the list.

How does this work in other frameworks, if I'm testing ints say, I would generate 100 random ints and try those. If there is a failure, do you just output the smallest one that fails from the sample of 100 ?

Here's a relevant piece of code from hypothesis.
I guess for integers you could try bisecting, starting from the smallest failure.

Although not always done, it is possible to use bisection as a way of creating equivalence classes, i.e. to do equivalence partitioning, and report that. Currently though it is generally assumed that all values above the smallest fail are failures. Thus if there is a fail the do bisection between the smallest fail and the largest pass smaller than the fail. Of course this assumes a total order. For things without even a partial order. In that case, shrinkage is not really possible.

On a slightly unrelated point: another very cool feature of hypothesis is example database. When re-running tests after a failure it first tries previously found counter-examples.

Swift's implementation SwiftCheck also support shrinking in property based tests, maybe it can also be used as a reference/inspiration:
https://github.com/typelift/SwiftCheck#shrinking

I wonder how to do it. If a test fails for 700837 but passed for 0 do you do a binary search for the first failure. What if the first failure was Int.Min.

If the test fails for 700837, but passed for 0, @russel had said you then try 350418, then continue bisecting from there. I'd think that if the first failure was Int.Min, you'd never have had a success, and could just report that Int.Min fails.

Ok so that seems like it could work for ints/longs etc. Not much you could do with strings I suppose.
There's also the cases where you have more than one parameter. If a 5 parameter test fails for (15, Int.MAX, 0, -1 and "hello"), how do you shrink that down. Maybe shrinking is just limited to single input tests.

Yeah, unsure with strings. I would suggest that if you strongly want to implement this, support Numbers, and then support anything that provides an implementation of an interface, make the caller implement the details for anything beyond Numbers?

Basic shrinking has been added to master for release in 3.1.
Currently supports ints and strings in any combinations.

Now supports doubles and choose. Closing this ticket, will be part of the 3.1 release candidate when I publish it.


TypeError: connect() got an unexpected keyword argument 'api_version'

Thanks for your work on this and I'm hoping I can get it working. I updated puppetdb.yml with my info:
host: <IP_ADDRESS>
api_version: 3
port: 8081
timeout: 10
ssl_verify: False
ssl_key:
ssl_cert:
cache_file: '/tmp/ansible-inventory-puppetdb.cache'
cache_duration: 30
group_by:
group_by_tag:

but when I run ./puppetdb.py --list I get:
  File "./puppetdb.py", line 234, in <module>
    main()
  File "./puppetdb.py", line 226, in main
    inventory = PuppetdbInventory(args.refresh)
  File "./puppetdb.py", line 86, in __init__
    self.puppetdb = connect(**puppetdb_config)
TypeError: connect() got an unexpected keyword argument 'api_version'```

Any ideas?

Your running the newer version of pypuppetdb
Make sure you install the 0.1.1 branch not master and this will resolve itself.

Gotcha, I will give that a try, thank you for the response!

Hi @Techcadia ,I think version 0.1.1 doesn't support puppetdb 4.0., any chance to update script for using pypuppetdb 0.2.2 and puppetdb api version 4?

I think this was fixed by https://github.com/dmsimard/ansible-inventory-puppetdb/pull/5 - it's been merged.

I may be mistaken, but doesn't #5 make this incompatible with the 0.1.x version of pypuppetdb (which needs the api_version)?  I don't have an older version setup to test with, but I can do a pr, which should allow both versions of pypuppetdb to work.

A backwards compatible change would be welcome.


Clarification ref. running AutoTrain on Colab free

I was curious to know, following the steps in this notebook (by adding a HF and NGROK token), I'm running this on a free Colab using a T4 GPU.
https://colab.research.google.com/github/huggingface/autotrain-advanced/blob/main/colabs/AutoTrain.ipynb
When it comes to training, it then warns that AutoTrain is a paid offering. Is this not relying on the free Colab compute rather than any HF GPU? What exactly is being charged here? Thanks.

you can ignore that warning when running in colab or locally. ill fix it in the next iteration. :) sorry for the confusion

Thanks for getting AutoTrain working on Colab! I have successfully gotten as far as opening the UI. However, I got the following error when training tabular data.
> INFO    hardware: Local
> INFO    Running jobs: []
> INFO    Dataset: yi56-5z8c-rh4m (tabular_multi_class_classification)
Train data: [<tempfile.SpooledTemporaryFile object at 0x7cabb82542e0>]
Valid data: []
Column mapping: {'id': 'id', 'label': ['target']}

Pushing dataset shards to the dataset hub: 100% 1/1 [00:00<00:00, 16131.94it/s]
Downloading metadata: 100% 716/716 [00:00<00:00, 4.11MB/s]
INFO:     240d:1a:68c:f700:acc0:7e52:d7c5:7d09:0 - "POST /create_project HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/h11_impl.py", line 428, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 1106, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
    raise e
  File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 66, in app
    response = await func(request)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 274, in app
    raw_response = await run_endpoint_function(
  File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 191, in run_endpoint_function
    return await dependant.call(**values)
  File "/usr/local/lib/python3.10/dist-packages/autotrain/app.py", line 398, in handle_form
    dset.prepare()
  File "/usr/local/lib/python3.10/dist-packages/autotrain/dataset.py", line 357, in prepare
    preprocessor.prepare()
  File "/usr/local/lib/python3.10/dist-packages/autotrain/preprocessor/tabular.py", line 80, in prepare
    train_df.push_to_hub(
  File "/usr/local/lib/python3.10/dist-packages/datasets/arrow_dataset.py", line 5498, in push_to_hub
    repo_info.splits[split] = SplitInfo(
  File "/usr/local/lib/python3.10/dist-packages/datasets/splits.py", line 541, in __setitem__
    raise ValueError(f"Split {key} already present")
ValueError: Split train already present

The data I used is sample data: https://huggingface.co/docs/autotrain/tabular saved as csv
and the parameters I set are as follows:
{
  "seed": 42,
  "categorical_columns": ["category1", "catogory2"],
  "numerical_columns": ["feature1"],
  "num_trials": 10,
  "time_limit": 600,
  "categorical_imputer": "most_frequent",
  "numerical_imputer": "median",
  "numeric_scaler": "robust"
}

Adding the optional validation data did not solve the problem. I feel very close to getting it right, so please let me know the solution! I also got other errors when I left the default parameters as none. If you could provide a minimal tutorial to get it working, many people would be enjoy it. Thank you for advance.

you need a unique project name (a repo not in your hf account)

Thank you for your suggestion! I changed the project name. But, still the same "ValueError: Split train already present" error occurs....

okay. ill take a look!

the issue should be fixed now


Font size is not displaying properly in demo web app

[Enter feedback here]
TestApp:Settings:FontSize should be 24px.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 2984100d-7d78-2115-40f4-4b9478a5a5bc
Version Independent ID: 24ac6adc-6779-b847-ce81-c9d36e4b067b
Content: Quickstart for Azure App Configuration with ASP.NET Core
Content Source: articles/azure-app-configuration/quickstart-aspnet-core-app.md
Service: azure-app-configuration
GitHub Login: @zhenlan
Microsoft Alias: zhenlwa

@MunroRaymaker
Thanks for your feedback! We will investigate and update as appropriate.

24 without px works fine.

@zhenlan While you won't see any errors, the fontsize you choose has no impact, as you can verify in developer tools. This is because it's missing a font size unit.

@MunroRaymaker We have made the changes and it will be published soon. Thanks again for sharing the feedback.


Pixabay

New images on Pixabay are no longer CC0.
Pixabay lies about old ones. They still are CC0 although it says they are not. This should be noted.

@Aspie96 Feel free to submit a PR as I'm not maintaining this list anymore beyond accepting PRs.


Microsoft download link broken.

Hi Team,
Greetings for the day!!
We are using sqlserver-cmdlineutils chocolatey package in our automation and it downloads the file from https://download.microsoft.com/download/E/6/B/E6BFDC7A-5BCD-4C51-9912-635646DA801E/en-US/msodbcsql<IP_ADDRESS>x64.msi which is broken.
The correct link for download is https://download.microsoft.com/download/E/6/B/E6BFDC7A-5BCD-4C51-9912-635646DA801E/en-US/<IP_ADDRESS>/x64/msodbcsql.msi
Request you to update the chocolatey package with the updated URL mentioned above.
Many Thanks!!
Regards,
Shailesh

There is a new package version 15.0.1300.359001 which should fix the issue.

Issue is fixed by upgrading the version. Thanks a lot!


TestCafe Studio enhancements/plugin

I didn't find any link at the TestCafe Studio page to suggest features, so I hope it is ok to do so here.
I really like the recording functionality and Selector builder of the Studio. This is really helpful for my colleagues who aren't as technically versed as I am. The problem is, what we want to test is not just simple DOM manipulation, but analytics calls. I have a working script now where I wrote some helper classes to do the heavy lifting. But I can't use them in the Studio unless I convert a recorded test to a script. So for each test my colleagues would record (also for each edit), I would need to  convert that test to a script to be able to add my classes.
So my suggestion would be a some kind of macro I could write as script and the others could use them within the recorder just like the function but by selecting an existing macro from a list. And to go one step further if this macro could have parameters the user can provide.
If this is nothing you would consider for your roadmap is there a way to write our own plugins for this? I didn't find any info regarding this.

Hi @onyx-blackbird

We will think about the capability to publish the TestCafe Studio roadmap.
You mentioned several features:

the ability to call custom JavaScript code from the recorded test
the ability to pass parameters to a test
support for the page model class

Please create an issue for each suggestion in our Support Center. This will help us prioritize these suggestions. You can post all your future questions and suggestion related to TestCafe Studio here.

This repository is dedicated to the open source TestCafe version.


Community build failures

steps
publish sbt locally
run community build (https://github.com/scala/community-build)
problem
Four Three projects fail to extract: droste, lagom, lift-json, playframework
Two One project fails to run: gigahorse, enumeratum
expectation
extraction and running succeeds
notes
~~gigahorse: ~~
The version of contraband it is using doesn't work with scala 2.12.12: https://github.com/eed3si9n/gigahorse/pull/74
(https://github.com/eed3si9n/gigahorse/pull/74 is merged so gigahorse should work now)
enumeratum:
scala broke binary compatibility in 2.12.11 breaking https://github.com/tkawachi/sbt-doctest
I made a PR to restore binary compatibility for scala: https://github.com/scala/scala/pull/9191
I also made a PR to enumeratum to upgrade sbt-doctest to a version that is unaffected by the broken binary compatibility: https://github.com/lloydmeta/enumeratum/pull/292
droste:
[droste] [error] These subprojects were not found: "publish".  Found: "root", "docs", "laws", "tests", "reftreeJS", "metaJS", "coverage", "athemaJS", "coreJS", "macrosJS", "lawsJS", "meta", "testsJS", "scalacheck", "macros", "athema", "readme", "core", "reftree", "scalach
eckJS".
The extraction can be fixed with a minor adjustment to the droste.conf: https://github.com/scala/community-build/pull/1210
The droste project was depending on undefined sbt behavior: https://github.com/higherkindness/droste/pull/180
lift-json:
I added a PR to sbt to sanitize the uri used to construct the bsp id: https://github.com/sbt/sbt/pull/5809
lagom:
lagom/build.sbt:245: error: value ** is not a member of Seq[xsbti.VirtualFileRef]
    val products = (a.asInstanceOf[sbt.internal.inc.Analysis]).relations.allProducts.toSeq ** new SimpleFileFilter(
                                                                                ^
[error] sbt.compiler.EvalException: Type error in expression

I made a PR to lagom to try and address this: https://github.com/lagom/lagom/pull/3031
playframework:
This project is pinned to  and the following errors are reported:
[error] ${BASE}/project/Docs.scala:207:37: overloaded method value create with alternatives:
[error]   (x$1: xsbti.compile.ClassFileManager,x$2: Boolean)xsbti.compile.IncToolOptions <and>
[error]   (x$1: java.util.Optional[xsbti.compile.ClassFileManager],x$2: Boolean)xsbti.compile.IncToolOptions
[error]  cannot be applied to (java.util.Optional[Nothing], Boolean)
[error]     val incToolOpt = IncToolOptions.create(java.util.Optional.empty(), false)
[error]                                     ^
[error] ${BASE}/project/Docs.scala:210:16: not enough arguments for method run: (sources: List[xsbti.VirtualFile], classpath: List[xsbti.VirtualFile], converter: xsbti.FileConverter, outputDirectory: java.nio.file.Path, options: List[String], incToolOptions: xsbti.compile
.IncToolOptions, log: sbt.util.Logger, reporter: xsbti.Reporter)Unit.
[error] Unspecified value parameter reporter.
[error]     javadoc.run(sources, classpath, outputDir, options, incToolOpt, streams.log, reporter)
[error]                ^
[error] ${BASE}/project/Docs.scala:359:73: type mismatch;
[error]  found   : (sources: Seq[xsbti.VirtualFile], classpath: Seq[xsbti.VirtualFile], converter: xsbti.FileConverter, outputDirectory: java.nio.file.Path, options: Seq[String], log: sbt.util.Logger, reporter: xsbti.Reporter)Unit <and> (sources: Seq[xsbti.VirtualFile], c
lasspath: Seq[xsbti.VirtualFile], converter: xsbti.FileConverter, outputDirectory: java.nio.file.Path, options: Seq[String], maximumErrors: Int, log: sbt.internal.util.ManagedLogger)Unit
[error]  required: sbt.RawCompileLike.Gen
[error]     (which expands to)  (Seq[java.io.File], Seq[java.io.File], java.io.File, Seq[String], Int, sbt.internal.util.ManagedLogger) => Unit
[error]       RawCompileLike.prepare(s"$label Scala API documentation", compile.doc)
[error]                                                                         ^
[error] ${BASE}/project/Docs.scala:379:45: not enough arguments for method run: (x$1: Array[xsbti.VirtualFile], x$2: Array[String], x$3: xsbti.compile.Output, x$4: xsbti.compile.IncToolOptions, x$5: xsbti.Reporter, x$6: xsbti.Logger)Boolean.
[error] Unspecified value parameter x$6.
[error]             compiler.javaTools().javadoc.run(srcs.toArray, opts.toArray, incToolOptions, reporter, log)
[error]                                             ^
[error] four errors found

If I use origin/master instead, I get the following errors:
[error] ${BASE}/project/Docs.scala:186:37: overloaded method value create with alternatives:
[error]   (x$1: xsbti.compile.ClassFileManager,x$2: Boolean)xsbti.compile.IncToolOptions <and>
[error]   (x$1: java.util.Optional[xsbti.compile.ClassFileManager],x$2: Boolean)xsbti.compile.IncToolOptions
[error]  cannot be applied to (java.util.Optional[Nothing], Boolean)
[error]     val incToolOpt = IncToolOptions.create(Optional.empty(), false)
[error]                                     ^
[error] ${BASE}/project/Docs.scala:190:16: not enough arguments for method run: (sources: List[xsbti.VirtualFile], classpath: List[xsbti.VirtualFile], converter: xsbti.FileConverter, outputDirectory: java.nio.file.Path, options: List[String], incToolOptions: xsbti.compile.IncToolOptions, log: sbt.util.Logger, reporter: xsbti.Reporter)Unit.
[error] Unspecified value parameter reporter.
[error]     javadoc.run(sources, classpath, outputDir, options, incToolOpt, log, reporter)
[error]                ^
[error] two errors found

I made a PR to playframework to fix the type inference issue: https://github.com/playframework/playframework/pull/10442 and a PR to zinc to fix the javadoc binary compatibility issue: https://github.com/sbt/zinc/pull/909

I merged this issue into https://github.com/sbt/sbt/issues/5624#issuecomment-688235569


Contributors meetup: call for participants

Hi folks, recently I posted an outline of features and components we are missing towards a first public release (#121). Therefore, it's a good time to propose a meetup in recent days to discuss some of the details in the outline. I think this is a good way to align with the project roadmap for all contributors and then we can focus on some core building blocks.
I don't have a specific date and time right now, but I'd like to see responses of the community. Also, I think an online meetup is more approachable since we don't have a very large community at this stage.
So, if you are interested in the topics, please feel free to reply this thread to discuss topics, date and time here. Thank you!

+1. Looking forward to this meetup. Any date and time is ok for me!

Thanks @hi-T0day. Since you are in the Beijing time zone, I'll try to schedule a time which is convenient for all people.

weekend is good to me

A Friday or Saturday evening (PST) sounds good to me.

Any potential contributor is welcomed. We will also highlight some beginner issues good for a initial contribution.

FYI, this type of thing makes more sense to discuss on the mailing list directly.

Good suggestion, @jandrunas. The dev list is a bit overloaded with gitbox messages. I'll figure out a better way for the messages.

We can set up a notifications mailing list for gitbox messages.

Sure! I'll submit a ticket to the infra team.

Friday evening or weekend is good to me.

Friday evening or weekend is fine for me.

I'm closing this issue. Will create a new one if we are ready for organizing an online meetup. Thanks.


Mobile - portfolio - positions (styling issues)

Collapsed row
Build on left, design on right (incl notes):

Expanded row
Build on left, design on right (incl notes):

Inputs area
Build on left, design on right (incl notes)
Also note that the "cancel" button color should be blue:

this is based on old design, new design changes will be addressed by other tickets


Walking Speed of Refined Concrete (w/o Alien Life)

Mod source
Factorio Mod Portal
Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[X] Progression
[X] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?
Walking Speed of Refined Concrete is too low, it's a downgrade to concrete and same as bricks, when playing with a reduced pymod set (without Alien Life).

with Pyanodons Industrie: 150 %
with Alien Life active: 350 %
for reference normal concrete: with&without Alien Life 250 %

Steps to reproduce

play pyanodon mods without Alien Life mod
research refined concrete
compare speed boost between concrete and refined concrete

Additional context

Log file
No response

fixed


notification: allow to disable the polling

Up until now, it was not possible to disable the polling. The workaround was to set the polling interval to a insanely high value (like 1 day) but still, this is not a real fix.
The assumption was some form of polling was always useful, but over time this turns out to be not really true, and disabling polling is helpful at very least in testing.
Implying some form of polling was more than a historical combination of events than a conscious design decision, so let's fix it, better late than never.
Signed-off-by: Francesco Romani<EMAIL_ADDRESS>

/lgtm
/approve


Why the middleware blueprint applied across all blueprints?

This is my middleware for blueprint custom (group blueprint)
@custom.middleware('request')
async def verify_access_token(request):
try:
access_token = request.headers['x-access-token']
Actually i want to to apply the verify_access_token to blueprint custom (group) only. I actually have one more blueprint which is blueprint B. But when i try to send request to blueprint B, it call verify_access_token? how to solve it?
thanks in advance

This is currently not supported but is planned once routing is overhauled. The main problem is that routing (and blueprint resolving) is done only after request middleware have already run.
See #37 for discussion.


validation error

Hi,
when using the method that validates schema and also converts to data model using predefined model Reads, in case the Reads trying to access non existing key, the validate method return an empty array of errors.
line 110:
https://github.com/eclipsesource/play-json-schema-validator/blob/master/src/main/scala/com/eclipsesource/schema/SchemaValidator.scala

Hi,
thanks for the report. I'll set up a test case for this.

Read errors are exposed with 0.6.5. Unfortunately, currently not all the error information can be retrieved if Reads fail, i.e. schemaPath is unavailable. If there's anything else, please re-open.


Allow simulation of possibly infinite time series

Hi,
I use your library in a streaming environment to generate an ARIMA based time series. The simulated time series is supposed to be very long (possibly infinite).
Unfortunately, the whole series is simulated in advance and requires an array of size n. It would be nice to have the possibility to get an "iterator" based time series that allows to retrieve he latest Y_t only, which is then calculated on request. Space complexity should then reduce to max(p,q), right?
Is that something you consider as useful and would possibly implement?

Hey twiechert,
I'm not sure I would consider it useful to me personally, but so far I have used development of this library mostly as a learning tool, so it could be useful in that regard.
Right now I am putting some finishing touches on release 0.3, which is a major redesign (although the functionality is basically the same, with a few added features). After that release, I'll create a branch for this idea and try to include it in 0.4. Also feel free to fork, modify, and make a pull request. If you run into difficulty modifying the code, let me know, since that means it can probably be written better.
Also, since you're using this for simulation, I'll take this opportunity to let you know that in the next release there will be some breaking changes to the API. I'm renaming ModelCoeffiicients, ModelOrder, etc... to ArimaCoefficients, ArimaOrder, etc... Also, adding the concept of "drift", and clarifying the difference between a process with a drift and one with a mean.

Twiechert, release 0.4 has replaced ArimaSimulation with ArimaProcess. ArimaProcess does what you suggested and stores only the last number of values needed to generate the next value. Take a look at the source if interested. Ended up using an EvictingQueue from Guava in order to simplify the implementation, but I think it worked out pretty well. Downside is that multi-threaded access could be an issue, so the recommended approach is for the client to use a single thread for each individual ArimaProcess object.

Hi @signaflo ,
looks really good! You could sync the access to the queue as proposed here
https://plus.google.com/+googleguava/posts/QVqQGiSppF3
to allow for multithreaded access.


Fix a variable typo

The variable SysCls was used as SysClS in one spot in the python scripts. Quick PR to fix that.

never thought that someone is even looking at this old sample code :)

Thanks for noticing. Good to know that someone is even checking those codes
after 3 years,
On Mon, Apr 18, 2016 at 5:03 PM, Alexander Martinz<EMAIL_ADDRESS>
wrote:

Merged #1 https://github.com/OpenFireTechnologies/PortScanner/pull/1.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/OpenFireTechnologies/PortScanner/pull/1#event-631157280


Beam Row Avro conversion: fixed and bytes decimals

An Avro decimal logical type annotates Avro bytes or fixed types.
Current Row to Avro conversion is limited to bytes type and in addition hardcodes precision to MAX_INT and scale to 0.
I have attached a patch that adds support for decimal bytes and fixed types.
I could think of 2 possible ways to solve this:

Change Row decimal type to a logical type
Use Beam field options to pass additional metadata required to serialize decimals

I felt that overhauling Beam schema types might not be a good idea. Instead I went with option 2.
Passes ./gradlew check

Imported from Jira BEAM-12877. Original Jira may contain additional context.
Reported by: kegelink.

any updates?


Better check/remove API

I'd like to be able to add links only on some routes (or route groups), and remove them when I go to other routes, but there is no easy way to check if the link has been added, or to remove only a single tag. Flow Router also lacks the necessary hooks to make this smooth.
With Flow you can do it in triggersEnter but if you are navigating between pages that rely on bootstrap (for example) you'll get a flash of unstyled content between routes.
It would be nicer if there was a registry or some way to check if the tag has already been added. I propose the following:

Add a method to remove links based on a globally unique field, such as href/src.

Add a method to check if links are added based on a globally unique field such as href/src.

Have the add methods return a handle that can be passed to a remove method, or that contains methods to manage the lifecyle of the link.

These methods would also help with issue #34
I'm happy to make a PR for these.

In case anyone is interested, I ended up creating a kind of watcher function in triggers.enter, which detects when the group changes (using a local state var), and adds or removes the link as necessary.
Using this pattern, each managing chunk of code (my main front end, and the flow-db-admin package) can control only their own bits, and I don't have to worry about removing everything all the time.
var currentGroup = ''
FlowRouter.triggers.enter([
  function onEnterTrigger (context) {
    // did the group change?
    if (!context.route.group || currentGroup !== context.route.group.name) {
      const clientLink = {
        rel: 'stylesheet',
        type: 'text/css',
        href: '/stylesheets/main.css'
      }
      currentGroup = context.route.group && context.route.group.name
      // my client routes either use no group (undefined), or 'admin'
      if (currentGroup === 'admin' || !currentGroup) {
        DocHead.addLink(clientLink)
      } else {
        DocHead.removeLink(clientLink)
        // may also clean up Blaze/React remnants here
      }
    }
  }
])

My fork of flow-db-admin does something similar for bootstrap and its own links.


[GSSoC'23] Add FAQ answer for the question: Which license do I need?

Here is the Answer of first FAQ
Which license do I need?
Which license you need depends on the specific use case and the type of content you want to license. Here are some common license types and their typical applications:

Creative Commons (CC) licenses: If you want to share your work with others and allow them to use, distribute, or modify it under certain conditions, Creative Commons licenses are a popular choice. There are several types of CC licenses, ranging from more permissive to more restrictive.
Open-source licenses: If you are sharing software or code, open-source licenses govern the terms under which others can use, modify, and distribute your code. Popular open-source licenses include the MIT License, GNU General Public License (GPL), and Apache License.
Commercial licenses: If you want to monetize your work and restrict others from using it without permission, you may choose a commercial license. These licenses typically require individuals or organizations to purchase a license to use your content for commercial purposes.
Public domain dedication: If you want to release your work into the public domain, where anyone can use it without restrictions, you can choose to dedicate it to the public domain. Keep in mind that public domain laws vary by jurisdiction.
Custom licenses: In some cases, you may want to create a custom license with specific terms and conditions tailored to your needs. Custom licenses can offer more flexibility but may require legal expertise to draft and enforce.

It's important to carefully consider your goals, the intended audience, and the level of control you desire over your work when choosing a license. You may also want to consult with a legal professional to ensure your chosen license aligns with your intentions and provides the necessary legal protection.

@praveenscience Please assign this issue to me under gssoc'23

@praveenscience  Please assign this issue to me under gssoc'23

@bhartik021 One of the best ways of adding the issue. Where are you planning to add this though? Is this for the App or the Landing Page? 🤔
Why did you mention GSSoC 23? I specifically asked folks not to mention it right?

For the Landing page


Upload ChromDB vectordb from s3

Feature request
Greetings everyone,
I'm interested in directly saving the chromaDB vector store to an S3 bucket. Is there a way to accomplish this?
Motivation
I want to run my LLM directly in the AWS cloud, but firstly I need to deal with implementation of efficient loading and saving of my db.
Your contribution
I already implemented function to load data from s3 and creating the vector store.
import boto3

from langchain.document_loaders import S3DirectoryLoader
from langchain.vectorstores import Chroma
from langchain.embeddings import OpenAIEmbeddings

# Initialize the S3 client
s3 = boto3.client('s3')

# Specify the S3 bucket and directory path
bucket_name = 'bucket_name'
directory_key = 's3_path'

# List objects with a delimiter to get only common prefixes (directories)
response = s3.list_objects_v2(Bucket=bucket_name, Prefix=directory_path, Delimiter='/')

# Extract the common prefixes (directories) from the response
common_prefixes = response.get('CommonPrefixes', [])

# Print the directory names
for prefix in common_prefixes:
    print(prefix['Prefix'])

def create_chromadb_from_s3():
    # Load data from s3
    docs = []
    for key in s3.list_objects_v2(Bucket=bucket_name, Prefix=directory_path, Delimiter='/').get('CommonPrefixes', []):
        loader = S3DirectoryLoader(bucket_name, key['Prefix'])
        docs.extend(loader.load())

    # Split documents
    text_splitter = RecursiveCharacterTextSplitter(chunk_size=500, chunk_overlap=50)
    texts = text_splitter.split_documents(docs)

    embeddings = OpenAIEmbeddings(openai_api_key=open_ai_secret)

    db = Chroma.from_documents(
        texts, embedding=embeddings
    )
    return db

Unfortunately  there is no way to set "persist_dir" as connection to the s3 bucket. Any idea how we can implement it?

Hello thanks for response. Do you have any idea how to get vector store as string?

Hey @Arrmlet, I have been working on something similar. Although, I haven't been using langchain for chromadb. I have been using the chromadb libary.
Here is what I have done. Hope it helps.
I created a persistent client using chromadb.PersistenClient(path="path/to/file"). In that path directory, you'll find a chroma.sqlite3 object. After you create a collection and add records to the vdb, you'll see another directory with a uuid (?) and in that you will see four .bin files. After I am done with adding to the collection, I upload all objects in the path directory to s3.
I spent a lot of time messing around with download_file from boto3. I don't know why but the object key always had a suffix like ".d32453H". I don't have versioning in my bucket so it wasn't a version id. Anyway, I then tried get_object:
response = s3.get_object(Bucket=bucket, Key=key)         object_content = response['Body'].read()         with open(local_filepath, 'wb') as f:             f.write(object_content)
But this only worked for the .sqlite3 object. The .bin objects still had the suffix. So I skipped the .bin objects. I then ran chromdb.PersistentClient(path="path/to/f") and client.get_collection(name='name_of_collection") and queried the collection. It worked. You don't actually need to get the .bin objects. The uuid directory and .bin files appear after you query the collection.
I've been looking for an issue to work on some maybe I can implement this in langchain.

Hey @Arrmlet, I am trying to do something similar but using chromadb not langchain. But this has worked for me.
Create a persistent client. In chroma, it is chromadb.PersistentClient(path="path/to/vdb"). This will create a chroma.sqlite3 object in the path. Add docs to the vdb. This will create a new directory in the path with some .bin files. Don't know what these are for and I actually thought that I didn't need to persist them but have decided otherwise. After your done building the vdb and want to persist, upload the directory and objects to s3.
for path in source_path.rglob('*'):
        if path.is_file():
            s3_key = path.relative_to(source_path)
            s3.upload_file(Filename=str(path), Bucket=vds_bucket, Key=str(s3_key))
            print(f"Object uploaded: {path} -> {s3_key}")

To retrieve the vdb in a machine, use get_objects and write the objects to a new file, like:
for obj in objs.get('Contents', []):
            key = obj['Key']
            local_filepath = os.path.join(local_dir, key)
            os.makedirs(os.path.dirname(local_filepath), exist_ok=True)
            response = s3.get_object(Bucket=vds_bucket, Key=key)
            object_content = response['Body'].read()
            with open(local_filepath, 'wb') as f:
                f.write(object_content)
            print(f"Downloaded: {key} -> {local_filepath}")

I tried using download_file but got some unexpected suffixes on the keys. Not sure why because I don't have versioning enabled on bucket.
Anyway this is working so far for me. Good luck. Let me know if you find a better way.

I tried using Chroma from langchain and it works too. Instead of creating the vdb like this:
db = Chroma.from_documents(
        texts, embedding=embeddings
    )

initialise like:
db = Chroma(embedding_function = embeddings, persist_directory = 'path/to/vdb')

then use add_documents.

Hi Sir ,
1st Issue:
I am trying to save langchain chromadb into s3 bucket, i gave s3 bucket path as persist_path value, but unfortunately it is creating folder in local by specified s3 bucket path and save chromadb in it. Can anyone help me to save chroma to specified s3 bucket?
2nd Issue :
I copied existing langchain chromadb from local to s3 bucket, but i am getting empty list when i try to load it from s3 bucket.
Please help to resolve this issue

@sharmila-polamuri persist to a local directory then put that object into a the s3. You can’t directly save the sqlite3 object in s3.

Not sure about 2nd issue. But I suspect that if you use a local directory to persist, then use directory with same name to load the vdb, then it will work.


Improved code design and code refactoring

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


Feature/notify

Replace sendgrid with notify for the invitation and magic link emails
Notify API keys have been added to review, staging, qa and prod camden environments ready.
The notify template IDs are config from councils.yml.
The rspec tests are broken and i'm not sure how to fix them.

We're still discussing the best way to proceed on the email provider issue, so hold off merging this until we decide (hopefully within the hour).

We're still discussing the best way to proceed on the email provider issue, so hold off merging this until we decide (hopefully within the hour).

OK. Looking at the types of changes involved (a lot of config) I don't think it would be too hard to merge the rubocop changes back into this - but we'll avoid that unless we have to.


I'd like to join this project's community

Your public repo
https://github.com/blu3mo/gov4git-identity-public.git
Your public branch
main

Approved

 Follow up
On Wednesday, 10-Apr-24 17:09:28 UTC by Gov4Git dev
@blu3mo was added to the community.


Is this repository still being maintained in 2023?

Hello @juanpicado, @watilde, @EmmaRamirez, @ccarruitero, et al.
Is this repository still being maintained in 2023? There is nothing on the ReadMe that says it's deprecated. Also, it is still referenced on nodeschool, but the last checkin was August 20, 2020. If the project is not being maintained it would be helpful to have that noted in the ReadMe. I don't want to invest more time into trying to run this if there are no maintainers.
I can submit an official issue if this is still being maintained, but didn't want to go through all that effort if it is not maintained.
Any suggestions on future intent of this project or needs would be helpful for me to know if I should invest any more time in getting this running. If it was a good training I was hoping to add it to my team's official list of training.
Short summary of my issue is that the local registry doesn't allow me to add a user on a windows machine running npm 9.5.1. Possibly because it can't bootstap a root user. I saw an open issue #150 that seemed related, but I have tried the recommendation without any luck. I also saw this was upgraded to use verdaccio #143 for the local registry back in May/Jun 2020, and I have to imagine that is a very old version which might be why it doesn't run with my npm 9.5.1. I couldn't find any docs/readmes in this repository that readily defined the design and intent of the locally registry setup which makes it difficult to triage this issue on my own without wading through all the code and build process of this package.
Any guidance or referenced material is appreciated.
Thanks!

Hi @jswanso
Thanks for using this packages and for filling this issue.
The idea behind use a local registry is that you don't have to interact with an external service in order to use this package (it is useful if you do a workshop and don't have access to internet).
When the project started they created a script to emulate npm registry and as you mention around mid 2020 we changed it to use verdaccio.
Until I understand you, you are having same problem as #150, right? If you have a trace or some useful information about the error please add it in the same issue to get all centralized in the same place. I'll try to find some time this week to debug the error.
In the meantime I will suggest you to skip the "Login" challenge and try other ones.

Thanks @ccarruitero and @juanpicado for responding and willing to take a look at this!
I was really pleased when working through the exercise to learn you used a local registry to create a sandbox for running these labs. I don't have an npmjs.com account and didn't want to create one just to use this lab.
Here is a detailed rundown of my setup.
For full disclosure I installed this npm package locally instead of globally and then use npx to run the commands. I've never had an issue with this in other projects and I assume this isn't the issue.
After installing the "how-to-npm" package, I ran into multiple issues, but have been able to work through most of them so far by installing missing/outdated packages. Here is what my package.json file looks like for the missing dependencies.
File Content for package.json

{
  "dependencies": {
    "concat-stream": "^2.0.0",
    "how-to-npm": "^2.5.1",
    "which": "^3.0.1",
    "workshopper-adventure": "^7.0.0"
  }
}

Step 2 "02 login" is where I have the issue. I've created a sub directory called "workdir" that is my working directory for running the "02 Login" commands. After running npm init -y in the "workdir" folder it has two files.
Folder Content for workdir

.npmrc
package.json

File Content for .npmrc

registry = http://localhost:15443/
userconfig = C:\Users\<MY USER NAME>\.config\how-to-npm\npmrc

File Content for package.json

{
  "name": "workdir",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC"
}

I ran both npm adduser and npm adduser --auth-type=legacy which both failed with the error "No credentials to set." Here is the detailed log message from the second command, but really the error message is the same from either command.
File Content for npm log

0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing npm:load:whichnode Completed in 2ms
4 timing config:load:defaults Completed in 3ms
5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 2ms
6 timing config:load:builtin Completed in 3ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:c:\gittrain\nodeschool-npm2\workdir\.npmrc Completed in 1ms
10 timing config:load:project Completed in 6ms
11 timing config:load:file:C:\Users\<MY USER NAME>\.config\how-to-npm\npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:C:\Users\<MY USER NAME>\AppData\Roaming\npm\etc\npmrc Completed in 1ms
14 timing config:load:global Completed in 2ms
15 timing config:load:setEnvs Completed in 1ms
16 timing config:load Completed in 19ms
17 timing npm:load:configload Completed in 19ms
18 timing npm:load:mkdirpcache Completed in 1ms
19 timing npm:load:mkdirplogs Completed in 1ms
20 verbose title npm adduser
21 verbose argv "adduser" "--auth-type" "legacy"
22 timing npm:load:setTitle Completed in 2ms
23 timing config:load:flatten Completed in 5ms
24 timing npm:load:display Completed in 5ms
25 verbose logfile logs-max:10 dir:C:\Users\<MY USER NAME>\AppData\Local\npm-cache\_logs\2023-05-09T21_52_53_138Z-
26 verbose logfile C:\Users\<MY USER NAME>\AppData\Local\npm-cache\_logs\2023-05-09T21_52_53_138Z-debug-0.log
27 timing npm:load:logFile Completed in 9ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 39ms
31 notice Log in on http://localhost:15443/
32 silly logfile start cleaning logs, removing 2 files
33 silly logfile done cleaning log files
34 verbose adduser before first PUT {
34 verbose adduser   _id: 'org.couchdb.user:justin',
34 verbose adduser   name: 'justin',
34 verbose adduser   password: 'XXXXX',
34 verbose adduser   email<EMAIL_ADDRESS>34 verbose adduser   type: 'user',
34 verbose adduser   roles: [],
34 verbose adduser   date: '2023-05-09T21:53:13.476Z'
34 verbose adduser }
35 http fetch PUT 201 http://localhost:15443/-/user/org.couchdb.user:justin 28ms
36 info adduser Logged in on http://localhost:15443/.
37 timing command:adduser Completed in 20303ms
38 verbose stack Error: No credentials to set.
38 verbose stack     at Config.setCredentialsByURI (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\config\lib\index.js:806:13)
38 verbose stack     at AddUser.exec (C:\Program Files\nodejs\node_modules\npm\lib\commands\adduser.js:40:21)
38 verbose stack     at async module.exports (C:\Program Files\nodejs\node_modules\npm\lib\cli.js:134:5)
39 verbose cwd c:\gittrain\nodeschool-npm2\workdir
40 verbose Windows_NT 10.0.19042
41 verbose node v18.16.0
42 verbose npm  v9.5.1
43 error No credentials to set.
44 verbose exit 1
45 timing npm Completed in 20376ms
46 verbose code 1
47 error A complete log of this run can be found in:
47 error     C:\Users\<MY USER NAME>\AppData\Local\npm-cache\_logs\2023-05-09T21_52_53_138Z-debug-0.log

As seen in the detailed log it is failing on the HTTP put to local host with "No credentials to set". In a separate test I pulled down the "verdaccio" package to run locally just to see if my npm adduser command would get a similar issue, but it worked just fine. Of course, I was running the latest version verdaccio.
I've done a little more debugging locally on the code to see if I could spot the issue, but I think I am missing some context on the setup of these workshops. I didn't find any additional architecture and getting started documentation in this repository to go further into debugging.
Any help is appreciated. If you have any additional resources you could point me at to help fill in the gaps that would also be great.

Hello @juanpicado and @ccarruitero
I traced through the npm CLI code to see why I get a "No credentials to set" error. Here are my findings.
Summary
The locally hosted Verdaccio registry used in the latest how-to-npm package doesn't return a token when npm adduser command is called and subsequently errors out. I am use npm version 9.5.1.
Details
The CLI npm adduser command calls setCredentialsByURI method passing in new credentials (newCreds). All the parameters passed into the setCredentialsByURI method are undefined other than the URI parameter which, as expected, points to the localhost (i.e., http://localhost:15443/). The setCredentialsByURI method is what throws the No credentials to set error that is reported in my prior log.
Walking backwards in the code I see that the auth.adduser method returns the newCreds variable which consists of { token: undefined }.
Stepping into the auth.js adduser method I see the profile.adduserCouch method called with the command line username, email, and password that I supplied in the CLI when prompted.
The adduserCouch method looks like it does a HTTP PUT to the local registry which based on the logs is successful with a HTTP Status Code of 201. The returned results res consists of { ok: 'created', username: 'justin' }, but it doesn't have a token returned. Subsequently the auth.js adduser method returns the undefined token to the calling adduser method.
Assuming that the npm CLI code is correct, the issue seems to be with the locally hosted repository not returning a token. I don't know what the expectations are of this registry, and I hope someone can provide the answer.
For comparison, when I run the latest verdaccio locally my npm adduser works fine and I see the returned payload has a provided token.
Verdaccio returned payload example: { ok: "user 'user1' created", token: 'VkPPcaSLZxmz+bMm822Qyw==', username: 'user1' }
Follow-up
I know @ccarruitero you suggested that I skip # 02, but I fear that doing so is only going to get me so far before I run into this registry issue again. I am hoping the detailed write above will help you in triaging this issue. I am not sure there is much more I can do to help on this without having more background on the design of this workshop.
Further guidance is appreciated.

Hi @jswanso did you ever get anywhere with this? I'm having the same issue over a year later.

Hello @juanpicado and @ccarruitero
I traced through the npm CLI code to see why I get a "No credentials to set" error. Here are my findings.
Summary
The locally hosted Verdaccio registry used in the latest how-to-npm package doesn't return a token when npm adduser command is called and subsequently errors out. I am use npm version 9.5.1.
Details
The CLI npm adduser command calls setCredentialsByURI method passing in new credentials (newCreds). All the parameters passed into the setCredentialsByURI method are undefined other than the URI parameter which, as expected, points to the localhost (i.e., http://localhost:15443/). The setCredentialsByURI method is what throws the No credentials to set error that is reported in my prior log.
Walking backwards in the code I see that the auth.adduser method returns the newCreds variable which consists of { token: undefined }.
Stepping into the auth.js adduser method I see the profile.adduserCouch method called with the command line username, email, and password that I supplied in the CLI when prompted.
The adduserCouch method looks like it does a HTTP PUT to the local registry which based on the logs is successful with a HTTP Status Code of 201. The returned results res consists of { ok: 'created', username: 'justin' }, but it doesn't have a token returned. Subsequently the auth.js adduser method returns the undefined token to the calling adduser method.
Assuming that the npm CLI code is correct, the issue seems to be with the locally hosted repository not returning a token. I don't know what the expectations are of this registry, and I hope someone can provide the answer.
For comparison, when I run the latest verdaccio locally my npm adduser works fine and I see the returned payload has a provided token.
Verdaccio returned payload example: { ok: "user 'user1' created", token: 'VkPPcaSLZxmz+bMm822Qyw==', username: 'user1' }
Follow-up
I know @ccarruitero you suggested that I skip # 02, but I fear that doing so is only going to get me so far before I run into this registry issue again. I am hoping the detailed write above will help you in triaging this issue. I am not sure there is much more I can do to help on this without having more background on the design of this workshop.
Further guidance is appreciated.


Fix #15 : Added I2C Functions

Due to merge conflicts, created I2C related functionalities in a separate PR.

Opening a new PR with resolved merge conflicts!

It does not make sense to follow your PRs and then you close them en mass and open new ones.


consecrate missing re

i would love to have a draggable effect for the positive side effects and an additional effect for the negatives. so it can be dragged regardless of deity.
theres a section in prey for death that relies on this spell working on a large map. this would be super useful.

Not automatable today, sorry


Possible Transaction Issue

I haven't verified this, but have noticed when running two jobs at the same time on Postgres I'm getting the following error:
Caused by: org.postgresql.util.PSQLException: ERROR: out of shared memory   Hint: You might need to increase max_locks_per_transaction.
The code is shown below
  @Scheduled(cron = "*/30 * * * * *") //every 30 secs
  @SchedulerLock(name = "update1", lockAtLeastFor = 15 * 1000)
  @Transactional(isolation = Isolation.READ_UNCOMMITTED)
  public void update1() {
    log.debug("Running update1: " + new Date());
    myDAO.update1();
    log.debug("Finished Running update1: " + new Date());
  }

  @Scheduled(cron = "*/30 * * * * *") //every 30 secs
  @SchedulerLock(name = "update2", lockAtLeastFor = 15 * 1000)
  @Transactional(isolation = Isolation.READ_UNCOMMITTED)
  public void update2() {

I'll try to confirm tomorrow, but thought I'd raise this in case you get a chance to test. We're using version 0.11.0.

Hi, thanks for feedback. I doubt the exception is caused by ShedLock, it just updates one row in autocommit mode. But if you have any information proving me wrong, please do not hesitate to report it here.

That's most likely a Postgres memory config issue:
https://www.postgresql.org/docs/9.1/static/runtime-config-locks.html
https://www.postgresql.org/docs/9.1/static/kernel-resources.html#SYSVIPC

It seems to be a problem with one of our queries inside the scheduled job.