Use Kubernetes 1.19 in CI

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

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

Test name
Commit
Details
Rerun command

release-notes_istio
84128914f48e0978efb8a0b585ca2a21cbc48e85
link
/test release-notes_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.

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

Test name
Commit
Details
Rerun command

release-notes_istio
84128914f48e0978efb8a0b585ca2a21cbc48e85
link
/test release-notes_istio

integ-multicluster-k8s-tests_istio
84128914f48e0978efb8a0b585ca2a21cbc48e85
link
/test integ-multicluster-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.

/test integ-multicluster-k8s-tests_istio

@howardjohn I think this one needs release notes/upgrade notes.

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

Test name
Commit
Details
Rerun command

release-notes_istio
84128914f48e0978efb8a0b585ca2a21cbc48e85
link
/test release-notes_istio

integ-multicluster-k8s-tests_istio
84128914f48e0978efb8a0b585ca2a21cbc48e85
link
/test integ-multicluster-k8s-tests_istio

integ-ipv6-k8s-tests_istio
84128914f48e0978efb8a0b585ca2a21cbc48e85
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.

Why? its not user facing

/retest
I think its a flake in ubuntu  not related

Oh wait. Nevermind. Read it, reviewed it in terms of CI, and then was thinking of supporting 1.19.

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

Test name
Commit
Details
Rerun command

integ-ipv6-k8s-tests_istio
84128914f48e0978efb8a0b585ca2a21cbc48e85
link
/test integ-ipv6-k8s-tests_istio

integ-multicluster-k8s-tests_istio
84128914f48e0978efb8a0b585ca2a21cbc48e85
link
/test integ-multicluster-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
same ubuntu flake

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

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
84128914f48e0978efb8a0b585ca2a21cbc48e85
link
/test integ-multicluster-k8s-tests_istio

integ-ipv6-k8s-tests_istio
84128914f48e0978efb8a0b585ca2a21cbc48e85
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.

Ipv6 has legit failures - researching

Blocked by 4d901a84e5907fba9d50825c8acab14794254a9d in kind. Will wait a ~week for release with that sha.

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

Test name
Commit
Details
Rerun command

integ-ipv6-k8s-tests_istio
84128914f48e0978efb8a0b585ca2a21cbc48e85
link
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
d28fe4c82f42faa8597724330294adc7a0e1c43b
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.

/retest

@howardjohn: PR needs rebase.

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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
4df07296d749f797218f0c40883cd32e094be4ac
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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test gencheck_istio

integ-distroless-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test gencheck_istio

integ-distroless-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-distroless-k8s-tests_istio

integ-operator-controller-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test gencheck_istio

integ-distroless-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-distroless-k8s-tests_istio

integ-operator-controller-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-operator-controller-tests_istio

integ-pilot-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test gencheck_istio

integ-distroless-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-distroless-k8s-tests_istio

integ-operator-controller-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-operator-controller-tests_istio

integ-pilot-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-pilot-k8s-tests_istio

lint_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test lint_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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test gencheck_istio

integ-distroless-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-distroless-k8s-tests_istio

integ-operator-controller-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-operator-controller-tests_istio

integ-pilot-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-pilot-k8s-tests_istio

lint_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test lint_istio

release-test_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test release-test_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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test gencheck_istio

integ-distroless-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-distroless-k8s-tests_istio

integ-operator-controller-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-operator-controller-tests_istio

integ-pilot-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-pilot-k8s-tests_istio

lint_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test lint_istio

release-test_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test release-test_istio

integ-ipv6-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test gencheck_istio

integ-distroless-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-distroless-k8s-tests_istio

integ-operator-controller-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-operator-controller-tests_istio

integ-pilot-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-pilot-k8s-tests_istio

lint_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test lint_istio

release-test_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test release-test_istio

integ-ipv6-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-ipv6-k8s-tests_istio

integ-telemetry-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test gencheck_istio

integ-distroless-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-distroless-k8s-tests_istio

integ-operator-controller-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-operator-controller-tests_istio

integ-pilot-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-pilot-k8s-tests_istio

lint_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test lint_istio

release-test_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test release-test_istio

integ-ipv6-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-ipv6-k8s-tests_istio

integ-telemetry-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-telemetry-k8s-tests_istio

analyze-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test analyze-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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test gencheck_istio

integ-distroless-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-distroless-k8s-tests_istio

integ-operator-controller-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-operator-controller-tests_istio

integ-pilot-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-pilot-k8s-tests_istio

lint_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test lint_istio

release-test_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test release-test_istio

integ-ipv6-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-ipv6-k8s-tests_istio

integ-telemetry-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-telemetry-k8s-tests_istio

analyze-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test analyze-tests_istio

unit-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test gencheck_istio

integ-distroless-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-distroless-k8s-tests_istio

integ-operator-controller-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-operator-controller-tests_istio

integ-pilot-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-pilot-k8s-tests_istio

lint_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test lint_istio

release-test_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test release-test_istio

integ-ipv6-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-ipv6-k8s-tests_istio

integ-telemetry-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-telemetry-k8s-tests_istio

analyze-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test analyze-tests_istio

unit-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test unit-tests_istio

release-notes_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test release-notes_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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test gencheck_istio

integ-distroless-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-distroless-k8s-tests_istio

integ-operator-controller-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-operator-controller-tests_istio

integ-pilot-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-pilot-k8s-tests_istio

lint_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test lint_istio

release-test_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test release-test_istio

integ-ipv6-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-ipv6-k8s-tests_istio

integ-telemetry-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-telemetry-k8s-tests_istio

analyze-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test analyze-tests_istio

unit-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test unit-tests_istio

release-notes_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test release-notes_istio

integ-security-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test gencheck_istio

integ-distroless-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-distroless-k8s-tests_istio

integ-operator-controller-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-operator-controller-tests_istio

integ-pilot-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-pilot-k8s-tests_istio

lint_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test lint_istio

release-test_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test release-test_istio

integ-ipv6-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-ipv6-k8s-tests_istio

integ-telemetry-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-telemetry-k8s-tests_istio

analyze-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test analyze-tests_istio

unit-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test unit-tests_istio

release-notes_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test release-notes_istio

integ-security-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-security-k8s-tests_istio

integ-multicluster-k8s-tests_istio
4df07296d749f797218f0c40883cd32e094be4ac
link
/test integ-multicluster-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.


Marshalling: Generic types

JavaScript code should be able to:

Get a property value or return value that is an instance of a .NET generic class, struct, or interface
Construct a new instance of a .NET generic class or struct
Implement a .NET generic interface in a JavaScript class and pass an instance of it to .NET

Note certain special-case generic types with mappings to built-in JavaScript types are implemented separately, including generic collections and generic tasks. This is about the general case.
Invoking generic methods is tracked separately as #67

Merging with #67


Windows client SSL_ERROR_SYSCALL

Hey,
I was working on some failure scenarios in the communication between two openssl clients (one server and one client) and I encountered some weird behavior and I was wondering what is happening.
In more detail I am doing a SSL handshake (SSL_do_handshake()) following TLS 1.2.. I am testing out a the scenario when the client certificate is expired. In this scenario I am observing that it works differntly between Windows and UNIX.

UNIX: SSL_get_error is SSL_ERROR_SSL  and the client has the error TLS error: 268436501:SSL routines:OPENSSL_internal:SSLV3_ALERT_CERTIFICATE_EXPIRED in its error queue
Windows: SSL_get_error is  SSL_ERROR_SYSCALL and a WSAGetLastError of 10054

I tried setting the SSL_CTX_set_info_callback(ctx.ssl_ctx_.get(), apps_ssl_info_callback); to get additional information.

On linux the alert that is raised is:
SSL error[undefined][TLS client read_session_ticket]: ret: 557 alert type fatal alert desc certificate expired

On Windows the alert that is raised is:
SSL error[SSL_connect][TLS client read_session_ticket]: ret: -1 alert type unknown alert desc unknown

This means that on Windows the client does not know what went wrong during the handshake.
On wireshark it seems the package exchange is the same on both platform and they seem correct. This means that a TLSv1.2 Alert (Level: Fatal, Description: Certificate Expired) is sent from the server to the client. And the client is sending back the TCP ACK. I have not uploaded the traces since they are the same and seem good but I am happy to add them if you think they might help.
My library version is OPENSSL_VERSION 0x1010007f
I was wondering if this is the expected behavior and you have any pointers on how\why this happens? I am thinking that this might be a lingering issue between the platforms but I am not sure about it.

Possibly related to https://github.com/openssl/openssl/issues/12416?

assuming this is a duplicate of #12416
Marking as inactive, to be closed at the end of 3.4 dev, barring further input


(#420) updated saving/added highlighting on partially mapped

#420

updated mapping saving (will save what is possible and always on), mark mapping done is possible only for lead mapper + if no partial mappings
added highlighting to partially mapped items, important: those items will not be included to saving&mark mapping as done
improved error messaging
fixed blank screen on changelog/back buttons
fixed saving mappings for shared mappings
fixed some react related issues with mutating state

There are some issues (although not all of them belong to the scope of the task, I guess):

Saving a mapping with fully unmapped terms gives this error:
If the above alert is closed, no subsequent errors are shown.
1, 2 - will fix and let you know

It doesn't seem possible to unmap a term.
We're collecting these things at notion - https://www.notion.so/learningtapestry/Q-A-1a06bee62f9248cb8751ff29efc21ce4, feel free to add there (this one already was added and it's not related to the task)

Alignments with a No Match predicate are highlighted as partial (but get saved as expected).
4 - will fix

It's possible to save a No Match alignment with a mapped term, though.
This is question at notion

As far as I can see, partial alignments do get saved, so the success message is a bit misleading.
Partial alignments will not be saved, only completed will be but you can click save at any moment and that was one of the requirement.

@excelsior p.2 was moved to https://github.com/t3-innovation-network/desm/issues/466

Re: 6, partial alignments get saved but only under certain circumstances. Attached is a screencast demoing one of such cases (there are may be others).
https://github.com/t3-innovation-network/desm/assets/406292/b31e1105-6fe2-405f-b9d8-ca6b479a4efd

I see. Everything else works as expected, thanks!


Update M08-Unit 3 Monitor a load balancer resource using Azure Monito…

…r.md
Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

Submitted by cjpluta on behalf of MOC Labs Review


[BUG] There seems to be an issue in how Runway evalutes changes.

Bug Description
I've run into two separate incidents this week with Runway (with different customers) where the plan output makes no sense.
Scenario 1 - despite reconfiguring multiple stacks from using blueprints to CFN templates, Runway detects no changes.
I switched from class_path to template_path but Runway thinks nothing changed. In one update, that was the only change. In another, we changed the parameters as well and got the same basic output -- nochange.
The workaround was to arbitrarily change values in .env files to be able to make updates.
[runway] Oregon (us-west-2):processing deployment (in progress)
[runway] Oregon (us-west-2):processing regions sequentially...
[runway]
[runway] Oregon (us-west-2).ecr:processing module in us-west-2 (in progress)
[runway] found environment file: /Users/brad/sinfrastructure/ecr.cfn/common-us-west-2.env
[runway] ecr.yaml:init (in progress)
[runway] cfngin_bucket stacker-tmdx-common already exists
[runway] ecr.yaml:init (complete)
[runway] ecr.yaml:deploy (in progress)
[runway] mdmecr:skipped (nochange)
[runway] cmsecr:skipped (nochange)
[runway] ecr.yaml:deploy (complete)
[runway] Oregon (us-west-2).ecr:processing module in us-west-2 (complete)
[runway] Oregon (us-west-2):processing deployment (complete)

Scenario 2 - plan output suggests nochange, but then the deploy triggers updates.
The plan output:
[runway] diffing stacks: GatewayASG
[runway] ${rxref vpc::VPC}: lookup query syntax "<relative-stack-name>::<OutputName>" has been deprecated; to learn how to use the new lookup query syntax visit https://runway.readthedocs.io/page/cfngin/lookups/rxref.html
[runway] ${rxref gateway-alb::targetgroupARN}: lookup query syntax "<relative-stack-name>::<OutputName>" has been deprecated; to learn how to use the new lookup query syntax visit https://runway.readthedocs.io/page/cfngin/lookups/rxref.html
[runway] ${rxref EC2SecurityGroup::EC2SecurityGroupID}: lookup query syntax "<relative-stack-name>::<OutputName>" has been deprecated; to learn how to use the new lookup query syntax visit https://runway.readthedocs.io/page/cfngin/lookups/rxref.html
[runway] ${rxref vpc::PriSubnetAz1}: lookup query syntax "<relative-stack-name>::<OutputName>" has been deprecated; to learn how to use the new lookup query syntax visit https://runway.readthedocs.io/page/cfngin/lookups/rxref.html
[runway] ${rxref vpc::PriSubnetAz2}: lookup query syntax "<relative-stack-name>::<OutputName>" has been deprecated; to learn how to use the new lookup query syntax visit https://runway.readthedocs.io/page/cfngin/lookups/rxref.html
[runway] ${rxref vpc::PriSubnetAz3}: lookup query syntax "<relative-stack-name>::<OutputName>" has been deprecated; to learn how to use the new lookup query syntax visit https://runway.readthedocs.io/page/cfngin/lookups/rxref.html
[runway] dev-GatewayASG:no changes
[runway] GatewayASG:complete

The subsequent deployment:
[runway] 02-ec2-asg.yaml:deploy (in progress)
[runway] ${rxref vpc::VPC}: lookup query syntax "<relative-stack-name>::<OutputName>" has been deprecated; to learn how to use the new lookup query syntax visit https://runway.readthedocs.io/page/cfngin/lookups/rxref.html
[runway] ${rxref gateway-alb::targetgroupARN}: lookup query syntax "<relative-stack-name>::<OutputName>" has been deprecated; to learn how to use the new lookup query syntax visit https://runway.readthedocs.io/page/cfngin/lookups/rxref.html
[runway] ${rxref EC2SecurityGroup::EC2SecurityGroupID}: lookup query syntax "<relative-stack-name>::<OutputName>" has been deprecated; to learn how to use the new lookup query syntax visit https://runway.readthedocs.io/page/cfngin/lookups/rxref.html
[runway] ${rxref vpc::PriSubnetAz1}: lookup query syntax "<relative-stack-name>::<OutputName>" has been deprecated; to learn how to use the new lookup query syntax visit https://runway.readthedocs.io/page/cfngin/lookups/rxref.html
[runway] ${rxref vpc::PriSubnetAz2}: lookup query syntax "<relative-stack-name>::<OutputName>" has been deprecated; to learn how to use the new lookup query syntax visit https://runway.readthedocs.io/page/cfngin/lookups/rxref.html
[runway] ${rxref vpc::PriSubnetAz3}: lookup query syntax "<relative-stack-name>::<OutputName>" has been deprecated; to learn how to use the new lookup query syntax visit https://runway.readthedocs.io/page/cfngin/lookups/rxref.html
[runway] GatewayASG:submitted (updating existing stack)
[runway] GatewayASG:complete (updating existing stack)
[runway] 02-ec2-asg.yaml:deploy (complete)

Expected Behavior
I would expect "nochange" to accurately indicate no changes have been detected and will not occur.
Steps To Reproduce
Scenario 1:
Migrating from blueprints to YAML CFN templates
Scenario 2:
Not quite sure. The intended update wasn't for the resource that was updated.
Runway version
2.x
Installation Type
pypi (pip, pipenv, poetry, etc)
OS / Environment
Multiple:
Scenario 1 is being run locally on MacOS Sonoma with Python3.10.  - 2.6.14
Scenario 2 is running in a CodeBuild project orchestrated by CodePipeline: Amazon Linux 2 with Python 3.9 - 2.x (version unknown).
Anything else?
No response

Scenario 1

I switched from class_path to template_path but Runway thinks nothing changed.

Runway's CFNgin relies on CloudFormation to detect change by submitting the CloudFormation Template to CloudFormation. When making the change from a Blueprint to a Template (or vice versa), if <stack>:skipped (nochange) was logged, the two are written identically and CloudFormation determined that the stack has no change.
If you don't believe this is the case, can you try setting environment variable DEBUG=2 (e.g. DEBUG=2 runway <action>) when running Runway? This will display all of the botocore calls being made and should show if/when calls are being made to CloudFormation to determine if there was change.
If those calls are missing, can you please provide a repo with minimal code required to reproduce the issue?
Scenario 2
Similar to CFNgin deploys detecting change with CloudFormation, using plan with CFNgin also uses CloudFormation to detect change. This is done via CloudFormation Change Set. If the Change Set does not detect change, CFNgin will report the same. There are things that a Change Set won't show but that will still put a Stack into an "Updating" state. Primarily this is Stack metadata (tags on the Stack itself, Stack description, Stack parameter descriptions, etc) which have no real impact to the infrastructure managed by the Stack. This metadata is updated with the same CloudFormation.Client.update_stack call that is used to update the Stack's Template.


style(Modal): update typings and propTypes usage

This PR is part of work for removing propTypes in production bundle (#524, #731).
Also, cleanups and updates typings for #1072.

Codecov Report

Merging #1331 into master will decrease coverage by -0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1331      +/-   ##
==========================================
- Coverage   99.75%   99.75%   -0.01%
==========================================
  Files         140      140
  Lines        2402     2401       -1
==========================================
- Hits         2396     2395       -1
  Misses          6        6

Impacted Files
Coverage Δ

src/modules/Modal/Modal.js
100% <ø> (ø)
:white_check_mark:

src/modules/Modal/ModalHeader.js
100% <ø> (ø)
:white_check_mark:

src/modules/Modal/ModalContent.js
100% <ø> (ø)
:white_check_mark:

src/modules/Modal/ModalActions.js
100% <100%> (ø)
:white_check_mark:

src/modules/Modal/ModalDescription.js
100% <100%> (ø)
:white_check_mark:

Continue to review full report at Codecov.

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

Approved, fixed conflict with test.  Will merge on pass.

Released in<EMAIL_ADDRESS>


Upgrade AWS cli version to v2?

Hi guys,
Just curios: is there any reason why are you sticking to branch v1 for aws cli? Since AWS CLI version 2, the latest major version of the AWS CLI, is now stable and recommended for general use.

Hi! I must have missed when it started to be considered as trusted.
There's busy week ahead of me and some holidays, so when I come back I'll try to add it to the image.

I had a look at v2 implementation. It's based on glibc, so it's not a standard for Alpine and would require a lot of hassle to add dependencies and installation.
Apparently, there are no plans to add it do some standard package management systems, like PyPi.
So I wouldn't assume it's a mature product yet, while v1 is updated almost daily.
I'll revise it in some time and see their progress to focus on Alpine, as it's a runner system for many CI/CD mechanisms and cannot imagine AWS would make it so terrible to install like GCP CLI.

AWS SSO support is only integrated into AWS CLI v2, not v1. Because we leverage AWS SSO for humans who sometimes need to run locally the same scripts that are run in CI, we strongly prefer AWS CLI v2 and so can't use this docker image without AWS CLI v2 support. Just wanted to make it clear that the impact here is significant due to the features that exist only in AWS CLI v2. Thanks!

@ChristophShyper would you be open to a pull request that attempts this? If so, would you rather see something based on actually sourcing https://github.com/Docker-Hub-frolvlad/docker-alpine-glibc/blob/master/Dockerfile, or an approach that does something very similar but inline, similar to this: https://stackoverflow.com/a/61268529? Either way, the idea is to bring glibc support in to alpine.
For my own use, I'm going to pursue the first option for now.
Thanks for this great repo.

Sure, I'm always open for a new PR. If you have an idea how to grasp it in a clean way then let's give it a try.
BTW, does AWS SSO work now in headless mode? I was trying it long ago and it wasn't possible via docker container.

Today I'll release version tf-1.1.8-tg-0.36.6 which will have AWS CLI v2, but will be based now on Ubuntu, not Alpine.


Update BlogPost resource to have correct attributes

The removed attributes are unused in the current api and can safely be removed.
See: https://developer.bigcommerce.com/api/stores/v2/blog/posts

ping @mattolson @saurabh-g @jason0415

👍


Clean up IOUAmount page

Details

Removes the ActivityIndicator
Autofocuses on input on web
Remember the amount entered when we return to the page from later steps

Fixed Issues

Fixes https://github.com/Expensify/Expensify/issues/163041
Tests / QA

Go to someone's chat and click the + button and hit 'Request Money'

(On Web/Desktop), make sure the amount field is focused on (entering any text automatically adds it and the cursor is blinking)

(On Web/Desktop) Enter any amount and hit the 'Enter' button on your keyboard.  Make sure that it takes you to the next screen.

(Other platforms) Enter in any amount and hit next

Go back and ensure that you still see the amount you entered before

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

Thanks for the comments, updated! I was also able to find a cleaner way to handle the focus

Fixed merge conflicts!

Getting a crash on iOS because document doesn't exist in the mobile context:

Should we split this file into index.js and index.native.js?

Nice catch, @stitesExpensify yup about to do that - currently testing things that don't need to be included in the native version

Split into index and index.native.js except after the latest merge the focus is no longer working 😢  Asked about it in slack https://expensify.slack.com/archives/C01GTK53T8Q/p1620935953167600

Updated, ready to go now! There was a weird eslint bug and fixing the neighbors fixed it
cc @stitesExpensify @Jag96 @jasperhuangg @tgolen

Removed the accidental podfile change 👍

I agree with you on all those points, the only logic difference in the files was the keydown event handler for Web/Desktop, which was having document is undefined errors on mobile.  I thought the way to handle that would be to split them into different files but it actually turns out there is a KeyboardShortcut component that handles precisely this problem so thanks for bringing that up 👍

@Jag96 I'm seeing those same errors but they're happening on prod and unrelated to these changes https://github.com/Expensify/Expensify.cash/issues/2969.  Just updated back to those block comments

Going to self merge since we got 2 approvals


Add singularity exercise test

Also corrected curl command in README

Awesome!!!
question is there a specific reason not to use 3.2.1 -> https://github.com/sylabs/singularity/releases/tag/v3.2.1
I see the example is using 3.1.0 , if that is wanted, I would recomend -> https://github.com/sylabs/singularity/releases/tag/v3.1.1
cheers!!

@ArangoGutierrez I was just adding a trivial exercise test to get this off of our CycleCloud manual testing board.  I personally have no objection to bumping the version of Singularity that we ship, in CycleCloud, but we're in the middle of a feature freeze for an upcoming release.

Awesome!!! again if you guys plan to freeze a version, I would recommend 3.1.1.
but over all awesome! feel free to ping me all the time when a singularity related issue :)


Occasional errors running workflow

This error has been popping up occasionally:
.showyourwork/scripts.json
WorkflowError:
Rule parameter depends on checkpoint but checkpoint output is not defined as input file for the rule. Please add the output of the respective checkpoint to the rule inputs.

Usually re-running the workflow fixes it. This should be an easy fix, though -- let's look into it.

@katiebreivik Fixed in v0.1.32.

@katiebreivik That release was buggy... Fixed for real in v0.1.33


No connection between Dres and landed RA-100 on Kerbin ("Homemade DSN")

But still, the DSN and my vessel in Dres's orbit aren't connecting. In the screen: orange circle = DSN I just launched, red circle = my vessel in Dres orbit. They aren't connected. There's no occlusion I'm aware of, they're looking at each other without anything between them.

Here's one of the saves from a bit later after I wrote that. I launched a new DSN because that first one was a bit embarrassing to look at. It's landed on top of the VAB, with dirrect line of sight to Dres. Vessel "Eye of Destiny" is in orbit around Dres and also with a direct line of sight to Kerbin. Kerbin's DSN shows in orange, but Dres's vessel is in red, no connection.

Reported by @Falki-git
quicksave_481.json

Ok, so for my Dres occlusion bug, it DOES work now with 0.4.1 (yay!), however with a weird behaviour. When you first load a save I sent you, it won't be connect, same as before. Then when you EVA a kerbal it then connects. When he reenters again, it's still connected. So it's as if something gets triggered when he first leaves the vessel. Overall nice update!

In the end, it was due to Kerbin occluding the connection, I'll upload the video with new Vessel Comms Report explaining the situation. However we've got new tools, so thanks @Falki-git !


Balance is not updated after failed/pending LN transactions (from LNURLw vouchers)

After creating a wallet on lnbits.com (Windows 10, Firefox browser), I funded it with 1000 sats.
I then created vouchers using the LNURLw extension.
I tried to claim some of these vouchers to test the feature (using Phoneix on an Android mobile phone).
I then got an error message on my Phoenix wallet: 'lnbits.com responded with an error: null' and I didn't receive the sats.
On my hosted lnbits.com wallet, the transactions are shown as pending and the balance corresponds to the amount if the vouchers were claimed (see picture below).
Someone on Reddit suggested that the lightning payment might have failed, the underlying funding LNbits wallet (LND) returned an error to lnbits, but for some reason it could not rollback its own transaction and that the money remained in underlying funding wallet.

Seems to be a bug in lnbits.com. I'll fix and get back to you. Thanks for reaching out!

Seems to be a bug in lnbits.com. I'll fix and get back to you. Thanks for reaching out!


Constraints

Can we define a minimum level of support for changing label, description and tags?
E.g.

whether the spec requires all of these are editable
whether there is a guaranteed minimum supported string length
whether there is a guaranteed minimum number of tags that can be added, and values per tag

And then just accept that 500 responses may occur if these are exceeded...
Or
Do we need some kind of /constraints endpoint that allows each Node to indicate its supported string lengths, maximum number of tags and tag values, and which tags are editable, etc.

One mitigation for not describing via an API which tags are editable would be for the spec to define a namespace such as urn:x-nmos:tag:user: that was required to be read/write (still subject to other kinds of limitations mentioned of course) whereas other namespaces like urn:x-manufacturer:tag: would be defined by the namespace owner (urn:x-nmos:tag:asset: for example would be defined as read-only).

Discussion during the meeting: The group feels that adding a separate /contraints endpoint will greatly complicate the API.
Define a guaranteed minimum supported string length for labels which a device can accept in the request.
The rest of the limitations should be reflected using HTTP error codes and some descriptive error messages.
The group feels that tags entered/modified/removed through this API should all live in the urn:x-nmos:tag:user: namespace which would make it clearer and simplify the null behaviour with respect to tags (as now you would only be able to remove tags).

The group feels that tags entered/modified/removed through this API should all live in the urn:x-nmos:tag:user: namespace

I think some vendors would like to allow their tags to be updated via this API, which is why I propose that the spec define the user namespace as read/write but not prohibit use with other namespaces.

I think some vendors would like to allow their tags to be updated via this API, which is why I propose that the spec define the user namespace as read/write but not prohibit use with other namespaces.

That seems reasonable to me, and not preventing use with other namespaces keeps us within our current scope of work?

And then just accept that 500 responses may occur if these are exceeded...

Another alternative... allow partial success (as mentioned by Cristian in #6), e.g. applying changes to tags but not applying an over-long description, or truncating such an over-long value. I'm not convinced this is a good idea.

Discussion 2023-05-04: possible ambiguity between equivalent user and vendor tags? Separate namespaces would help here. Example of location which could be provided via manufacturer API/GUI or via this API.
Decision: Provide a urn:x-nmos:tag:user: namespace, which is guaranteed to be read-write (subject to internal device limitations e.g. memory). Outside that namespace not guaranteed to be writable.

Will be sorted by #16


Can't get started with Material Frontend

Hi there. I've got a Django project which has a crap UI, so I decided to trial Material Frontend instead.
I followed your docs to get started with a basic installation, and you can see my minimal diff here. But the key parts are my project's urls.py and Material's urls.py. I've placed my new Material frontend UI at /ui instead of / so I can hack on it without disrupting my existing UI.
# top level urls
from django.contrib import admin
from django.urls import include, path
from material.frontend import urls as frontend_urls

urlpatterns = [
    path('', include('schema.urls')),
    path('api/', include('api.urls')),
    path('admin/', admin.site.urls),
    path('accounts/', include('django_registration.backends.activation.urls')),
    path('accounts/', include('django.contrib.auth.urls')),
    path('', include('django_prometheus.urls')),
    path('ratings/', include('star_ratings.urls', namespace='ratings')),
    path('health/', include('health_check.urls')),
    path('docs/', include('sphinxdoc.urls')),
    path('ui/', include('ui.urls')),
    path('ui/', include(frontend_urls)),
]

# Material ui urls
from django.conf.urls import url, include
from django.views import generic
from . import views

urlpatterns = [
    url('^$', generic.TemplateView.as_view(template_name="ui/index.html"), name="index"),
    url('^cameramodel/', include(views.CameraModelViewSet().urls)),
    url('^camera/', include(views.CameraViewSet().urls)),
]

Browsing to / seems to work, and displays my old UI
Browsing to /ui seems to work, and displays a basic Material UI with a single menu item
Browsing to /ui/cameramodel/ breaks with Reverse for 'cameramodel_add' not found. 'cameramodel_add' is not a valid view function or pattern name.

I guess cameramodel_add is an autogenerated URL from the viewset? I can't figure out where it's coming from or why it is not being included. Is this because I am trying to run my Material UI at a location other than /?
I'm a relative beginner at Django so any help you can offer will be greatly appreciated, thanks.

-    path('ui/', include('ui.urls')),
     path('ui/', include(frontend_urls)),

the first line seems redundant. Frontend perform modules app configs auto-discovery

Thanks for your response. I'm still stuck on this issue. I've tried various combinations of configs but at the moment my global urls.py is
urlpatterns = [
    path('', include('ui.urls')),
#    path('', include('schema.urls')),
    path('', include(frontend_urls)),
    ]

and the UI module urls.py is
urlpatterns = [
    path('', generic.RedirectView.as_view(url='./cameramodel/', permanent=False), name="index"),
    path('cameramodel/', include(views.CameraModelViewSet().urls)),
]

If I hit /ui/cameramodel/ I get

NoReverseMatch at /ui/cameramodel/
Reverse for 'cameramodel_add' not found. 'cameramodel_add' is not a valid view function or pattern name.

I still don't understand why cameramodel_add can't be found. My views.py is
from material.frontend.views import ModelViewSet
from schema import models

class CameraModelViewSet(ModelViewSet):
    model = models.CameraModel

Thanks

I abandoned work on my project because of this blocker, but I've returned to it and I've started trying to reimplement a UI with django-material again from scratch. I'm running into the same error again :disappointed:

the parent app is camerahub
the app which contains an existing models.py is schema
the app which contains a skeleton Material project is ui

The schema app used to contain a bunch of views I wrote myself, but I have now deleted everything apart from models.py.
# camerahub/urls.py

from django.contrib import admin
from django.urls import include, path
from material.frontend import urls as frontend_urls

urlpatterns = [
    path('', include(frontend_urls)),
    path('', include('schema.urls')),
    path('api/', include('api.urls')),
    path('admin/', admin.site.urls),
    path('accounts/', include('django_registration.backends.activation.urls')),
    path('accounts/', include('django.contrib.auth.urls')),
    path('', include('django_prometheus.urls')),
    path('ratings/', include('star_ratings.urls', namespace='ratings')),
    path('health/', include('health_check.urls')),
]

# ui/urls.py

from unicodedata import name
from django.urls import path, include
from django.views import generic

from . import views

urlpatterns = [
    path('', generic.RedirectView.as_view(url='./cameramodel/'), name="index"),
    path('cameramodel/', include(views.CameraModelViewSet().urls)),
]

# ui/views.py

from material.frontend.views import ModelViewSet

from schema import models

# class MyModelViewSet(ModelViewSet):
#    model = models.MyModel

class CameraModelViewSet(ModelViewSet):
    model = models.CameraModel

Trying to browse to http://<IP_ADDRESS>:8000/ui/cameramodel/ I get
Internal Server Error: /ui/cameramodel/
Traceback (most recent call last):
  File "/home/jonathan/.cache/pypoetry/virtualenvs/camerahub-FNy4MBnC-py3.10/lib/python3.10/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/home/jonathan/.cache/pypoetry/virtualenvs/camerahub-FNy4MBnC-py3.10/lib/python3.10/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/jonathan/.cache/pypoetry/virtualenvs/camerahub-FNy4MBnC-py3.10/lib/python3.10/site-packages/django/views/generic/base.py", line 70, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/jonathan/.cache/pypoetry/virtualenvs/camerahub-FNy4MBnC-py3.10/lib/python3.10/site-packages/django/utils/decorators.py", line 43, in _wrapper
    return bound_method(*args, **kwargs)
  File "/home/jonathan/.cache/pypoetry/virtualenvs/camerahub-FNy4MBnC-py3.10/lib/python3.10/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/home/jonathan/.cache/pypoetry/virtualenvs/camerahub-FNy4MBnC-py3.10/lib/python3.10/site-packages/material/frontend/views/list.py", line 531, in dispatch
    return super(ListModelView, self).dispatch(request, *args, **kwargs)
  File "/home/jonathan/.cache/pypoetry/virtualenvs/camerahub-FNy4MBnC-py3.10/lib/python3.10/site-packages/material/frontend/views/list.py", line 357, in dispatch
    return handler(request, *args, **kwargs)
  File "/home/jonathan/.cache/pypoetry/virtualenvs/camerahub-FNy4MBnC-py3.10/lib/python3.10/site-packages/material/frontend/views/list.py", line 315, in get
    context = self.get_context_data()
  File "/home/jonathan/.cache/pypoetry/virtualenvs/camerahub-FNy4MBnC-py3.10/lib/python3.10/site-packages/material/frontend/views/list.py", line 521, in get_context_data
    kwargs['add_url'] = reverse('{}:{}_add'.format(opts.app_label, opts.model_name))
  File "/home/jonathan/.cache/pypoetry/virtualenvs/camerahub-FNy4MBnC-py3.10/lib/python3.10/site-packages/django/urls/base.py", line 86, in reverse
    return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
  File "/home/jonathan/.cache/pypoetry/virtualenvs/camerahub-FNy4MBnC-py3.10/lib/python3.10/site-packages/django/urls/resolvers.py", line 698, in _reverse_with_prefix
    raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'cameramodel_add' not found. 'cameramodel_add' is not a valid view function or pattern name.
"GET /ui/cameramodel/ HTTP/1.1" 500 117163


Possible ABI break when updating openssl from 1.1.1a to 1.1.1b

Hi!
In freedesktop-sdk we're trying to keep ABI compatibility when updating elements like openssl to new releases. In order to achieve this we use libabigail tool to automate ABI compat checks. During openssl update from 1.1.1a to 1.1.1b our tool produced following complaint:
┌───────────────────────────────────────┐
│ ABI Break: libcrypto.so.1.1:libcrypto │
└───────────────────────────────────────┘

Functions changes summary: 0 Removed, 1 Changed (4 filtered out), 0 Added (2 filtered out) functions
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

1 function with some indirect sub-type change:

  [C]'function void OPENSSL_INIT_free(OPENSSL_INIT_SETTINGS*)' at conf_lib.c:409:1 has some indirect sub-type changes:
    parameter 1 of type 'OPENSSL_INIT_SETTINGS*' has sub-type changes:
      in pointed to type 'typedef OPENSSL_INIT_SETTINGS' at ossl_typ.h:141:1:
        underlying type 'struct ossl_init_settings_st' at conf.h:15:1 changed:
          type size changed from 64 to 192 (in bits)
          2 data member insertions:
            'char* ossl_init_settings_st::filename', at offset 0 (in bits) at conf.h:21:1
            'unsigned long int ossl_init_settings_st::flags', at offset 128 (in bits) at conf.h:23:1
          1 data member change:
           'char* ossl_init_settings_st::appname' offset changed from 0 to 64 (in bits) (by +64 bits)

As part of our discussion about what to do with that we would like to ask about your opinion on the matter. Especially I wanted to ask if reported change was intentional and if it's safe for backward compatibility thus if above report is a false positive.
I would be grateful if you can find time to respond. Thank you. @levitte

struct ossl_init_settings_st is defined an internal header (include/internal/conf.h). It's an opaque type so that new versions can change the size without breaking ABI. Is it possible your tool is scanning the entire include directory, rather than just include/openssl?

As far as I can see OPENSSL_INIT_SETTINGS is a non-pubilc type.
You need to allocate it using OPENSSL_INIT_new(), and then you
only pass that pointer to OpenSSL functions to do something with
it. You can not access the member fields in the applications. The
library will always allocate the correct length, and the library
is the only thing that can look at the members and modify it. So
this does not look like an ABI problem. You should not look at
internal header files for ABI problems.

Thank you very much for a quick and helpful comments. I appreciate it.


Name collision between fields and parameters in struct declaration

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed.

Specifically, check out the wishlist, open RFCs,
or feature requests.

Reduced the issue to a self-contained, reproducible test case.

Description
Definition is rejected with a strange error message, indicating likely scope hygiene violation:
structure str (x : bool) := (x : bool) -- invalid return type for 'str.mk'
structure str (x : bool) := (x : nat)
/-
type mismatch at application
  str x
term
  x
has type
   ℕ
but is expected to have type
  bool
 -/

Steps to Reproduce

structure str (x : bool) := (x : bool)
structure str (x : bool) := (x : nat)

Expected behavior:
Both definitions are individually accepted, parameter x is ignored.
Alternatively, they are rejected with a specific (identical) error message.
Actual behavior:
Bad error message. See Description.
Reproduces how often:
Always
Versions
Lean (version 3.3.0, commit fa9c868ed2bb, Release)
Windows 10 Pro
Additional Information

I guess it would be nice if "invalid return type" printed the actual return type too when it's not available in the source code.


Sabnzbd /dev/dri/renderD128 Permissions

Hi Mike,
Traying to get Post Processing running on SAB and came accross this sma-mod.  I am trying to do hw acceleration (vaapi) and seem to be having some issues that are possibly realted to permissions.
FFMPEG was giving this error: No VA display found for device /dev/dri/renderD128.
Was reading this jellyfin issue where they said it was permissions.
https://github.com/linuxserver/docker-jellyfin/issues/26
Tried changing permissions in the container and it solves the issue.  Wondering what I can do to fix this properly.  It must be something I am doing wrong in my docker-compose or my user/groups (see below).

From the Container:
root@a036b4e6a87f:/config# ffmpeg -hwaccels
ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13.2.1 (Alpine 13.2.1_git20240309) 20240309
configuration: --prefix=/usr --disable-librtmp --disable-lzma --disable-static --disable-stripping --enable-avfilter --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libmp3lame --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librist --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-lto=auto --enable-lv2 --enable-openssl --enable-pic --enable-postproc --enable-pthreads --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-vulkan --optflags=-O3 --enable-libjxl --enable-libsvtav1 --enable-libvpl
libavutil      58. 29.100 / 58. 29.100
libavcodec     60. 31.102 / 60. 31.102
libavformat    60. 16.100 / 60. 16.100
libavdevice    60.  3.100 / 60.  3.100
libavfilter     9. 12.100 /  9. 12.100
libswscale      7.  5.100 /  7.  5.100
libswresample   4. 12.100 /  4. 12.100
libpostproc    57.  3.100 / 57.  3.100
Hardware acceleration methods:
vdpau
vaapi
qsv
drm
vulkan
root@a036b4e6a87f:/config#
root@a036b4e6a87f:/config#
root@a036b4e6a87f:/config#
root@a036b4e6a87f:/config#
root@a036b4e6a87f:/config#
root@a036b4e6a87f:/config# ll /dev/dri/
bash: ll: command not found
root@a036b4e6a87f:/config# ls -l /dev/dri/
total 0
crw-rw---- 1 root videof0xd 226,   0 Dec 18 01:45 card0
crw-rw---- 1 root videof0xd 226,   1 Dec 18 01:45 card1
crw-rw---- 1 root videof0xd 226,   2 Dec 18 01:45 card2
crw-rw---- 1 root videof0xd 226,   3 Dec 18 01:45 card3
crw-rw---- 1 root videof0xd 226,   4 Dec 18 01:45 card4
crw-rw---- 1 root videoowz0 226, 128 Dec 18 01:45 renderD128
root@a036b4e6a87f:/config# chmod 666 /dev/dri/renderD128 <<<< CHANGED PERMISSIONS IN THE CONTAINER
root@a036b4e6a87f:/config# ls -l /dev/dri/
total 0
crw-rw---- 1 root videof0xd 226,   0 Dec 18 01:45 card0
crw-rw---- 1 root videof0xd 226,   1 Dec 18 01:45 card1
crw-rw---- 1 root videof0xd 226,   2 Dec 18 01:45 card2
crw-rw---- 1 root videof0xd 226,   3 Dec 18 01:45 card3
crw-rw---- 1 root videof0xd 226,   4 Dec 18 01:45 card4
crw-rw-rw- 1 root videoowz0 226, 128 Dec 18 01:45 renderD128
root@a036b4e6a87f:/config#

My docker-compose file:
services:
sabnzbd:
image: ghcr.io/linuxserver/sabnzbd
container_name: sab
ports:
- 8080:8080
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- HOST=<IP_ADDRESS>
- SMA_PATH=/usr/local/sma
- SMA_UPDATE=true
- SMA_HWACCEL=true
- SMA_USE_REPO=true
- DOCKER_MODS=mdhiggins/sma-mod:latest
devices:
- /dev/dri:/dev/dri
volumes:
- /config/sabnzbd:/config
- /downloads:/downloads
- /config/sickbeard_mp4_automator/sabnzbd-sma:/usr/local/sma
restart: unless-stopped

From the Host OS
drwxr-xr-x  3 root root        180 Dec 15 00:04 ./
drwxr-xr-x 20 root root       4600 Dec 18 00:55 ../
drwxr-xr-x  2 root root        160 Dec 15 00:04 by-path/
crw-rw----  1 root video  226,   0 Dec 15 00:04 card0
crw-rw----  1 root video  226,   1 Dec 15 00:04 card1
crw-rw----  1 root video  226,   2 Dec 15 00:04 card2
crw-rw----  1 root video  226,   3 Dec 15 00:04 card3
crw-rw----  1 root video  226,   4 Dec 15 00:04 card4
crw-rw----  1 root render 226, 128 Dec 15 00:04 renderD128
eric@ubuntu-backend-pms2:/downloads/tv$
eric@untu-backend-pms2:/downloads/tv$ id
uid=1000(eric) gid=1000(eric) groups=1000(eric),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),101(lxd),1001(docker)
eric@untu-backend-pms2:/downloads/tv$
eric@ubuntu-backend-pms2:/downloads/tv$ ps -eo user,group,pid,args | grep -w "/home/eric/docker-sabnzbd-sma-mod/docker-compose.yml"
eric     eric     1310419 /usr/local/bin/docker-compose -f /home/eric/docker-sabnzbd-sma-mod/docker-compose.yml up
eric     eric     1310536 /usr/local/bin/docker-compose -f /home/eric/docker-sabnzbd-sma-mod/docker-compose.yml up
eric     eric     3558673 grep --color=auto -w /home/eric/docker-sabnzbd-sma-mod/docker-compose.yml
Thanks,
Eric

Looks like your Eric user outside of the container needs to be added to the video and render groups

Hi Mike,
Thanks for the reply.   I've added the two groups to my Host OS user "eric" (UID=1000, gid=1000).   I re-logged in, confirmed the groups are indeed assigned to the user. and then relaunched the container.   No change to permissions in /dev/dri unfortunately.

From Host OS
eric@ubuntu-backend-pms2:/downloads/tv$ ll /dev/dri/
total 0
drwxr-xr-x  3 root root        180 Dec 15 00:04 ./
drwxr-xr-x 20 root root       4600 Dec 18 00:55 ../
drwxr-xr-x  2 root root        160 Dec 15 00:04 by-path/
crw-rw----  1 root video  226,   0 Dec 15 00:04 card0
crw-rw----  1 root video  226,   1 Dec 15 00:04 card1
crw-rw----  1 root video  226,   2 Dec 15 00:04 card2
crw-rw----  1 root video  226,   3 Dec 15 00:04 card3
crw-rw----  1 root video  226,   4 Dec 15 00:04 card4
crw-rw----  1 root render 226, 128 Dec 15 00:04 renderD128
eric@ubuntu-backend-pms2:/downloads/tv$ sudo usermod -a -G video eric
[sudo] password for eric:
eric@ubuntu-backend-pms2:/downloads/tv$ sudo usermod -a -G render eric
eric@ubuntu-backend-pms2:/downloads/tv$
[log out, log in]
eric@ubuntu-backend-pms2:~$ id
uid=1000(eric) gid=1000(eric) groups=1000(eric),4(adm),24(cdrom),27(sudo),30(dip),44(video),46(plugdev),101(lxd),993(render),1001(docker)
[relaunch the container]

From inside the container
root@78d0fd36f3ab:/# ls -l /dev/dri/
total 0
crw-rw---- 1 root videolj61 226,   0 Dec 18 13:22 card0
crw-rw---- 1 root videolj61 226,   1 Dec 18 13:22 card1
crw-rw---- 1 root videolj61 226,   2 Dec 18 13:22 card2
crw-rw---- 1 root videolj61 226,   3 Dec 18 13:22 card3
crw-rw---- 1 root videolj61 226,   4 Dec 18 13:22 card4
crw-rw---- 1 root videophw4 226, 128 Dec 18 13:22 renderD128
root@78d0fd36f3ab:/#
root@78d0fd36f3ab:/# id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)
root@78d0fd36f3ab:/#
The "video" group, from the host os, is assigned to user "root" but not group "render".   The container group "videolj61" is not assigned to user "root".

The root user isn't the one that should be getting the permissions, you need to check the user abc inside the container, that's the internal user that gets ID matched with your Eric user

My bad.  Missed the part where SAB was running as user abc.  Confirming user "abc" is part of those groups after the group adds to user "eric" in the host os earlier.
That said, I was still having the issue after adding the groups to user eric.   Doing a bit more reading on that jellyfin issue linked above, I went back to the host os and did chmod 666 on /dev/dri/renderD128.   Restarted the container and appears to be fixed.
Thanks for your help as always.   Good to close!

From Container
root@78d0fd36f3ab:/# ps -eo user,pid,args | grep /app/sabnzbd/SABnzbd.py | grep -v grep
abc          201 python3 /app/sabnzbd/SABnzbd.py --config-file /config --server ::
root@78d0fd36f3ab:/#
root@78d0fd36f3ab:/# id abc
uid=1000(abc) gid=1000(users) groups=1000(users),1000(users),44(videolj61),993(videophw4)
root@78d0fd36f3ab:/#

From Host OS
eric@ubuntu-backend-pms2:/downloads$ sudo chmod 666 /dev/dri/renderD128
eric@ubuntu-backend-pms2:/downloads$
eric@ubuntu-backend-pms2:/downloads$ ll /dev/dri/
total 0
drwxr-xr-x  3 root root        180 Dec 15 00:04 ./
drwxr-xr-x 20 root root       4600 Dec 18 00:55 ../
drwxr-xr-x  2 root root        160 Dec 15 00:04 by-path/
crw-rw----  1 root video  226,   0 Dec 15 00:04 card0
crw-rw----  1 root video  226,   1 Dec 15 00:04 card1
crw-rw----  1 root video  226,   2 Dec 15 00:04 card2
crw-rw----  1 root video  226,   3 Dec 15 00:04 card3
crw-rw----  1 root video  226,   4 Dec 15 00:04 card4
crw-rw-rw-  1 root render 226, 128 Dec 15 00:04 renderD128 <<<<<<<<
eric@ubuntu-backend-pms2:/downloads$

From Container
root@78d0fd36f3ab:/# ls -l /dev/dri/
total 0
crw-rw---- 1 root videolj61 226,   0 Dec 19 01:17 card0
crw-rw---- 1 root videolj61 226,   1 Dec 19 01:17 card1
crw-rw---- 1 root videolj61 226,   2 Dec 19 01:17 card2
crw-rw---- 1 root videolj61 226,   3 Dec 19 01:17 card3
crw-rw---- 1 root videolj61 226,   4 Dec 19 01:17 card4
crw-rw-rw- 1 root videophw4 226, 128 Dec 19 01:17 renderD128
root@78d0fd36f3ab:/#

If you're so inclined, perhaps a little documentation update on hardware acceleration in the SMA-MOD README.

Passing the device (--device=/dev/dri:/dev/dri) in docker run or docker-compose.
Ensuring the HWACCEL groups (video & render in my case) are added to the main docker user (eric) in the Host OS
/etc/dri/renderD128 has the correct permissions (666) in the Host OS
I also spent some time troublehooting in the container to understand that I needed a special compiled version (SMA_USE_REPO=true) of FFMPEG for hardware acceleration.  I had SMA_HWACCEL=true and no SMA_USE_REPO (so default=false) in my initial docker compose and those libraries (vdpau, vaapi, etc) didn't get compiled.

So definitely not best practice nor is it needed to relax the permissions to 666, and by doing so you basically negate the need for proper group settings since you've essentially given read and write access to everyone
That being said once the group permissions are correctly set you should be able to have appropriate permissions
This is also not something I created, the script that sets the permissions and the approach to configure the hardware acceleration is taken from other linuxserver containers, I just include it in the sma containers and sma-mod

Agree that changing host permisions is not ideal.  My workaround did not survive a host reboot so it is not viable anyway.
The issue with testing with a stock linuxserver container is there is no FFMPEG by default in that container and not sure the user/groups will be the same as SMA-MOD as your init-sma-config seems to be doing some incremental permissions modifications.  That being said, if you look around in the linuxserver container issuess, this issue has been reported repeatedly for the past 5 years so I guess there is a precedent in plex and jellyfin.  Some examples I looked at:
docker-jellyfin issue 26
jellyfin issue 2281
docker-plex issue 207
docker-plex issue 359
docker-plex issue 207 from 2019 claims to be fixed by pull 208  but then we see issue 359 creep up 4 years later.
I've also seen other workarounds offered such as mounting a volume /dev/dri/renderD128:/dev/dri/renderD128 in addition to passing the device /dri/renderD128:/dev/dri/renderD128 and doing a --group-add= in a docker run command.   I may try some of these as well.
I'll continue to work this.  If I wanted to run a custom init script in SMA-MOD, can I place it somewhere in my config/sma-config directories and it will run at container start?

For an init script you'd want to place it in the s6 overlay directories (/etc/s6-overlay/s6-rc.d/)
The stock linuxserver containers admittedly do not have FFMPEG but lots of people have hardware accel working with SMA mod and with the sonarr/radarr sma containers, including myself.
The init-sma-config has nothing to do with this.
We actually do know the user/group since this standard across the linuxserver containers and is set by the environment variable which is why we can have a script that fixes the permissions for the hardware devices

here are my permissions
and here's my docker user groups

One issue that may be relevant is this
https://github.com/mdhiggins/sonarr-sma/issues/63
This was a dependency requirement for the service which I can't fix as easily with SMA-mod since we don't know what service is going to be as its a mod
That being said restarting the container after first launch should alleviate the issue seen in 63 and you could add it as a dependency using a mounted volume for that container

Just to fully confirm this can be done
I made an sma-mod enabled sab container and ran the following command
abc@540f5e42afd8:/$ ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -i /downloads/import/test.mkv -vf 'hwupload' -c:v hevc_vaapi /downloads/import/test.mp4

And confirmed in intel_gpu_top that it was using hardware

Permissions outside the container are as above
Inside the container

And my docker-compose for reference
  sabnzbd:
    image: lscr.io/linuxserver/sabnzbd
    container_name: sabnzbd
    network_mode: service:nordvpn
    depends_on:
      - nordvpn
    devices:
      - /dev/dri:/dev/dri
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
      - DOCKER_MODS=ghcr.io/mdhiggins/sma-mod:latest
      - SMA_USE_REPO=true
      - SMA_HWACCEL=true
    volumes:
      - /opt/appdata/sabnzbd:/config
      - /mnt/storage/downloads:/downloads
      - /opt/appdata/sma:/usr/local/sma/config
    restart: unless-stopped

Thanks for this very detailed info. I really appreciate it.   I have no doubt this works for you and should work for me as well :)  Permissions issues are never fun.
May I ask what host OS you use?   Do you run docker as root or rootless?
I'm on Ubuntu 24.04 and I was running docker as root when I opened this issue.  I was then passing PUID/GUID of 1000 in the docker compose.  This weekend I am testing rootless docker here with this problem.   Unfortunately rootless docker is causing me issues with NGINX but that's a different problem for another day :)   I will let you know if rootless docker changes anything.

Okay so i re-ran the initial configuration (root docker) and then tried the same FFPEG command that you ran above and it works and confirmed with intel_gpu_top.
Using SABPostProcess script on the exact same file, however, errors out with the same error I reported initially above:  No VA display found for device /dev/dri/renderD128.  I guess I incorrectly assumed this was a permissions issue with the GPU hardware.
Is this something silly like my autoProcess.ini config (below)?

Here is the sma log with the full FFMPEG command and error:
2024-12-22 22:50:08 - resources.mediaprocessor - INFO - Starting conversion.
2024-12-22 22:50:08 - resources.mediaprocessor - INFO - FFmpeg command:
2024-12-22 22:50:08 - resources.mediaprocessor - INFO - ======================
2024-12-22 22:50:08 - resources.mediaprocessor - INFO - /usr/bin/ffmpeg -init_hw_device vaapi=sma:/dev/dri/renderD128 -hwaccel_device sma -hwaccel vaapi -hwaccel_output_format vaapi -fix_sub_duration -i /downloads/tv/Hot.in.Cleveland.S02E22.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb/Hot.in.Cleveland.S02E22.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb.mkv -vcodec hevc_vaapi -map 0:0 -field_order progressive -vb 12685k -metadata:s:v BPS=12685000 -metadata:s:v BPS-eng=12685000 -metadata:s:v title=FHD -metadata:s:v handler_name=FHD -tag:v hvc1 -filter_hw_device sma -vf "format=nv12|vaapi,hwupload" -c:a:0 copy -map 0:1 -metadata:s:a:0 "title=5.1 Channel" -metadata:s:a:0 "handler_name=5.1 Channel" -metadata:s:a:0 language=eng -disposition:a:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -c:a:1 aac -map 0:1 -ac:a:1 2 -b:a:1 256k -metadata:s:a:1 BPS=256000 -metadata:s:a:1 BPS-eng=256000 -filter:a:1 "pan=stereo|FL=0.5FC+0.707FL+0.707BL+0.5LFE|FR=0.5FC+0.707FR+0.707BR+0.5LFE" -metadata:s:a:1 title=Stereo -metadata:s:a:1 handler_name=Stereo -metadata:s:a:1 language=eng -disposition:a:1 -default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -strict experimental -c:s:0 mov_text -map 0:2 -metadata:s:s:0 title= -metadata:s:s:0 handler_name= -metadata:s:s:0 language=eng -disposition:s:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -threads 0 -metadata:g encoding_tool=SMA -y /downloads/tv/Hot.in.Cleveland.S02E22.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb/Hot.in.Cleveland.S02E22.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb.mp4
2024-12-22 22:50:08 - resources.mediaprocessor - INFO - ======================
2024-12-22 22:50:08 - resources.mediaprocessor - ERROR - Error converting file, FFMPEG error.
Traceback (most recent call last):
File "/usr/local/sma/resources/mediaprocessor.py", line 2319, in convert
for timecode, debug in conv:
^^^^
File "/usr/local/sma/converter/init.py", line 335, in convert
for timecode, debug in self.ffmpeg.convert(outfile,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/sma/converter/ffmpeg.py", line 798, in convert
raise FFMpegConvertError('Exited with code %d' % p.returncode, cmd,
converter.ffmpeg.FFMpegConvertError: <exception str() failed>
2024-12-22 22:50:08 - resources.mediaprocessor - ERROR - /usr/bin/ffmpeg -init_hw_device vaapi=sma:/dev/dri/renderD128 -hwaccel_device sma -hwaccel vaapi -hwaccel_output_format vaapi -fix_sub_duration -i /downloads/tv/Hot.in.Cleveland.S02E22.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb/Hot.in.Cleveland.S02E22.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb.mkv -vcodec hevc_vaapi -map 0:0 -field_order progressive -vb 12685k -metadata:s:v BPS=12685000 -metadata:s:v BPS-eng=12685000 -metadata:s:v title=FHD -metadata:s:v handler_name=FHD -tag:v hvc1 -filter_hw_device sma -vf format=nv12|vaapi,hwupload -c:a:0 copy -map 0:1 -metadata:s:a:0 title=5.1 Channel -metadata:s:a:0 handler_name=5.1 Channel -metadata:s:a:0 language=eng -disposition:a:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -c:a:1 aac -map 0:1 -ac:a:1 2 -b:a:1 256k -metadata:s:a:1 BPS=256000 -metadata:s:a:1 BPS-eng=256000 -filter:a:1 pan=stereo|FL=0.5FC+0.707FL+0.707BL+0.5LFE|FR=0.5FC+0.707FR+0.707BR+0.5LFE -metadata:s:a:1 title=Stereo -metadata:s:a:1 handler_name=Stereo -metadata:s:a:1 language=eng -disposition:a:1 -default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -strict experimental -c:s:0 mov_text -map 0:2 -metadata:s:s:0 title= -metadata:s:s:0 handler_name= -metadata:s:s:0 language=eng -disposition:s:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -threads 0 -metadata:g encoding_tool=SMA -y /downloads/tv/Hot.in.Cleveland.S02E22.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb/Hot.in.Cleveland.S02E22.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb.mp4
2024-12-22 22:50:08 - resources.mediaprocessor - ERROR - ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13.2.1 (Alpine 13.2.1_git20240309) 20240309
configuration: --prefix=/usr --disable-librtmp --disable-lzma --disable-static --disable-stripping --enable-avfilter --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libmp3lame --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librist --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-lto=auto --enable-lv2 --enable-openssl --enable-pic --enable-postproc --enable-pthreads --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-vulkan --optflags=-O3 --enable-libjxl --enable-libsvtav1 --enable-libvpl
libavutil      58. 29.100 / 58. 29.100
libavcodec     60. 31.102 / 60. 31.102
libavformat    60. 16.100 / 60. 16.100
libavdevice    60.  3.100 / 60.  3.100
libavfilter     9. 12.100 /  9. 12.100
libswscale      7.  5.100 /  7.  5.100
libswresample   4. 12.100 /  4. 12.100
libpostproc    57.  3.100 / 57.  3.100
[AVHWDeviceContext @ 0x7383faee3d80] No VA display found for device /dev/dri/renderD128.
Device creation failed: -22.
Failed to set value 'vaapi=sma:/dev/dri/renderD128' for option 'init_hw_device': Invalid argument
Error parsing global options: Invalid argument
2024-12-22 22:50:08 - SABPostProcess - ERROR - Converting file failed /downloads/tv/Hot.in.Cleveland.S02E22.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb/Hot.in.Cleveland.S02E22.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb.mkv.
2024-12-22 22:50:08 - SABPostProcess - ERROR - No valid files found for conversion in download, aborting.
2024-12-22 22:50:08 - SABPostProcess - ERROR - Unexpected exception.
Traceback (most recent call last):
File "/usr/local/sma/SABPostProcess.py", line 81, in
sys.exit(1)
SystemExit: 1

My autoProcess.ini:
[Converter]
ffmpeg = ffmpeg
ffprobe = ffprobe
threads = 0
hwaccels = vaapi
hwaccel-decoders = vaapi
output-directory =
output-format = vaapi
output-extension = mp4
temp-extension =
minimum-size = 0
ignored-extensions = nfo, ds_store
copy-to =
move-to =
delete-original = True
sort-streams = True
process-same-extensions = False
force-convert = False
post-process = False
preopts =
postopts =
detailed-progress = False
hwdevices = vaapi:/dev/dri/renderD128
hwaccel-output-format = vaapi:vaapi
wait-post-process = False
bypass-if-copying-all = False
opts-separator = ,
regex-directory-replace = [^\w-_. ]
temp-output = False
output-directory-space-ratio = 0.0
[Permissions]
chmod = 0644
uid = -1
gid = -1
[Video]
codec = h265vaapi
max-bitrate = 0
crf = -1
crf-profiles =
max-width = 0
profile =
max-level = 0.0
pix-fmt =
filter =
force-filter = False
codec-parameters =
preset =
dynamic-parameters = False
bitrate-ratio =
prioritize-source-pix-fmt = True
[Audio]
codec = ac3, eac3, truehd, flac
languages =
default-language =
first-stream-of-language = False
allow-language-relax = True
channel-bitrate = 128
max-bitrate = 0
max-channels = 0
prefer-more-channels = True
filter =
sample-rates =
copy-original = False
aac-adtstoasc = False
ignore-truehd = mp4, m4v
force-filter = False
ignored-dispositions =
unique-dispositions = False
sample-format =
stream-codec-combinations =
variable-bitrate = 0
profile =
relax-to-default = False
force-default = False
include-original-language = True
[Universal Audio]
codec = aac
channel-bitrate = 128
first-stream-only = False
filter =
force-filter = False
variable-bitrate = 0
profile =
[Subtitle]
codec = mov_text
codec-image-based =
languages =
default-language =
first-stream-of-language = False
encoding =
burn-subtitles = False
burn-dispositions =
embed-subs = True
embed-image-subs = False
embed-only-internal-subs = False
filename-dispositions = forced
ignore-embedded-subs = False
attachment-codec =
ignored-dispositions =
unique-dispositions = False
remove-bitstream-subs = False
force-default = False
include-original-language = False

Running on Debian, docker is run rootless
Command it generates looks good and it seems to have the requisite components compared to what I had in my test command

re-ran the initial configuration (root docker) and then tried the same FFPEG command that you ran above and it works

Was this running as abc or as root? That would be the true test if the permissions issue is overcome
You can bash into the container as abc using
docker exec --user abc <container_id_or_name> bash

and then test the FFMpeg sample command

Also when you made the permission 666 I did that allow SABPostProcess to work? That would probably be the quickest test to confirm its a permissions issues and not some random parameter in the script, even if it doesn't persist

Was this running as abc or as root? That would be the true test if the permissions issue is overcome

I think it was but just re-ran it to make sure.   See output below.
ric@ubuntu-backend-pms2:/$ docker exec -it --user abc sab /bin/bash
abc@4609a35de54c:/$ ps ax -o pid,user,cmd
PID USER     CMD
1 root     /package/admin/s6/command/s6-svscan -d4 -- /run/service
16 root     s6-supervise s6-linux-init-shutdownd
18 root     /package/admin/s6-linux-init/command/s6-linux-init-shutdownd -d3 -c /run/s6/basedir -g 3000 -C -B
67 root     s6-supervise s6rc-fdholder
68 root     s6-supervise svc-cron
69 root     s6-supervise svc-sabnzbd
70 root     s6-supervise s6rc-oneshot-runner
78 root     /package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rule
199 root     busybox crond -f -S -l 5
200 abc      python3 /app/sabnzbd/SABnzbd.py --config-file /config --server ::
450 abc      /bin/bash
463 abc      ps ax -o pid,user,cmd
abc@4609a35de54c:/$ ls -l /dev/dri/
total 0
crw-rw---- 1 root videoaj8s 226,   1 Dec 23 11:51 card1
crw-rw---- 1 root videoaj8s 226,   2 Dec 23 11:51 card2
crw-rw---- 1 root videoaj8s 226,   3 Dec 23 11:51 card3
crw-rw---- 1 root videoaj8s 226,   4 Dec 23 11:51 card4
crw-rw---- 1 root videoaj8s 226,   5 Dec 23 11:51 card5
crw-rw---- 1 root video2jw2 226, 128 Dec 23 11:51 renderD128
abc@4609a35de54c:/$ id
uid=1000(abc) gid=1000(users) groups=1000(users),44(videoaj8s),993(video2jw2)
abc@4609a35de54c:/$
abc@4609a35de54c:/$ cd /downloads/tv/Hot.in.Cleveland.S02E20.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb/
abc@4609a35de54c:/downloads/tv/Hot.in.Cleveland.S02E20.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb$ ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -i ./Hot.in.Cleveland.S02E20.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb.mkv -vf 'hwupload' -c:v hevc_vaapi ./Hot.in.Cleveland.S02E20.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb.mp4
ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13.2.1 (Alpine 13.2.1_git20240309) 20240309
configuration: --prefix=/usr --disable-librtmp --disable-lzma --disable-static --disable-stripping --enable-avfilter --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libmp3lame --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librist --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-lto=auto --enable-lv2 --enable-openssl --enable-pic --enable-postproc --enable-pthreads --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-vulkan --optflags=-O3 --enable-libjxl --enable-libsvtav1 --enable-libvpl
libavutil      58. 29.100 / 58. 29.100
libavcodec     60. 31.102 / 60. 31.102
libavformat    60. 16.100 / 60. 16.100
libavdevice    60.  3.100 / 60.  3.100
libavfilter     9. 12.100 /  9. 12.100
libswscale      7.  5.100 /  7.  5.100
libswresample   4. 12.100 /  4. 12.100
libpostproc    57.  3.100 / 57.  3.100
Input #0, matroska,webm, from './Hot.in.Cleveland.S02E20.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb.mkv':
Metadata:
title           : Indecent Proposals
EPISODE_ID      : 20
MAJOR_BRAND     : dash
MINOR_VERSION   : 0
COMPATIBLE_BRANDS: iso6dash
DATE            : 2011
DESCRIPTION     : Melanie writes a column for Woman's Day Magazine that asks the question, 'Can Women Have Sex With No Strings?' Inspired by the topic, the women all set out on booty calls.
SHOW            : Hot in Cleveland
SEASON_NUMBER   : 2
ENCODER         : Lavf58.45.100
Duration: 00:21:09.67, start: 0.000000, bitrate: 13892 kb/s
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 1k tbn (default)
Metadata:
HANDLER_NAME    : USP Video Handler
ENCODER         : AVC Coding
DURATION        : 00:21:09.667000000
Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
Metadata:
HANDLER_NAME    : USP Sound Handler
DURATION        : 00:21:09.664000000
Stream #0:2(eng): Subtitle: subrip (default)
Metadata:
ENCODER         : Lavc58.91.100 srt
DURATION        : 00:20:37.018000000
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_vaapi))
Stream #0:1 -> #0:1 (eac3 (native) -> aac (native))
Press [q] to stop, [?] for help
[aac @ 0x7f06c739f3c0] Using a PCE to encode channel layout "5.1(side)"
[hevc_vaapi @ 0x7f06cd618bc0] No quality level set; using default (25).
Output #0, mp4, to './Hot.in.Cleveland.S02E20.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb.mp4':
Metadata:
title           : Indecent Proposals
EPISODE_ID      : 20
MAJOR_BRAND     : dash
MINOR_VERSION   : 0
COMPATIBLE_BRANDS: iso6dash
DATE            : 2011
DESCRIPTION     : Melanie writes a column for Woman's Day Magazine that asks the question, 'Can Women Have Sex With No Strings?' Inspired by the topic, the women all set out on booty calls.
SHOW            : Hot in Cleveland
SEASON_NUMBER   : 2
encoder         : Lavf60.16.100
Stream #0:0: Video: hevc (Main) (hev1 / 0x31766568), vaapi(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 24 fps, 12288 tbn (default)
Metadata:
HANDLER_NAME    : USP Video Handler
DURATION        : 00:21:09.667000000
encoder         : Lavc60.31.102 hevc_vaapi
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1(side), fltp, 394 kb/s (default)
Metadata:
HANDLER_NAME    : USP Sound Handler
DURATION        : 00:21:09.664000000
encoder         : Lavc60.31.102 aac
[out#0/mp4 @ 0x7f06d0ee5100] video:325703kB audio:60871kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.203490%
frame=30472 fps=171 q=-0.0 Lsize=  387360kB time=00:21:09.65 bitrate=2499.3kbits/s speed=7.13x
[aac @ 0x7f06c739f3c0] Qavg: 883.895
abc@4609a35de54c:/downloads/tv/Hot.in.Cleveland.S02E20.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb$ ls -l
total 2540576
-rw-rw-r-- 1 abc users<PHONE_NUMBER> Feb 16  2024 Hot.in.Cleveland.S02E20.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb.mkv
-rw-r--r-- 1 abc users  396657019 Dec 23 13:18 Hot.in.Cleveland.S02E20.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb.mp4
abc@4609a35de54c:/downloads/tv/Hot.in.Cleveland.S02E20.2011.1080p.AMZN.WEB-DL.x264.DDP5.1-ADWeb$

Alright so looks like its working as abc, so that's a good sign
If you run a script via manual.py as abc similarly to what you're doing here, does that give you any trouble? (make sure you run it via the virtual environment in the sma directory, that's where all the dependencies are installed)
If manual.py works and the sab post script doesn't that at least gives me some useful information
Not in front of my computer at the moment or I'd give you a sample command for manual.py sorry

Hm going back to this issue then I wonder if its the same problem
https://github.com/mdhiggins/sonarr-sma/issues/63
Going to try setting this
7c63bf17bc98743c066b6936a76c8a641b3bacce
But you might also need to mount a file to set sabnzbd to be dependent on init-gid-config
If you make a blank file on your host machine and mount it using volumes to /etc/s6-overlay/s6-rc.d/svc-sabnzbd/dependencies.d/init-gid-video that should force the dependency and might help

Okay, I'll try mounting the file and let you know how it goes.
I was re-reading Issue#63 and it was talking about restarting container after updates.   It seemed somewhat intermittent.  In my case it's always.   Not sure if it's relevant but I have a cron job that runs daily which restarts all my containers and, when available, pulls new images.

If you make a blank file on your host machine and mount it using volumes to /etc/s6-overlay/s6-rc.d/svc-sabnzbd/dependencies.d/init-gid-video that should force the dependency and might help

Can you please confirm the path inside the container as well as the filename?  There is a bit of a discrepance in the path between commit 7c63bf1 and commit b36d8ed
This is what it looks like right now inside my container:
/etc/s6-overlay/s6-rc.d/svc-sabnzbd/dependencies.d: has a blank file called "init-services"
/etc/s6-overlay/s6-rc.d/init-gid-video/dependencies.d: has a blank file called "init-config"

Yeah I was changing the dependency for init-git-video in that last update to see if it helps, but I don't have much hope that it will
The change I recommended will make SAB depend on init-gid-video. That's not something I can include in SMA mod since it would be SAB specific and the mod could be applied to any container
Root ownership is fine in this case

Hi Mike.  Hope you had a good holiday.   My comment above was just pointing out that blank file "init-services" already existed so I can't mount another one there.   WIth the init-servies file there, I rebooted my box, hence removing the 666 permissions in /dev/dri/, and re-tested.  No change in behavior unfortunately, the SABPostProcing script fails.  Same errors.


[AutoDiff] Fix false 'Differentiable' synthesis warning on class property wrappers.

In Differentiable derived conformances, determine whether a property-wrapped property is mutable by checking whether a setter exists, instead of calling VarDecl::getPropertyWrapperMutability().
Resolves rdar://63577692 (SR-12873) where class-typed property wrappers with a mutable wrappedValue are rejected by synthesis (not included in the TangentVector). Also improve the property-wrapper-specific immutability warning message.

@swift-ci please smoke test


Invalid regular expression in ExtendRoutes

Hello guys,
Playing around with Nuxt and tried to implement a specific business need that requires an infinite dynamic levels nesting and seems that Nuxt can't allow this,
The need is accepting this format of URL /smtng/smtng2/abc-def-TAG-123abc-NUM-12345
I added this regex: /:level*/(^[a-z0-9]+(?:-[a-z0-9]+)*TAG-([a-z0-9]+)-NUM-(\\d+)  hoping it can catch this url structure and then serving the appropriate page, something like this:

router: {
extendRoutes(routes, resolve) {
routes.push({
name: 'post',
path: '/:level*/(^[a-z0-9]+(?:-[a-z0-9]+)*TAG-([a-z0-9]+)-NUM-(\d+)',
component: resolve(__dirname, 'pages/posts/_post.vue')
})
}
},

But I get an error:
Invalid regular expression: /^(?:\/((?:[^\/]+?)(?:\/(?:[^\/]+?))*))?\/\[a-z0-9\]\+(?:((?:?\:-[a-z0-9]+)(?:(?:?\:-[a-z0-9]+))*))?(?:\/(?=$))?$/: Nothing to repeat
I checked the library path-to-regexp as well, but nothing seems to fix it,
Am I doing something wrong?
Thanks
Versions

nuxt: "^2.14.6"
node: "v12.14.0"

@Sletheren is there a need to be so specific with your regexp? I would seriously consider replacing that with just a catchall route ({ path: '*' }).
But as far as your error, it looks like you have missed a closing parenthesis.


Not dumping color camera stream

Hi guys,
The joints data is dumping into the folder as .csv. But is there any reason why the color camera stream is not dumping into the folder at all?
Thank you,
JC

Are you using the -v option ? The default behavior is to only dump skeleton data (I see that it is not very clear from the readme).

Not sure how to use the -v option. I may have missing something. When I click run, all I get is the following default window:
“Starting capture
Output skeleton data in file output_body.csv
Press X,Q or Control + C to stop capture
Capture rate(s):
1 Skeleton(s) at 30.0 Fps”
JC

Options like -v have to be put after the executable name in the command line (in a cmd.exe instance window). If you're not comfortable with command line interfaces or you want to have an icon to launch the application, you can create a shortcut to the executable and in its Properties panel, add options (like -v)  after executable path in the Target field (add space between options and path).

Great. Thank you again.
JC


Fix Azure endpoint properties and baseUrl computation

Refactor Azure endpoint properties and how the baseUrl is computed.
See this issue comment.
Fixes #248

@geoand / @agoncal please take a look

@geoand I just pushed new commits for the re-naming of deployment-id to deployment-name as well as remove the lambdas per your comment.

Indeed.
I'll add some of the Quarkus labels here too

I'm not sure why the JDK 17 build is failing. The failure is in some other module that I didn't touch.

Yeah, it's a known bug that makes GraalVM hang


compare lambda bug

centerface.cpp:139
    return a.score_ < b.score_;

should be
    return a.score_ > b.score_;

Thanks. You are right.


Update- Getting Started/About Monero

This is the About Monero copy. I have just clarified the existing copy, adding bits here and there. If people agree with the tone and content, i will continue on with doing more of this page.

Hey, thanks so much for your work and contribution. You're doing great, but the content needs to be edited a little.
So everything is divided up by sections, and I think there was some confusion. That's my bad, I didn't explain well in my instructions. Please forgive me. :)
If you go to this wire of the What Is Monero you will see underneath the title at the top (that says 'What Is Monero') there is a little blurb. A sort of page introduction. It's supposed to be a few sentences and describe what the page is about and what information can be found here in a concise and inviting way.
Your content is still pretty good, but it may need to go in the following section, and broken up into multiple 'Main Features' of Monero the coin. If you're willing to do that then we'll have no problem merging some of your changes.
Does that clear things up? I am very very sorry for the miscommunication. Thanks so much for your work! Let me know if you have any more questions.

No worries. it does make more sense now, as before i couldn't find the wire - but it is obvious now. will do some changes, and get a new commit soon.


[docs]

如何调用win的定时任务来实现一些定时计划？

For a solution in rust you can take a look at https://github.com/j-hc/windows-taskscheduler-api-rust and https://crates.io/crates/planif
For a WiX (which created the .msi) you can take a look at https://github.com/tauri-apps/tauri/blob/dev/tooling/bundler/src/bundle/windows/templates/main.wxs#L283-L305 or ask google something like wix create scheduled task or whatever.
As you can see we use powershell in the example i linked, which you could also use if you need a javascript "solution" (not really a js solution because you need to write a powershell script, but you get the idea).


Fix check for determining if abstract serialization method is needed

API change check
API changes are not detected in this pull request.


Newer versions of mac_toolchain slow down Xcode install by ~2 minutes

Is there an existing issue for this?

[X] I have searched the existing infra issues

Type of Request
bug
Infrastructure Environment
LUCI
What is happening?
Due to this change in mac_toolchain, Xcode install takes ~2 minutes longer for every build.
As a workaround we're hardcoding the mac_toolchain version to an older one, but we need a permanent solution.
Example:
On macOS 12, install xcode step takes 5.5s - https://luci-milo.appspot.com/ui/p/flutter/builders/staging/Mac_ios integration_ui_ios_driver_xcode_debug/1557/overview
With macOS 13, install xcode step takes 1.9m - https://luci-milo.appspot.com/ui/p/flutter/builders/staging/Mac_ios integration_ui_ios_driver_xcode_debug/1559/overview
Steps to reproduce
No response
Expected results
Xcode install takes less than 10 seconds when using from cache

@vashworth assigning this to you considering you are working on this bug. Please reassign if you need infra help.

Created https://crbug.com/1501416 to track if we can opt out the gatekeeper check or if any option to improve the xcode installation time.

The gatekeeper check was removed from mac_toolchain, so we should try using latest again. I'm going to wait until next week, though, since we're doing macOS Upgrade Phase 2 this week.

All repos have been switch to use latest mac_toolchain again. Slow down no longer observed. Closing.


animation

I have tried using <a-animation> as well as https://www.npmjs.com/package/aframe-animation-component to animate the topColor and bottomColor attributes, without success. The attribute gets set by the from attribute in the animation element/component, but doesn't change.

Yeah I am ultimately a designer who codes what he can, but I'll take a look at it. I have to update the documentation, but in order to change the color after the element is build you need to add this:
material="shader: gradient; topColor: x x x; bottomColor: x x x"
Like I said though I am really not very experienced with Node or NPM but I appreciate you letting me know these issues. I will work on them tonight. Feel free to give it a shot and give me a pull request if you figure it out.

Okay so upon further research and testing it appears this issue is due to the <a-animation> component. The A-Frame team is considering deprecating it all together: https://github.com/aframevr/aframe/issues/1927.
I will work on a color animation fix. I also invite anyone who has any ideas on this to give it a go!

Okay solved it:
You do need to use aframe-animation-component.
The code to animate could then look something like this:
<a-gradient-sky material="shader: gradient; topColor: 255 0 0; bottomColor: 0 121 255;"         animation="property: material.topColor; dur: 1000; to: 0 244 0"";></a-gradient-sky>

Awesome thanks! :)


Fix _hydro_uninstall

Remove redundant -- in string replace (which causes error)
Erase hydro_color_* functions as well

Thank you, @kidonng! 💯


Test E2E Function App - Keda

Instructions on setup: https://docs.microsoft.com/en-us/azure/azure-functions/functions-kubernetes-keda

@v-shenoy, can you do this? KEDA supports scaling based on RabbitMQ queue length. No need to test with latest source code of RabbitMQ extension. I don't think v4 core tools provides RabbitMQ trigger template, so you can use https://github.com/JatinSanghvi/rabbitmq-functionapp instead to get started.

Yes, I'll take this up. @JatinSanghvi

Created a RabbitMQ function app using core tools and then deployed it to an AKS cluster with KEDA using the following command,
func kubernetes deploy --name <name> --image-name <image> --pull-secret <secret-name>
The command fetches the required information from local.settings.json and creates the secrets, deployment and the scaled object. The created ScaledObject uses the default metadata that KEDA provides,
mode: QueueLength
value: "20"

If required these values can be changed by editing the scaled object definition.
The scaling works as intended from 0 -> N and N -> 0. Closing this issue, as no changes are required.


Failed to copying tailwind.css

Problem

Some tailwind.css produced by tailwind-cli cause panic copying asset.
tailwind.zip

Steps To Reproduce
Steps to reproduce the behavior:

Copy the tailwind.css to assets directory
import css file with asset! macro
dx serve

Expected behavior

It did work for 0.6.0-alpha.5

Screenshots

Environment:

Dioxus version:  0.6.0-rc.0
Rust version:  rustc 1.82.0 (f6e511eec 2024-10-15)
OS info:   Linux hackartist-archlinux 6.12.1-arch1-1 1 SMP PREEMPT_DYNAMIC Fri, 22 Nov 2024 16:04:27 +0000 x86_64 GNU/Linux
App platform:  web, fullstack

Questionnaire

I hit the same issue
Environment:
Dioxus version: 0.6.0
Rust version: rustc 1.83.0 (90b35a623 2024-11-26)
OS info: Windows 11
App platform: web, fullstack


[Requirement] Enabling Samples / Tutorial / Notebooks in NGC container

Currently to try samples / tuorials / Notebooks, users have to build their container, which is not convenient.
We'd better to enable them in NGC container.

jupyter-notebook could be enabled in our recent released containers.


Update threads.go

Quick typo fix (locaoin -> location)
Signed-Off-By: Joe Handzik<EMAIL_ADDRESS>

Thanks!


[v1.1][ISSUE-218]update dien and dlrm demo workflow_prepare script

What changes were proposed in this pull request?
update dien and dlrm demo workflow_prepare script
Why are the changes needed?
unify workflow_prepare method
How was this patch tested?
tested in demo, paste evidence in PR


PDF.js as MODAL

Open PDF file in Gmail. It does not replace the page and acts as a full width modal. User can still see the background and get back to the page. It looks really nice and:

Closes when you click on the close button on the top right
Closes when you press Esc key.
Closes when you click on the background

Is there a way to make pdf.js display the same way? Currently pdf.js only way to get back to the page is use "Back" - either browser back or Backspace. Not sure user understands he is still on the website.

The browsing experience in the browsers (with pdf.js extension) is consistent with browsers without pdf.js -- it opens pdf as regular web page. Gmail is a custom app that provides overlay with pdf images. You easily implement the same effect with iframe and demo viewer in your app. Closing as won't fix.