Target pod gets deregistered automatically

Version: 1.0-beta.4
I have setup https://github.com/kubernetes/charts/tree/master/stable/keycloak with following values
 keycloak:   service:     type: NodePort   ingress:     enabled: true     annotations:       kubernetes.io/ingress.class: alb       alb.ingress.kubernetes.io/scheme: internet-facing       alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-east-1:****:certificate/****       alb.ingress.kubernetes.io/target-type: pod     hosts:       - abc.example.com
post creation of ingress, I modified the ingress with integer port instead of named port. There are few problems that i want to point out:

The service behind the service is statefulset, which means the ip would not be immediately available. The controller is trying to register with no ips.
"[ALB-INGRESS] [session] [ERROR]: Failed request: elasticloadbalancing/RegisterTargets, Payload: {  TargetGroupArn: "arn:aws:elasticloadbalancing:us-east-1:*****:targetgroup/11fe95b5-31288-HTTP-287e019/99d6ebbeabb3b996"}, Error: InvalidParameter: 1 validation error(s) found."   "[ALB-INGRESS] [session] [ERROR]: - missing required field, RegisterTargetsInput.Targets."

Despite target-type:pod, the port mentioned in target creation is a NodePort
"[ALB-INGRESS] [session] [INFO]: Request: elasticloadbalancing/CreateTargetGroup, Payload: {  HealthCheckIntervalSeconds: 15,  HealthCheckPath: "/",  HealthCheckPort: "traffic-port",  HealthCheckProtocol: "HTTP",  HealthCheckTimeoutSeconds: 5,  HealthyThresholdCount: 2,  Matcher: {    HttpCode: "200"  },  Name: "11fe95b5-31288-HTTP-287e019",  Port: 31288,  Protocol: "HTTP",  TargetType: "ip",  UnhealthyThresholdCount: 2,  VpcId: "vpc-****"}"

Post re-sync, all the targets are gone.
"[ALB-INGRESS] [controller] [DEBUG]: ALB sync interval 1h0m0s elapsed; Assembly will be reattempted once lock is available.." "[ALB-INGRESS] [keycloak/keycloak] [DEBUG]: Targets need to be changed."  "[ALB-INGRESS] [keycloak/keycloak] [INFO]: Modifying target group targets."    "[ALB-INGRESS] [session] [INFO]: Request: elasticloadbalancing/RegisterTargets, Payload: {  TargetGroupArn: "arn:aws:elasticloadbalancing:us-east-1:***:targetgroup/11fe95b5-31288-HTTP-287e019/99d6ebbeabb3b996",  Targets: [{      Id: "*.*.*.*",      Port: 8080    }]}"    "[ALB-INGRESS] [session] [INFO]: Request: elasticloadbalancing/DeregisterTargets, Payload: {  TargetGroupArn: "arn:aws:elasticloadbalancing:us-east-1:***:targetgroup/11fe95b5-31288-HTTP-287e019/99d6ebbeabb3b996",  Targets: [{      AvailabilityZone: "us-east-1a",      Id: "*.*.*.*",      Port: 8080    }]}"

I am experiencing similar behavior. I have to continually delete the alb controller to keep services from 503'ing, the target group pod pointer becomes empty upon pod redeployment. Trying to experiment with liveliness probe on alb controller, but is difficult to automate since my controller has several ingresses.

Hey guys, the deregistered targets was fixed in https://github.com/kubernetes-sigs/aws-alb-ingress-controller/pull/461/files but I haven't made a new beta yet. I've been focused on forking the upstream ingress code into this repo which is a significant amount of backend work and is taking up most of my time.

Thank you for the hard work on this, it surely makes the CI deployment process a breeze.

@dhawani Can you check against the latest master build? A lot of the code has changed behind the scenes and it now includes the default target type parameter. Named ports are still not supported but i'd like to know how the rest of it is working for you.

tag :fix-pod-target-az has helped out in my case, when I tried latest yesterday the alb.ingress.kubernetes.io/backend-protocol: HTTPS annotation was not functional.

@blandman do you mind opening a separate issue for the backend-protocol issue?

Sure thing!

Controller Tag Used: a6565ea
I am getting following errors:
`E0728 04:04:37.465837       1 albingress.go:297] keycloak/keycloak:  - Failed TargetGroup creation: InvalidParameter: 1 validation error(s) found.
E0728 04:04:37.465843       1 albingress.go:297] keycloak/keycloak: - minimum field value of 1, CreateTargetGroupInput.Port.
E0728 04:04:37.465845       1 albingress.go:297] keycloak/keycloak: .
I0728 04:04:37.465841       1 event.go:221] Event(v1.ObjectReference{Kind:"Ingress", Namespace:"keycloak", Name:"keycloak", UID:"fe7b14b2-8c1e-11e8-affc-12d4fecbab7e", APIVersion:"extensions/v1beta1", ResourceVersion:"3345474", FieldPath:""}): type: 'Warning' reason: 'ERROR' Error creating target group 11fe95b5-keycloak-http-8a2c3: InvalidParameter: 1 validation error(s) found.

minimum field value of 1, CreateTargetGroupInput.Port.`

Can you have a look with 1.0-beta.5? It's got the latest pod target-type work in there, including fixes for managed SG

I use 1.0-beta.5, the issue is no longer appeared. Thanks!

@bigkraig I am still getting the same error.

@bigkraig I think the bug is now that service port cannot be named ports. changed it to numeric value and got following:
`F0807 01:46:38.629047       1 albingresses.go:151] ERROR: Work Unit failed due to a recoverable error: 'runtime error: invalid memory address or nil pointer dereference'
, Stack Trace:
goroutine 2072 [running]:
github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/gopkg.in/go-playground/pool.v3.(*limitedPool).newWorker.func1.1(0xc000ae9f18, 0xc000ba7080)
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/gopkg.in/go-playground/pool.v3/limited_pool.go:60 +0xbc
panic(0x1683760, 0x2c1cd90)
/home/travis/.gimme/versions/go/src/runtime/panic.go:513 +0x1b9
github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/tg.(*TargetGroup).Reconcile(0xc000690b60, 0xc000ae9da8, 0x1, 0x0)
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/tg/targetgroup.go:180 +0x434
github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/tg.TargetGroups.Reconcile(0xc0006dd630, 0x2, 0x2, 0xc000ae9da8, 0x2, 0x2, 0xc0005d0578, 0x1, 0x1)
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/tg/targetgroups.go:59 +0x85
github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/lb.(*LoadBalancer).Reconcile(0xc000809760, 0xc000ae9e68, 0xc00067c058, 0xc00053e960, 0x0)
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/alb/lb/loadbalancer.go:351 +0x413
github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/albingress.(*ALBIngress).Reconcile(0xc0000c3e00, 0xc000948ea8)
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/albingress/albingress.go:288 +0x10b
github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/albingress.ALBIngresses.Reconcile.func1.1(0x1ad3100, 0xc000023a40, 0x2, 0x0, 0x1, 0x0)
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/albingress/albingresses.go:141 +0xb8
github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/gopkg.in/go-playground/pool.v3.(*limitedPool).newWorker.func1(0xc0000239e0, 0xc00027efc0, 0xc000ba7080)
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/gopkg.in/go-playground/pool.v3/limited_pool.go:89 +0x196
created by github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/gopkg.in/go-playground/pool.v3.(*limitedPool).newWorker
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/gopkg.in/go-playground/pool.v3/limited_pool.go:52 +0x53
goroutine 1 [select]:
github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/controller.(*ALBController).Start(0xc0001aa840)
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/controller/alb.go:192 +0x3ff
main.main()
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/cmd/main.go:117 +0x4fd
goroutine 5 [chan receive]:
github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/github.com/golang/glog.(*loggingT).flushDaemon(0x2c339e0)
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/github.com/golang/glog/glog.go:882 +0x8b
created by github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/github.com/golang/glog.init.0
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/github.com/golang/glog/glog.go:410 +0x203
goroutine 18 [syscall, 6 minutes]:
os/signal.signal_recv(0x0)
/home/travis/.gimme/versions/go/src/runtime/sigqueue.go:139 +0x9c
os/signal.loop()
/home/travis/.gimme/versions/go/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
/home/travis/.gimme/versions/go/src/os/signal/signal_unix.go:29 +0x41
goroutine 30 [runnable]:
github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/k8s.io/apimachinery/pkg/watch.(*Broadcaster).loop(0xc0000388c0)
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/k8s.io/apimachinery/pkg/watch/mux.go:207 +0x66
created by github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/k8s.io/apimachinery/pkg/watch.NewBroadcaster
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/k8s.io/apimachinery/pkg/watch/mux.go:75 +0xcc
goroutine 24 [IO wait]:
internal/poll.runtime_pollWait(0x7febee133f00, 0x72, 0xc00020e870)
/home/travis/.gimme/versions/go/src/runtime/netpoll.go:173 +0x66
internal/poll.(*pollDesc).wait(0xc0003bca18, 0x72, 0xffffffffffffff00, 0x1ab3d00, 0x2bd44f0)
/home/travis/.gimme/versions/go/src/internal/poll/fd_poll_runtime.go:85 +0x9a
internal/poll.(*pollDesc).waitRead(0xc0003bca18, 0xc0007b0000, 0x8000, 0x8000)
/home/travis/.gimme/versions/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc0003bca00, 0xc0007b0000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go/src/internal/poll/fd_unix.go:169 +0x179
net.(*netFD).Read(0xc0003bca00, 0xc0007b0000, 0x8000, 0x8000, 0x408a0b, 0xc00002e000, 0x16a92e0)
/home/travis/.gimme/versions/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc0000d4018, 0xc0007b0000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go/src/net/net.go:177 +0x68
crypto/tls.(*block).readFromUntil(0xc0002120c0, 0x1ab2420, 0xc0000d4018, 0x5, 0xc0000d4018, 0x0)
/home/travis/.gimme/versions/go/src/crypto/tls/conn.go:492 +0x89
crypto/tls.(*Conn).readRecord(0xc00006aa80, 0x1965517, 0xc00006aba0, 0xc00017ce00)
/home/travis/.gimme/versions/go/src/crypto/tls/conn.go:593 +0xdd
crypto/tls.(*Conn).Read(0xc00006aa80, 0xc00035c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/travis/.gimme/versions/go/src/crypto/tls/conn.go:1145 +0xf1
bufio.(*Reader).Read(0xc000088540, 0xc0003302d8, 0x9, 0x9, 0xc00017ce00, 0xc00020ec58, 0xc00020ec70)
/home/travis/.gimme/versions/go/src/bufio/bufio.go:216 +0x22f
io.ReadAtLeast(0x1ab0b40, 0xc000088540, 0xc0003302d8, 0x9, 0x9, 0x9, 0xc00020ecf8, 0x8057cb, 0xc000ba52c0)
/home/travis/.gimme/versions/go/src/io/io.go:310 +0x88
io.ReadFull(0x1ab0b40, 0xc000088540, 0xc0003302d8, 0x9, 0x9, 0xc00020ed28, 0x8056dd, 0xc00020efb8)
/home/travis/.gimme/versions/go/src/io/io.go:329 +0x58
github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/golang.org/x/net/http2.readFrameHeader(0xc0003302d8, 0x9, 0x9, 0x1ab0b40, 0xc000088540, 0x0, 0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/golang.org/x/net/http2/frame.go:237 +0x7b
github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/golang.org/x/net/http2.(*Framer).ReadFrame(0xc0003302a0, 0xc0007e3770, 0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/golang.org/x/net/http2/frame.go:492 +0xa3
github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/golang.org/x/net/http2.(*clientConnReadLoop).run(0xc00020efb8, 0x1964478, 0xc000478fb8)
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/golang.org/x/net/http2/transport.go:1616 +0x9e
github.com/kubernetes-sigs/aws-alb-ingress-controller/vendor/golang.org/x/net/http2.(*ClientConn).readLoop(0xc0000fe000)
/home/travis/gopath/src/github.com/kubernetes-sigs/aws-alb-ingres`

@dhawani which version is that with? did you see https://github.com/kubernetes-sigs/aws-alb-ingress-controller/pull/529?

1.0-beta.5
@bigkraig, was not able to check #529 as now named port in service have stopped working.
Steps to reproduce:

Create service with name port
Create ingress with numeric port (type : ip)
Observe alb controller logs. You should get error creating target group
Edit service and replace port with numeric port
Observe alb controller logs. You should get panic error.

@dhawani named ports in services should have never worked until #529 though?

gonna close this one out and if there are new issues in 1.0-beta.6 please open up an issue with the info. this one has taken a few turns since it was first created.


Some low hanging fruit for security test time

Delete a redundant test (its a "hello world" test for a config which
is now the default, so its redundant)
Remove sleep
Don't retry requests so fast, which may overload the system when there
are failures
Add timeout so negative test cases don't take 60s when they expect to
timeout
Remove excessive sleep

For https://github.com/istio/istio/issues/17512

I don't think the timeout is quite right here actually. The request flow is test ---setup forwarder----> echo client ---calls--> echo sever. We are expecting to test the second part, but it actually fails in the the first step, and the test passes. So our test isn't really doing what we expect? I am looking into it more
cc @diemtvu @incfly (two random people that have worked on this test)

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

Test name
Commit
Details
Rerun command

gencheck_istio
d9f8210bcaca93b0479f897c90bc9819e974096e
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
d9f8210bcaca93b0479f897c90bc9819e974096e
link
/test gencheck_istio

lint_istio
d9f8210bcaca93b0479f897c90bc9819e974096e
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.

TestReachability from 7min -> 1min with this change, working on some more improvements

+1 on shorter sleep might make it flakier, we can also wait to see if how
it works in CI/CD, soaking for a few days though..
but if we want to do retry && converge, this test context.go has to be
changed to ensure request succeed and fail deterministically in a row
several times.
On Fri, Feb 28, 2020 at 3:26 PM Diem Vu<EMAIL_ADDRESS>wrote:

@diemtvu commented on this pull request.
Thanks for the change. I'm just worry about removing the sleep and shorten
the retry could make it more flaky. Can we just remove the sleep but keep
retry length (or keep it about 10s).
In tests/integration/security/util/reachability/context.go
https://github.com/istio/istio/pull/21657#discussion_r385964422:

@@ -135,12 +138,6 @@ func (rc *Context) Run(testCases []TestCase) {
return rc.g.DeleteConfig(c.Namespace, policyYAML)
})

	// Give some time for the policy propagate.

	// TODO: query pilot or app to know instead of sleep.

	ctx.Logf("[%s] [%v] Wait for config propagate to endpoints...", testName, time.Now())

	time.Sleep(10 * time.Second)

I'm ok with removing this, but could we have retry longer to compensate on
the case query was failed due to configures are not propagated fully. It
will be slow when the tests is flow, but should be the same when it works.
I was thinking to add smt to check if policy has been push here before
start sending the request, but it could be another improvement.
In tests/integration/security/util/reachability/context.go
https://github.com/istio/istio/pull/21657#discussion_r385966850:

@@ -98,18 +97,22 @@ func (rc *Context) Run(testCases []TestCase) {
{
PortName: "http",
Scheme:   scheme.HTTP,

	Timeout:  time.Second * 2,

Is this too short to be sure configuration are pushed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/21657?email_source=notifications&email_token=AAMVXB3OGEXRVWKAVM5AEYDRFGMQTA5CNFSM4K567C52YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCXN7YNA#pullrequestreview-366738484,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMVXB7VLKIZASYFBFR5ZILRFGMQTANCNFSM4K567C5Q
.

https://github.com/istio/istio/pull/21674 is much better than this PR. I think some parts of this are still useful but need some more work, so I would keep this WIP for now, merge the other one, and continue work here


chore: bdd-gh-1584168172 to 0.0.1

chore: Promote bdd-gh-1584168172 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Use Redis in the Kyma Runtime to Store and Retrieve Data

Tutorials: https://developers.sap.com/tutorials/cp-kyma-redis-function.html
Write here how you think we can improve the tutorial ...
in Step 5, the subscription cant be created in the functions menue. Only in "configurations > subscription". Also the form has different names than in the tutorial.

Jamie, can you please address the user's suggestion, or reassign it to a current owner?

The issue was fixed with my May 2024 changes.


Resourcepack support

Hi there! I'm making modpack for server and I'm using resourcepacks, but just button "Screenshot manager" wasn't changed, so I mean, it's not button as background and foreground image but it's just whole image, it's some chance to make it resourcepack-comaptible?

I'm not sure if I can fix that through my mod, I'll try my best. However as a temporary solution or if I can't fix it, you can make custom textures for the button and include it in your ressource pack, and put them in assets/screenshot_viewer/textures/sprites/widget. Be careful to name them correctly (i.e. screenshots_button.png and screenshots_button_focused.png). Anyways I hope this could help.

See #29, but I found a way to fix this. I'm closing this one too.


add params array length check

Ensure the params array has a length greater than zero before proceeding to process its elements.
https://github.com/The-Poolz/LockDealNFT.DispenserProvider/blob/49beddf5776267f1e83c98b96bd564a637ac40cf/contracts/DispenserInternal.sol#L65


Compile

This repo is so helpful because of its support for Tesseract 4.0.
I'm try to compile this again with the latest Tesseract release using Xcode 10.2 and got stuck. I'm rebuilding because many of the latest trained models do not work.
But when I followed the instructions and running make, when building Leptonica, this error appears:
../../src/gplot.c:402:18: error: 'system' is unavailable: not available on iOS
Can you please give me some guidance? Or, can you update to the latest Tesseract?
Thanks.

Hi, You need comment system function code in Leptonica project with gplot.c:402.

Hi @chaoskyme ,
Thanks for amazing work in tesseract 4.0. following your comment above, i tried to compile after commenting the system function code in gplot.c at line 402. It throwed me the same error in thewritefile.c:1028:14 . which i believe it needs to be commented too.
But that didn't solved the problem, it throwed me error as below,
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [tesseract] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2```

I attached the full error for you.
[error.txt](https://github.com/chaoskyme/Tesseract-OCR-iOS/files/3112963/error.txt)

@scubess You need keep your Mac OS environment is clean, let the compilation process isn't reference the library of Mac. Maybe your Mac OS install webp library.

Hi @chaoskyme ,
Sorry this is my first time trying to cross compile. I am very new and am not that much clear about the compilation process. Sorry to trouble you. I still have the problem. It will so good if i got this compiled in my system.
I do have webp 1.0.2  installed already.  i cleaned my Mac environment and also i have tried on my other mac. It gives me same error like this,
    _pixWriteStreamJp2k in liblept.a(jp2kio.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [tesseract] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [/Users/Tesseract-OCR-iOS/TesseractOCR/tesseract-ocr/x86_64-apple-darwin//lib/libtesseract.a] Error 2

can you help me with this error please? what wrong i am doing or advise me what makes this error please ?
thank you

@chaoskyme Any advice on the above error please ?

Hi @scubess @chaoskyme and future visitors
The problem above and one more similar can be resolved by adding --without-libwebp --without-libopenjpeg to the ../configure call for the Leptonica library in makefile (unless you really need that Leptonica API)
Anyway, I am just upgrading the library to Tesseract 4.1 while facing similar compilation issues (and more). You can find my observations here including the one above here
Current work in progress is here if anyone is interested. The demo project runs, but didn't test it in my own app yet: https://github.com/kenticomartinh/Tesseract-OCR-iOS/tree/4.1
If anyone has additional observations or knows more about topics in my notes above, let me know.
One thing I still need to investigate is why tests in the demo project are not loading in XCode.

Hi @kenticomartinh ,
Sorry to come back to late. when I add the flags --without-libwebp --without-libopenjpeg  to letonica build, it fixed the problem. Thank you
But as you mentioned , when leptonica API's called, it throw errors linking errors in libwebpio.a etc,.
Even though it built successfully, I need to call letponica APIs.
thank you so much for your help anyways....

Hi @selvaw3w
That is why I said "unless you really need that Leptonica API" :-) Anyway, in your case you should probably look at how the other linked libraries are handled in the makefile, and replicate that for the libwebp library. I am not that proficient in makefiles, so I can't give you an exact advice on that.

@kenticomartinh Thanks for the solution.
@winstonschen @scubess @selvaw3w  I have fixed Leptonica building error, upgraded Tesseract from 4.0.0 to 4.1.1 and merged the gali8/Tesseract-OCR-iOS master .
This is change log.

Upgrade tesseract 4.0.0 -> 4.1.1
Upgrade library version:
jpeg: 9a -> 9d
tiff: 4.0.9 -> 4.1.0
Leptonica: 1.76.0 -> 1.79.0
curl: 7.69.1
Upgrade minimum iOS version:
iOS: 7.0 -> 8.0

Hi @chaoskyme do tests work for you? I had to make some additional cleanup of some old things that prevented them from running, see this commit.
I was also changing the default mode because TesseractOCROnly is not supported by these versions anymore. See my commit:
https://github.com/kenticomartinh/Tesseract-OCR-iOS/commit/78db08e6b881bce9b4d3b5b5478c4f3c94d846f8


Alpha underflow?

This seems to be a separate bug from #38. The four tiles in the left column of this tileset from example3 all have four or five black pixels in a line. The other two tilesets generated on this run are all fine. This seems to be a rare bug, so it's worth preserving this first observation for later, when it can be properly investigated.

This is not a rare bug - I've seen a few more examples.

This is not a rare bug - I've seen a few more examples.

It's still possible to write configurations that produce this issue, but considering that

the linear alpha calculator now has a simpler alternative (top two) which can produce very similar visuals without black patches, and
all module groups are fully customisable, and noise values can be clamped to be greater than zero before applying alpha calculation,

Any appearances of this bug can be considered faults in the configuration files rather than faults in Wangscape. Therefore this issue can be closed.


Update controllers.v

To work when scale > 1.

nvm i merged it. If it occurs that scale issue again, you feel free to open pull request. Also thanks for your contribution 🥰.

Thanks for merging! And congrats for this game that works fine on my macos now! 👏


[Release] 200.1.0

Description
This PR releases the sample viewer app with 200.1.0 version of ArcGIS Maps SDK for Swift.
Linked Issue(s)

swift/issues/3752

How To Test
Please test after the Swift SDK and toolkit packages 200.1 become available.

New samples

Add dynamic entity layer
Authenticate with OAuth
Change camera controller
Change map view background
Change viewpoint
Download preplanned map area
Get elevation at point on surface
Navigate route
Query feature table
Show device location history
Show popup
Show realistic light and shadows
Sketch on map
Trace utility network

Enhancements

Modified code to use @StateObject property wrapper on view-model objects to store a  in an ObservableObject to ensure that the geo model is only created when necessary.
Updated UI in Project Geometry, Set basemap, Show callout, and Show result of spatial relationships.
Updated APIs to reflect the breaking changes in 200.1.0.
Added Swift package instructions.

Bug fixes

Addressed compiler warnings for Swift bug and for Mac Catalyst compatibility.
Fixed the OfflineMapTask instantiation pattern to use a map instead of a portal item in Generate offline map.
Fixed various typos, formatting, and configurations.

Thanks Mark! Can you also help give a quick approval on #173? 😄


Enhancements for Submariner to work with OVN Interconnect

Fixes :https://github.com/submariner-io/enhancements/issues/142

If the idea is to use routing API approach (SubmarinerGwRoute, SubmarinerNonGWRoute) for all CNIs (although we are going to implement it only for OVN CNI in first phase),
maybe we should explain the following in a CNI agnostic way:

what each one the new API CRDs represent
SubmarinerNonGWRoute Controller
SubmarinerGWRoute  Controller

Also, maybe it will be easier to describe events logic in a matrix,

For example we can have the following rows to describe events :
-New endpoint Created/Updated
-Remote endpoint deleted
-GW Node OVN zone change
-Non GW Node OVN zone change
-GW node switchover
And have the following columns to describe the different components:
-Route agent non active GW node
-Route agent active GW node

can you elaborate also on Submariner upgrade in this context? do the CRs (e.g: SubmarinerNonGWRoute) created by 'old' Submariner being deleted and recreated in the upgrade phase?

o implement it only for OVN CNI in first phase),
maybe we should explain the following in a CNI agnostic way:

what each one the new API CRDs represent
SubmarinerNonGWRoute Controller
SubmarinerGWRoute  Controller

Also, maybe it will be easier to describe events logic in a matrix,

the initial idea for having this CR was to decouple OVN route programming to different controller and move that logic to OVN at a later point of time and may be the CRs too.
But this API has potential to be used in other CNIs as the parameters as generic. But I think we can put more effort for other CNI if we have real use case as most them may not refactored at all.

But this API has potential to be used in other CNIs as the parameters as generic. But I think we can put more effort for other CNI if we have real use case as most them may not refactored at all.

Yeah,  at this point it feels that the new Route API will be used only for OVN CNI, maybe it worth to update CRD names(e.g: SubmarinerOVNNonGWRoute) ?


Godot 3.2.2 assert regression

Godot version:
Godot 3.2.2 78f0cf4
OS/device including version:
Xubuntu 16.04.6
Issue description:
This code now throw error:
extends Node

func _ready():
	assert(test()) # Parse Error: The method "test" isn't declared in the current class.

func test() -> bool:
	"""I'm a simple test case."""
	return true

Assert regression from 8dc8833.
Steps to reproduce:
Open minimal reproduction project.
Minimal reproduction project:
assert.zip

CC @BigRed-118 @vnen

Can confirm, removing the recently added line from the case GDScriptTokenizer::TK_PR_ASSERT in gdscript_parser.cpp makes this go away. Looking into it now.
_reduce_node_type(args[0]);

Issue stems from when _reduce_node_type is called from GDScriptParser::_parse_block for the assert, the current_class's scope is within the current function, so it doesn't have test in the class_type.functions. Putting the check in GDScriptParser::_check_block_types (which is where I should have placed it in the first place, with the Node::TYPE_ASSERT being cased out but nothing done for it), keeps the assert safe check functionality and no longer gives the above error. Now that we're setting the AssertNode line correctly from the original change, we now have the correct reference to use here.
case Node::TYPE_ASSERT: {
    AssertNode *an = static_cast<AssertNode *>(statement);
    _mark_line_as_safe(an->line);
    _reduce_node_type(an->condition);
    _reduce_node_type(an->message);
} break;

Also, it looks like the optional second argument for assert message wasn't being checked before. I went ahead and added it to the check above as you can see. Which produces the following:

Then with a normal string input:

Previously, there was no sign of an error:

Is that something that'd be alright to add in? I'll open a pull request for this fix. If anyone has any concerns or issues with this let me know. Thank you @allkhor for reporting.

Oh, I didn't realize it was adding a reduce call on the first parser pass. That's why it broke.

Fixed by #38279.


Something wrong when i try pasting "app-with-list-view.js" to "app.js".

The app was freezen at startup page and get a error log: "JS ERROR TypeError: undefined is not an object (evaluating 'this.$templates.getKeyedTemplates')".
Could you help me? thanks.

Hi, I have updated this template now, the sample you were trying was not updated for the new ListView syntax, but if you are still interested in that specific sample, it is available in the main repository here: https://github.com/nativescript-vue/nativescript-vue/blob/master/samples/app/app-with-list-view.js


chore: add volunteer tweetandcode

Thanks for volunteering @tweetandcode . Added some comments. PTAL.

@codewithvoid fixed those.

Perfect. Thanks and Welcome @tweetandcode


MGDCTRS-1169: cos-fleetshard-operator creates an empti configmap for …

…heace ManagedConnector
this can be used to change some configurations like toggling log DEBUG level.

@rinaldodev since you made me think about it, I preferred to swap secret and configmap order in the controller so that the configmap is not created if there are problems with the secret.

added configmaps permissions to the cos-fleetshard-camel serviceaccount


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 191 ms

Resolved: ClamAV performance has improved in 99a3968.


[CH-180] Support non-HA mode for ClickHouse reading from HDFS

Support non-HA mode for ClickHouse reading from HDFS.
Close #180 .
Changelog category (leave one):

New Feature
Improvement
Bug Fix (user-visible misbehaviour in official stable or prestable release)
Performance Improvement
Backward Incompatible Change
Build/Testing/Packaging Improvement
Documentation (changelog entry is not required)
Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
...

Information about CI checks: https://clickhouse.tech/docs/en/development/continuous-integration/

Can one of the admins verify this patch?

LGTM


Add a RestAssuredMockMvc.standaloneSetup(DefaultMockMvcBuilder) method in order to allow more flexible customization of the spring context

From<EMAIL_ADDRESS>on March 26, 2014 18:48:06
In my test I would like to be able to do something like this
DefaultMockMvcBuilder builder = MockMvcBuilders.standaloneSetup(controller1, ...)
builder.setValidator(new LocalValidatorFactoryBean())
RestAssuredMockMvc.standaloneSetup(builder);
This gives quiet a few more options to customize the application context.
It should be sufficient to add a builder method to com.jayway.restassured.module.mockmvc.RestAssuredMockMvc
public static void standaloneSetup(DefaultMockMvcBuilder mockMvcBuilder) {
mockMvc = mockMvcBuilder.build();
}
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=321

From<EMAIL_ADDRESS>on March 26, 2014 23:12:22
Status: Fixed


EliFulkerson.tcping version 0.12

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Resolve #184426

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

No errors to post.

(Automated response - build 897.)

@wingetbot run

Note that release note and date is not known for v0.1 - v0.35.
Also, executable for x64 is released since v0.36.

Automatic Validation ended with:

Executable C:\Users\Validator\AppData\Local\Microsoft\WinGet\Packages\EliFulkerson.tcping__DefaultSource\tcping.exe returned exit code: 1
Executable C:\Users\Validator\AppData\Local\Microsoft\WinGet\Links\tcping.exe returned exit code: 1

(Automated response - build 897.)


readme.md file updated

Readme file updated any suggestion, addition, correction would be very welcome !

Newly created README.md file can be seen in good format from here : https://github.com/aau-network-security/haaukins/tree/update-readme-file-%23260

ok let's discuss it on monday.


New Project Blazor Template Can't Seen.

When creating new web project expected to see Blazor as project type but cant.

I am going to share screen view of VS Enterprise version below.

Are you sure it's installed correctly?
Can you also share a screenshot of the "Extensions and updates" window?

Yes after Tools>Extentions and Updates> Blazor its worked. I am closing this iseues.


Rugged::ConfigError (Error stat'ing config file '/root/.gitconfig'):

I'm using redmine 3.0.3, gitolite 3.6.3, redmine_git_hosting 1.1.1 and rugged-1.2.0.
When I try to remove or create a public key to a user, I see the following error. Any idea why it tries to access /root/.gitconfig ?
 I wonder why it tries to access the git config of root.

In my case /root/.gitconfig was accessed because the init script of Thin didn´t update $HOME (although the process privileges was changed to non-root redmine user).

Hmm I set chdir in thin's redmine.yml. I thought it changes $HOME, too. @jensk  Could you tell me how you fixed the init script?

@mrueg I just added export HOME=/path/to/redmine to the init script before the line where the thin daemon is started.

Thanks, exporting HOME worked, but I consider this just to be a workaround. I filed https://github.com/macournoyer/thin/issues/275 for that reason.


Style shows as buttonLevelDown. Should be buttonUpDown

In the table for the buttonUpDown CMND,
The style description is incorrect.
Style shows as buttonLevelDown.
Should be buttonUpDown
https://oxrs.io/docs/firmware/touch-panel-esp32.html#json-parameters-10

buttonLevelDown is now deprecated in favour of buttonUpDownLevel
Suggest closing this issue and I will create a new issue to document the new version (buttonUpDownLevel)

sure Mat.


Chaining non-prop 'pre' watchers

Version
3.0.0-rc.5
Reproduction link
https://jsfiddle.net/skirtle/usymq9z0/2/
Steps to reproduce

Open the console.
Click the button.
Note that the chained 'pre' watcher logs after render.

What is expected?
The 'pre' watcher should log before render.
What is actually happening?
The new 'pre' watcher is added to the end of the queue and doesn't run until after rendering.

This is very similar to #1777 except there are no props involved so the fix for that issue doesn't apply.
I have confirmed this problem exists on the latest master.
The example is just for illustration. In a 'real' application the count property might be in store state, making the use of a watcher significantly less contrived.

Fixed in 3692f2738f5b48c5f116d27e2e3b2b571d28a753


Java 11 is not default

Readme suggests that running:
- hosts: servers
  roles:
      - role: ansiblebit.oracle-java

Would install JDK11. When I run it, logs tell me:

fatal: [host1]: FAILED! => {"changed": false, "dest": "/usr/local/src/jdk-8u112-linux-x64.rpm", "msg": "Request failed", "response": "HTTP Error 404: Not Found"

which suggests it downloads JDK8.

are you sure you are using the latest version of this role?
https://github.com/ansiblebit/oracle-java/blob/master/defaults/redhat.yml

ping me here if you still have a problem.


Fix Mac catalyst compilation

waiting for GitHub ci build before merging
there is some issue now, with job cancelled


ISPN-12930 Try to determine current schema during table existence check

...in DB2TableManager
We need to port this to 12.1.x branch, since this was merged in 11.0.x and is going to be included in EAP 7.4.1
Upstream PR: https://github.com/infinispan/infinispan/pull/9227
11.0.x PR: https://github.com/infinispan/infinispan/pull/9224

integrated! thanks @TomasHofman

Thanks @pruivo !


feat: make the webhook port configurable

Description of your changes

As outlined in the issue below, when running Crossplane in certain environments (like EKS using Calico CNI), where the control plane resides outside the workload network it is necessary to run webhooks in the host network. This calls for the need to make the port configurable to avoid conflicts.
I opened crossplane/crossplane!5540 to allow a DeploymentRuntimeConfig to overwrite the ports of the crossplane managed services created for each provider / function.
Fixes #208
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
I deployed my fork of this and crossplane in our test cluster running EKS and Calico. With this I was able to run both Crossplane and provider-kubernetes inside the host network with custom ports.
This change only makes sense if my other PR gets accepted.

I could really use this sooner rather than later. @ravilr is there anyway this can be prioritized? Really appreciate your work either way.


Upgrade to Wagtail 1.3 and make some PEP8 complaint changes

Changed name of CFGOVPage method children to elements to avoid confusion

@kave

:+1:

@kurtw Actually can you also update the CHANGELOG


luci-theme-material: fix JS error from ES6 method in IE

The JS String.prototype.endsWith() method is not supported in Internet Explorer, which results in the interface not loading after logging in.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith#browser_compatibility
Signed-off-by: Geoff Natin<EMAIL_ADDRESS>

That's looks right @jow-, thanks. This PR can be closed if you're going with that 👍.


Create libraries-and-tools.md

Put items in alpha order for now

Hi,
Thanks for your contribution. Unfortunately, this documentation task has been handled by #177, which has been created about a day before yours.


Battery Question

Sorry if this isn't the best place to ask this question, but I haven't found any other resources.
I want to buy the hegduino-v2 which is in stock at https://www.crowdsupply.com/alaskit/hegduino-v2 .. However, it states "battery not included" and the battery listed below is no longer available.

Is having the battery a requirement to make it work?
Will the battery become available again?
If not, can I get any old "1000mAh LiPo battery" from Amazon to use with it?

Thanks!
Sean

It'll need to be powered of course. It's important that the power supply
you use (which I think he says is better as a battery than mains to prevent
noise) puts out the same voltage and can deliver at least the same current.
If it can do higher that's fine too. But the mAh don't need to be as high.
Higher mAh means a better battery life, that's all.
On Tue, Jan 9, 2024, 23:20 sethom @.***> wrote:

Sorry if this isn't the best place to ask this question, but I haven't
found any other resources.
I want to buy the hegduino-v2 which is in stock at
https://www.crowdsupply.com/alaskit/hegduino-v2 .. However, it states
"battery not included" and the battery listed below is no longer available.

Is having the battery a requirement to make it work?
Will the battery become available again?
If not, can I get any old "1000mAh LiPo battery" from Amazon to use
with it?

Thanks!
Sean
—
Reply to this email directly, view it on GitHub
https://github.com/joshbrew/HEG_ESP32_Delobotomizer/issues/4, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AELYH2VLFVZMTXGE3N5DIX3YNXGFBAVCNFSM6AAAAABBT4DKLWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3TGMZSGQ3DMMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for the reply. I literally know nothing about these batteries and how to recharge them. Would this battery work?
https://www.amazon.com/Blomiky-1000mAh-Battery-Charger-Brushless/dp/B086PFSSD9/ref=sr_1_3_sspa?crid=KGDH9PXPBUD&keywords=1000mAh+LiPo+battery&qid=1704843198&sprefix=1000mah+lipo+battery%2Caps%2C152&sr=8-3-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&psc=1
Any recommendations?

I'm not sure what connectors you'd use for that, and would have to check
the battery voltage recommended by Josh. You can change the connector but
better if you can get one that works with the connectors in the HEGDuino.
I'll look in more detail tomorrow. The current it can put out is a little
harder to find
On Tue, Jan 9, 2024, 23:39 sethom @.***> wrote:

Thanks for the reply. I literally know nothing about these batteries and
how to recharge them. Would this battery work?
https://www.amazon.com/Blomiky-1000mAh-Battery-Charger-Brushless/dp/B086PFSSD9/ref=sr_1_3_sspa?crid=KGDH9PXPBUD&keywords=1000mAh+LiPo+battery&qid=1704843198&sprefix=1000mah+lipo+battery%2Caps%2C152&sr=8-3-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&psc=1
Any recommendations?
—
Reply to this email directly, view it on GitHub
https://github.com/joshbrew/HEG_ESP32_Delobotomizer/issues/4#issuecomment-1883964861,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AELYH2SO62CEPQR7LLTQ263YNXILNAVCNFSM6AAAAABBT4DKLWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBTHE3DIOBWGE
.
You are receiving this because you commented.Message ID:
@.***>

I mean in general it can be harder to find that detail but not too tricky
On Tue, Jan 9, 2024, 23:43 Daire O Broin @.***> wrote:

I'm not sure what connectors you'd use for that, and would have to check
the battery voltage recommended by Josh. You can change the connector but
better if you can get one that works with the connectors in the HEGDuino.
I'll look in more detail tomorrow. The current it can put out is a little
harder to find
On Tue, Jan 9, 2024, 23:39 sethom @.***> wrote:

Thanks for the reply. I literally know nothing about these batteries and
how to recharge them. Would this battery work?
https://www.amazon.com/Blomiky-1000mAh-Battery-Charger-Brushless/dp/B086PFSSD9/ref=sr_1_3_sspa?crid=KGDH9PXPBUD&keywords=1000mAh+LiPo+battery&qid=1704843198&sprefix=1000mah+lipo+battery%2Caps%2C152&sr=8-3-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&psc=1
Any recommendations?
—
Reply to this email directly, view it on GitHub
https://github.com/joshbrew/HEG_ESP32_Delobotomizer/issues/4#issuecomment-1883964861,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AELYH2SO62CEPQR7LLTQ263YNXILNAVCNFSM6AAAAABBT4DKLWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBTHE3DIOBWGE
.
You are receiving this because you commented.Message ID:
@.***>

Thanks!  I have an old Toomim nIR HEG headband but my Neurobics unit is destroyed. I need to start doing HEG with my daughter. Any help getting the hegduino-v2 up and running would be greatly appreciated.

I'd love to get my son into neurofeedback too, but I'm not sure if I'm better off with EEG since I've found more research for that. But HEG is exciting, too.
Anyway, sorry for the late response. I was getting into the weeds a bit but I think any battery that works for the ESP32 should do it, since that's the MCU (microcontroller) that's in the HEGDuino. But I'm assuming that all the components are powered by the MCU. I'll try dig into the schematics a bit more to get a definite answer, since  they're could be other circuitry stepping voltages up or down.
The battery you linked is 7.4V which would burn an ESP32 hooked straight to its 5V or 3V3. The crowd supply page doesn't seem to say what voltage the battery is so I'll have to look closer.

FYI. I started with HEG. I had good effects but I think I did it wrong. Long story but I think I would've been better off training FPZ than FP1 and FP2.
Speaking of EEG, I've gotten great results from Neuroptimal EEG Neurofeedback. So much so that my sister's clinic bought two of them and plan to start using them on clients.  You can rent the units for about $900 - $1000 for a month and train yourself and your whole family unlimited during that time. Lot's of us tried it out in our immediate circle of family and coworkers and many reported really positive benefits, especially longer sleep and clearer thinking.
A local psychologist is very interested and is about to test out the Neuroptimal on herself after my daughter completes about 40 sessions on one my sister bought.
When she's done I want her to try HEG at FPZ too. I plan to use HEG for "maintenance" on us both.
Thanks again.

Ok, so to simplify even further, the getting started guide says to plug it in to USB. So a powerbank will do the job ;)
As for the sensor positions... I've a lot to learn there. I've a B. Eng in electronics and am good with tinkering, so I'm going for these cheap open source options. That rental sounds cheaper than getting a therapist but I'm really strapped with some neurological issues I've got, so here I am ha

Well, you have it from the man himself! Thanks, Josh!

Thanks!

I know you're busy. If I place an order on crowd supply (they say the head bands in stock), will someone be available to fill the order and mail it or is it shipped out by CrowdSupply?


Html option (data-html) is not working

Hello there,
I am trying to render an html content for my tooltip using html prop but it is rendering an "object [Object]".
Even with the commented line.
With a simple text as data-tip it is working correctly.
const Popover = ({ children, content, title, trigger }) => {
  return (
    <>
      {React.cloneElement(children, {
        'data-tip':
This is a test
,
        'data-for': 'foo',
        // 'data-html': true,
      })}
      <ReactTooltip id="foo" html />
    </>
  );
};

Can anyone help me? Did I miss something?
Thanks.

Hello,
I have a problem using html=true and . If I use , it displays "[Object, object], [Object, object]".
If I remove it, it's fine.

Hello,
I have a problem using html=true and . If I use , it displays "[Object, object], [Object, object]".
If I remove it, it's fine.

@AlexandreMouyen I think your HTML needs to be a string.
@LeoLetourneur I am having the same issue. Tooltip displays "[Object, object], [Object, object]"  if I have a  tag  inside my HTML

@AlexandreMouyen I think your HTML needs to be a string.
@LeoLetourneur I am having the same issue. Tooltip displays "[Object, object], [Object, object]"  if I have a  tag  inside my HTML

helloo, maybe you can try using an alias 🤔:
const test = '
This is a test
'

return (
    <>
      {React.cloneElement(children, {
        'data-tip':
This is a test
,
        'data-for': 'foo',
        // 'data-html': true,
      })}
      <ReactTooltip id="foo" html />
    </>
 );

@LeoLetourneur @UnumIDAdmin Have you tried to add a multiline prop? In Options list there is a prop's definition:

I hope it will solve yout problem!

Worked around this issue by putting my strings in the
 tag. One tag per line.

It's not super obvious from the docs but even if you are wanting HTML to be rendered inside the tooltip, it still needs to be in a string (wrap your HTML in backticks). Setting the html prop on the tooltip under the hood sets dangerouslySetInnerHtml on the string you pass in.
const inner = `<p>I'm html in a string</p><p>Same</p>`

and your tooltip:
 <ReactTooltip
    html={true}
    id={"tooltip"}
    place="right"
    type="dark"
    effect="solid"
  >
    {inner}
  </ReactTooltip>


feat: validate port in backendRef for TCPRoute, UDPRoute, and TLSRoute (v1alpha2)

Signed-off-by: tokers<EMAIL_ADDRESS>
What type of PR is this?

/kind feature
What this PR does / why we need it:
This PR is the successor to validate the port field in backendRef (if this field exists). This PR validates this field for TCPRoute, UDPRoute, and TLSRoute in Gateway API v1alpha2 admission server.
Which issue(s) this PR fixes:

Fixes #941
Does this PR introduce a user-facing change?:

NONE

/ok-to-test


Setting horizontal and vertical scroll values does not work for SmoothScrollContainer

As in programmatically changing the scroll position via ScrollHorizontal/ScrollVertical. I imagine your script is overriding those, so this is not very surprising, but it is still something I consider undesirable.
If there is a method in SmoothScrollContainer to do this rather than directly setting ScrollHorizontal/ScrollVertical, how do I access the SmoothScrollContainer object from my own C# code (like what am I using to be able to extend that class)?
As before, plugin v1.3 and Godot v4.2.1.

Same issue as #48

Same issue as #48

Fair enough, though this does not answer my question about how to actually reference your custom type from my C# code.

I've never used C# with Godot before but I assumed that its just like calling any other custom gdscript function. In this case SmoothScrollContainer.Call("scroll_y_to", y_pos, duration);
See https://docs.godotengine.org/en/stable/tutorials/scripting/cross_language_scripting.html#calling-gdscript-methods-from-c


Cannot build image from institutional Figshare DOIs

Bug description
While building images from DOIs from the public figshare.com repository, things work great (e.g., https://doi.org/10.6084/m9.figshare.12746861.v1). However, entering a DOI from an institutional Figshare instance (e.g., https://doi.org/10.25422/azu.data.12456536.v1) does not work. The error given is
Error during build: Failed to clone repository from 10.25422/azu.data.12456536.v1 (ref 12456536.v1)
Institutional Figshare instances may have different URLs but all Figshare API calls are to api.figshare.com/v2/ even for institutional instances, so I my assumption was that it would work.
Related: #938 #951
Expected behaviour
A Docker image is successfully created
Actual behaviour
The Docker image does not build.
How to reproduce
Enter the above test DOIs on MyBinder.org to see the behavior

Looking at the error on mybinder.org I think BinderHub does everything right but repo2docker (the tool underneath tasked with building the image) does not recognise the DOI as a "Figshare DOI".
I think the reason this currently doesn't work is because of this test: https://github.com/jupyterhub/repo2docker/blob/5179447aeac98039ecb3ccc1ae183371a0fb193e/repo2docker/contentproviders/figshare.py#L53
The hostname a DOI resolves to has to be in this list https://github.com/jupyterhub/repo2docker/blob/5179447aeac98039ecb3ccc1ae183371a0fb193e/repo2docker/contentproviders/figshare.py#L30-L34 in order for it to work.
I think a good first thing to try is to change the test so that it checks if the hostname ends in .figshare.com and then if the path of the URL matches one of the three options in the current list. I think this would make for a good first contribution and I'd be happy to mentor/give advice if you want to tackle this.
I will also move this issue to the repo2docker repository as that is where I think the work needs to happen.


Recommended strategy for incorporating changes since last release v2.3.0 in April 2021

We have a fork of the last official Zuul release (v2.3.0 from April 2021).  It is a fork since we needed to make some minor changes to support our environment.  We've cherry-picked a couple of fixes from github master since 2.3.0.  We'd like to be closer to the latest so we are up-to-date on enhancements and fixes.
Is there a recommended strategy for how to pull in changes since v2.3.0 since there hasn't been an official Zuul release since 2021?  Are there certain commit points on master that are considered particularly stable and would be recommended for using as a release?  Does netflix have a strategy for how it utilizes the changes since 2021 for its own production usage?  Thanks!

Hello! Thank you for opening an issue.  We will try to release a new version this week.

Great.  Thanks!

Zuul 2.4.0 has been published to Maven Central.


Normalize variant calls

So I noticed that in the main vg git repo README that they recommend normalizing the variant calls for comparison purposes. https://github.com/vgteam/vg#variant-calling
Should this be incorporated into the vg_call module as an option or is normalization for a different use case?

This option sounds like a good idea to me.  That README needs updating but
as it stands, the bakeoff script still does some normalization
https://github.com/BD2KGenomics/hgvm-graph-bakeoff-evaluations/blob/master/scripts/computeVariantsDistances.py#L1081-L1093
but only on single allele variants it seems (probably due to a vt
limitation).
The issue the above was trying to address was fairly subtle:  By making
large block calls, the cactus (and some other) graphs were writing the
equivalent genotypes to, say, snp1kg in fewer vcf lines.  I was worried
this effect would skew precision comparisons (by lumping multiple snps into
one false positive) between different graphs, especially on smaller
regions.  But it's also a handy tool to have when eyeballing calls on the
funkier graphs.
On Fri, May 12, 2017 at 3:14 PM, Charles Markello<EMAIL_ADDRESS>wrote:

So I noticed that in the main vg git repo README that they recommend
normalizing the variant calls for comparison purposes.
https://github.com/vgteam/vg#variant-calling
Should this be incorporated into the vg_call module as an option or is
normalization for a different use case?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BD2KGenomics/toil-vg/issues/198, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2_7lhVpWlVCYLlmLOm0CyLOMBScCexks5r5K-rgaJpZM4NZrVr
.


Mipmap sampling for textures

Hello,
I am getting some artifacts when using Texture uniforms, which I think are due to the lack of mipmaps for the textures. I see that the Filter option only accepts nearest and linear, but no mipmaps.
Do you have any plan on implementing mipmaps ? Or do you have a workaround ? I could load the textures on the GPU using directly the native WebGL API, but then since I don't have access to the program, I don't know how to bind them to the uniforms.
Thank you !

I've refrained from adding mipmaps since it introduces an asymmetrical API between WebGL and WebGPU since the latter does not implement it natively (instead, you're expected to implement it yourself).
WebGPU gives better tools for this though, and although I first implemented this library to show how similar you can design WebGL2/WebGPU, I can allow such a common case for WebGL.
For future reference, if you find yourself wanting low-level access to renderer state, refer to mangled internals as follows:
https://github.com/CodyJasonBennett/four/blob/7c50eae176c2f0077e49923b59876934a5d84620/vite.config.ts#L4-L14

Released in v0.3.0 under Sampler.generateMipmaps.


⚠ Fortnite has degraded performance

In 688c0a5, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1602 ms

Resolved: Fortnite performance has improved in 6e5e81a.


Webook guide # 3 automatic metadata review

A WIP guide on using webhooks for automatic metadata review. I've aimed to follow the style of the previous guides and only included some of the code used in the example app.
I have added more context to the intro to motivate the example since this use case might be slightly less obvious than the previous guides.
Still TODO:

[ ] Add screenshots to https://huggingface.co/datasets/huggingface/documentation-images and images to docs

I thought it was best to get feedback on the content before doing the images, but once the images are done, I think this should be ready.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Wow!

Will do! I seem to get a 500 error when using the direct URL: https://huggingface.co/docs/hub/webhooks-guide-metadata-review; not sure if I did something wrong in the _toctree.yml file 😬

i don't really know to be honest
the stack trace is
14|moon  | 2023-01-31T17:45:20: /docs/hub/webhooks-guide-metadata-review  {}  Root=1-63d953b0-5aa7cc6053984bd55e65e596
14|moon  | 2023-01-31T17:45:20: SyntaxError: Unexpected token B in JSON at position 803
14|moon  |     at JSON.parse (<anonymous>)
14|moon  |     at getDocBuilderPage (/home/moon/server/app/contentRoutes.ts:330:19)

cc @mishig25 maybe
(i will take a look later if no one beats me to it)
maybe i would remove the --- from the content it might mess up the metadata extraction?

ok guide is up: https://huggingface.co/docs/hub/webhooks-guide-metadata-review

Thanks so much for debugging this, @julien-c ❤. I'll set up a pre-commit hook to catch this for myself in the future.


Add the ability to specify extra arguments

This PR adds the ability to specify extra arguments to the external-dns deployment.
This would allow users to add additional arguments like --aws-zones-cache-duration, --aws-batch-change-interval and --zone-id-filter.

awesome, that is fast

I don't want to be paged :P so the faster this can be applied, the better :P


Unavailable in the US Mac AppStore

The application is not available for download in the US MAC AppStore.  Clicking the link to download the Mac client version causes a not available in your country error.

+1

+1

I'd also very much like access to a dmg of the Mac version that I've been using for some time, but now would like to both update on my private computer and install on my work computer.


File Attachments No Longer Work for Freestyle Jobs

Jenkins and plugins versions report

Environment

Jenkins: 2.452.3
OS: Windows Server 2016 - 10.0
Java: 21.0.2 - Oracle Corporation (Java HotSpot(TM) 64-Bit Server VM)
---
ansicolor:1.0.4
antisamy-markup-formatter:162.v0e6ec0fcfcf6
apache-httpcomponents-client-4-api:4.5.14-208.v438351942757
asm-api:9.7-33.v4d23ef79fcc8
audit-trail:361.v82cde86c784e
authentication-tokens:1.119.v50285141b_7e1
azure-ad:507.vea_a_a_167b_d05c
azure-sdk:174.va_89c1df897d2
bootstrap5-api:5.3.3-1
bouncycastle-api:<IP_ADDRESS>.1-248.ve27176eb_46cb_
branch-api:2.1178.v969d9eb_c728e
build-name-setter:2.4.3
build-timeout:1.33
caffeine-api:3.1.8-133.v17b_1ff2e0599
checks-api:2.2.0
cloudbees-bitbucket-branch-source:888.v8e6d479a_1730
cloudbees-folder:6.928.v7c780211d66e
command-launcher:107.v773860566e2e
commons-lang3-api:3.14.0-76.vda_5591261cfe
commons-text-api:1.12.0-129.v99a_50df237f7
conditional-buildstep:1.4.3
credentials:1371.vfee6b_095f0a_3
credentials-binding:681.vf91669a_32e45
custom-view-tabs:1.3
dark-theme:439.vdef09f81f85e
dashboard-view:2.508.va_74654f026d1
data-tables-api:2.0.8-1
design-library:303.v6b_23c12334c9
display-url-api:2.204.vf6fddd8a_8b_e9
durable-task:555.v6802fe0f0b_82
echarts-api:5.5.0-1
eddsa-api:0.3.0-4.v84c6f0f4969e
email-ext:1814.v404722f34263
envinject:2.919.v009a_a_1067cd0
envinject-api:1.199.v3ce31253ed13
favorite:2.218.vd60382506538
font-awesome-api:6.5.2-1
generic-webhook-trigger:2.2.2
git:5.3.0
git-client:5.0.0
git-server:126.v0d945d8d2b_39
github:1.39.0
github-api:1.321-468.v6a_9f5f2d5a_7e
github-branch-source:1793.v1831e9c68d77
gitlab-plugin:1.8.1
gson-api:2.11.0-41.v019fcf6125dc
handy-uri-templates-2-api:2.1.8-30.v7e777411b_148
htmlpublisher:1.36
instance-identity:185.v303dc7c645f9
ionicons-api:74.v93d5eb_813d5f
jackson2-api:2.17.0-379.v02de8ec9f64c
jakarta-activation-api:2.1.3-1
jakarta-mail-api:2.1.3-1
javadoc:243.vb_b_503b_b_45537
javax-activation-api:1.2.0-7
javax-mail-api:1.6.2-10
jaxb:2.3.9-1
jdk-tool:73.vddf737284550
jersey2-api:2.42-147.va_28a_44603b_d5
jjwt-api:0.11.5-112.ve82dfb_224b_a_d
jnr-posix-api:3.1.19-2
jobConfigHistory:1229.v3039470161a_d
joda-time-api:2.12.7-29.v5a_b_e3a_82269a_
jquery3-api:3.7.1-2
jsch:0.2.16-86.v42e010d9484b_
json-api:20240303-41.v94e11e6de726
json-path-api:2.9.0-58.v62e3e85b_a_655
junit:1280.v310a_78b_9a_1e0
lockable-resources:1255.vf48745da_35d0
mailer:472.vf7c289a_4b_420
material-theme:0.5.2-rc100.6121925fe229
matrix-auth:3.2.2
matrix-project:832.va_66e270d2946
maven-plugin:3.23
mina-sshd-api-common:2.13.1-117.v2f1a_b_66ff91d
mina-sshd-api-core:2.13.1-117.v2f1a_b_66ff91d
nested-view:1.34
okhttp-api:4.11.0-172.vda_da_1feeb_c6e
pam-auth:1.11
parameterized-trigger:806.vf6fff3e28c3e
pipeline-build-step:540.vb_e8849e1a_b_d8
pipeline-graph-analysis:216.vfd8b_ece330ca_
pipeline-groovy-lib:727.ve832a_9244dfa_
pipeline-input-step:495.ve9c153f6067b_
pipeline-milestone-step:119.vdfdc43fc3b_9a_
pipeline-model-api:2.2205.vc9522a_9d5711
pipeline-model-definition:2.2205.vc9522a_9d5711
pipeline-model-extensions:2.2205.vc9522a_9d5711
pipeline-rest-api:2.34
pipeline-stage-step:312.v8cd10304c27a_
pipeline-stage-tags-metadata:2.2205.vc9522a_9d5711
pipeline-stage-view:2.34
plain-credentials:183.va_de8f1dd5a_2b_
plugin-util-api:4.1.0
powershell:2.1
prism-api:1.29.0-15
pubsub-light:1.18
purge-build-queue-plugin:88.v23b_97b_f2c7a_d
purge-job-history:1.6
rebuild:332.va_1ee476d8f6d
resource-disposer:0.23
run-condition:1.7
scm-api:696.v778d637b_a_762
script-security:1341.va_2819b_414686
shiningpanda:0.24
simple-theme-plugin:191.vcd207ef9dd24
slack:722.vd07f1ea_7ff40
snakeyaml-api:2.2-111.vc6598e30cc65
sse-gateway:1.27
ssh-credentials:343.v884f71d78167
sshd:3.330.vc866a_8389b_58
structs:338.v848422169819
theme-manager:262.vc57ee4a_eda_5d
timestamper:1.27
token-macro:400.v35420b_922dcb_
trilead-api:2.147.vb_73cc728a_32e
variant:60.v7290fc0eb_b_cd
workflow-aggregator:600.vb_57cdd26fdd7
workflow-api:1322.v857eeeea_9902
workflow-basic-steps:1058.vcb_fc1e3a_21a_9
workflow-cps:3922.va_f73b_7c4246b_
workflow-durable-task-step:1364.v2fd76fb_6fd41
workflow-job:1400.v7fd111b_ec82f
workflow-multibranch:783.787.v50539468395f
workflow-scm-step:427.v4ca_6512e7df1
workflow-step-api:678.v3ee58b_469476
workflow-support:920.v59f71ce16f04
ws-cleanup:0.46

What Operating System are you using (both controller, and any agents involved in the problem)?
Jenkins server is running Windows Server 2016 Datacenter.
Reproduction steps

Setup a Jenkins freestyle job using a Slack notification post-build action.
Specify a file to be uploaded.
Watch as the message sends but no file is attached.

This issue seems to happen on newer builds; older versions of the plugin seem to work (6.84 works) without issue. I did update the scopes of our bot users to reflect the new scope requirements referenced in the 7.11 release.
I have verified the the file is found. I see the following in the console output of the job:
Using dirname=C:\Users\<username>\AppData\Local\Jenkins\.jenkins\workspace\Test-WebhookURL and includeMask=beepboop.txt
Adding file C:\Users\<username>\AppData\Local\Jenkins\.jenkins\workspace\Test-WebhookURL\beepboop.txt

I setup logging for StandardSlackServices and see the following:
Aug 06, 2024 10:58:30 AM FINE jenkins.plugins.slack.StandardSlackService

Posting: to C03M0NU3GN9 on PowerSchool:  {"attachments":[{"fallback":"Test-WebhookURL - #74 Success after 1.1 sec (<https://itjenkins.powerschool.com/job/Test-WebhookURL/74/display/redirect|Open>)","color":"good","fields":[{"short":false,"value":"Test-WebhookURL - #74 Success after 1.1 sec (<https://itjenkins.powerschool.com/job/Test-WebhookURL/74/display/redirect|Open>)"}],"mrkdwn_in":["pretext","text","fields"]}],"link_names":"1","unfurl_links":"true","unfurl_media":"true","channel":"<channelID>","username":"Jenkins Notifications"}

Aug 06, 2024 10:58:30 AM FINE jenkins.plugins.slack.StandardSlackService

Posting succeeded

As far as I can tell, no attempt is even being made to send the file. I see no reference to it in the log information at all.
Expected Results
The message should be posted with a file attachment. It works with 6.84, and maybe other legacy versions, of the plug-in.
Actual Results
The message sends, but without file attachments.
Anything else?
I did also test this on an instance of Jenkins installed on my local machine with the same result.
Are you interested in contributing a fix?
If there's some way I could contribute, I would be happy to do it, though I'm not sure I would be much use.

Confirmed same results.

Works just fine for me:

Can you show it showing up in your Slack? The log reports it uploading but Slack doesn't appear to receive it.

The first screenshot has that, because its a text file it gets expanded

Works just fine for me:

Okay, so in the jobs I'm running I don't have the "Archive Artifacts" post build action. Is that required? Does the file still upload for you if you remove that step? If so, then it previously was not required, as the plug-in uploads the files without that step the way jobs are currently setup on our server (I rolled back the plug-in to an older version for now). If that's all it is, then great.

I don't think it is.

Okay, got it. My guess is, then, that there's an issue with the call being used to attach the file to the message. I don't actually know what's happening under the hood, but I'm assuming the message is posted, and then the file is attached to it in a separate call, and that's what is failing. If it was a single call, then I imagine the message would just fail to post entirely.
Are you using a custom Slack bot user to post the message? I tried remaking the Slack bot user, and it didn't work with the newly created account either, but maybe the message needs to be sent a different way.

Yes they are two separate calls.
You can enable http logging:
org.apache.http
see more details at https://hc.apache.org/httpcomponents-client-4.5.x/logging.html

Are you using a custom Slack bot user to post the message

For file upload a custom bot user is required.

I have my settings the same as they were when it used to work prior to about May of this year.
This is the job's configuration:

This is the job's log output:

I'm honestly not sure what else I should be doing here. I've tried putting this into the pipeline script, it still doesn't work.

Can you add a log recorder like here but for org.apache.http please:
https://github.com/jenkinsci/slack-plugin#enable-additional-logging

From what I can tell, it's making the first call to get the uploadURL from Slack:

It then appears to be making the follow up call, though I'm not well versed on how to read these logs. It indicates it was successful, and, as mentioned, the message sends, there's just no attachment. Here's what I see though (let me know if I'm leaving out something relevant):

I can't see the response which is probably further down.
Adding as text would be easier to read and just replace anything with redacted if you don't want it included

Every response seemed to be a 200 response when I looked. I'll see if I can grab more details. The log is quite verbose. Also, I'm sure I redacted more than is really necessary (like the uploadURL), but I was just playing it safe.

Here is the full logging output, aside from the bearer token being redacted. I setup a Jenkins server on my local system to test and had the same issue, so this is from that. It experiences the same issue though, and the logs look largely the same. Thanks so much for your help.
jenkins_httplog_slackplugin.txt

I am realizing I don't see channel_id or thread_ts anywhere in that output. This makes me think the file might be getting uploaded, but isn't being attached to the message properly. This is the documentation from Slack on that last call it's making, where they indicate those two optional values as parameters:
https://api.slack.com/methods/files.completeUploadExternal
Also, I was able to send a call in Postman successfully, though I don't see it in the channel either, even when explicitly passing the channel ID. In terms of a pipeline job, I would have to figure that out. We don't use those, and I've never set one up. If I get the chance, I'll try to figure out setting up a job to use the Slack plugin via pipeline.

I should also add I've made all the recommended adjustments to scope, granted all required permissions, and tested this on different implementations of both pipeline and freestyle without success for a 50MB file. This started happening with the plugin update in May, so I'm not saying it's correlated, but just for context.

Assuming you mean the one with scope changes it will be related as Slack deprecated the old method and isn't allowing new apps to use the old method...

I tried with a 50mb file and no artifact archiving:

I have no channel overrides or anything just my global config

This is my Slack app manifest:
display_information:
  name: Jenkins
features:
  bot_user:
    display_name: Jenkins
    always_online: true
oauth_config:
  scopes:
    bot:
      - channels:read
      - chat:write
      - chat:write.customize
      - files:write
      - reactions:write
      - users:read
      - users:read.email
      - groups:read
settings:
  org_deploy_enabled: false
  socket_mode_enabled: false
  token_rotation_enabled: false

Assuming you mean the one with scope changes it will be related as Slack deprecated the old method and isn't allowing new apps to use the old method...

Correct. I noticed you have custom slack app bot user unchecked. This is required. Can you try with that? We're not sending this to a DM or via a @slackbot source.

Here is my app manifest:
{
    "display_information": {
        "name": "BotName",
        "description": "Jenkins Buildbot",
        "background_color": "#0d9788"
    },
    "features": {
        "bot_user": {
            "display_name": "BotName",
            "always_online": false
        }
    },
    "oauth_config": {
        "scopes": {
            "user": [
                "files:read",
                "files:write",
                "remote_files:read",
                "remote_files:share"
            ],
            "bot": [
                "channels:read",
                "chat:write",
                "chat:write.customize",
                "chat:write.public",
                "files:write",
                "reactions:write",
                "groups:read",
                "files:read",
                "groups:write",
                "remote_files:read",
                "remote_files:share",
                "remote_files:write"
            ]
        }
    },
    "settings": {
        "org_deploy_enabled": false,
        "socket_mode_enabled": false,
        "token_rotation_enabled": false
    }
}

I am also using a custom Slack app bot user. Maybe this is the difference causing issues.

I just tried it with @timja 's exact settings in the manifest, reinstalled app in the workspace, no artifact archiving.
Two differences are:

I'm using Credential set up for slack
I'm using custom slack bot user.

Same result, no file:
+ cp android/app/build/outputs/apk/debug/app-debug.apk android/app/build/outputs/apk/debug/xxxxxx_1302.apk
[Slack Notifications] found #1301 as previous completed, non-aborted build
[Slack Notifications] will send OnSuccessNotification because build matches and user preferences allow it
Using dirname=/Users/yyyyy/jenkins/workspace/yyyyy_Android_Staging and includeMask=android/app/build/outputs/apk/debug/xxxxxx*
Adding file /Users/yyyyy/jenkins/workspace/yyyyy_Android_Staging/android/app/build/outputs/apk/debug/xxxxxx_1302.apk
Finished: SUCCESS

Just tried again not specifying the workspace and got the same result.

Just tried again also removing custom slack bot user and got the same result.

I do have custom slack app bot user ticked on my global config:

I'm now duplicating all of your settings, with the same result:

No worspace in job configuration
No credential in job configuration
No channel in job configuration
No custom slack app bot user checked in job configuration
System/global config contains the same as yours above
Test Connection results in a "you're all set" message on Slack.
Uploading file reports no issue

No file appears on Slack.

Ok, I built and installedyour build. I'm not entirely sure I'm looking at the right log, but this is what I got:
Aug 27, 2024 6:08:35 PM INFO jenkins.plugins.slack.logging.SlackNotificationsLogger info
[XXXXX_Android_Staging #1306] found #1305 as previous completed, non-aborted build
Aug 27, 2024 6:08:35 PM INFO jenkins.plugins.slack.logging.SlackNotificationsLogger info
[XXXXX_Android_Staging #1306] will send OnSuccessNotification because build matches and user preferences allow it
Aug 27, 2024 6:08:38 PM WARNING org.jenkinsci.plugins.workflow.cps.CpsStepContext$2 onFailure
Failed to proceed after CpsStepContext[29:build]:Owner[XXXXX_App/1288:XXXXX_App #1288]
java.lang.IllegalStateException: completed or broken execution
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.onLoad(CpsFlowExecution.java:850)
	at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun.getExecution(WorkflowRun.java:719)
	at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.get(WorkflowRun.java:992)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsStepContext.getExecution(CpsStepContext.java:217)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsStepContext.getNode(CpsStepContext.java:302)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsStepContext.scheduleNextRun(CpsStepContext.java:368)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsStepContext.completed(CpsStepContext.java:326)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsStepContext.onFailure(CpsStepContext.java:314)
	at PluginClassLoader for pipeline-build-step//org.jenkinsci.plugins.workflow.support.steps.build.BuildTriggerListener.lambda$onDeleted$1(BuildTriggerListener.java:86)
	at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)

I built it myself, so I'll re-install with your finished file.

Result:
Aug 27, 2024 6:18:44 PM INFO jenkins.plugins.slack.logging.SlackNotificationsLogger info
[XXXXX_Android_Staging #1307] found #1306 as previous completed, non-aborted build
Aug 27, 2024 6:18:44 PM INFO jenkins.plugins.slack.logging.SlackNotificationsLogger info
[XXXXX_Android_Staging #1307] will send OnSuccessNotification because build matches and user preferences allow it
Aug 27, 2024 6:18:48 PM WARNING org.jenkinsci.plugins.workflow.cps.CpsStepContext$2 onFailure
Failed to proceed after CpsStepContext[29:build]:Owner[XXXXX_App/1291:XXXXX_App #1291]
java.lang.IllegalStateException: completed or broken execution
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.onLoad(CpsFlowExecution.java:850)
	at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun.getExecution(WorkflowRun.java:719)
	at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.get(WorkflowRun.java:992)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsStepContext.getExecution(CpsStepContext.java:217)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsStepContext.getNode(CpsStepContext.java:302)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsStepContext.scheduleNextRun(CpsStepContext.java:368)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsStepContext.completed(CpsStepContext.java:326)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsStepContext.onFailure(CpsStepContext.java:314)
	at PluginClassLoader for pipeline-build-step//org.jenkinsci.plugins.workflow.support.steps.build.BuildTriggerListener.lambda$onDeleted$1(BuildTriggerListener.java:86)
	at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)

Are you building on an agent? If so the log will be in the agents log file.
(I just verified that freestyle on an agent works fine)

🤦 Ok let me find this log.

Got it:
Aug 27, 2024 6:14:31 PM hudson.remoting.Launcher$CuiListener status
INFO: Connected
Aug 27, 2024 6:18:47 PM jenkins.plugins.slack.pipeline.SlackUploadFileRunner completeUploadExternal
INFO: Completing upload with: {"files":[{"id":"ABCDEFGHIJK"}]}
Aug 27, 2024 6:18:47 PM jenkins.plugins.slack.pipeline.SlackUploadFileRunner completeUploadExternal
INFO: Upload complete response: {"files":[{"filetype":"","title":"xxxxx_staging_1307.apk","file_access":"visible","ims":[],"mode":"hosted","shares":{},"media_display_type":"unknown","url_private":"https://files.slack.com/files-pri/YYYYYYYYYY-ABCDEFGHIJK/xxxxx_staging_1307.apk","id":"ABCDEFGHIJK","display_as_bot":false,"timestamp":1724797126,"created":1724797126,"editable":false,"has_more_shares":false,"is_external":false,"groups":[],"pretty_type":"","external_type":"","url_private_download":"https://files.slack.com/files-pri/YYYYYYYYYY-ABCDEFGHIJK/download/xxxxx_staging_1307.apk","user_team":"YYYYYYYYYY","permalink_public":"https://slack-files.com/YYYYYYYYYY-ABCDEFGHIJK-a26583d641","has_rich_preview":false,"is_starred":false,"size":56691739,"channels":[],"comments_count":0,"name":"xxxxx_staging_1307.apk","is_public":false,"mimetype":"","public_url_shared":false,"permalink":"https://xxxxxxxxxx.slack.com/files/U02A56E7DTK/ABCDEFGHIJK/xxxxx_staging_1307.apk","user":"U02A56E7DTK","username":""}],"ok":true}

Completing upload with should always have a channel_id maybe it gets omitted for a null channel.
What's configured in your channel? you can change the words but not the format.
Also try with a channel ID instead of a channel name maybe.

I've pushed more debug logging which should help us tell whats going on in the channel ID lookup

What's configured in your channel? you can change the words but not the format.

Do you mean configured as the channel? At the time of that log, I duplicated your settings by having the freestyle job be blank and the global settings be a string (#app). Test connection worked in both places prior to running the job.

Also try with a channel ID instead of a channel name maybe.

I have tried putting a channel id (like 123455 or "123455") in the freestyle field without success. It seems to fail the test connection. I have not tried that in system settings yet.

I've pushed more debug logging which should help us tell whats going on in the channel ID lookup

I will try to grab the additional logging if it's posted this morning.

New build is: https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/plugins/slack/740.v90d8ddedfffd/slack-740.v90d8ddedfffd.hpi
Try without the # in front of the channel.

Here's the output with just the word:
app
in the channel field in system/global settings. Nothing in the field value in the job configuration. Test connection says successful.
Aug 28, 2024 10:50:14 AM jenkins.plugins.slack.pipeline.SlackUploadFileRunner completeUploadExternal
INFO: Completing upload with: {"files":[{"id":"FILE_ID"}],"channel_id":"C6GF1JV3J"}
Aug 28, 2024 10:50:14 AM jenkins.plugins.slack.pipeline.SlackUploadFileRunner completeUploadExternal
INFO: Upload complete response: {"files":[{"filetype":"","title":"xxxxx_staging_1308.apk","file_access":"visible","ims":[],"mode":"hosted","shares":{},"media_display_type":"unknown","url_private":"https://files.slack.com/files-pri/TEAM_ID-FILE_ID/xxxxx_staging_1308.apk","id":"FILE_ID","display_as_bot":false,"timestamp":1724856613,"created":1724856613,"editable":false,"has_more_shares":false,"is_external":false,"groups":[],"pretty_type":"","external_type":"","url_private_download":"https://files.slack.com/files-pri/TEAM_ID-FILE_ID/download/xxxxx_staging_1308.apk","user_team":"TEAM_ID","permalink_public":"https://slack-files.com/TEAM_ID-FILE_ID-029eed87fb","has_rich_preview":false,"is_starred":false,"size":56691772,"channels":[],"comments_count":0,"name":"xxxxx_staging_1308.apk","is_public":false,"mimetype":"","public_url_shared":false,"permalink":"https://spinnersystems.slack.com/files/USER_ID/FILE_ID/xxxxx_staging_1308.apk","user":"USER_ID","username":""}],"ok":true}

So in conclusion:
Putting the # in front of your channel (presumably anywhere, global or job) creates a problem where uploadFile will use a null channel. Per Slack documentation, this is a successful upload that no one (but the bot user) can see.
What I haven't tested is any differences between freestyle jobs and global settings, and also what the use of a channel ID does (with or without quotes).

K in pipeline I'm pretty sure thats handled but it mustn't quite go down the same code path for freestyle.

You both able to check if this resolves the issue for you: https://github.com/jenkinsci/slack-plugin/releases/tag/741.v00f9591c586d

You both able to check if this resolves the issue for you: https://github.com/jenkinsci/slack-plugin/releases/tag/741.v00f9591c586d

I can confirm that the fix resolves this issue. Thank you, @timja for your help in resolving this so quickly.

Thanks for your help. It also seemed to resolve the issue for me, though it won't accept a channel ID value. When I tested with the channel name, it did indeed work. Super awesome work!


Rollback problems with index and foreign key adding in same change method

When I tried to upgrade phinx to version 0.10.0. Following case is not any more possible to rollback:
public function change()
{
        $table = $this->table('my_table');
        $table->addForeignKey('entity_id', 'my_another_table', 'id', [
            'delete' => ForeignKey::CASCADE,
            'update' => ForeignKey::CASCADE,
            'constraint' => 'my_another_table_foreign_key'])
            ->addIndex(['entity_id'], ['unique' => true])
            ->update();
}

The response from console is:
SQLSTATE[HY000]: General error: 1553 Cannot drop index 'entity_id': needed in a foreign key constraint
Is there any solution for this?

the order of dropping column, foreign key and index in rollback is wrong, it's a clear regression

would you mind showing the generated SQL that triggers the problem?

What I get on -vv:
START TRANSACTION
 -- Altering table my_table
ALTER TABLE `my_table` DROP INDEX `entity_id`

And after:
SQLSTATE[HY000]: General error: 1553 Cannot drop index 'entity_id': needed in a foreign key constraint

Any workarounds for now?

2 migrations: one for the index and other for the foreign key.

This would require refactoring all past migrations, which is not viable...


BoxShape3D

Description
This issue tracks the progress of implementing the functionality of Godot's BoxShape3D node type. Below you'll find all user-facing properties, methods and signals, including ones inherited from relevant node types. If you notice any missing from this list, please leave a comment down below.
Status

Not supported
Not started
Partial (not functional)
Partial (functional)
Done (as much as it can be) 👈
Done (completely)

Links
Documentation: BoxShape3D
Inherits: Shape3D
Legend

🚧 indicates a partial, incomplete or broken implementation.
🛑 indicates that it's blocked or incompatible with Jolt in some way.

Properties
Uncategorized

[x] Size (size)

Properties (Shape3D)
Uncategorized

[ ] 🛑 Custom Solver Bias (custom_solver_bias)

Not supported by Jolt

[x] Margin (margin)

This tracking issue has served its purpose and will now be closed. 🫡
Any remaining work has had new issues created for it.


Customer Support Form improvements

Summary of changes
Asana Ticket: New CS Form Feature Complete + Live
All the changes to the customer support form! Including but not limited to:

Reworked layout
Backend support for new fields
New fields added on front end, including a few interdependent fields
Reversed logic for requiring contact info on the form

Before getting review, please check the following:

[ ] Does frontend functionality render and work correctly in IE?
[ ] Have we load-tested any new pages or internal API endpoints that will receive significant traffic?
[ ] Are interactive elements accessible to screen readers?
[ ] Have you checked for tech debt you can address in the area you're working in?
[ ] If this change involves routes, does it work correctly with pertinent "unusual" routes such as the combined Green Line, Silver Line, Foxboro commuter rail, and single-direction bus routes like the 170?
[ ] Are the changes organized into self-contained commits with descriptive and well-formatted commit messages?

I think that the test that's breaking (added in #660) is because the parameters that I specified might be only valid for the day of. With the shuttles and other changes that the Green Line is going through, I wonder if it makes more sense to remove that test and try another approach?

I can confirm it works* in IE! 😄
*Well, the photo preview does not work in IE. But it turns out it didn't work in IE to begin with. 🥴
Anyway, I'm not sure if/how this affects the uploaded photo being submitted.

I can confirm it works* in IE! 😄
*Well, the photo preview does not work in IE. But it turns out it didn't work in IE to begin with. 🥴
Anyway, I'm not sure if/how this affects the uploaded photo being submitted.

Would it be worth to submit a couple more tickets using IE (to see what's received by HEAT) and create a new ticket to investigate the photo preview in IE? not sure how important this is since you mentioned it doesn't even work in the current customer support form.

@alicia-mbta  definitely let's create a ticket for this existing IE bug.

lgtm

definitely let's create a ticket for this existing IE bug.

For reference, here is the Asana ticket for this.


Loans Date search broken

Package version (if known): 29
Describe the bug
Loans Date search doesn't work properly
Steps to Reproduce
There are multiple issues:

In Loans search page, the date filter currently allows only one field (From or To) to be entered,
Clicking on x doesn't clear the field and typing keyboard DELETE key doesn't clear it - only works sometimes
The results are erratic - see screenshot

Expected behavior
Screenshots (if applicable)
Additional context

From date - 3/9/21, but results show older start dates

Thank you for reporting those bugs. The first 2 bugs will be fixed by this PR. The 3rd bug (the one in the screenshot) I tested it and it looks to be working fine. Could you maybe provide more information about which browser you were using and if you following any specific steps to reproduce it?

Got those results from the date query per the screen shot, but as mentioned it was erratic i.e. with both seemingly correct and incorrect results at times. If you've tested and cannot reproduce, you may close the issue. I am not able to test it again. Thanks.


Centralized Identity Paths

I understand how asp.net has changed, and there are a lot of things that are still missing. Is there an easy what to get the Cookie Options programmatically so that I can build links according to the website configuration, and not manually changing it, like we used to have in asp.net webforms.
I'm pulling the IOptionsMonitor from HttpContext.RequestServices but the data is initializes to the asp.net core defaults. So I know I'm missing something.
Documentation on sharing cookies between multiple apps on the same domain is ok, but that's just for setting the cookie, but for a SSO site the redirect will be to the main subdomain and integrating the "domain" from this settings is useful for testing for "local redirects", that either are on the same domain of the login url or the current domain of the request. So a default url is useful in various use cases, like redirecting to the principal domain when login without a redirect url on the query string.
I'd have to create code for loading it from appsettings.json and I found all these settings basic requeriments for a site, that if we should be included on the primary assemblies by Microsoft.
¿Any suggestion how could I read those values from the Cookie Authentication Settings?

We periodically close 'discussion' issues that have not been updated in a long period of time.
We apologize if this causes any inconvenience. We ask that if you are still encountering an issue, please log a new issue with updated information and we will investigate.


Translation book names fixed

Book ID's were wrong in the translation of book names,
i.e. "book-1-Peter" was written instead of "book-1 Peter",
Issue fixed for all the books in all language. Tested it.

FormattedMessage id={book-${bookName.toLowerCase()}}
this id returns numbered book with space and other books as it is.
So we didn't change anything in the code base as it works perfectly for all other books without numbers. Just translations are changed to match with the Id


HPA unable find metrics,404

Followed the steps in tutorial,configured HPA to query http_requests_per_second
HPA shows :

Warning  FailedGetPodsMetric  33s (x1936 over 18h)  horizontal-pod-autoscaler  unable to get metric http_requests_per_second: unable to fetch metrics from custom metrics API: the server could not find the metric http_requests_per_second for pods
Prometheus adapter logs shows:
I0721 23:40:12.332805       1 httplog.go:89] "HTTP" verb="GET" URI="/apis/custom.metrics.k8s.io/v1beta1/namespaces/demo/pods/%2A/http_requests_per_second?labelSelector=app%3Dexpress" latency="21.786184ms" userAgent="kube-controller-manager/v1.24.0 (linux/amd64) kubernetes/4ce5a89/system:serviceaccount:kube-system:horizontal-pod-autoscaler" srcIP="<IP_ADDRESS>:64743" resp=404
can you help me ASAP,Thank you

I'll make an updated tutorial soon.


bug on march 1st 2018

It seems there is a bug regarding 29th Feb / 1st Mar. The max unit test fails in this case.
We have to check this and fix the calculation.
How to reproduce: change the date of the system clock and run the unit tests.

@amsul I think this does not occur in v5.

I guess it's safe to close then?
In v5, we don't yet have extensive testing on dates rendering (especially around time zones and daylight savings).


[CI][arm] Fix tensorflow-aarch64 repository URL

Update the custom repository URL used to pull TensorFlow-aarch64. The mechanism of installation is also changed to a file based, as a temporary workaround before we update to a newer version (>=2.7) that can be pulled from the official PyPI repository.
Closes #11773
cc @Mousius @areusch @lhutton1 @driazati

@tvm-bot rerun


termscp: 1.15.0 -> 1.16.1

Fixes https://github.com/NixOS/nixpkgs/issues/353401
Superseeds https://github.com/NixOS/nixpkgs/pull/349034
ZHF: #352882
Releases:

https://github.com/veeso/termscp/releases/tag/v0.16.0
https://github.com/veeso/termscp/releases/tag/v0.16.1

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 355461

x86_64-linux

:white_check_mark: 1 package built:

termscp


Discussion about X-Requested-With header

Hello,
Is there  particullar reason why the X-Requested-With header is set only is request has a body?
(https://github.com/yanatan16/nanoajax/blob/master/index.js#L75)
Shouldn't the header be set for any non GET or HEAD request?
For example, if I'm making a DELETE request with no body, I think the header should be there... Currently, I have to add this header by hand.
I'm not very competent on that matter, so maybe I'm wrong... Please advise.

I have another related issue: XMLHttpRequest cannot load **my_domain_here**. Request header field X-Requested-With is not allowed by Access-Control-Allow-Headers in preflight response.. I don't see any option in the code to exclude that header. Is it really needed?

X-Requested-With is an established practice for indicating that a request is an AJAX-request and has wide support among back-end frameworks and should be added to all requests (but as shown probably with a mechanism that makes it possible to opt-out from, but that @bobrosoft is a different issue than the main one here, so better to open a new issue where you just reference this one, else it may be lost in the conversation when the main issue has been dealt with)

I know it's different, I said "related" :) We just faced it in comparison to Angular 2 Http service which not send that header so we hadn't that issues before, but now need to use nanoajax in one microlibrary. I will create issue and PR if have time later.


mq303a: Initial implementation of the mq303a alcohol sensor

The module implements support for the mq303a alcohol sensor.  It was
tested on the Grove Alcohol Sensor.
Signed-off-by: Jon Trulson<EMAIL_ADDRESS>Signed-off-by: Zion Orent<EMAIL_ADDRESS>

Merged on in with the changes described.  Thanks much!


[plugin][local_auth] Incorporate cryptography into biometric authentication workflow

Use case
I would like to encrypt and decrypt sensitive data using the user's biometrics. This data should only be accessible by the user who has set the biometric auth on their device. I'm familiar with flutter_secure_storage but would like a layer on top of this. This can be done on Android as seen in the Use a cryptographic solution that depends on authentication biometric auth section.
Proposal
Return a secret key after a successful authentication which can be used to perform encryption and decryption.

local_auth isn't intended for encryption use cases. This use case would be best served by a plugin designed for secure storage, incorporating biometrics into its design.


Custom utctime postgresql type

Perhaps someone can help me out with this.  I'm trying to create some custom tables and used the custom type utctime but I'm having trouble inserting data into this field.
sql code
DROP TABLE IF EXISTS test;
CREATE TABLE test(updated_at utctime);
INSERT INTO test(updated_at) VALUES('2015-09-17 04:10:04.960339+00:00');
ERROR:  value for domain utctime violates check constraint "utctime_check"

The timestamp I am grabbing is from https://github.com/BurntSushi/nfldb/blob/master/nfldb/db.py#L191 datetime.datetime.now(pytz.utc)
The sql code for the constraint is found in nfldb.sql and is as follows
CREATE DOMAIN utctime AS timestamp with time zone
	CONSTRAINT utctime_check CHECK ((date_part('timezone'::text, VALUE) = (0)::double precision));

Ah finally figured it out.  Have to SET TIME ZONE 'UTC'; before inserting.

Glad you got it figured out. I <3 constraints: they prevent so many bugs!