Error when using Union as constraint for TypeVar

 Environment data

Language Server version: 2021.6.0
OS and version: darwin x64
Python version: 3.10.0b2
python.analysis.indexing: undefined
python.analysis.typeCheckingMode: basic

 Code Snippet
from typing import TypeVar, Union

class A: ...
class B: ...
class C: ...
class D: ...

T = TypeVar("T", A, B, Union[C, D])

def do_something(value: T) -> T:
    ...

def func(value: Union[C, D]):
    value = do_something(value)  # error
    reveal_type(value)

 Expected behaviour
No error. I'm not completely sure that's the way to do it, but it seems to work with mypy
test.py:16: note: Revealed type is "Union[test.C, test.D]"

 Actual behaviour
Expression of type "T@do_something" cannot be assigned to declared type "C | D"
  Type "T@do_something" cannot be assigned to type "C | D"
    Type "A* | B* | C* | D*" cannot be assigned to type "C"
    Type "A* | B* | C* | D*" cannot be assigned to type "D"
    Type "A* | B* | C* | D*" cannot be assigned to type "C | D"
      "A*" is incompatible with "C"
      "B*" is incompatible with "C"
      "D*" is incompatible with "C"
      "A*" is incompatible with "D"
  ...

Argument of type "C | D" cannot be assigned to parameter "value" of type "T@do_something" in function "do_something"
  Type "C | D" is incompatible with constrained type variable "T"

 Logs
--

This issue has been fixed in version 2021.6.1, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202161-9-june-2021


Modify the object used

Dear shafiu, you have really worked hard on your project but I recommend you kindly to change the object type you have used to store your books from normal object type to object constructor.
Thank you happy coding day shafiu.

Hello,
Changes resolved
Appreciate your feedback


[RFR] Fix Strict DI issues and remove ngAnnotate

This PR aims to solve an issue when importing this module in a Strict Dependency Injection environment. Indeed, using current version, installed with npm, we get the following Angular error:

Error: [$injector:strictdi] http://errors.angularjs.org/1.4.12/$injector/strictdi?p0=uiCodemirrorDirective

Bower version is not impacted as ng-annotate plugin seems to be used in this case.
As source file is already compatible with strict DI, I also removed the obsolete ng-annotate plugin.

Fixes #106.

Not sure why removing ng-annotate is the solution here. I figure it should work with ng-annotate as expected in npm as long as the main file points to the dist version. #138 Attempts to make the same change.
Also, why aren't these PRs reviewed? Looks like this hasn't been touched for a year.

@genu: the main fix is here.
Removing ng-annotate has been done because it is not required anymore, as code is compatible with strict DI. But that's a side-effect of the fix.

What is the status of this PR. It has been almost a year and this fix is necessary for us. Let me know if there is anything that needs to be done to allow it to get merged in.

Same here. We got a production project using my fork as a dependency. That's not really comfortable. :)


Update AutocratV3.js

typo on line 32?

I don't remember, and I've changed a lot. Is the typo still in there?

OH wait I see where you're talking about


Update Github Actions

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues.

Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #10 into ballerina-1.0.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.0.x      #10   +/-   ##
================================================
  Coverage            20.51%   20.51%
================================================
  Files                   52       52
  Lines                 1394     1394
  Branches               216      216
================================================
  Hits                   286      286
  Misses                1095     1095
  Partials                13       13

Continue to review full report at Codecov.

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


Update the configs for nav_env in a cleaner way

The goal of this PR is to refactor construction of configs.
Similar cleanups will be introduced inside the place_env and gaze_env refactor as well.
This would be useful inside high_level_skills

approving, but I don't see the utility yet. Is this useful for creating configs for the tests? We discussed that we should have separate configs for the CI tests right?

The use of this is to create config for nav_env throughout the codebase anywhere needed.


Only sleep immediately after create and rebuild

Previously all waitable commands were sleeping first, now just the ones which are guaranteed to need some time (create & rebuild) do so.
Closes #105
/cc @rgbkrk

Very cool.


Router Error when using lifecycle onupdate

When moving between routes, I receive Uncaught TypeError: value is not a function if the other component doesn't have the onupdate lifecycle hook:
app({
  state: {},
  view: {
    '/dashboard': (state, actions) => h('div', {onupdate: e => console.log('dashboard updated')}, [
      h('h1', null, 'Dashboard'),
      h('a', {onclick: () => actions.router.go('/billing')}, 'Go to Billing')
    ]),
    '/billing': (state, actions) => h('div', null, [
      h('h1', null, 'Billing'),
      h('a', {onclick: () => actions.router.go('/dashboard')}, 'Go to Dashboard')
    ]),
  },
  actions: {},
  root: el,
  plugins: [Router]
})

To reproduce: Load /dashboard and click link "Go to Billing"
Using 0.9.1

@ahallock Reproduced. I'll patch this soon and publish a new release. Thanks for letting us know! 👍


[FLOC-3794] replace FlockerScriptTestsMixin should follow the make_foo_tests pattern

As requested in the Jira ticket, replaces inheritence based classes with a class generator.

Hi,
Thanks for the branch, it looks great and is much cleaner.
There's a couple of docstrings that I think could be improved, and one
comment on the structure that you may want to use or to ignore.
I've asked jml to take a look at the branch as well as this is my first review.
Thanks,
James

Thanks Brendan! It's great to see this code getting cleaned up.
There are merge conflicts (probably my fault, sorry). Please resolve them and make sure all tests pass before landing.
Thanks for the review @james-w, only a minor tweak suggested.

Thanks for your comments James, I spaced a bit on the docstrings.  I'll get into resolving those merge conflicts.

Updates look good. Just wait for greens on Jenkins and we can go ahead and merge.


Add AWS request signing filter

This new alpha filter injects authentication headers for requests
directed at AWS services that require authentication.
Note:
Requests over plain HTTP aren't handled yet, since the message body
needs to be signed.
Fixes #9708
Signed-off-by: Raul Gutierrez Segales<EMAIL_ADDRESS>

Sorry for the force-push; I messed up the DCO stuff.

This looks very cool - Could someone provide a full service config example to make this work? I'm struggling to get this up and running.

@skorfmann I'm also looking for an example. Did you get it working?

@skorfmann @andrein what about what's here:
https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/aws_request_signing_filter

@rgs1 thanks for the reply. From the page you linked:
The HTTP AWS request signing filter is used to access authenticated AWS services. It uses the existing AWS Credential Provider to get the secrets used for generating the required headers.
I've got to admit, I'm pretty new to envoy, but I couldn't find any docs on how to configure the AWS Credentials provider.
What I'm trying to accomplish is to use envoy as a reverse proxy on top of a private s3 bucket. Is this supported?
A minimal configuration snippet would greatly help.

@andrein did you manage to figure this out?

@rgs1 thanks for the reply. From the page you linked:
The HTTP AWS request signing filter is used to access authenticated AWS services. It uses the existing AWS Credential Provider to get the secrets used for generating the required headers.
I've got to admit, I'm pretty new to envoy, but I couldn't find any docs on how to configure the AWS Credentials provider.
What I'm trying to accomplish is to use envoy as a reverse proxy on top of a private s3 bucket. Is this supported?

Yeah -- we use it in that way.

A minimal configuration snippet would greatly help.

Something like this for your envoy.http_connection_manager filters' config:
                {
                  "name": "envoy.filters.http.aws_request_signing",
                  "typed_config": {
                    "@type": "type.googleapis.com/envoy.config.filter.http.aws_request_signing.v2alpha.AwsRequestSigning",
                    "host_rewrite": "your-bucket.s3.amazonaws.com",
                    "region": "us-west-1",
                    "service_name": "s3"
                  }
                },
                {
                  "name": "envoy.filters.http.router"
                }

should do it... And then in your routes you might need some paths redirects maybe. Not if your paths match exactly.

@rgs1 do I understand correctly that you don't have to configure AWS Credentials provider in your envoy.yaml? Is it automatically hooked up and read values from some environment variables?

@wheleph

Is it automatically hooked up and read values from some environment variables?

That's correct. It uses a credentials provider chain similar to the default one in the AWS SDKs. It will look in common places for credentials like environment variables, EC2 instance metadata, and ECS task metadata.

Here's the complete config for those poor souls like me that are new to Envoy. It's based on the default Envoy config (https://github.com/envoyproxy/envoy/blob/c555587abea7addf3b8b3989231826d7e8fcf8ed/configs/google_com_proxy.v2.yaml):
admin:
  access_log_path: /tmp/admin_access.log
  address:
    socket_address:
      protocol: TCP
      address: <IP_ADDRESS>
      port_value: 9901
static_resources:
  listeners:
  - name: listener_0
    address:
      socket_address:
        protocol: TCP
        address: <IP_ADDRESS>
        port_value: 10001
    filter_chains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typed_config:
          "@type": type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager
          stat_prefix: ingress_http
          route_config:
            name: local_route
            virtual_hosts:
            - name: local_service
              domains: ["*"]
              routes:
              - match:
                  prefix: "/"
                route:
                  host_rewrite: <bucket>.s3.<region>.amazonaws.com
                  cluster: service_s3
          http_filters:
          - name: "envoy.filters.http.aws_request_signing"
            typed_config:
              "@type": "type.googleapis.com/envoy.config.filter.http.aws_request_signing.v2alpha.AwsRequestSigning"
              host_rewrite: "<bucket>.s3.<region>.amazonaws.com"
              region: "<region>"
              service_name: "s3"
          - name: envoy.filters.http.router
  clusters:
  - name: service_s3
    connect_timeout: 0.25s
    type: LOGICAL_DNS
    # Comment out the following line to test on v6 networks
    dns_lookup_family: V4_ONLY
    lb_policy: ROUND_ROBIN
    load_assignment:
      cluster_name: service_s3
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: <bucket>.s3.<region>.amazonaws.com
                port_value: 443
    transport_socket:
      name: envoy.transport_sockets.tls
      typed_config:
        "@type": type.googleapis.com/envoy.api.v2.auth.UpstreamTlsContext
        sni: <bucket>.s3.<region>.amazonaws.com

Here's how I call it:
docker run -it --rm -e AWS_ACCESS_KEY_ID=<AWS key id> -e AWS_SECRET_ACCESS_KEY=<AWS secret key> -p 10001:10001 -v /Users/wheleph/tmp/envoy-setup/envoy.yaml:/etc/envoy/envoy.yaml --name local_envoy --rm  envoyproxy/envoy:v1.14.4


Constant data sample

Description
This PR adds a new sample called Constant Data.
Constant Data is a sample designed to show a few of the different methods in Vulkan to use constant data in shaders, along with the performance implications they may bring. (Read the tutorial for full rundown)
This PR adds the following framework changes:

We now defer calls to vkCmdPushConstants to draw time. This is since pipeline layouts are flushed at the draw call, there was a chance that we could be invalidating our push constants if the two pipeline layouts ranges don't match.
Geometry subpass has been reworked to give derived subpasses a means to override certain aspects of the subpass.
Added load/store cycles stat.
Descriptor set layouts now know their set binding.
Added VK_BUFFER_USAGE_STORAGE_BUFFER_BIT to render frame buffer pools, added a multiplier for the default block size.

General Checklist:
Please ensure the following points are checked:

[x] My code follows the coding style
[x] I have reviewed file licenses
[x] I have commented any added functions (in line with Doxygen)
[x] I have commented any code that could be hard to understand
[x] My changes do not add any new compiler warnings
[x] My changes do not add any new validation layer errors or warnings
[x] I have used existing framework/helper functions where possible
[x] My changes build and run on Windows, Linux, macOS and Android. Otherwise I have documented any exceptions

Sample Checklist
If your PR contains a new or modified sample, these further checks must be carried out in addition to the General Checklist:

[x] I have tested the sample on at least one compliant Vulkan implementation
[x] If the sample is vendor-specific, I have tagged it appropriately
[x] I have stated on what implementation the sample has been tested so that others can test on different implementations and platforms
[x] Any dependent assets have been merged and published in downstream modules

Tested on:

Mali S10 (Android)
Adreno S10 (Android)
Desktop

I have a couple of problems when running this new sample.

When I select 'Single Pre-allocated Buffer Array' half the geometry in the scene goes black.

You appear to have deleted shaders/triangle.frag which is needed by a couple of samples.

Re 1) : Your handling of 'push_constant_limit' seems wrong. It looks like you are either expecting 128 or 256 push constants. That might be the case on Arm GPUs, but our limit is 134,217,727. Simply creating a UBO that size doesn't really seem like a sensible plan, nor does checking for exactly 256 in several places.

I have a couple of problems when running this new sample.

When I select 'Single Pre-allocated Buffer Array' half the geometry in the scene goes black.

What device/GPU is this? My console is clean

Again, what GPU is this? Perhaps storage  buffers aren't supported? I should implement a check for this in that case

What device/GPU is this? My console is clean
Again, what GPU is this? Perhaps storage buffers aren't supported? I should implement a check for this in that case

This is one of our own Broadcom GPUs.
Storage buffers are supported.
I suspect these are related to my earlier comment about your mishandling of 'push_constant_limit'.

Re 1) : Your handling of 'push_constant_limit' seems wrong. It looks like you are either expecting 128 or 256 push constants. That might be the case on Arm GPUs, but our limit is 134,217,727. Simply creating a UBO that size doesn't really seem like a sensible plan, nor does checking for exactly 256 in several places.

Do you mean in the sample or in the framework? The command buffer should be flexible to whatever the push constants limit is. The sample prefers to use a 256 byte uniform, however because the Vulkan spec only requires 128 bytes we need a path to catch the implementations that don't use 256+

we need a path to catch the implementations that don't use 256+

Yes, but there are several places in the code where you have:
"if (push_constant_limit == 256)" not ">="

The allocation errors are due to this code in ConstantData::DescriptorSetSubpass::update_uniform():
        // Here you allocate a buffer sizeof(MVPUniform)
	auto allocation = render_frame.allocate_buffer(VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT, sizeof(MVPUniform), thread_index);
        ...
        // This makes a vector the same size
	auto data = vkb::to_bytes(mvp);

        // This resizes it (very large on our platform - I think you're only expecting it to make it smaller)
	data.resize(push_constant_limit);

        // This barfs because the underlying buffer is too small for the data
	allocation.update(data);

What device/GPU is this? My console is clean
Again, what GPU is this? Perhaps storage buffers aren't supported? I should implement a check for this in that case

This is one of our own Broadcom GPUs.
Storage buffers are supported.
I suspect these are related to my earlier comment about your mishandling of 'push_constant_limit'.

The scene going black is most likely a maxStorageBufferRange issue. I expected the descriptor set to complain about this (Do you see the error message that is at descriptor_set.h line 94)

Do you see the error message that is at descriptor_set.h line 94
Nothing odd in the console, just a lot of black geometry.

I haven't managed to debug the issue yet, but the single pre-allocated buffer array variant appears to show some issues on Adreno GPUs.
On older GPUs (540, 630) it causes the app to crash. On newer devices (640, 650), it runs but with artefacts (i.e. floor surface gets completely dropped).

The latest code changes fix both problems for me. Thanks for that.
There are still things in the doc I need to review.
Broadcom's recommendations don't align with Arm's, at the moment push constants are much faster for us (that's why they exist I guess). We'll need to decide how best to deal with that.
Also, on our platforms all of the modes under test are heavily CPU bound. Is that really the intention of these tests? Are there lots of memory allocations happening, or cached memory buffers being flushed all the time perhaps? If so, is that a realistic scenario?

Also, on our platforms all of the modes under test are heavily CPU bound.

Some of this cost is in our driver, and we have some changes ongoing that will help mitigate some of that cost. This still seems fairly CPU heavy though. Is that the same for others?


Letters x and χ should look different

Currently, the letters x and χ look identical in Roboto. This is a problem when rendering phonetic text, because [x] stands for the voiceless velar fricative whereas [χ] is uvular. For example, in IPA tests you’ll find both [plɪxt] and [ˈkɾɑχtəχ].
Roboto Regular:

Roboto Italic:

Compare to Noto Serif Regular:

Compare to Adobe Source Sans Pro Regular:

Compare to Microsoft Arial Unicode Regular:

This is a duplicate of https://github.com/google/roboto/issues/18, which is fixed in Android but not the webfont which is outdated.

Uhm, why is the webfont not getting updated? (Tell me if I should file a separate bug for that).

Not sure. You would probably want to file the bug at https://github.com/google/fonts and/or ask @davelab6 and co.

As one of the most popular families we take great care to update it and I'm
not sure all hotfixes applied last time are applied to the latest release,
so it's pending.
On Dec 22, 2016 10:24 PM, "James Godfrey-Kittle"<EMAIL_ADDRESS>wrote:

Not sure. You would probably want to file the bug at
https://github.com/google/fonts and/or ask @davelab6
https://github.com/davelab6 and co.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/roboto/issues/223#issuecomment-268893667, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAP9y6txs6d_zgGnL5AsBIr8SSPWayL8ks5rKup_gaJpZM4LUCW4
.


feat(io): add function to save data to a json file

Add function that simply saves data to a json file.

Nice! Could you add a test for the new function?

Feel free to add it yourself. I don't know how/what to test here (the load_json does have some additional logic that requires tests).


[easy] Rename confusing names of functions to precede with is_

And some slight clean-up of the files where these are being used.

NOTE FOR MYSELF: right now there could be two possible definitions of is_round: either by negating is_sponge or checking round == 0. Either create a PR to remove the redundant 0 index, and make RC back to size 25 (by inserting selector flags in the lookups to make sure the corresponding to the RoundConstants won't fail), or add a new constraint to make sure that both definitions are in sync.

NOTE FOR MYSELF: right now there could be two possible definitions of is_round: either by negating is_sponge or checking round == 0. Either create a PR to remove the redundant 0 index, and make RC back to size 24 (by inserting selector flags in the lookups to make sure the corresponding to the RoundConstants won't fail), or add a new constraint to make sure that both definitions are in sync.

Addressing this issue here https://github.com/o1-labs/proof-systems/pull/1681


Boba Gateway Earn/Farm - No tx after approval of OMG

when I go straight to L1 'earn' and stake my OMG, tx approval comes up, tx approves, however after nothing happens and I can choose to approve again. https://etherscan.io/tx/0x919c42bcf8a3aaef69ac3b17f4927936b352e4e98ca62832f6d1cf57af7c0285

Yes, fixing today.

Fixing in https://github.com/omgnetwork/optimism/pull/515 - will be live within a few hours.


Finite-dimensional vector spaces

A proposal was that we use the resource "linear algebra done right". An example of a goal would be to define the determinant of a matrix and to prove det(AB)=det(A)det(B). Another example would be to prove the Jordan Canonical Form theorem -- this is the last theorem of M2PM2. But of course there are plenty of easier theorems -- Lean might even not have the rank-nullity theorem!

@mn492 has thought about det(AB)=det(A)det(B) but this is hard. We have a proposed definition of signature of a permutation -- count number of (i,j) with i<j and sigma(i)>sigma(j). A lot of basic infrastructure needs doing.
@Blair-Shi has a lot of lemmas to prove -- she formalised the definition of a f.d.v.s but still a lot of infrastructure needs doing. @dorhinj maybe you will need this at some point if you're doing number fields?

OK so over lunch today I thought a bit about finite dimensional vector spaces and their link to matrices. Here are some theorems which shouldn't be too hard to prove.
Let R be an arbitrary ring (not necessarily commutative). There is a general theory of modules over a ring. One can define R^n for n : nat as being the set of maps from (fin n) to R. This should be given the structure of an abelian group (pointwise addition on R -- don't ever use any structure on fin n other than the fact that it has n elements) and then R-module.
Next prove that if M is an a x b matrix with coefficients in R then it induces a map f(M) : R^b -> R^a. Construct this as a definition -- a function from a x b matrices to R-linear maps R^b -> R^b. Conversely define a map which takes an R-linear map f R^b -> R^a and produces an a x b matrix M(f) [pretend R is a field; the general case is the same, I don't think you use commutativity or anything]. fin n is decidable so there should be no problem defining maps like "1 if i.val = m and 0 otherwise".
Now prove that this gives an equiv between a x b matrices and R-linear maps R^b -> R^a by proving that the composite in both directions is the identity. M o f = id and f o M = id
Now prove that both functions are abelian group homomorphisms.
Now prove that the functions preserve product, i.e. prove that if f : R^b -> R^a and g : R^c -> R^b then the composite f o g : R^c -> R^a has matrix M(f o g) equal to the product of the corresponding matrices M(f) * M(g). You also need the statement the other way -- f(M * N) = f(M) o f(N). This might be slightly trickier to prove -- can you deduce it from the previous statement and the fact that you have an equiv?
Now assume that R is commutative. Define an R-module structure on Hom(R^b,R^a) and prove that it matches with the R-module structure on the set of a x b matrices.

Now when we have finite-dimensional vector spaces over a field k, to link them to matrices all one has to do is to prove that a basis v1,v2,...,vn of a fdvs V/k is just an isomorphism k^n -> V. Then one can port the link between k^n and matrices to a general link between linear maps and matrices easily.

So @mn492 proved the equiv! Nice work Keji! There was the added twist that to make it work in the non-commutative case he had to use row vectors and make the matrices act on the right. So there's an added extra job for this list -- defining the usual left action of matrices on vectors -- which one can do easily with a transpose trick. I guess one also has to prove that M(Nv)=(MN)v but this could be done easily if one identifies vectors with n x 1 matrices...


How to change default profile

I Want to have option to change default Terminal Windows
now when i open it it opens by default on powershell
i want to change this to open say "Arch"

open settings. in the global, change the value of the "defaultProfile" to any "guid" in your case the Arch guid

Yep, that’s how you do it.

Where can I find profiles.json file
Path of it
Also I asked for this feature to be available in wi does terminal settings app
Also when I try to open window terminal settings it tells me no app installed can open it and ask me to choose which app to use to open settings

When it asks, select a text editor. That’s how you open profiles.json.

When it asks, select a text editor. That’s how you open profiles.json.
Thanks

Hi. Is there a way to open Windows Terminal without loading a default profile? I tried to comment "defaultProfile" but it still opens up Windows PowerShell by default. Thanks.

You want to launch Windows Terminal with no profile? We've never considered this. What's your use case?

Y'all keep saying that but nobody has explained why they would possibly want to launch an empty terminal?

I can see it being useful in a case where the user has a number of different profiles and there is not any one of them that they use the majority of the time. As it is, they always get a tab with the deemed default profile. They must then create another tab with the profile that they want to actually use, then close the tab with the default profile, which they didn't want in the first place. It's only an extra click, I suppose, but could be kindof annoying.

Maybe if they pick no default profile, it opens with a basic window that lists all the profiles, and they can then click the one they want - similar to what MobaXTerm does, IIRC.

The other day, I just learned I could create a profile without guid.
        {
            "hidden": false,
            "name": "project",
            "commandline": "C://Windows//SysWOW64//cmd.exe",
            "startingDirectory": "d://dvp//project",
            "icon": "D:/dvp/project/favicon.ico"
        }

In this case, can I still make this one as default?

Where do I find or use the terminal for everything on the latest fast ring insider build? Currently on my computer it still is like it was from before the terminal change with tabs and stuff.

@ccapeng You'll have to give the profile a GUID if you want to be able to set it as the default. I recommend https://www.guidgenerator.com/
@AraHaan The Terminal doesn't come pre-installed on Windows - you'll have to manually download it from the store. What you're seeing is still the legacy console, conhost.exe. If you want the Terminal to auto-launch for commandline applications like conhost does, you'll want to follow #492

Interesting so some people inject dlls into windows explorer to intercept it on executing programs (and to do things like open them in a new tab). Me on the other hand a way I do it is basically to have to process to gain ownership of that instance and embed it in without it's window frame like I did 1 time with notepad on tabs.
Perhaps if there was a Windows API function that lists only processes that run in the console (has only a console window like python for example) so then it could be embeded the same way I did it before. Ye it might seem hacky but avoids dll injection.

@AraHaan that discussion is probably best had in #492, but we're definitely not in the business of hacking a solution together for this problem. Since our team owns the entire console infrastructure, we can actually build a proper system within Windows to allow users to not only use Windows Terminal as the default terminal emulator on Windows, but others as well 😄

Nice because I would like for all console applications to be more like edge or firefox on tabs when someone passes an url to any methods of starting a process.

Guys do you know if this was broken in latest version?
Windows Terminal
Version: 0.11.1121.0

I was using defaultProfile as per @Shorotshishir comment, but since I updated to this version (via Microsoft Store) it keeps opening PowerShell by default, although my default profile exists, is set, was working and can still work when selected...

Nevermind, I see now it has been moved from globals.defaultProfile to defaultProfile in the root...

Nevermind, I see now it has been moved from globals.defaultProfile to defaultProfile in the root...
Thanks!

how about we include info like this in the update information?
lost 30 minutes searching for that..

@pankgeorg
Do you mean like this (from the release notes)

or like this (from the pinned issue at the top of the issues page)?

@DHowett-MSFT yeap, exactly.
 VS Code does a great job letting us know what happens on each update, for example. I think it didn't but I may be wrong.
In any case, thank you.

@DHowett-MSFT I too couldn't find the breaking changes notification so easily, and I feel like @pankgeorg said and I was rescued by VS Code settings validation warnings.
Maybe, as a mere suggestion, also putting a link to the breaking changes in the Microsoft Store description card could help, for next times :wink:

@DHowett-MSFT I don't get it -- you already renamed the profiles.json to settings.json on the first launch, so why didn't you FIX people's settings at the same time so this wasn't a breaking change in the first place? At least for defaultProfile, which obviously impacted a lot of people. I don't read the release notes for most updates. I expect this kind of product to make reasonable attempts at backwards compatibility. There's no good reason that this update had to break people's default profile settings.

@zachmu You’ve been using a prerelease of Terminal. I’m sorry if the risks inherent in prerelease software aren’t acceptable ones for you. We’ve heard the community’s dissatisfaction with this issue and will endeavour to not draw further ire.

  It's a pre-release of a free piece of software that has saved me a metric crapton of time in the 2 or so months I've been using it.  Even Scott Hanselman said "you will need to refresh your settings file or start from scratch" when one of the newer releases came out.
In the grand scheme of things, it takes 5-10 minutes to completely rebuild a settings file.  Get over yourselves.  FFS.

Agree to disagree I guess. Being pre-release is not an excuse to break people unnecessarily. No, it's not the end of the world for a few thousand people to have wasted 20 minutes on this problem. It was, however, entirely avoidable.
Personally I find the attitude of the maintainers ("lol it was in the release notes!", "it's pre-release, sorry not sorry") to be pretty disrespectful. It's not how I interact with people experiencing issues in my own free, pre-release software projects. Just my $.02.

@zachmu well, your attitude is not better. I'm trying to understand the value of your $.02 because I received 3 emails for your $.02, opened the browser read this and all this has taken too much of the time. In Greece that I live and work, that's at least $0.025, a complete waste.
Jokes aside Windows Terminal rocks. One unfortunate honest mistake happend. Took me a while but got over it. Meet you on the 'got over it' train, when you get here.

Keep up the awesome work bringing a good CLI to Windows for the rest of us! I may not be able to speak for all (haha clearly!), but as for myself - I greatly appreciate it! Easy fix. Thanks again!

Changing the default profile seems like a good tip to add to the User Docs. I can imagine with the increase of WSL2 users, such as myself, there will be plenty of folks out there looking to make their default something other than PowerShell... Any objections to adding this as a tip, @DHowett-MSFT?

@twwright we're actively working on our docs story, so I might recommend waiting a day or two :smile:

https://docs.microsoft.com/en-us/windows/terminal/customize-settings/global-settings#default-profile !

I have similar issue, I changed my default profile to cmd
When I launch terminal from icon, it starts with cmd, but when I launch it from Win+R wt it launches with PowerShell, same with wt -d . in Windows Explorer...

I have similar issue, I changed my default profile to cmd
When I launch terminal from icon, it starts with cmd, but when I launch it from Win+R wt it launches with PowerShell, same with wt -d . in Windows Explorer...

I have similar issue, I changed my default profile to cmd
When I launch terminal from icon, it starts with cmd, but when I launch it from Win+R wt it launches with PowerShell, same with wt -d . in Windows Explorer...

@vmp1r3 - any chance you have both Terminal and Terminal Preview with different defaults?

I have similar issue, I changed my default profile to cmd
When I launch terminal from icon, it starts with cmd, but when I launch it from Win+R wt it launches with PowerShell, same with wt -d . in Windows Explorer...

@vmp1r3 - any chance you have both Terminal and Terminal Preview with different defaults?

@Don-Vito no, I just installed it from Microsoft Store

@Don-Vito no, I just installed it from Microsoft Store

@Don-Vito no, I just installed it from Microsoft Store

Can you please attach your settings file?

@Don-Vito no, I just installed it from Microsoft Store

Can you please attach your settings file?

@Don-Vito the problem was in Windows's Packages managing system, if it is called this way
I rebooted my PC and settings were reset, then I checked locations of files that I was changing and new that appeared after reboot:
Old C:\Users\User\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState
New C:\Users\User\AppData\Local\Microsoft\Windows Terminal\settings.json

@Don-Vito the problem was in Windows's Packages managing system, if it is called this way
I rebooted my PC and settings were reset, then I checked locations of files that I was changing and new that appeared after reboot:
Old C:\Users\User\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState
New C:\Users\User\AppData\Local\Microsoft\Windows Terminal\settings.json


[engine] ninja fails with cryptic "gyp-win-tool" error trying to rebuild after gclient sync

I am frequently unable to rebuild the engine incrementally on Windows 10 due to the following error. I have to delete whole host_debug_unopt and compile from scratch, which takes considerably longer.
Error:
[3010/3243] COPY dart.exe dart-sdk/bin/dart.exe
FAILED: dart-sdk/bin/dart.exe
<EMAIL_ADDRESS>gyp-win-tool recursive-mirror dart.exe dart-sdk/bin/dart.exe
Traceback (most recent call last):
  File "gyp-win-tool", line 323, in <module>
    sys.exit(main(sys.argv[1:]))
  File "gyp-win-tool", line 29, in main
    os.unlink(dest)

I have never seen this error on non-incremental builds. Deleting host_debug_unopt fixes it every time.
(sometime the error is about not having access to dart.exe, but I didn't get it this time; I'll file a separate issue if I see that one).

This hasn't happened to me in a while. Closing.


HTTPCLIENT-1748: fix for trunk

Hello,
as discussed before, here is a patch proposal for the trunk.
(I added a basic test case)
Cheers
Sébastien

is it ok to use httpRequest.getRequestLine().getUri() instead ?

Committed to SVN trunk. Please review and close the PR.


Upgraded Sample app Flutter and Dart versions.

Requested in https://github.com/qonversion/flutter-sdk/issues/309


[pod-gateway] helm chart doesn't work with cilium

Helm chart name
pod-gateway
Helm chart version
5.4.2
Container name
ghcr.io/k8s-at-home/pod-gateway
Container tag
v1.2.6
Description
Hi,
I've been using pod-gateway for quite some time and it was working perfectly fine with calico but recently I've decided to migrate whole cluster from calico to cilium. After migration pod-gateway stopped working. It seems that there is no connection over vxlan interface. I've already tried different vxlan id, and removing NOT_ROUTED_TO_GATEWAY_CIDRS and/or VPN_LOCAL_CIDRS
Kuberentes:

k3s v1.23.6+k3s1
3 node cluster
disabled flannel
cilium 1.11.6
ubuntu 20.04.4 LTS

Here are some logs
pod-gateway container
+ cat /default_config/settings.sh
#!/bin/sh
# hostname of the gateway - it must accept vxlan and DHCP traffic
# clients get it as env variable
GATEWAY_NAME="${gateway}"
# K8S DNS IP address
# clients get it as env variable
K8S_DNS_IPS="${K8S_DNS_ips}"
# Blank  sepated IPs not sent to the POD gateway but to the default K8S
# This is needed, for example, in case your CNI does
# not add a non-default rule for the K8S addresses (Flannel does)
NOT_ROUTED_TO_GATEWAY_CIDRS=""

# Vxlan ID to use
VXLAN_ID="42"
# VXLAN need an /24 IP range not conflicting with K8S and local IP ranges
VXLAN_IP_NETWORK="172.16.0"
# Keep a range of IPs for static assignment in nat.conf
VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20

# If using a VPN, interface name created by it
VPN_INTERFACE=tun0
# Prevent non VPN traffic to leave the gateway
VPN_BLOCK_OTHER_TRAFFIC=true
# If VPN_BLOCK_OTHER_TRAFFIC is true, allow VPN traffic over this port
VPN_TRAFFIC_PORT=443
# Traffic to these IPs will be send through the K8S gateway
VPN_LOCAL_CIDRS="<IP_ADDRESS>/8 <IP_ADDRESS>/16"

# DNS queries to these domains will be resolved by K8S DNS instead of
# the default (typcally the VPN client changes it)
+ . /default_config/settings.sh
+ GATEWAY_NAME=
+ K8S_DNS_IPS=
+ NOT_ROUTED_TO_GATEWAY_CIDRS=
+ VXLAN_ID=42
+ VXLAN_IP_NETWORK=172.16.0
+ VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20
+ VPN_INTERFACE=tun0
+ VPN_BLOCK_OTHER_TRAFFIC=true
+ VPN_TRAFFIC_PORT=443
+ VPN_LOCAL_CIDRS='<IP_ADDRESS>/8 <IP_ADDRESS>/16'
+ DNS_LOCAL_CIDRS=local
+ cat /config/settings.sh
DNS_LOCAL_CIDRS="local"#!/bin/sh
# Generated by pod-gateway
DNS_LOCAL_CIDRS="local"
NOT_ROUTED_TO_GATEWAY_CIDRS="<IP_ADDRESS>/16 <IP_ADDRESS>/8"
VPN_BLOCK_OTHER_TRAFFIC="true"
VPN_INTERFACE="wg0"
VPN_LOCAL_CIDRS="<IP_ADDRESS>/16 <IP_ADDRESS>/8"
VPN_TRAFFIC_PORT="51820"
VXLAN_GATEWAY_FIRST_DYNAMIC_IP="20"
VXLAN_ID="42"
VXLAN_IP_NETWORK="172.16.0"
+ . /config/settings.sh
+ DNS_LOCAL_CIDRS=local
+ NOT_ROUTED_TO_GATEWAY_CIDRS='<IP_ADDRESS>/16 <IP_ADDRESS>/8'
+ VPN_BLOCK_OTHER_TRAFFIC=true
+ VPN_INTERFACE=wg0
+ VPN_LOCAL_CIDRS='<IP_ADDRESS>/16 <IP_ADDRESS>/8'
+ VPN_TRAFFIC_PORT=51820
+ VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20
+ VXLAN_ID=42
+ VXLAN_IP_NETWORK=172.16.0
+ grep nameserver /etc/resolv.conf
+ cut '-d ' -f2
+ K8S_DNS=<IP_ADDRESS>
+ echo '

# DHCP server settings
interface=vxlan0
bind-interfaces

# Dynamic IPs assigned to PODs - we keep a range for static IPs
dhcp-range=<IP_ADDRESS>,<IP_ADDRESS>,12h

# For debugging purposes, log each DNS query as it passes through
# dnsmasq.
log-queries

# Log lots of extra information about DHCP transactions.
log-dhcp

# Log to stdout
log-facility=-
'
+ echo '
# Send local DNS queries to the K8S DNS server
server=/local/<IP_ADDRESS>
'
+ sleep 10
+ exec dnsmasq -k
dnsmasq[1]: started, version 2.85 cachesize 150
dnsmasq[1]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-cryptohash no-DNSSEC loop-detect inotify dumpfile
dnsmasq-dhcp[1]: DHCP, IP range <IP_ADDRESS> -- <IP_ADDRESS>, lease time 12h
dnsmasq-dhcp[1]: DHCP, sockets bound exclusively to interface vxlan0
dnsmasq[1]: using nameserver <IP_ADDRESS>#53 for domain local
dnsmasq[1]: reading /etc/resolv.conf
dnsmasq[1]: using nameserver <IP_ADDRESS>#53 for domain local
dnsmasq[1]: using nameserver <IP_ADDRESS>#53
dnsmasq[1]: read /etc/hosts - 7 addresses

app gateway init logs
+ cat /default_config/settings.sh
#!/bin/sh
# hostname of the gateway - it must accept vxlan and DHCP traffic
# clients get it as env variable
GATEWAY_NAME="${gateway}"
# K8S DNS IP address
# clients get it as env variable
K8S_DNS_IPS="${K8S_DNS_ips}"
# Blank  sepated IPs not sent to the POD gateway but to the default K8S
# This is needed, for example, in case your CNI does
# not add a non-default rule for the K8S addresses (Flannel does)
NOT_ROUTED_TO_GATEWAY_CIDRS=""

# Vxlan ID to use
VXLAN_ID="42"
# VXLAN need an /24 IP range not conflicting with K8S and local IP ranges
VXLAN_IP_NETWORK="172.16.0"
# Keep a range of IPs for static assignment in nat.conf
VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20

# If using a VPN, interface name created by it
VPN_INTERFACE=tun0
# Prevent non VPN traffic to leave the gateway
VPN_BLOCK_OTHER_TRAFFIC=true
# If VPN_BLOCK_OTHER_TRAFFIC is true, allow VPN traffic over this port
VPN_TRAFFIC_PORT=443
# Traffic to these IPs will be send through the K8S gateway
VPN_LOCAL_CIDRS="<IP_ADDRESS>/8 <IP_ADDRESS>/16"

# DNS queries to these domains will be resolved by K8S DNS instead of
# the default (typcally the VPN client changes it)
+ . /default_config/settings.sh
+ GATEWAY_NAME=pod-gateway.vpn-gateway.svc.cluster.local
+ K8S_DNS_IPS=<IP_ADDRESS>
+ NOT_ROUTED_TO_GATEWAY_CIDRS=
+ VXLAN_ID=42
+ VXLAN_IP_NETWORK=172.16.0
+ VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20
+ VPN_INTERFACE=tun0
+ VPN_BLOCK_OTHER_TRAFFIC=true
+ VPN_TRAFFIC_PORT=443
+ VPN_LOCAL_CIDRS='<IP_ADDRESS>/8 <IP_ADDRESS>/16'
+ DNS_LOCAL_CIDRS=local
+ cat /config/settings.sh
DNS_LOCAL_CIDRS="local"#!/bin/sh
# Generated by pod-gateway
DNS_LOCAL_CIDRS="local"
NOT_ROUTED_TO_GATEWAY_CIDRS="<IP_ADDRESS>/16 <IP_ADDRESS>/8"
VPN_BLOCK_OTHER_TRAFFIC="true"
VPN_INTERFACE="wg0"
VPN_LOCAL_CIDRS="<IP_ADDRESS>/16 <IP_ADDRESS>/8"
VPN_TRAFFIC_PORT="51820"
VXLAN_GATEWAY_FIRST_DYNAMIC_IP="20"
VXLAN_ID="42"
VXLAN_IP_NETWORK="172.16.0"
+ . /config/settings.sh
+ DNS_LOCAL_CIDRS=local
+ NOT_ROUTED_TO_GATEWAY_CIDRS='<IP_ADDRESS>/16 <IP_ADDRESS>/8'
+ VPN_BLOCK_OTHER_TRAFFIC=true
+ VPN_INTERFACE=wg0
+ VPN_LOCAL_CIDRS='<IP_ADDRESS>/16 <IP_ADDRESS>/8'
+ VPN_TRAFFIC_PORT=51820
+ VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20
+ VXLAN_ID=42
+ VXLAN_IP_NETWORK=172.16.0
+ ip addr
+ grep -q vxlan0
+ /sbin/ip route
+ awk '/default/ { print $3 }'
+ K8S_GW_IP=<IP_ADDRESS>
+ ip route add <IP_ADDRESS>/16 via <IP_ADDRESS>
+ ip route add <IP_ADDRESS>/8 via <IP_ADDRESS>
+ echo 'Deleting existing default GWs'
+ ip route del 0/0
Deleting existing default GWs
+ ping -c 1 -W 1000 <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
ping: sendto: Network unreachable
+ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
1716: eth0@if1717: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether c2:c8:25:c7:71:4d brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/32 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::c0c8:25ff:fec7:714d/64 scope link tentative
       valid_lft forever preferred_lft forever
<IP_ADDRESS>/8 via <IP_ADDRESS> dev eth0
<IP_ADDRESS> dev eth0 scope link
<IP_ADDRESS>/16 via <IP_ADDRESS> dev eth0
+ ip route
+ echo <IP_ADDRESS>
+ cut -d ' ' -f 1
+ K8S_DNS_IP=<IP_ADDRESS>
+ dig +short pod-gateway.vpn-gateway.svc.cluster.local @<IP_ADDRESS>
+ GATEWAY_IP=<IP_ADDRESS>
+ hostname
+ grep test-b5f557b48-jr2k4 /config/nat.conf
+ true
+ NAT_ENTRY=
+ VXLAN_GATEWAY_IP=<IP_ADDRESS>
+ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
+ ip route
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
1716: eth0@if1717: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether c2:c8:25:c7:71:4d brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/32 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::c0c8:25ff:fec7:714d/64 scope link tentative
       valid_lft forever preferred_lft forever
<IP_ADDRESS>/8 via <IP_ADDRESS> dev eth0
<IP_ADDRESS> dev eth0 scope link
<IP_ADDRESS>/16 via <IP_ADDRESS> dev eth0
+ ping -c1 <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=63 time=0.073 ms

--- <IP_ADDRESS> ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.073/0.073/0.073 ms
+ ip link add vxlan0 type vxlan id 42 dev eth0 dstport 0
+ bridge fdb append to 00:00:00:00:00:00 dst <IP_ADDRESS> dev vxlan0
+ ip link set up dev vxlan0
+ echo 'backoff-cutoff 2;
Get dynamic IP
initial-interval 1;
link-timeout 10;
reboot 0;
retry 10;
select-timeout 0;
timeout 30;

interface "vxlan0"
 {
  request subnet-mask,
          broadcast-address,
          routers,
          #domain-name-servers;
  require routers,
          subnet-mask,
          #domain-name-servers;
 }
'
+ '[' -z  ]
+ echo 'Get dynamic IP'
+ dhclient -v -cf /etc/dhclient.conf vxlan0
Internet Systems Consortium DHCP Client 4.4.2
Copyright 2004-2020 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

/etc/dhclient.conf line 3: semicolon expected.
link-timeout 10;
              ^
/etc/dhclient.conf line 4: semicolon expected.
reboot
 ^
/etc/dhclient.conf line 15: no option named require in space dhcp
  require routers,
   ^
/etc/dhclient.conf line 18:  : expected option name.
 }
  ^
/etc/dhclient.conf line 18: unterminated interface declaration.

^
Listening on LPF/vxlan0/be:b3:8a:b5:43:7b
Sending on   LPF/vxlan0/be:b3:8a:b5:43:7b
Sending on   Socket/fallback
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
+ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: vxlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether be:b3:8a:b5:43:7b brd ff:ff:ff:ff:ff:ff
    inet6 fe80::bcb3:8aff:feb5:437b/64 scope link
       valid_lft forever preferred_lft forever
+ ip route
1716: eth0@if1717: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether c2:c8:25:c7:71:4d brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/32 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::c0c8:25ff:fec7:714d/64 scope link
       valid_lft forever preferred_lft forever
<IP_ADDRESS>/8 via <IP_ADDRESS> dev eth0
<IP_ADDRESS> dev eth0 scope link
+ ping -c1 <IP_ADDRESS>
<IP_ADDRESS>/16 via <IP_ADDRESS> dev eth0
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
ping: sendto: Network unreachable

cilium values
cilium:
  ipam:
    operator:
      clusterPoolIPv4PodCIDRList:
      - "<IP_ADDRESS>/16"

Expected result
fix integration with cilium cni
Helm values to reproduce
pod-gateway:
  settings:
    VPN_INTERFACE: wg0
    VPN_TRAFFIC_PORT: 51820
    VPN_BLOCK_OTHER_TRAFFIC: true
    NOT_ROUTED_TO_GATEWAY_CIDRS: "<IP_ADDRESS>/16 <IP_ADDRESS>/8"
    VPN_LOCAL_CIDRS: "<IP_ADDRESS>/16 <IP_ADDRESS>/8"
    VXLAN_IP_NETWORK: "172.16.0"
  routed_namespaces:
  - vpn
  addons:
    vpn:
      enabled: true
      type: wireguard
      configFileSecret: wg-profile
      networkPolicy:
        enabled: false

Additional Information
No response
Repo link
No response

the ping to <IP_ADDRESS> which should be the gateway pod seems to be working. So at least that there is a rule in cilium blocking the vxlan traffic port (4789) then that should work.
I would suggest to debug 2 things:

you have errors in the dhcp client config - there was a bug fixed not long ago.
try with hardcoded IPs (see doc) as this will skip the DHCP part and allow to manually test if the ping with the vlxan IP works.

so there are things I've tried/tested:

I've updated images to newest versions (pod-gateway v1.6.0 and webhook to v3.5.0) It did fix almost all issues with dhcp except one

/etc/dhclient.conf line 3: semicolon expected.
link-timeout 10;

I've build my own image with link-timeout 10; removed but it didn't fixed
I didn't find any instructions how to set ip addresses manually so I've build my own container image with sleep inside IF so I can debug things

if [[ -z "$NAT_ENTRY" ]]; then
  echo "Get dynamic IP"
  dhclient -v -cf /etc/dhclient.conf vxlan0
  sleep 9000
else
  IP=$(cut -d' ' -f2 <<< "$NAT_ENTRY")
  VXLAN_IP="${VXLAN_IP_NETWORK}.${IP}"
  echo "Use fixed IP $VXLAN_IP"
  ip addr add "${VXLAN_IP}/24" dev vxlan0
  route add default gw "$VXLAN_GATEWAY_IP"
fi

I've exec into gateway-init container
I've added ip address and route manualy but it didn't ping anyway

bash-5.1# ip addr add "<IP_ADDRESS>/24" dev vxlan0
bash-5.1# route add default gw "<IP_ADDRESS>"
bash-5.1# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: vxlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether 1a:ad:f9:a7:92:77 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 scope global vxlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::18ad:f9ff:fea7:9277/64 scope link
       valid_lft forever preferred_lft forever
3386: eth0@if3387: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 06:2e:f8:66:dd:a4 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/32 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::42e:f8ff:fe66:dda4/64 scope link
       valid_lft forever preferred_lft forever
bash-5.1# ip route
default via <IP_ADDRESS> dev vxlan0
<IP_ADDRESS>/8 via <IP_ADDRESS> dev eth0
<IP_ADDRESS> dev eth0 scope link
<IP_ADDRESS>/24 dev vxlan0 proto kernel scope link src <IP_ADDRESS>
<IP_ADDRESS>/16 via <IP_ADDRESS> dev eth0
bash-5.1# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
^C
--- <IP_ADDRESS> ping statistics ---
12 packets transmitted, 0 packets received, 100% packet loss
bash-5.1#

Here are some additional logs from test pod
+ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
3386: eth0@if3387: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 06:2e:f8:66:dd:a4 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/32 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::42e:f8ff:fe66:dda4/64 scope link tentative
       valid_lft forever preferred_lft forever
+ ip route
<IP_ADDRESS>/8 via <IP_ADDRESS> dev eth0
<IP_ADDRESS> dev eth0 scope link
<IP_ADDRESS>/16 via <IP_ADDRESS> dev eth0
+ ping -c1 <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=63 time=0.097 ms

--- <IP_ADDRESS> ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.097/0.097/0.097 ms
+ ip link add vxlan0 type vxlan id 42 dev eth0 dstport 0
+ bridge fdb append to 00:00:00:00:00:00 dst <IP_ADDRESS> dev vxlan0
+ ip link set up dev vxlan0
+ cat
+ [[ -z '' ]]
+ echo 'Get dynamic IP'
+ dhclient -v -cf /etc/dhclient.conf vxlan0
Get dynamic IP
Internet Systems Consortium DHCP Client 4.4.3
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/vxlan0/1a:ad:f9:a7:92:77
Sending on   LPF/vxlan0/1a:ad:f9:a7:92:77
Sending on   Socket/fallback
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
+ sleep 9000

Could you please also post the logs from the gateway pod init container? This is the one setting up the ip, routes and iptables of the gateway.
What is your policy enforcement? https://docs.cilium.io/en/v1.9/policy/intro/ I expect the problem being the UDP traffic not going through...

I use default policy enforcement mode
Here are all logs from gateway-init container from my test pod
╰─$ k logs -n vpn test-6bc5585d5b-92psv gateway-init
+ cat /default_config/settings.sh
#!/bin/bash

# hostname of the gateway - it must accept vxlan and DHCP traffic
# clients get it as env variable
GATEWAY_NAME="$gateway"
# K8S DNS IP address
# clients get it as env variable
K8S_DNS_IPS="$K8S_DNS_ips"
# Blank  sepated IPs not sent to the POD gateway but to the default K8S
# This is needed, for example, in case your CNI does
# not add a non-default rule for the K8S addresses (Flannel does)
NOT_ROUTED_TO_GATEWAY_CIDRS=""

# Vxlan ID to use
VXLAN_ID="42"
# VXLAN need an /24 IP range not conflicting with K8S and local IP ranges
VXLAN_IP_NETWORK="172.16.0"
# Keep a range of IPs for static assignment in nat.conf
VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20

# If using a VPN, interface name created by it
VPN_INTERFACE=tun0
# Prevent non VPN traffic to leave the gateway
VPN_BLOCK_OTHER_TRAFFIC=true
# If VPN_BLOCK_OTHER_TRAFFIC is true, allow VPN traffic over this port
VPN_TRAFFIC_PORT=443
# Traffic to these IPs will be send through the K8S gateway
VPN_LOCAL_CIDRS="<IP_ADDRESS>/8 <IP_ADDRESS>/16"

# DNS queries to these domains will be resolved by K8S DNS instead of
# the default (typcally the VPN client changes it)
DNS_LOCAL_CIDRS="local"

# dnsmasq monitors directories. /etc/resolv.conf in a container is in another
# file system so it does not work. To circumvent this a copy is made using
# inotifyd
RESOLV_CONF_COPY=/etc/resolv_copy.conf
+ . /default_config/settings.sh
++ GATEWAY_NAME=pod-gateway.vpn-gateway.svc.cluster.local
++ K8S_DNS_IPS=<IP_ADDRESS>
++ NOT_ROUTED_TO_GATEWAY_CIDRS=
++ VXLAN_ID=42
++ VXLAN_IP_NETWORK=172.16.0
++ VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20
++ VPN_INTERFACE=tun0
++ VPN_BLOCK_OTHER_TRAFFIC=true
++ VPN_TRAFFIC_PORT=443
++ VPN_LOCAL_CIDRS='<IP_ADDRESS>/8 <IP_ADDRESS>/16'
++ DNS_LOCAL_CIDRS=local
++ RESOLV_CONF_COPY=/etc/resolv_copy.conf
+ cat /config/settings.sh
#!/bin/sh
# Generated by pod-gateway
DNS_LOCAL_CIDRS="local"
NOT_ROUTED_TO_GATEWAY_CIDRS="<IP_ADDRESS>/16 <IP_ADDRESS>/8"
VPN_BLOCK_OTHER_TRAFFIC="true"
VPN_INTERFACE="wg0"
VPN_LOCAL_CIDRS="<IP_ADDRESS>/16 <IP_ADDRESS>/8"
VPN_TRAFFIC_PORT="51820"
VXLAN_GATEWAY_FIRST_DYNAMIC_IP="20"
VXLAN_ID="42"
VXLAN_IP_NETWORK="172.16.0"
+ . /config/settings.sh
++ DNS_LOCAL_CIDRS=local
++ NOT_ROUTED_TO_GATEWAY_CIDRS='<IP_ADDRESS>/16 <IP_ADDRESS>/8'
++ VPN_BLOCK_OTHER_TRAFFIC=true
++ VPN_INTERFACE=wg0
++ VPN_LOCAL_CIDRS='<IP_ADDRESS>/16 <IP_ADDRESS>/8'
++ VPN_TRAFFIC_PORT=51820
++ VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20
++ VXLAN_ID=42
++ VXLAN_IP_NETWORK=172.16.0
+ ip addr
+ grep -q vxlan0
++ /sbin/ip route
++ awk '/default/ { print $3 }'
+ K8S_GW_IP=<IP_ADDRESS>
+ for local_cidr in $NOT_ROUTED_TO_GATEWAY_CIDRS
+ ip route add <IP_ADDRESS>/16 via <IP_ADDRESS>
+ for local_cidr in $NOT_ROUTED_TO_GATEWAY_CIDRS
+ ip route add <IP_ADDRESS>/8 via <IP_ADDRESS>
+ echo 'Deleting existing default GWs'
+ ip route del 0/0
Deleting existing default GWs
+ ping -c 1 -W 1000 <IP_ADDRESS>
ping: sendto: Network unreachable
+ ip addr
+ ip route
++ cut -d ' ' -f 1
+ K8S_DNS_IP=<IP_ADDRESS>
++ dig +short pod-gateway.vpn-gateway.svc.cluster.local @<IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
3386: eth0@if3387: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 06:2e:f8:66:dd:a4 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/32 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::42e:f8ff:fe66:dda4/64 scope link tentative
       valid_lft forever preferred_lft forever
<IP_ADDRESS>/8 via <IP_ADDRESS> dev eth0
<IP_ADDRESS> dev eth0 scope link
<IP_ADDRESS>/16 via <IP_ADDRESS> dev eth0
+ GATEWAY_IP=<IP_ADDRESS>
+++ hostname
++ grep test-6bc5585d5b-92psv /config/nat.conf
++ true
+ NAT_ENTRY=
+ VXLAN_GATEWAY_IP=<IP_ADDRESS>
+ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
3386: eth0@if3387: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 06:2e:f8:66:dd:a4 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/32 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::42e:f8ff:fe66:dda4/64 scope link tentative
       valid_lft forever preferred_lft forever
+ ip route
<IP_ADDRESS>/8 via <IP_ADDRESS> dev eth0
<IP_ADDRESS> dev eth0 scope link
<IP_ADDRESS>/16 via <IP_ADDRESS> dev eth0
+ ping -c1 <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=63 time=0.097 ms

--- <IP_ADDRESS> ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.097/0.097/0.097 ms
+ ip link add vxlan0 type vxlan id 42 dev eth0 dstport 0
+ bridge fdb append to 00:00:00:00:00:00 dst <IP_ADDRESS> dev vxlan0
+ ip link set up dev vxlan0
+ cat
+ [[ -z '' ]]
+ echo 'Get dynamic IP'
+ dhclient -v -cf /etc/dhclient.conf vxlan0
Get dynamic IP
Internet Systems Consortium DHCP Client 4.4.3
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/vxlan0/1a:ad:f9:a7:92:77
Sending on   LPF/vxlan0/1a:ad:f9:a7:92:77
Sending on   Socket/fallback
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 1
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
DHCPDISCOVER on vxlan0 to <IP_ADDRESS> port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
+ sleep 9000

pod-gateway routes container
+ cat /default_config/settings.sh
#!/bin/bash

# hostname of the gateway - it must accept vxlan and DHCP traffic
# clients get it as env variable
GATEWAY_NAME="$gateway"
# K8S DNS IP address
# clients get it as env variable
K8S_DNS_IPS="$K8S_DNS_ips"
# Blank  sepated IPs not sent to the POD gateway but to the default K8S
# This is needed, for example, in case your CNI does
# not add a non-default rule for the K8S addresses (Flannel does)
NOT_ROUTED_TO_GATEWAY_CIDRS=""

# Vxlan ID to use
VXLAN_ID="42"
# VXLAN need an /24 IP range not conflicting with K8S and local IP ranges
VXLAN_IP_NETWORK="172.16.0"
# Keep a range of IPs for static assignment in nat.conf
VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20

# If using a VPN, interface name created by it
VPN_INTERFACE=tun0
# Prevent non VPN traffic to leave the gateway
VPN_BLOCK_OTHER_TRAFFIC=true
# If VPN_BLOCK_OTHER_TRAFFIC is true, allow VPN traffic over this port
VPN_TRAFFIC_PORT=443
# Traffic to these IPs will be send through the K8S gateway
VPN_LOCAL_CIDRS="<IP_ADDRESS>/8 <IP_ADDRESS>/16"

# DNS queries to these domains will be resolved by K8S DNS instead of
# the default (typcally the VPN client changes it)
DNS_LOCAL_CIDRS="local"

# dnsmasq monitors directories. /etc/resolv.conf in a container is in another
# file system so it does not work. To circumvent this a copy is made using
# inotifyd
RESOLV_CONF_COPY=/etc/resolv_copy.conf
#!/bin/sh
# Generated by pod-gateway
DNS_LOCAL_CIDRS="local"
NOT_ROUTED_TO_GATEWAY_CIDRS="<IP_ADDRESS>/16 <IP_ADDRESS>/8"
VPN_BLOCK_OTHER_TRAFFIC="true"
VPN_INTERFACE="wg0"
VPN_LOCAL_CIDRS="<IP_ADDRESS>/16 <IP_ADDRESS>/8"
VPN_TRAFFIC_PORT="51820"
VXLAN_GATEWAY_FIRST_DYNAMIC_IP="20"
VXLAN_ID="42"
VXLAN_IP_NETWORK="172.16.0"
+ . /default_config/settings.sh
++ GATEWAY_NAME=
++ K8S_DNS_IPS=
++ NOT_ROUTED_TO_GATEWAY_CIDRS=
++ VXLAN_ID=42
++ VXLAN_IP_NETWORK=172.16.0
++ VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20
++ VPN_INTERFACE=tun0
++ VPN_BLOCK_OTHER_TRAFFIC=true
++ VPN_TRAFFIC_PORT=443
++ VPN_LOCAL_CIDRS='<IP_ADDRESS>/8 <IP_ADDRESS>/16'
++ DNS_LOCAL_CIDRS=local
++ RESOLV_CONF_COPY=/etc/resolv_copy.conf
+ cat /config/settings.sh
+ . /config/settings.sh
++ DNS_LOCAL_CIDRS=local
++ NOT_ROUTED_TO_GATEWAY_CIDRS='<IP_ADDRESS>/16 <IP_ADDRESS>/8'
++ VPN_BLOCK_OTHER_TRAFFIC=true
++ VPN_INTERFACE=wg0
++ VPN_LOCAL_CIDRS='<IP_ADDRESS>/16 <IP_ADDRESS>/8'
++ VPN_TRAFFIC_PORT=51820
++ VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20
++ VXLAN_ID=42
++ VXLAN_IP_NETWORK=172.16.0
++ cat /proc/sys/net/ipv4/ip_forward
+ [[ 1 -ne 1 ]]
+ VXLAN_GATEWAY_IP=<IP_ADDRESS>
+ ip link add vxlan0 type vxlan id 42 dev eth0 dstport 0
+ ip addr add <IP_ADDRESS>/24 dev vxlan0
+ ip link set up dev vxlan0
+ iptables -t nat -A POSTROUTING -j MASQUERADE
+ [[ -n wg0 ]]
+ read -r line
+ [[ # Generated by pod-gateway =~ ^#.* ]]
+ continue
+ read -r line
+ echo 'Setting iptables for VPN with NIC wg0'
+ echo 'Accept traffic alredy ESTABLISHED'
+ iptables -A FORWARD -i wg0 -m state --state ESTABLISHED,RELATED -j ACCEPT
Setting iptables for VPN with NIC wg0
Accept traffic alredy ESTABLISHED
+ iptables -A FORWARD -i wg0 -j REJECT
+ [[ true == true ]]
+ iptables --policy FORWARD DROP
+ iptables -I FORWARD -o wg0 -j ACCEPT
+ iptables --policy OUTPUT DROP
+ iptables -A OUTPUT -p udp --dport 51820 -j ACCEPT
+ iptables -A OUTPUT -p tcp --dport 51820 -j ACCEPT
+ for local_cidr in $VPN_LOCAL_CIDRS
+ iptables -A OUTPUT -d <IP_ADDRESS>/16 -j ACCEPT
+ for local_cidr in $VPN_LOCAL_CIDRS
+ iptables -A OUTPUT -d <IP_ADDRESS>/8 -j ACCEPT
+ iptables -A OUTPUT -o wg0 -j ACCEPT
+ iptables -A OUTPUT -o vxlan0 -j ACCEPT
++ awk '/default/ { print $3 }'
++ /sbin/ip route
+ K8S_GW_IP=<IP_ADDRESS>
+ for local_cidr in $VPN_LOCAL_CIDRS
+ ip route add <IP_ADDRESS>/16 via <IP_ADDRESS>
+ for local_cidr in $VPN_LOCAL_CIDRS
+ ip route add <IP_ADDRESS>/8 via <IP_ADDRESS>

and also pod-gateway pod-gateway container
+ cat /default_config/settings.sh
#!/bin/bash

# hostname of the gateway - it must accept vxlan and DHCP traffic
# clients get it as env variable
GATEWAY_NAME="$gateway"
# K8S DNS IP address
# clients get it as env variable
K8S_DNS_IPS="$K8S_DNS_ips"
# Blank  sepated IPs not sent to the POD gateway but to the default K8S
# This is needed, for example, in case your CNI does
# not add a non-default rule for the K8S addresses (Flannel does)
NOT_ROUTED_TO_GATEWAY_CIDRS=""

# Vxlan ID to use
VXLAN_ID="42"
# VXLAN need an /24 IP range not conflicting with K8S and local IP ranges
VXLAN_IP_NETWORK="172.16.0"
# Keep a range of IPs for static assignment in nat.conf
VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20

# If using a VPN, interface name created by it
VPN_INTERFACE=tun0
# Prevent non VPN traffic to leave the gateway
VPN_BLOCK_OTHER_TRAFFIC=true
# If VPN_BLOCK_OTHER_TRAFFIC is true, allow VPN traffic over this port
VPN_TRAFFIC_PORT=443
# Traffic to these IPs will be send through the K8S gateway
VPN_LOCAL_CIDRS="<IP_ADDRESS>/8 <IP_ADDRESS>/16"

# DNS queries to these domains will be resolved by K8S DNS instead of
# the default (typcally the VPN client changes it)
DNS_LOCAL_CIDRS="local"

# dnsmasq monitors directories. /etc/resolv.conf in a container is in another
# file system so it does not work. To circumvent this a copy is made using
# inotifyd
RESOLV_CONF_COPY=/etc/resolv_copy.conf
+ . /default_config/settings.sh
++ GATEWAY_NAME=
++ K8S_DNS_IPS=
++ NOT_ROUTED_TO_GATEWAY_CIDRS=
++ VXLAN_ID=42
++ VXLAN_IP_NETWORK=172.16.0
++ VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20
++ VPN_INTERFACE=tun0
++ VPN_BLOCK_OTHER_TRAFFIC=true
++ VPN_TRAFFIC_PORT=443
++ VPN_LOCAL_CIDRS='<IP_ADDRESS>/8 <IP_ADDRESS>/16'
++ DNS_LOCAL_CIDRS=local
++ RESOLV_CONF_COPY=/etc/resolv_copy.conf
+ cat /config/settings.sh
#!/bin/sh
# Generated by pod-gateway
DNS_LOCAL_CIDRS="local"
NOT_ROUTED_TO_GATEWAY_CIDRS="<IP_ADDRESS>/16 <IP_ADDRESS>/8"
VPN_BLOCK_OTHER_TRAFFIC="true"
VPN_INTERFACE="wg0"
VPN_LOCAL_CIDRS="<IP_ADDRESS>/16 <IP_ADDRESS>/8"
VPN_TRAFFIC_PORT="51820"
VXLAN_GATEWAY_FIRST_DYNAMIC_IP="20"
VXLAN_ID="42"
VXLAN_IP_NETWORK="172.16.0"
+ . /config/settings.sh
++ DNS_LOCAL_CIDRS=local
++ NOT_ROUTED_TO_GATEWAY_CIDRS='<IP_ADDRESS>/16 <IP_ADDRESS>/8'
++ VPN_BLOCK_OTHER_TRAFFIC=true
++ VPN_INTERFACE=wg0
++ VPN_LOCAL_CIDRS='<IP_ADDRESS>/16 <IP_ADDRESS>/8'
++ VPN_TRAFFIC_PORT=51820
++ VXLAN_GATEWAY_FIRST_DYNAMIC_IP=20
++ VXLAN_ID=42
++ VXLAN_IP_NETWORK=172.16.0
++ cut '-d ' -f2
++ grep nameserver /etc/resolv.conf
+ K8S_DNS=<IP_ADDRESS>
+ cat
+ for local_cidr in $DNS_LOCAL_CIDRS
+ cat
+ /bin/copy_resolv.sh
copying /etc/resolv.conf to /etc/resolv_copy.conf
+ + dnsmasq=18
dnsmasq -k
+ inotifyd /bin/copy_resolv.sh /etc/resolv.conf:ce
dnsmasq[18]: started, version 2.86 cachesize 150
dnsmasq[18]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth cryptohash DNSSEC loop-detect inotify dumpfile
dnsmasq[18]: DNSSEC validation enabled
dnsmasq[18]: configured with trust anchor for <root> keytag 20326
dnsmasq-dhcp[18]: DHCP, IP range <IP_ADDRESS> -- <IP_ADDRESS>, lease time 12h
dnsmasq-dhcp[18]: DHCP, sockets bound exclusively to interface vxlan0
dnsmasq[18]: using nameserver <IP_ADDRESS>#53 for domain local (no DNSSEC)
dnsmasq[18]: reading /etc/resolv_copy.conf
dnsmasq[18]: using nameserver <IP_ADDRESS>#53 for domain local (no DNSSEC)
dnsmasq[18]: using nameserver <IP_ADDRESS>#53
dnsmasq[18]: read /etc/hosts - 7 addresses
copying /etc/resolv.conf to /etc/resolv_copy.conf
dnsmasq[18]: reading /etc/resolv_copy.conf
dnsmasq[18]: using nameserver <IP_ADDRESS>#53 for domain local (no DNSSEC)
dnsmasq[18]: using nameserver <IP_ADDRESS>#53
dnsmasq[18]: read /etc/hosts - 7 addresses

I've managed to fix connection issue with cilium, it turns out it encapsulates all traffic between nodes using vxlan by default. In order to use pod-gateway you need to disable encapsulation (switch to native-routing). Here are instructions how to do that: https://docs.cilium.io/en/v1.11/concepts/networking/routing/#native-routing
Thanks for your support!
btw. please update helm chart with newest pod-gateway and webhook image

Glad you managed to fix the issue and for sharing the solution!

btw. please update helm chart with newest pod-gateway and webhook image

You can always override the image tags in your values.yaml. That way you do not have to depend on us to update the values.  PR's are very welcome of course :)

Glad you managed to fix the issue and for sharing the solution!

btw. please update helm chart with newest pod-gateway and webhook image

You can always override the image tags in your values.yaml. That way you do not have to depend on us to update the values.  PR's are very welcome of course :)

sure I'll try to create PR this week ;)

@legalgig - glad you got it working - is there any disadvantages on using native routing? Or why is not vxlan on vxlan working?
Ideally we will add the instructions with the trade-offs to https://docs.k8s-at-home.com/guides/pod-gateway/

As far as I can tell there are no real disadvantages on using native routing it is just much needier in terms of configuration than vxlan encapsulating. If you want to use native routing you need to fulfill one of these points:

all workers on same L2 network so it can auto generate routes between pods on different nodes
have a router which knows all routes to all pods (i.e. router provided by cloud-provider)
make each host aware how to route traffic between pods i.e. BGP

in most cases homelabbers tend to have all k8s hosts in one L2 network so it suffices to set following helm values:
tunnel: "disabled"  # disable  vxlan encapsulating
ipv4NativeRoutingCIDR: <IP_ADDRESS>/16  # set to pod cidr
autoDirectNodeRoutes: true # enable auto generated routes
ipam:
  operator:
    clusterPoolIPv4PodCIDRList:
    - "<IP_ADDRESS>/16"  # set pod cidr

why is not vxlan on vxlan working?

Good question, when you use vxlan encapsulation it creates routes for pod cidr (in this case <IP_ADDRESS>/16) and everything that is not within that cidr is routed into default gateway (your home router) where it goes into nirvana because your router isn't aware how to route packets to your k8s pods. I'm just speculating so don't quote me on that :)

I'm having the same issue  "No DHCPOFFERS received" on flannel
Stuck on this for few weeks

What are your network policies?
You should have:
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
  name: mediaserver
spec:
  podSelector: {}
  ingress:
  - from:
    # Only allow ingress from K8S
    - ipBlock:
        cidr: <IP_ADDRESS>/8
  egress:
  - to:
    # Only allow egress to K8S
    - ipBlock:
        cidr: <IP_ADDRESS>/8
  policyTypes:
    - Ingress
    - Egress

Was this config working for you before? If yes, what has changed?
Beyond the network policy I do not see any other reason for the problem which is that the vxlan packages are not being transmitted. Flannel by default does not use vxlanx so I do not think this is the same problem as reported by @legalgig so opening a new issue would be better.

Just another thing to consider - there are some VPNs that route ALL traffic through them so the DHCP server gets a query but the reply does not arrive.
When this is the case the DHCP server should still log that the query was received:
test-gateway-pod-gateway-564c459865-g2lt9 test-gateway-pod-gateway dnsmasq-dhcp[15]: 486152276 DHCPOFFER(vxlan0) <IP_ADDRESS> 52:14:24:76:17:9d
test-gateway-pod-gateway-564c459865-g2lt9 test-gateway-pod-gateway dnsmasq-dhcp[15]: 486152276 requested options: 1:netmask, 28:broadcast, 3:router
test-gateway-pod-gateway-564c459865-g2lt9 test-gateway-pod-gateway dnsmasq-dhcp[15]: 486152276 next server: <IP_ADDRESS>
test-gateway-pod-gateway-564c459865-g2lt9 test-gateway-pod-gateway dnsmasq-dhcp[15]: 486152276 sent size:  1 option: 53 message-type  2
test-gateway-pod-gateway-564c459865-g2lt9 test-gateway-pod-gateway dnsmasq-dhcp[15]: 486152276 sent size:  4 option: 54 server-identifier  <IP_ADDRESS>
test-gateway-pod-gateway-564c459865-g2lt9 test-gateway-pod-gateway dnsmasq-dhcp[15]: 486152276 sent size:  4 option: 51 lease-time  12h
test-gateway-pod-gateway-564c459865-g2lt9 test-gateway-pod-gateway dnsmasq-dhcp[15]: 486152276 sent size:  4 option: 58 T1  6h
test-gateway-pod-gateway-564c459865-g2lt9 test-gateway-pod-gateway dnsmasq-dhcp[15]: 486152276 sent size:  4 option: 59 T2  10h30m
test-gateway-pod-gateway-564c459865-g2lt9 test-gateway-pod-gateway dnsmasq-dhcp[15]: 486152276 sent size:  4 option:  1 netmask  <IP_ADDRESS>
test-gateway-pod-gateway-564c459865-g2lt9 test-gateway-pod-gateway dnsmasq-dhcp[15]: 486152276 sent size:  4 option: 28 broadcast  <IP_ADDRESS>
test-gateway-pod-gateway-564c459865-g2lt9 test-gateway-pod-gateway dnsmasq-dhcp[15]: 486152276 sent size:  4 option:  3 router  <IP_ADDRESS>

@bjw-s found this with being the case with gluetun.

What are your network policies?
You should have:
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
  name: mediaserver
spec:
  podSelector: {}
  ingress:
  - from:
    # Only allow ingress from K8S
    - ipBlock:
        cidr: <IP_ADDRESS>/8
  egress:
  - to:
    # Only allow egress to K8S
    - ipBlock:
        cidr: <IP_ADDRESS>/8
  policyTypes:
    - Ingress
    - Egress

Was this config working for you before? If yes, what has changed?
Beyond the network policy I do not see any other reason for the problem which is that the vxlan packages are not being transmitted. Flannel by default does not use vxlanx so I do not think this is the same problem as reported by @legalgig so opening a new issue would be better.

I can confirm this solved my problem.
Although the dhcp problems are still there
/etc/dhclient.conf line 3: semicolon expected.
link-timeout 10;
              ^
/etc/dhclient.conf line 4: semicolon expected.
reboot
 ^

I have this image
ghcr.io/k8s-at-home/pod-gateway@sha256:dcb2d814a4f7dc175f096e5a14035b5afbd2ae5b9e07eb623847a121bd46bca4 which matches the latest 1.6.1 https://github.com/k8s-at-home/pod-gateway/pkgs/container/pod-gateway
ghcr.io/k8s-at-home/gateway-admision-controller@sha256:175512bb3f616af830b56148307c9f620f6e38b8afda01043bc also the latest.
but everything else is working as expected.


refactor: rename *-socketio packages

Description
As a user of the project I want to have clarity on the distinguishing features of the packages so that scanning the list of packages in the project gives me a (slightly) better idea of what I'm dealing with.
Acceptance Criteria

Come up with the distinguishing feature of said packages. (having socketio support is not one)
Rename the packages where socketio is replaced with the word that describes the difference
Perform the rename within the package.json files as well as in the documentation
Also rename the classes accordingly within the codebase.

@takeutak @izuru0

Plugins refactored


Fix editor scrolling when opening modals.

It turned out fix for scroll in storybook was simpler. Here is PR to remove autoFocus from inputs in modals.

We still want to focus on the URL field by default when adding a link.

Hey @DirtyF , let me try to do that using JS code.

Given I run gatsby-demo
When I click on an image
Then modal is not centered

Hey @DirtyF : seems to work at my end in both chrome and safari,

Can you share a recording may be.

Hey @DirtyF , I just added to PR code to focus inputs using javascript.

Scrolling issues are gone, modal is now centered on image select.
When I select an image, then title field is focused in the modal (shoult be alt IMO)
When I toggle on the link, URL field is not focused.
Not a blocker to merge this PR, we can focus on focus issue in another PR 😉


unwatch() was undefined

# Wait for customer to be hydrated
await new Promise (resolve) ->
	unwatch = store.watch ((state) -> state.customer.hydrated)
	, ((hydrated) -> unwatch() && resolve() if hydrated)
	, immediate: true

Also, aside... I was running into more coffeescript transpiling issues. For the time being, I dropped these in a middlewares folder in the DD Pro project. That fixed for the time being, but I know that's not ideal

yikes that dumb paste, sorry, it was the auth middlewares

@weotch this is still an issue, and like you said to help figure out what's going on I'm making a demo. I'm almost done and I'll let you know when that demo is ready to run locally and I'll give you an env. But the demo was having some netlify failures which I'm still trying to figure out, see: https://app.netlify.com/teams/bukwild/builds/624db9fbdeffb900080e3603


Image in Sidebar

Issue type:
[ ] Feature request
[ ] Bug report
[ ] Documentation

Environment:

AdminLTE Version:
Operating System:
Browser (Version):

Description:

I would like to know how can I include image in Sidebar ?

Hello @flcortesT
Please provide more information on the issue for us to be able to help. E.g, where would you like the image precisely (above, under or in the treeview menu)?
In general, you can add an image using the responsive image class:
<img class="img-responsive" src"/path/to/image"/>

Thanks!


Fix SerialVersionUIDInSerializableClass when value's less then zero #964

Fixes #964

Thanks
I forgot to update the contributor badge(

That’s not really a problem. It’s often not in sync with the real contributers list, but it will be updated with every new release.


modified back-to-top button

Solves issue #56

Added a new icon for the button
Added styling for button in stlye.css
Added scroll behavior :  smooth to html element in style.css

@tanishq-arya can you do the same changes to the team.html page also? If you are not interested I will create another issue for it so that someone else can do it.

Yes. I'm interested and I'll do it. Should I create a new issue because this have been merged or continue with this only?

Yes, please create a new issue.

Yes. I'm interested and I'll do it. Should I create a new issue because this have been merged or continue with this only?


Replace usage of deprecated phpunit expected exception tag

This closes #232.
While doing this I noticed usage of expectException like this:
$this->expectException('InvalidArgumentException', 'Only positive numbers are allowed');
Personally, I think it'd be better to use InvalidArgumentException::class, but more importantly this doesn't actually test the exception message; PHPUnit just ignores the second parameter, checking only the exceptions type.
To achieve the desired behaviour, expectExceptionMessage should be used.
I'll open up a new issue for this :)

@G-Rath
Thanks for doing all that maintenance work and updating the tests!
Just out of curiosity:
What's the benefit of having one commit per file in this case?
Personally I try to squash commits that are related to the same conceptional change in one commit so the log stays lean.
Am I missing something?

It's considered a recommended best practice for git: "Commit Often, Perfect Later".

Git only takes full responsibility for your data when you commit.  Additionally, having periodic checkpoints means that you can understand how you broke something.

Lean commits are great until you want to do something related to the changes in them.
For example, in this PR, pretend all the tests suddenly broken. We could checkout each commit at a time (usually I'd pick a random commit every couple of commits until I found one that didn't error, then checkout one at a time from that commit up until my tests started failing, rather than do them strictly one-by-one going down), and run the tests - you'd do that until they failed, then you'd know what code change caused the failure.
However, if you'd only made one big commit, you'd have to manually revert a part of that single commit to test against, and keep doing that until you'd found the failure.
You can still of course do this with a single commit, but it's a lot easier to let git manage it all for you :)

Thanks for the PR @G-Rath, much better! But don't you think the empty docblocks above the tests look a little strange and potentially confusing now? Would you consider removing these too? Thanks!

@petemcfarlane Sorry, I thought I replied to your comment, but apparently I didn't.
I totally agree it's weird! Also, sorry for forgetting to add "FIXES" to all my PRs :(


Training hangs sometimes

Rasa NLU version (e.g. 0.7.3):0.12 latest
Used backend / pipeline (spacy_sklearn, ...):
["nlp_spacy",
"tokenizer_spacy",
"intent_entity_featurizer_regex",
"intent_featurizer_spacy",
"intent_featurizer_ngrams",
"ner_crf",
"ner_synonyms",
"ner_duckling_http",
"intent_classifier_sklearn"]

Operating system (windows, osx, ...):
mac/linux(docker)
Issue:
Sometimes the training hangs, and rasa needs to be restarted. After that happens, the only way to stop rasa is to kill the process
INFO:rasa_nlu.training_data.loading:Training data format of /var/folders/6x/w0jxql4n42j1wvxzzncjw2480000gn/T/tmpwQ8j3h_training_data is rasa_nlu
INFO:rasa_nlu.training_data.training_data:Training data stats:
        - intent examples: 550 (20 distinct intents)
        - Found intents: 'bye', 'deny', 'garantie', 'exclusion_echange', 'exclusion_logement', 'affirm', 'exclusion_taxes', 'enter_data', 'greet', 'enter_date', 'frustration', 'thanks', 'exclusion_recommendation', 'cancel', 'reparations', 'exclusion_energie', 'dont_know', 'exclusion_transaction_particulier', 'exclusion_assurance', 'exclusion_service_pro'
        - entity examples: 152 (3 distinct entities)
        - found entities: 'bien', 'nom_bien', 'merchant_name'

INFO:rasa_nlu.model:Starting to train component nlp_spacy

I also faced the same issue. In my case, the problem used to occur whenever I used to set num_threads value >1.

thanks @majeedk526 for the hint, output logs display n_jobs=1

Faced the same issue, and this happens to me on latest Ubuntu, it always hangs for me at the intent_classifier_sklearn training, it started to hang at training after i added 12 intents, works fine for 11 intents even with lots of training examples each but hangs as soon as i add 12 intents even if each intent only has 20 examples. BTW: Tested using using 1 job, and using this training dataset: https://github.com/rodrigopivi/pia_es/tree/master/dataset/training
After a lot of testing, i switched from ubuntu to windows to try training, and it works fine on windows, on ubuntu it hangs every time i try to train.

i had the same problem with intent_classifier_sklearn always hanging when i had more than 12 intents, even with 20 examples each.
Solved it adding this to the config:
    "intent_classifier_sklearn": {
        "C": [1, 10, 100, 1000],
        "gamma": [0.001, 0.0001],
        "kernel": "rbf"
    }

How much RAM do you have allocated to Docker in Mac?

Not sure on my mac, but the VM on GCP has 10Gb or RAM

Mhm yes that should be enough. Haven't encountered that yet. How often does that happen?

So, the issue is back in 0.12. May be not the same problem, but similar outcome.
Sometimes, the training does not finish for a project, but the status remains training and initiating a new training returns an already training error. The model is still served however. It happened twice since I started using this version yesterday

You mean the training got aborted or it did not finish in a sense that it is still running?

Exactly
Le mer. 25 avr. 2018 11:25, Tom Bocklisch<EMAIL_ADDRESS>a
écrit :

You mean the training got aborted or it did not finish in a sense that it
is still running?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/RasaHQ/rasa_nlu/issues/935#issuecomment-384222340,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADhgKkfRFmalXsdvaisU8_TFdyMhhIP2ks5tsEEPgaJpZM4S3Ta1
.

--
Nathan Zylbersztejn
T: +1<PHONE_NUMBER>
Google Certified Professional - Data Engineer:
https://www.credential.net/5ciqmwfe

Sounds a lot like #1060

No bug here after all, training the ngram featurizer just takes a very very very long time.


[FunctionApp creation] Remove Preview flag from PowerShell on Linux function apps in V4

/cc @panchagnula @AnatoliB @stefanushinardi @michaelpeng36 @gzuber

Hello @panchagnula -- We were wondering if it is possible to get this change out in the December 2021 release https://github.com/Azure/azure-cli/milestone/113. Please let us know. Thank you.


better understand how to control number of versions?

[Enter feedback here]
Could you add something referring to if/how to control the number of versions made? or are the versions infinite with no control?

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

ID: a8c0ae74-c84d-8511-7df3-02e192d84178
Version Independent ID: 9e8f4f13-89c4-aec6-b03d-87df494d3759
Content: Blob versioning - Azure Storage
Content Source: articles/storage/blobs/versioning-overview.md
Service: storage
Sub-service: blobs
GitHub Login: @tamram
Microsoft Alias: tamram

@kstario Thanks for your comment. We will review the issue and get back to you shortly.

#reassign: @tamram

@kstario - There is no limit to the number of versions you can create with Azure Storage, except for the capacity limitations for the storage account. Control over how many versions are created needs to happen at the level of your application. So, for example, your application can track the number of versions created and delete ones that are older than a given date, or when there are more than a given number.

@kstario - This change is now live.
#please-close


vscode debug fail under WSL2: pip executable not found in your python environment

Description
Facing a debug error using vscode WSL2.
At first, I thought It is likely that my python installation was wrong.
but, after using the same python /usr/bin/python3.8 to
/usr/bin/python3.8 -m pip it is work as expect.
Steps to reproduce

run Ubuntu on Windows 10 WSL2
Connect Vscode to Ubuntu  WSL2
set up aws and aws sam cli
click debug locally on the hello world template lambda_handler() function

Observed result
This is the log from VScode output AWS Toolkit Logs
Error logs for this session are permanently stored in /home/cocs/.config/Code/logs/aws_toolkit/aws_toolkit_20200511T171542.log
2020-05-11 17:15:42 [INFO]: Retrieving AWS endpoint data
2020-05-11 17:15:42 [INFO]: OS:  Linux x64 4.19.84-microsoft-standard
Visual Studio Code Version:  1.45.0
AWS Toolkit Version:  1.9.0

2020-05-11 17:15:50 [INFO]: Preparing to run app.lambda_handler locally...
2020-05-11 17:15:50 [INFO]: Building SAM Application...
2020-05-11 17:15:50 [INFO]: Running command: /home/linuxbrew/.linuxbrew/bin/sam --info
2020-05-11 17:15:50 [INFO]: Running command: /home/linuxbrew/.linuxbrew/bin/sam build --build-dir /tmp/aws-toolkit-vscode/vsctk9rU9B5/output --template /tmp/aws-toolkit-vscode/vsctk9rU9B5/input/input-template.yaml --base-dir /mnt/c/Users/lifep/Devs/jobsbot/jobsbot/hello_world --manifest /tmp/aws-toolkit-vscode/vsctk9rU9B5/debug-requirements.txt
2020-05-11 17:15:52 [ERROR]: Unexpected exitcode (1), expecting (0)
2020-05-11 17:15:52 [ERROR]: Error: undefined
2020-05-11 17:15:52 [ERROR]: stderr: Building resource 'awsToolkitSamLocalResource'
,Running PythonPipBuilder:ResolveDependencies
,Error: PythonPipBuilder:ResolveDependencies - pip executable not found in your python environment at /usr/bin/python3.8
2020-05-11 17:15:52 [ERROR]: stdout: Build Failed
2020-05-11 17:15:52 [ERROR]: An error occurred trying to run SAM Application locally: Error with child process: Building resource 'awsToolkitSamLocalResource'
,Running PythonPipBuilder:ResolveDependencies
,Error: PythonPipBuilder:ResolveDependencies - pip executable not found in your python environment at /usr/bin/python3.8 Error: Error with child process: Building resource 'awsToolkitSamLocalResource'
,Running PythonPipBuilder:ResolveDependencies
,Error: PythonPipBuilder:ResolveDependencies - pip executable not found in your python environment at /usr/bin/python3.8
	at Object.t.logAndThrowIfUnexpectedExitCode (/home/cocs/.vscode-server/extensions/amazonwebservices.aws-toolkit-vscode-1.9.0/dist/extension.js:2:475204)
	at t.SamCliBuildInvocation.<anonymous> (/home/cocs/.vscode-server/extensions/amazonwebservices.aws-toolkit-vscode-1.9.0/dist/extension.js:2:1209531)
	at Generator.next (<anonymous>)
	at o (/home/cocs/.vscode-server/extensions/amazonwebservices.aws-toolkit-vscode-1.9.0/dist/extension.js:2:1207761)
	at processTicksAndRejections (internal/process/task_queues.js:89:5)
2020-05-11 17:20:44 [INFO]: Successfully sent a telemetry batch of 20
2020-05-11 17:20:45 [INFO]: Successfully sent a telemetry batch of 5

Expected result
It is successfully debug.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

OS: Windows 10 WSL2 Ubuntu
VS Code using WSL extension
sam --version: SAM CLI, version 0.48.0

Just so I understand correctly, did you manage to get it to work? you mention that pip does exist for the python version.

I changed back to windows (powershell) which is already working.

I did mention about  pip does exist but the pip did exist python -m pip works well.

Running sudo apt install python3-pip worked for me.


mat-form-field must contain a MatFormFieldControl

Bug, feature request, or proposal:
I was using this in my project:
<mat-form-field appearance="outline">
      <mat-label >Enter your user name</mat-label>
      <input matInput placeholder="Placeholder">
      <mat-icon matSuffix>account_circle</mat-icon>
      <mat-hint >You can also use your email</mat-hint>
</mat-form-field>

and this error was coming up and it did not matter what i did.
I have imported the relevant modules accordingly:
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import {MatToolbarModule} from '@angular/material/toolbar';
import {MatMenuModule} from '@angular/material/menu';
import {MatIconModule} from '@angular/material/icon';
import {MatSidenavModule} from '@angular/material/sidenav';
import {MatCardModule} from '@angular/material/card';
import {MatButtonModule} from '@angular/material/button';
import {MatTabsModule} from '@angular/material/tabs';
import {MatFormFieldModule} from '@angular/material/form-field';
import {  MatInputModule } from '@angular/material/input';

@NgModule({
  imports: [
    CommonModule,
    BrowserAnimationsModule,
    MatToolbarModule,
    MatMenuModule,
    MatIconModule,
    MatSidenavModule,
    MatCardModule,
    MatButtonModule,
    MatTabsModule,
    MatFormFieldModule ,
    MatInputModule
  ],
  exports: [
    BrowserAnimationsModule,
    MatToolbarModule,
    MatMenuModule,
    MatIconModule,
    MatSidenavModule,
    MatCardModule,
    MatButtonModule,
    MatTabsModule,
    MatFormFieldModule,
    MatInputModule
  ],
  declarations: []
})
export class AngularMatImportsModule { }

In the AppModule i'm importing this module also.
What is the current behavior?
It gives this error always, even if i had no childs in the mat-form-field, but the app can keep running fine, this error would not go away
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
It affects at least to my knowledge version 6.1.0.
Is there anything else we should know?
I fixed the issue by installing version 6.0.1.

I cannot reproduce this, copied your both codes into this example, updated to 6.1.0 and everything seems to work as expected:
https://stackblitz.com/edit/angular-material2-issue-gx5djc

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.

[ ] @1.
Duplicate of #


Doesn't Run At All In Windows

How to Reproduce:

Download and unzip the windows release.
Download the windows dependencies and unzip into the windows release folder.

Run program as administrator:

In addition, I do not see rclone listed anywhere in the windows dependencies folder (and it's not anywhere in the install directory); installing this separately did not fix the above issue.

Try following the directions.... https://github.com/vKolerts/quest-sidenoder#running-the-compiled-version.
You didn't install winfsp

Awesome, thanks, that solved that problem!  And I'm able to get "unmount:" to read "unmount: connected."
But it is stuck on "Device: disconnected."  I do not see any prompts in the VR headset, either.

If you haven't sideloaded since oct 21st you may need to reverify dev mode using Oculus dev hub. Remove the credit card and readd it. Are you able to sideload with @loader or sidequest or any other program? Doubt this is a sidenoder issue either


Documents created in VS Code don't appear in Open Recent

VSCode Version: 0.10.11
OS Version: Windows 7

Steps to Reproduce:

Create a new file, save, and close.
Navigate to File > Open Recent. The newly-created file is not shown. Opening a second time  will cause it to be shown.

I may be pedantic, but this seems unintuitive.

The list of "File > Open Recent" is being populated from interactions from outside VS Code into vs code (e.g. drag and drop, terminal, open with) or using the native file dialog, not from actions within vs code. I assume the second time you open the file you used the native file dialog to open the file.

I see. Yeah, I was using the file dialog to open the file. To clarify -- the issue wasn't with the method of opening the file, but that saving a new, from-scratch file through the file dialog doesn't add to the Open Recent list.

@bcmn I am not sure I can follow, if in Sublime Text I save an untitled file, it does not appear under File > Recently opened.

@bpasero Okay, its an arbitrary UI choice, then! Up to you. Displaying under Open Recent would seem most common (enough that I assumed it was an issue), and certainly more consistent with other Microsoft programs -- Visual Studio, Office suite, etc.
(I did say it was pedantic!)

@bcmn ok I am not familiar how Visual Studio behaves here. We do show recent files you open within VS Code in quick open (Ctrl+P) as well as quick navigate (Ctrl+Tab), maybe you could get used to that?


add multiple tab on tab control and don't scroll

when add multiple tabs in AnimatedSingleRowTabControl, tab list on the tab control don't scrolled to end and new tab stay in out of bound.
i want to scrolled when add new tab from viewmodel.
Is there a solution to this problem?
sorry for my bad english!

@VahidHajizadeh You need to get the ScrollViewer from the TabControl style in code behind. With this you can scroll after you added the Tabs.
this.YourTabControl.FindChild<ScrollViewer>()?.ScrollToRightEnd();

Thank you @punker76
In my project:
this.MainTab.FindChild<ScrollViewer>("HeaderPanelScroll")?.ScrollToRightEnd();


[1.4] MODCLUSTER-720 Allow mod_cluster listener to register at  le…

…vel rather than  level
Resolves
https://issues.redhat.com/browse/MODCLUSTER-720
Upstream
https://github.com/modcluster/mod_cluster/pull/456
The container even handler needs to handle sequence of events that are sent when the listener is on the  level as opposed to only handling the chain of events on the  level. The intention is to only register that service the listener is registered on thus a service stub that only filers that service is then passed around.

Will be addressed for 2.0 and reopened if required for 1.4 as well.


Update Composer dependencies (2021-09-14-00-10)

Visual regression test passed!
View the visual regression test report