tsconfig paths not respected

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.4.8
node: 8.7.0
os: linux x64

Repro steps.

ng serve https://github.com/buu700/ngcli-paths

Either "success" or "failure" will be displayed.

Desired functionality.

tsconfig paths should be treated as equivalent to resolve.alias values, as far as I understand. However, it seems that they're only applying to imports from within the Angular project itself, not third-party modules. (I'd thought that this worked in the past, so it may be a recent regression.)
In this example, we're importing a node module test63987 that imports and re-exports an arbitrary second module (libsodium-wrappers-sumo). Setting "libsodium-wrappers-sumo": ["libsodium-replacement"] in tsconfig does not have the desired effect. However, ejecting and adding the equivalent alias to webpack.config.js does work as expected.
Mention any other details that might be useful.

Project this affects is https://github.com/cyph/cyph.

Dupe of https://github.com/angular/angular-cli/issues/8036

Thanks @clydin. If this is by design and the pre-1.2.6 behavior should be considered a bug rather than a feature (as per the other thread), then is or will there be a recommended way to configure module aliases without ejecting?
CC @filipesilva and @hansl

It's the same underlying cause.  In the other issue's case, there was no original module so without aliasing there's going to be a build error due to the missing module.

@hansl can you clarify what the intended behaviour is in this case?

this bug is also breaking npm link -ed packages with an @angular/core dependencies
@angular/* path entry is essential to avoid inclusion of two copies of @angular/core for example:
https://github.com/angular/angular/issues/15763#issuecomment-339343522

Thanks @slartibardfast  for referring my comment, I think also have a more descriptive error could help in this case

I would love to see an statement from the developers about this issue.
This problem is bothering me for more thant 3 months.
I have a similar setup with 2 npm linked component libraries that are used by my main app. Can someone clarify if this is a bug since 1.2.6 or is this the new expected behaviour?
If so can you tell me what the supposed solution for this issue is? I think it's not a corner case that someone wants to link some shared libraries that have angular dependencies.

@domdeger The issue here is that tsconfig's path mapping options only apply to TypeScript files.  This was fixed in 1.3.2/1.4.0.  As a result there is currently no method (outside of eject) to provide javascript module resolution aliases.
For linked library use in general, please refer to the wiki story found here.  Note however that without javascript module aliasing, the TS path mapping settings are only partially effective.  The build/serve command option --preserve-symlinks is extremely helpful in this regard and with a well built angular library the path mapping can be completely unnecessary.

@clydin Thank you very much for your fast answer. I have read the wiki story really carefully. But the problem still persists for me. As I have mentioned, i have already invested two or three days just fixing this problem with the only workaround deleting the node_modules from my linked libs.
You said, that this concerns typescript compilation which is interesting because my setup was about ts.
I have following setup:
Lib1 --> angular cli project, no tsconfig.json, entrypoint index.ts
Lib2 --> has Lib1 npm linked, angular cli project, no tsconfig.json, entrypoint index.ts
Webproject --> Lib1, Lib2 npm linked, angular cli project, has tsconfig with pathmappings as described in the wiki
So Lib1, Lib2 contains plain ts because it has no special build logic. I created those projects to outsource common functionality i use for multiple projects. I would like to leave compilation up to the project which references them.
From what i understand the issue is that cli from 1.3.2 does resolve the angular depdendencies to the node_modules folder of the linked libraries. Which results in multiple definitions for NgModule.
So this issue also persists if I setup aot compilation for my libs and reference the compiled js, which also results in sub node_modules getting compiled. I do not understand how --preserve-symlinks could help me in this regard.
I am sorry if this topic is not related to the initial issue of this thread. If so could you maybe tell me where i can get help? Normally i don't spam on github threads to get help, but i have worked on this issue for 3 working days and couldn't find an effective solution.

Repro steps.

Pull my repro: https://github.com/glebmachine/angular2-3rdparty-resolve-issue
yarn; ng build
You've got resolving error
Replace angular/cli version to 1.2.7
yarn; ng build
Everything works great

The log given by the failure.

ERROR in ./node_modules/greensock/src/TimelineMax.js
Module not found: Error: Can't resolve 'TweenLite' in '/Users/glebmikheev/angular-scrollmagic/node_modules/greensock/src'
resolve 'TweenLite' in '/Users/glebmikheev/angular-scrollmagic/node_modules/greensock/src'
  Parsed request is a module
  using description file: /Users/glebmikheev/angular-scrollmagic/node_modules/greensock/package.json (relative path: ./src)
  after using description file: /Users/glebmikheev/angular-scrollmagic/node_modules/greensock/package.json (relative path: ./src)
    resolve as module
      /Users/glebmikheev/angular-scrollmagic/node_modules/greensock/src/node_modules doesn't exist or is not a directory
      /Users/glebmikheev/angular-scrollmagic/node_modules/greensock/node_modules doesn't exist or is not a directory
      /Users/glebmikheev/angular-scrollmagic/node_modules/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/glebmikheev/angular-scrollmagic/node_modules
        using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules)
          using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules/TweenLite)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite.js doesn't exist
            as directory
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite doesn't exist
      looking for modules in /Users/glebmikheev/node_modules
        No description file found
        No description file found
        no extension
          /Users/glebmikheev/node_modules/TweenLite doesn't exist
        .ts
          /Users/glebmikheev/node_modules/TweenLite.ts doesn't exist
        .js
          /Users/glebmikheev/node_modules/TweenLite.js doesn't exist
        as directory
          /Users/glebmikheev/node_modules/TweenLite doesn't exist
      looking for modules in /Users/glebmikheev/angular-scrollmagic/node_modules
        using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules)
          using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules/TweenLite)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite.js doesn't exist
            as directory
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite doesn't exist
      looking for modules in /Users/glebmikheev/angular-scrollmagic/src
        using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src)
          using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src/TweenLite)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TweenLite doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TweenLite.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TweenLite.js doesn't exist
            as directory
              /Users/glebmikheev/angular-scrollmagic/src/TweenLite doesn't exist
      looking for modules in /Users/glebmikheev/angular-scrollmagic/src
        using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src)
          using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src/TweenLite)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TweenLite doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TweenLite.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TweenLite.js doesn't exist
            as directory
              /Users/glebmikheev/angular-scrollmagic/src/TweenLite doesn't exist
[/Users/glebmikheev/angular-scrollmagic/node_modules/greensock/src/node_modules]
[/Users/glebmikheev/angular-scrollmagic/node_modules/greensock/node_modules]
[/Users/glebmikheev/angular-scrollmagic/node_modules/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/glebmikheev/node_modules/package.json]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite.ts]
[/Users/glebmikheev/node_modules/TweenLite/package.json]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite.js]
[/Users/glebmikheev/node_modules/TweenLite]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite]
[/Users/glebmikheev/node_modules/TweenLite.ts]
[/Users/glebmikheev/node_modules/TweenLite.js]
[/Users/glebmikheev/node_modules/TweenLite]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite.ts]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite.js]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenLite]
[/Users/glebmikheev/angular-scrollmagic/src/TweenLite]
[/Users/glebmikheev/angular-scrollmagic/src/TweenLite.ts]
[/Users/glebmikheev/angular-scrollmagic/src/TweenLite.js]
[/Users/glebmikheev/angular-scrollmagic/src/TweenLite]
[/Users/glebmikheev/angular-scrollmagic/src/TweenLite]
[/Users/glebmikheev/angular-scrollmagic/src/TweenLite.ts]
[/Users/glebmikheev/angular-scrollmagic/src/TweenLite.js]
[/Users/glebmikheev/angular-scrollmagic/src/TweenLite]
 @ ./node_modules/greensock/src/TimelineMax.js 1298:2-34
 @ ./src/app/app.component.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi ./src/main.ts
ERROR in ./node_modules/scrollmagic/scrollmagic/uncompressed/plugins/animation.gsap.js
Module not found: Error: Can't resolve 'TweenMax' in '/Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/uncompressed/plugins'
resolve 'TweenMax' in '/Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/uncompressed/plugins'
  Parsed request is a module
  using description file: /Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/package.json (relative path: ./scrollmagic/uncompressed/plugins)
    Field 'browser' doesn't contain a valid alias configuration
  after using description file: /Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/package.json (relative path: ./scrollmagic/uncompressed/plugins)
    resolve as module
      /Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/uncompressed/plugins/node_modules doesn't exist or is not a directory
      /Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/uncompressed/node_modules doesn't exist or is not a directory
      /Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/node_modules doesn't exist or is not a directory
      /Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/node_modules doesn't exist or is not a directory
      /Users/glebmikheev/angular-scrollmagic/node_modules/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/glebmikheev/angular-scrollmagic/node_modules
        using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules)
          using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules/TweenMax)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax.js doesn't exist
            as directory
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax doesn't exist
      looking for modules in /Users/glebmikheev/node_modules
        No description file found
        Field 'browser' doesn't contain a valid alias configuration
        No description file found
        no extension
          Field 'browser' doesn't contain a valid alias configuration
          /Users/glebmikheev/node_modules/TweenMax doesn't exist
        .ts
          Field 'browser' doesn't contain a valid alias configuration
          /Users/glebmikheev/node_modules/TweenMax.ts doesn't exist
        .js
          Field 'browser' doesn't contain a valid alias configuration
          /Users/glebmikheev/node_modules/TweenMax.js doesn't exist
        as directory
          /Users/glebmikheev/node_modules/TweenMax doesn't exist
      looking for modules in /Users/glebmikheev/angular-scrollmagic/node_modules
        using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules)
          using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules/TweenMax)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax.js doesn't exist
            as directory
              /Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax doesn't exist
      looking for modules in /Users/glebmikheev/angular-scrollmagic/src
        using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src)
          using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src/TweenMax)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TweenMax doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TweenMax.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TweenMax.js doesn't exist
            as directory
              /Users/glebmikheev/angular-scrollmagic/src/TweenMax doesn't exist
      looking for modules in /Users/glebmikheev/angular-scrollmagic/src
        using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src)
          using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src/TweenMax)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TweenMax doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TweenMax.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TweenMax.js doesn't exist
            as directory
              /Users/glebmikheev/angular-scrollmagic/src/TweenMax doesn't exist
[/Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/uncompressed/plugins/node_modules]
[/Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/uncompressed/node_modules]
[/Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/node_modules]
[/Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/node_modules]
[/Users/glebmikheev/angular-scrollmagic/node_modules/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/glebmikheev/node_modules/package.json]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax.ts]
[/Users/glebmikheev/node_modules/TweenMax/package.json]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax.js]
[/Users/glebmikheev/node_modules/TweenMax]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax]
[/Users/glebmikheev/node_modules/TweenMax.ts]
[/Users/glebmikheev/node_modules/TweenMax.js]
[/Users/glebmikheev/node_modules/TweenMax]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax.ts]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax.js]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TweenMax]
[/Users/glebmikheev/angular-scrollmagic/src/TweenMax]
[/Users/glebmikheev/angular-scrollmagic/src/TweenMax.ts]
[/Users/glebmikheev/angular-scrollmagic/src/TweenMax.js]
[/Users/glebmikheev/angular-scrollmagic/src/TweenMax]
[/Users/glebmikheev/angular-scrollmagic/src/TweenMax]
[/Users/glebmikheev/angular-scrollmagic/src/TweenMax.ts]
[/Users/glebmikheev/angular-scrollmagic/src/TweenMax.js]
[/Users/glebmikheev/angular-scrollmagic/src/TweenMax]
 @ ./node_modules/scrollmagic/scrollmagic/uncompressed/plugins/animation.gsap.js 31:2-61
 @ ./src/app/extensions/scrollmagic-helpers.ts
 @ ./src/app/app.component.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi ./src/main.ts
ERROR in ./node_modules/scrollmagic/scrollmagic/uncompressed/plugins/animation.gsap.js
Module not found: Error: Can't resolve 'TimelineMax' in '/Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/uncompressed/plugins'
resolve 'TimelineMax' in '/Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/uncompressed/plugins'
  Parsed request is a module
  using description file: /Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/package.json (relative path: ./scrollmagic/uncompressed/plugins)
    Field 'browser' doesn't contain a valid alias configuration
  after using description file: /Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/package.json (relative path: ./scrollmagic/uncompressed/plugins)
    resolve as module
      /Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/uncompressed/plugins/node_modules doesn't exist or is not a directory
      /Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/uncompressed/node_modules doesn't exist or is not a directory
      /Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/node_modules doesn't exist or is not a directory
      /Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/node_modules doesn't exist or is not a directory
      /Users/glebmikheev/angular-scrollmagic/node_modules/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/glebmikheev/angular-scrollmagic/node_modules
        using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules)
          using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules/TimelineMax)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax.js doesn't exist
            as directory
              /Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax doesn't exist
      looking for modules in /Users/glebmikheev/node_modules
        No description file found
        Field 'browser' doesn't contain a valid alias configuration
        No description file found
        no extension
          Field 'browser' doesn't contain a valid alias configuration
          /Users/glebmikheev/node_modules/TimelineMax doesn't exist
        .ts
          Field 'browser' doesn't contain a valid alias configuration
          /Users/glebmikheev/node_modules/TimelineMax.ts doesn't exist
        .js
          Field 'browser' doesn't contain a valid alias configuration
          /Users/glebmikheev/node_modules/TimelineMax.js doesn't exist
        as directory
          /Users/glebmikheev/node_modules/TimelineMax doesn't exist
      looking for modules in /Users/glebmikheev/angular-scrollmagic/node_modules
        using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules)
          using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./node_modules/TimelineMax)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax.js doesn't exist
            as directory
              /Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax doesn't exist
      looking for modules in /Users/glebmikheev/angular-scrollmagic/src
        using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src)
          using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src/TimelineMax)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TimelineMax doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TimelineMax.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TimelineMax.js doesn't exist
            as directory
              /Users/glebmikheev/angular-scrollmagic/src/TimelineMax doesn't exist
      looking for modules in /Users/glebmikheev/angular-scrollmagic/src
        using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src)
          Field 'browser' doesn't contain a valid alias configuration
        after using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src)
          using description file: /Users/glebmikheev/angular-scrollmagic/package.json (relative path: ./src/TimelineMax)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TimelineMax doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TimelineMax.ts doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/glebmikheev/angular-scrollmagic/src/TimelineMax.js doesn't exist
            as directory
              /Users/glebmikheev/angular-scrollmagic/src/TimelineMax doesn't exist
[/Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/uncompressed/plugins/node_modules]
[/Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/uncompressed/node_modules]
[/Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/scrollmagic/node_modules]
[/Users/glebmikheev/angular-scrollmagic/node_modules/scrollmagic/node_modules]
[/Users/glebmikheev/angular-scrollmagic/node_modules/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/glebmikheev/node_modules/package.json]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax.ts]
[/Users/glebmikheev/node_modules/TimelineMax/package.json]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax.js]
[/Users/glebmikheev/node_modules/TimelineMax]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax]
[/Users/glebmikheev/node_modules/TimelineMax.ts]
[/Users/glebmikheev/node_modules/TimelineMax.js]
[/Users/glebmikheev/node_modules/TimelineMax]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax.ts]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax.js]
[/Users/glebmikheev/angular-scrollmagic/node_modules/TimelineMax]
[/Users/glebmikheev/angular-scrollmagic/src/TimelineMax]
[/Users/glebmikheev/angular-scrollmagic/src/TimelineMax.ts]
[/Users/glebmikheev/angular-scrollmagic/src/TimelineMax.js]
[/Users/glebmikheev/angular-scrollmagic/src/TimelineMax]
[/Users/glebmikheev/angular-scrollmagic/src/TimelineMax]
[/Users/glebmikheev/angular-scrollmagic/src/TimelineMax.ts]
[/Users/glebmikheev/angular-scrollmagic/src/TimelineMax.js]
[/Users/glebmikheev/angular-scrollmagic/src/TimelineMax]
 @ ./node_modules/scrollmagic/scrollmagic/uncompressed/plugins/animation.gsap.js 31:2-61
 @ ./src/app/extensions/scrollmagic-helpers.ts
 @ ./src/app/app.component.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi ./src/main.ts

The issue here is that tsconfig's path mapping options only apply to TypeScript files. This was fixed in 1.3.2/1.4.0. As a result there is currently no method (outside of eject) to provide javascript module resolution aliases.

Are there any plans to add a different method of accomplishing this? Pinning the CLI to 1.2.6 works for now, but I don't want to get left behind as new features are introduced or risk compatibility issues with Angular 5 and beyond.

Update here for Angular5. Problems seem to persist.
{   "extends": "../tsconfig.json",   "compilerOptions": {     "outDir": "../out-tsc/app",     "baseUrl": "./",     "module": "es2015",     "paths": {       "@angular/*": [         "../node_modules/@angular/*"       ],       "rxjs": [         "../node_modules/rxjs"       ],       "rxjs/*": [         "../node_modules/rxjs/*"       ],       "angular-2-local-storage": [         "../node_modules/angular-2-local-storage"       ],       "angular-2-local-storage/*": [         "../node_modules/angular-2-local-storage/*"       ]     }   },   "include": [     "*.ts",     "../node_modules/ui-common",     "../node_modules/vulndb-service-ui-lib"   ],   "exclude": [     "test.ts",     "**/*.spec.ts"   ] }
I have read that they use the tsconfig.json more correctly for ng * so i was full of hope. What i mentioned is that you now need to explicitly add linked libraries to the "include" key in the tsconfig.
I migrated my project and libs to angular5 but there seems to be something odd again with the module resolution as it is giving:
RROR Error: StaticInjectorError[Http]:    StaticInjectorError[Http]:      NullInjectorError: No provider for Http
Which is related to module resolution because the error fades away when i delete the angular folder in node_modules the linked libraries. But then i have another problem with rxjs because Observables from angular/http do not have the imported operators anymore.
Really weird stuff.
I am pretty concerned about this. I would really appreciate if the angular team could explain how we can use npm linked libraries for development? I guess this is not a rare use-case that one wants to share components over multiple projects.
I managed to get my project working for the 4.* version with ng eject and manual messing with the webpack.config.js but this is not really the way i'd like to go for a long time.

FYI, for anyone else needing the pre-1.2.6 behavior, the solution I landed on is using the latest Angular/CLI/etc. and just overwriting<EMAIL_ADDRESS>with https://github.com/buu700/ngtools-webpack-tmp/blob/master/src/paths-plugin.js. It's not very elegant, and could be broken by a future release, but gets the job done for now without blocking updating to Angular 5.
@domdeger, is that tsconfig from a CLI project or an ejected one? You shouldn't need to list every package you're using in the tsconfig like that, unless I'm missing part of what you're trying to do.

@buu700 This is the tsconfig from a CLI project. So this is consuming some npm linked libs.
pre 1.2.6 modules were first searched in the cli projects node_modules folder.
Now the closest node_modules folder is used for resolution.
If i use @NgModule in a linked lib and have installed the @angular/core because i want autocompletion while developing angular-cli now compiles the package @angular/core twice resulting in duplicate/incompatible types.
With the Path-mappings i tried to convince the cli to just use the types in the root project. So i listed the dependencies that are duplicated and caused problems. Which has some effect on the problem but does not resolve it for me.

Ah, okay. Haven't run into that before so don't have any ideas, but maybe the paths plugin thing from my last comment could also be a quick fix for that.

The @buu700 method works!!!

What is strange for me is that this only occurs when I am building in travis.

Any news guys? waiting forward bugfix(

Migrating a huge application to angular 5 and angular-cli 1.6, This is so far the most blocker i have encounter. Should we avoid path alias as a practice?

@hansl Сould you please tell us, when does this fix is going to be performed?

@buu700 @domdeger this fix can be used with https://www.npmjs.com/package/patch-package

Interesting, thanks for the tip! That looks like a really neat solution for this type of thing; I'll definitely use it in the future.

FYI: Path package works great for me, with @buu700 patch

Oh, thank you, guys)
Gleb Mikheev
CTO
Beta Digital Production
Bersenevsky Lane 5 Building 1
Mobile:  +7 (916) 118-28-21
Telegram: https://t.me/glebmikheev
www.betaagency.ru
www.facebook.com/betadigitalproduction

This dosen't appear to have solved it for this case.
Taking typeorm as an Example I made a repro here https://github.com/Toxicable/issue-cli-path-resolve
Notice the paths entries in the tsconfig.app.json
If you build the project with ng build there are warnings indicating that sqlite is imported into the bundle, which the paths mapping should avoid since ../node_modules/typeorm/typeorm-model-shim is just empty declarations with no other imports

Nevermind, I had it misconfigured.
Turns out you need the .js at the end of the path
//tsconfig.app.json
"typeorm": ["../node_modules/typeorm/typeorm-model-shim.js"]

credit to @clydin for pointing that out

Hi,
I have recently updated to v1.7.0 of the CLI and I am now facing this issue, which is causing multiple angular packages to bundled. My error in particular is:
ERROR Error: Uncaught (in promise): Error: StaticInjectorError[NgZone]
(caused by @angular/core being bundled twice)
I am experiencing the classic symptoms such deleting @angular from the linked library cause the errors to disappear despite having already configured the paths in the tsconfig.app.json and used preserveSymlinks.
Is it possible that there has been some regression? From looking at the source of @ngtools/webpack, the fix above (#8810) in paths-plugin.js seems to be in place.
Although @buu700's patch worked for me in previous version; It is now too far diverged from the latest code to use.
Version info:
Node: 8.9.4
OS: win32 x64
Angular: 5.1.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.7.0
@angular-devkit/build-optimizer: 0.3.1
@angular-devkit/core: 0.3.1
@angular-devkit/schematics: 0.3.1
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.0
@schematics/angular: 0.3.1
@schematics/package-update: 0.3.1
typescript: 2.4.2
webpack: 3.11.0

Any help would be greatly appreciated.
Thanks

Yeah, this is also plaguing me as well.
I've searched and combed through the forums to see if there are any solutions but nothing seems to work.
The most I can do is make it compile before running into module resolution run-time errors complaining about duplicate modules and Angular not knowing which one to choose.
Anyone who is writing anything modular that wants to break up their application into more manageable libraries will need to "npm link" locally at some point in time.  Making one small change then "npm publish" and "npm install" on all other consuming apps can't be the way forward.  Doing complicated "npm link" with dist folders outside the structure can't be the way forward.  Everything else is just a huge workaround.
Yes, I know that at some point TS made the packaging more strict as to not allow shipping of ".ts" files.  But this is seriously impeding a very common development workflow.  The worst part is that no one wants to take full responsibility for the issue.  Is it an issue with Webpack, is it an issue with TS or Angular?  All of the respective forums have their own variant/version of this issue.
This is the sort of thing that keeps holding me back in terms of adopting the latest and greatest Angular CLI version.  I have to either do an "ng eject" or manually patch.
There have been massive enhancements over the past couple of versions and I really appreciate that because I really see the work that's been going on into the framework.
I guess any guidance here would be very much appreciated.

@davidcblaney i am facing the same issue. is it resolved for you? any help will be much appreciated.

For guys using webpack. You can resolve the  dependencies by specifying absolute path to to your current project's node_modules.
resolve: {
extensions: ['.ts', '.js'],
modules: [helpers.root('src'),  helpers.root('node_modules')]
},

I found myself struggling with something that appeared to very strongly correlate with this issue, resulting in getting StaticInjectorError for my dependencies.
I had a module that I was importing into the TestBed configuration in the spec file, which defined some providers for some services.  The module was using the aliased imports from the dist directory, as is correct.  The spec file however was using a relative import for the service.  I solved this by using aliased paths everywhere.
My case resulted, I think, from a structural decision we have made.  We have an interface library, and a corresponding implementation library that satisfies all the interfaces in the first.  We then use providers with useClass to allow the application code (and tests) to be built directly against the interface, so that the implementations can be swapped out at will.   All of the code (spec and library) in the implementation library was using the correct aliased paths for dist, whilst all the spec code in the interface library was using relative paths.
In conclusion: anybody still finding themselves coming to this thread, make sure you are using your aliased paths in all cases


Update audio-editing.md

removed FCP.co, links are dead

@hexeric - I wonder if we can just update this link to point to the Way Back Machine?

I'm going to close this pull request for now, as we either replace links with the Way Back Machine or move the old articles across to FCP Cafe.


Stabilize and re-enable support for background threads in Splinter task system.

Is your feature request related to a problem? Please describe.
This issue was discovered while doing some code refactoring & cleanup in task.c under issue #449 . During the review, when asked for historical info on background thread feature, @ajhconway said:
With background tasks enabled, initialization creates a thread pool for background tasks. Then tasks such as memtable incorporation, compaction and filter construction are performed by background threads.
This feature was working at some point, but has not been maintained. We could and probably should kick the tires on it soon, since it's a common way to do things.
An important missing feature for background threads would be some sort of way of balancing insertion with background tasks, so that the task system doesn't fall behind insertions. This currently would happen with the memtables all filling up and stalling on incorporation, but it could be handled more gracefully with throttling or expanding the background thread pool.
Describe the solution you'd like

Do the code & design investigation to understand how this is supposed to work.
Re-enable this feature for said sub-systems mentioned above
Develop tests (unit & functional) to online this support as mainstream feature in Splinter.

As a follow-on we might have to do stress testing and, perhaps, study the impact of background threads on performance.
That work will be better understood after we online this feature first.
Describe alternatives you've considered
No response
Additional context
No response

A duplicate issue #468 was created after this one was opened. All dev work to address this request and the items in that issue are now being integrated to /main under PR #469 . Closing this issue as a duplicate.


Confusing examples in README

This example here:
https://github.com/normal-computing/outlines/blob/df993c416625808f2914dab1cce49d9392b03e90/README.md#L91-L99
It's not clear what examples there is or where it should come from.
Also the examples that use models.transformers("gpt2") only work if you first run pip install transformers, which isn't mentioned in the document.

Will work on this, thank you for taking the time to open an issue!


Add basic UI

Create app ana main classes
Update requirements to book, student, rentals, and classroom classes.

Hey...
First thanks for the suggestion...
I´ve tried to implement the suggested solution but linter is NOT allowing
me and I couldn´t find any solution so far.
Would you mind to take a look? please.
Thanks in advance.
On Sat, May 21, 2022 at 4:45 PM Lameck Otieno @.***>
wrote:

@.**** requested changes on this pull request.
Hi, @fernando-silvabr66 https://github.com/fernando-silvabr66,
Good job so far!
There are some issues that you still need to work on to go to the next
project but you are almost there!
Highlights

Professional README ✔
Clean code ✔
Good commit messages ✔

Required Changes ♻
Check the comments under the review.
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop
the approval of this PR. However, I strongly recommend you to take them
into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
Please, do not open a new Pull Request for re-reviews. You should use the
same Pull Request submitted for the first review, either valid or invalid
unless it is requested otherwise.
As described in the Code reviews limits policy
https://microverse.zendesk.com/hc/en-us/articles/1500004088561 you have a
limited number of reviews per project (check the exact number in your
Dashboard). If you think that the code review was not fair, you can request
a second opinion using this form https://airtable.com/shrQAqnBwek5a0O0s.
In person.rb
https://github.com/fernando-silvabr66/school-library/pull/5#discussion_r878753312
:

attr_accessor :name, :age

attr_reader :id

attr_reader :id, :rentals
def initialize(age, name = 'Unknown', parent_permission: true)

Creating a teacher or a student is currently proving buggy. Please
take a look at the screenshots below:
Creating a teacher
[image: image]
https://user-images.githubusercontent.com/45002654/169666678-24636e39-04e1-4653-9232-d1d2c7cec3c3.png
Creating a student
[image: image]
https://user-images.githubusercontent.com/45002654/169666717-2150b5ed-36b5-4a43-9c22-d5d566444d21.png
The culprit is how we are setting the value of parent_permission.
Instead of the : we need to use an assignment operator = to set the
value of parent_permission
⬇ Suggested change

def initialize(age, name = 'Unknown', parent_permission: true)

def initialize(age, name = 'Unknown', parent_permission = true)

We'll need to do the same refactoring in our Student and Teacher
classes.
Please work on this change so that one can be able to create a student
and a teacher,

—
Reply to this email directly, view it on GitHub
https://github.com/fernando-silvabr66/school-library/pull/5#pullrequestreview-980872934,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASS42Y234QEZTGGWU673P3TVLE4M5ANCNFSM5WSCIGOQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Last commit: Update rentals list and fix teacher class.


Fix post action in deprovisioning functionality

Description
Fix post action in deprovisioning functionality, current behavior causes "Process operation failed: operation update conflict" during suspension action.

/test pre-main-control-plane-integration

/test pre-main-control-plane-integration

/test pre-main-control-plane-integration


Added 'visible' field functionality for groups

Please check if the PR fulfills these requirements

[X] The commit message follows our guidelines
[X] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature: adding 'visible' field functionality for groups

What is the current behavior? (You can also link to an open issue here)
Currently visible field isn't processed

What is the new behavior (if this is a feature change)?
User can hide groups using groups[*].visible

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No, small change

Other information:
Should be docs added to the separate repo?

Coverage remained the same at 89.979% when pulling a144c2a699316eed4f80837e92725bcb881246a0 on devalexx:visible-field-for-groups into 721a4eebbde77040a1318e60aa9ef21229bbcf99 on vue-generators:master.

This seems to be a duplicate of https://github.com/vue-generators/vue-form-generator/pull/606.

Duplicate of #606

@zoul0813 @muschottkey
I know that there is a similar pull request. But this one has tests and doesn't duplicate existing function.
But of course it's up to you.


Voorbeeld XML file in repo

As for the moment the XML service based on the URL is not yet provided, it would be useful to have an example file of the XML format in the repo. Hence, we can already provide and test the conversion functionality.

We will still make a minor adjustment to the export - I will publish the file as soon as this is done.

Even ter info: de geplande aanpassing is het toevoegen van de berekende diepte tov taw die nu niet in de xml export zit (enkel tov referentiepunt + een lijst referentiepunten).


Demucs fp32 got fail_accuracy

🐛 Describe the bug
torchbench_float32_training
xpu  train demucs
E0626 07:50:03.811000<PHONE_NUMBER>15520 torch/_dynamo/utils.py:1478] RMSE (res-fp64): 0.03316, (ref-fp64): 0.00065 and shape=torch.Size([]). res.dtype: torch.float32, multiplier: 3.000000, tol: 0.001000
fail_accuracy
loading model: 0it [00:00, ?it/s]
loading model: 0it [00:26, ?it/s]
Versions
torch-xpu-ops: https://github.com/intel/torch-xpu-ops/commit/31c400195d63064940242220dc9100322d36bac4
pytorch: 0f81473d7b4a1bf09246410712df22541be7caf3 + PRs: 127277,129120
device: PVC 1100, 803.61, 0.5.1

Known issue. Use to be closed because it's a common issue for all backends: CPU, CUDA, XPU.

similar issue in https://github.com/intel/torch-xpu-ops/issues/488.
will close this issue, and only track issues their with adding fp32 label


radio not working in Safari

Everything is selected in Browser Safari

yes,  vuesax dont have today support for all browser's (aka IE and Safari)

From https://github.com/lusaxweb/vuesax README.md
Browser Support
Recent versions of Firefox, Chrome, Edge, Opera and Safari. IE10+

this has been already fixed


Add page on how to use quickstart with Lab

Preview is available here:http://developers-pr1078.previews.kube001.services.stellar-ops.com


Secret not found

Long story short
Canvas fails to start due to missing secret in compcrdwebhook.
Description
The Pod for compcrdwebhook logs this:
MountVolume.SetUp failed for volume "secret-volume" : secret "compcrdwebhook-secret" not found
The code snippet to reproduce the issue
helm list -A
NAME         	NAMESPACE    	REVISION	UPDATED                             	STATUS  	CHART           	APP VERSION
canvas       	canvas       	1       	2024-06-05 19:38:39.573072 +0800 PST	failed  	canvas-oda-1.1.0	v1beta3
istio-base   	istio-system 	1       	2024-06-05 19:21:41.401361 +0800 PST	deployed	base-1.22.1     	1.22.1
istio-ingress	istio-ingress	1       	2024-06-05 19:27:49.684221 +0800 PST	deployed	gateway-1.22.1  	1.22.1
istiod       	istio-system 	1       	2024-06-05 19:22:30.243599 +0800 PST	deployed	istiod-1.22.1   	1.22.1

The exact command to reproduce the issue
helm install -n istio-system --create-namespace \
		--set defaultRevision=default \
		--wait istio-base istio/base
helm install -n istio-system \
		--wait istiod istio/istiod
kubectl create namespace istio-ingress
kubectl label namespace istio-ingress \
		istio-injection=enabled
helm -n istio-ingress install \
		istio-ingress istio/gateway \
		--set labels.app=istio-ingress \
		--set labels.istio=ingressgateway \
		--wait
helm install -n canvas --create-namespace \
		--set global.leaderElection.namespace=cert-manager \
		--wait canvas oda-canvas/canvas-oda

The full output of the command that failed
$ kubectl -n canvas describe pod compcrdwebhook-76d7fff4d6-7c6mx
Name:             compcrdwebhook-76d7fff4d6-7c6mx
Namespace:        canvas
Priority:         0
Service Account:  default
Node:             gk3-oda-cluster-pool-2-8d9abaf1-dhrb/<IP_ADDRESS>
Start Time:       Wed, 05 Jun 2024 19:40:25 +0800
Labels:           app=compcrdwebhook
                  app.kubernetes.io/instance=canvas
                  app.kubernetes.io/managed-by=Helm
                  app.kubernetes.io/name=oda-webhook
                  app.kubernetes.io/version=v1beta3
                  helm.sh/chart=oda-webhook-1.1.0
                  pod-template-hash=76d7fff4d6
Annotations:      <none>
Status:           Pending
SeccompProfile:   RuntimeDefault
IP:
IPs:              <none>
Controlled By:    ReplicaSet/compcrdwebhook-76d7fff4d6
Containers:
  compcrdwebhook:
    Container ID:
    Image:          tmforumodacanvas/compcrdwebhook:0.8.0
    Image ID:
    Port:           8443/TCP
    Host Port:      0/TCP
    State:          Waiting
      Reason:       ContainerCreating
    Ready:          False
    Restart Count:  0
    Limits:
      cpu:                500m
      ephemeral-storage:  1Gi
      memory:             2Gi
    Requests:
      cpu:                500m
      ephemeral-storage:  1Gi
      memory:             2Gi
    Environment:          <none>
    Mounts:
      /etc/secret-volume from secret-volume (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-9xqhw (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  secret-volume:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  compcrdwebhook-secret
    Optional:    false
  kube-api-access-9xqhw:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   Guaranteed
Node-Selectors:              <none>
Tolerations:                 kubernetes.io/arch=amd64:NoSchedule
                             node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason       Age                    From     Message
  ----     ------       ----                   ----     -------
  Warning  FailedMount  2m52s (x58 over 104m)  kubelet  MountVolume.SetUp failed for volume "secret-volume" : secret "compcrdwebhook-secret" not found

Environment
GKE Autopilot (1.28.9-gke.1000000)

The secret it is looking for is probably this:
$kubectl -n cert-manager describe secret canvas-cert-manager-webhook-ca
Name:         canvas-cert-manager-webhook-ca
Namespace:    cert-manager
Labels:       <none>
Annotations:  cert-manager.io/allow-direct-injection: true

Type:  Opaque

Data
====
ca.crt:   672 bytes
tls.crt:  672 bytes
tls.key:  306 bytes

It seems likely this is related to #226 where we modified the helm chart values to change the namespace for leader election in cert-manager.  Thing is that was working fine a couple weeks ago but now we have this problem.

Hi @vances - there is a known error where the Canvas installation sometimes fails (due to the leader election problem you highlight). See https://github.com/tmforum-oda/oda-canvas/tree/master/installation#error-installing--failed-post-install
Is this the issue you are experiencing, or do you think it is something else?

@LesterThomas it doesn't appear to be the same problem, but it's certainly adjacent.

Hi Vance,
The secret you pointed out is not the culprit; Cert Manager uses it internally. The secret you're looking for should be in the canvas namespace. It is managed by a Certificate resource configured and installed by the Helm Chart "cert-manager-init."
This resource tells Cert Manager the certificate's type and configuration to store in the secret.
Please check that resource with the following command:
kubectl describe Certificate compcrdwebhook -n canvas
Additionally, check the logs of the Cert Manager leader pod for clues about why the secret is not where it should be.
Who is the leader? Check both, and the leader will be the one which writes logs.

@gusjer: The Certificate is missing:
$ kubectl -n canvas get certificates
No resources found in canvas namespace.

There is only one cert-manager replica by default and it looks like the leader election succeeded.
There's an error in the canvas-cert-manager-cainjector log:
Certificate.cert-manager.io "compcrdwebhook" not found
canvas-cert-manager log
$ kubectl -n cert-manager logs canvas-cert-manager-7c4845cfdb-9dfnw
I0606 02:17:35.298987       1 start.go:75] cert-manager "msg"="starting controller" "git-commit"="2a0ef53b06e183356d922cd58af2510d8885bef5" "version"="v1.11.0"
I0606 02:17:35.299074       1 controller.go:242] cert-manager/controller/build-context "msg"="configured acme dns01 nameservers" "nameservers"=["<IP_ADDRESS>:53"]
W0606 02:17:35.299166       1 client_config.go:618] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
I0606 02:17:35.301391       1 controller.go:70] cert-manager/controller "msg"="enabled controllers: [certificaterequests-approver certificaterequests-issuer-acme certificaterequests-issuer-ca certificaterequests-issuer-selfsigned certificaterequests-issuer-vault certificaterequests-issuer-venafi certificates-issuing certificates-key-manager certificates-metrics certificates-readiness certificates-request-manager certificates-revision-manager certificates-trigger challenges clusterissuers ingress-shim issuers orders]"
I0606 02:17:35.302430       1 controller.go:134] cert-manager/controller "msg"="starting leader election"
I0606 02:17:35.303123       1 leaderelection.go:248] attempting to acquire leader lease cert-manager/cert-manager-controller...

  Using the inClusterConfig.  This might not work.
I0606 02:17:49.374641       1 webhook.go:129] cert-manager "msg"="using dynamic certificate generating using CA stored in Secret resource" "secret_name"="canvas-cert-manager-webhook-ca" "secret_namespace"="cert-manager"
I0606 02:17:49.375120       1 server.go:133] cert-manager/webhook "msg"="listening for insecure healthz connections" "address"=":6080"
I0606 02:17:49.375508       1 server.go:197] cert-manager/webhook "msg"="listening for secure connections" "address"=":10250"
I0606 02:17:50.384851       1 dynamic_source.go:266] cert-manager/webhook "msg"="Updated cert-manager webhook TLS certificate" "DNSNames"=["canvas-cert-manager-webhook","canvas-cert-manager-webhook.cert-manager","canvas-cert-manager-webhook.cert-manager.svc"]

OK, it was indeed a change I made in my procedures which caused this problem.  I have a sequence of commands to get the entire use case configured and I had added --wait to all the helm install commands so that the next command wouldn't start until the previous was complete.  After removing that the canvas chart was deployed without issue.
$ helm install -n canvas --create-namespace --set global.leaderElection.namespace=cert-manager canvas oda-canvas/canvas-oda
W0606 11:30:44.556159   84086 warnings.go:70] AdmissionWebhookController: mutated namespaceselector of the webhooks to enforce GKE Autopilot policies.


Document how to get started with the Starboard Operator

The getting started should include:

Deploy starboard

How to deploy
How to check that it is deployed

Run your first scan
Review the scan results

/cc @jerbia

Already done https://aquasecurity.github.io/starboard/operator/ The GitHub page for the Starboard project is currently unlisted, but we'll link to it soon.


bounding box grid forecast

The bounding box of the class CartesianGrid2D (get_bbox) returns the extent of region lowerleft-corners, rather than the extent of the forecast (including topright). Should its behavior be like that?. To reproduce
import csep
from csep.utils import datasets
import numpy

forecast = csep.load_gridded_forecast(datasets.helmstetter_mainshock_fname,
                                      name='helmstetter_mainshock')
bbox_forecast = forecast.region.get_bbox()

array_ = numpy.genfromtxt(datasets.helmstetter_mainshock_fname)
bbox_dat = (array_[:,0].min(), array_[:,1].max(), array_[:,2].min(), array_[:,3].max())

print(bbox_forecast)
print(bbox_dat)

Tracked to here
https://github.com/SCECcode/pycsep/blob/1fa6b26e6215060621a539022a27281470b4c6b6/csep/core/regions.py#L630-L632
But when I look how CartesianGrid2D.xs and ys are defined in L730,
https://github.com/SCECcode/pycsep/blob/1fa6b26e6215060621a539022a27281470b4c6b6/csep/core/regions.py#L703
I see that it was intended that the grid extends one more away from the number of cells. For instance, this gives the same result
forecast.spatial_counts(cartesian=True).shape == (forecast.region.ys.shape[0], forecast.region.xs.shape[0])

Would it be a precision issue?
For the plots.plot_spatial_dataset(), it does not plot the last lat/lon of the CartesianGrid. Although, this could be bypassed quickly inline that plotting function, but I prefer to make sure.

You are correct that the bounding box reporting the lower left node of the grid. This is because the bounding box is used to compute the index of a given (lat,lon) pair and determine the index of the region.
I'm not sure I follow exactly the plotting issue you are seeing here. If the bounding box extends past the forecast, those additional cells will be masked and not returned when the cartesian argument is supplied to the spatial_counts function. Is this happening incorrectly?

Ok super! Then the only issue is with the plotting. Two things happens:

If cartopy receives the bbox as an extent, it will not display the first row and last column (northernmost row, easternmost column) of the forecast.
pyplot.pcolormesh and pyplot.pcolor, requires the grid encompassing the cell, or it ignores the last column of the forecast.

https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.pcolormesh.html
But anyway, its easily fixable by extending the grid one dh further within the plot_spatial_dataset function. It works and I will include it in the next commit.

that sounds like a reasonable fix to me. can you link the commit where you fix this to this issue?

Here. https://github.com/SCECcode/pycsep/blob/b8e38195adf39809ebdd61b183e0bb6e7521fc59/csep/utils/plots.py#L658

nice. is that in the open pull request?

Yes!


[radiko] Fix extractor

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

Description of your pull request and other information
This PR improves debuggability of extractor, even without verbose log. (of course we should always require it!) And some other small fixes.
TODO

[ ] Direct users to clear cache in case of no formats found (#3652)

This is what I meant https://github.com/yt-dlp/yt-dlp/compare/master...pukkandan:radiko-fixx
Is the extractor-arg needed now?

That would be better
Yes, extractor-arg no longer needed

Can merge once tested


realm_dart-3.4.0/lib/src/handles/native/init.dart:155:12: Error: Method not found: 'DBRef'.

What happened?
Cant run Realm 3.4.0
I think is missing the new ejson package.
Repro steps

Download the new Release 3.4.0 and run.

Version
3.24
What Atlas Services are you using?
Atlas Device Sync
What type of application is this?
Flutter Application
Client OS and version
iOS 17
Code snippets
No response
Stacktrace of the exception/crash you're getting
Launching lib/main.dart on iPad Pro 13-inch (M4) in debug mode...
Running Xcode build...
Xcode build done.                                           17.2s
Failed to build iOS app
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/realm_dart-3.4.0/lib/src/handles/native/init.dart:155:12: Error: Method not found: 'DBRef'.

Could not build the application for the simulator.
Error launching application on iPad Pro 13-inch (M4).

Relevant log output
No response

Workaround:
dependency_overrides:
ejson:
git:
url: https://github.com/realm/realm-dart
ref: main
path: packages/ejson

Workaround:
dependency_overrides: ejson: git: url: https://github.com/realm/realm-dart ref: main path: packages/ejson

can you help how to do this. I dont understand

@mniyaz just put lines shown above to your pubspec.yaml:
dependency_overrides:
  ejson:
    git:
      url: https://github.com/realm/realm-dart
      ref: main
      path: packages/ejson

and run flutter pub get afterwards.

@mniyaz You need to update your pubspec.yaml with the suggested dependecy_override
dependency_overrides:
  ejson:
    git:
      url: https://github.com/realm/realm-dart
      ref: main
      path: packages/ejson

Alternatively you can pin realm to 3.3.0 until this mess is sorted out.
The reason this is happening is that realm 3.4.0 was released without ejson 0.4.0 being released. The ejson packages are still pre 1.0, and one of the things still outstanding is that the github action workflow for publishing (publish-release.yml) doesn't include them yet.

Just pining realm to 3.3.0 using
dependencies:
  realm: '3.3.0'

is insufficient. I also had to do
dependency_overrides:
  realm_common: '3.3.0'
  realm_dart: '3.3.0'
  realm_generator: '3.3.0'

otherwise these were resolved to their latest versions (3.4.0) in pubspec.lock. Not sure if this is required but still leaving it here if someone will have the same issue.

This will be fixed shortly in 3.4.1.


Update xact to 2.43

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Duplicate of #42395
Thanks for the PR nonetheless.


Version 3.7

have any plans to generate version 3.7 ?
Thx

Of course there are plans. It's going to happen very soon.


GIN repository for dataset 1

@niksirbi recommends opening the remote first.

"Gin is just a wrapper around git and git annex"

Can we have a better tool? Can we interact only with git annex? We are not super happy about the CLI.


fixed!(WHOOP): adsfadsfsvc breakign feat

Changes

Current dependencies on/for this PR:

#6  👈
main

This stack of pull requests is managed by Graphite.


[Ready for Review]

Purpose
resolves:

https://openscience.atlassian.net/browse/OSF-4127
https://github.com/CenterForOpenScience/osf.io/issues/4086

Changes
Cherry pick in 462b1fc5efa3b1466431f72d354cc86532d90b74
Side effects
None

The only difference seems to be a deleted source code comment. Can you check this, @samchrisinger ?

@abought that's correct. See the conv. in https://github.com/CenterForOpenScience/osf.io/issues/4086

Closing in favor of: https://github.com/CenterForOpenScience/osf.io/pull/4239/files


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 6.3.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added missing packages in _libs

Coverage remained the same at 40.391% when pulling b5e17c1c6472a4d497a2cf3b4721fa96a2a5c78a on subhajitdatta:missing_packages into f358178073352bfc63606dc22b66e859860e7cdc on jabong:master.

Coverage remained the same at 40.391% when pulling b5e17c1c6472a4d497a2cf3b4721fa96a2a5c78a on subhajitdatta:missing_packages into f358178073352bfc63606dc22b66e859860e7cdc on jabong:master.


Weird dllist behaviour

Hey guys, no idea if this is being maintained still, but here goes. I wanted to use your doubly-linked-list module because I need one for an algorithm. I was doing some tests. Try the following code:
`import pyllist
dllist = pyllist.dllist
a = dllist([2.0])
for i in a:
print(i)
print("\n")
a.appendleft(1.0)
for i in a:
print(i)
print("\n")
a.appendright(3.0)
for i in a:
print(i)`
The output I get is this:
`2.0
1.0
2.0
1.0
3.0`
Where the hell has the 2.0 gone? Weirdly, if I try the same thing after initialising with say [2.0, 4.0], everything is fine. What do you think?

Hi. That was a bug, sorry about that. I've added tests for first and last nodes in all methods which mutate the list and resolved all detected problems.
I'll release the fixes as version 0.2 later today.


disabled_with not working with single button

Steps to reproduce:

Add button with following code in eRuby template

<%= button_tag :data => { :remote => "true", :url => some_path, :disable_with => '...' }, :type => :submit  do %>
  Submit
<% end %>

Click Submit

What happens:
Submission happens, but disabled_with has no effect, button does not change
What should happen:
Button label should change to "...".
Tested browsers:

Safari Version 9.0.3 (11601.4.4)
Chrome Version 48.0.2564.116 (64-bit)
Firefox 42

Note: same thing works with
<%= link_to some_path, :data => { :remote => "true", :url => some_path, :disable_with => '...' }, :type => :submit  do %>
  Submit
<% end %>

Retested on 1.2.0 and could not reproduce. Considering fixed in most recent release.


Improve sidebar: scroll to current page & adjust height

Closes #929
Closes #928
This PR:

Refactored the JS in classes (maintenance).
The sidebar now scrolls to highlight the current page.
The sidebar height was adjusted so that the footer does not overlap it.

How to test

Clone the PR.
Build the docs.
Open Examples > Versions
The sidebar should scroll and highlight the opened page.

Theme / Unit test workflows will be fixed by https://github.com/scylladb/sphinx-scylladb-theme/pull/1052

Thanks, @annastuchlik! I've incorporated your suggestion - now it saves the sidebar scroll position and restoring it when the page loads.


[Bug]: Git sync modal shows uncommitted changes after connecting app to git.

Is there an existing issue for this?

[X] I have searched the existing issues

Description
https://user-images.githubusercontent.com/80334441/236770355-73fc2234-8b3a-4a81-8d3b-000dbdc4733c.mov
Steps To Reproduce

Fork template 'Maintenance Order Management'
Connect app to git
Observe  uncommitted changes are shown.

Public Sample App
No response
Environment
Release
Issue video log
No response
Version
Release

@Parthvi12 Can you share the diff? What changes are committed to the repo?

@AnaghHegde : https://github.com/Parthvi12/test-123/commit/d8fcbcde468c3d105567c113e286bf1dbbc29c5e and this is initial commit: https://github.com/Parthvi12/test-123/commit/3ef2a2e0c66521b3d27308f6eaaa8554628180de

The datasource was deleted from the repo. Can you reproduce this here?

@AnaghHegde Yes on committing changes the datasource gets deleted but I didn't delete it from app as you can see in recording, I am able to reproduce this issue after connecting 'Maintenance Order Management' template to git.

@Parthvi12  - is this still reproducable?

@infinitetrooper This issue is still reproducible

While the maintenance order management template needs to be cleaned up to not require an extra commit, on the git front, we need to check why this is requiring an extra commit from the user as well. However, considering that this would mostly only impact templates/blocks, lowering the priority and disassociating from clean up.


[CONTRIBUTION]: Work on table Student

What do you want to see happening?
Work on the model students.

[ ] Reference UniqueClass ID

Relevant log output
No response

@AbhijithGanesh you asked me in #7 to request here.


release 0.2.0

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.44%. Comparing base (7eca33c) to head (9aa9222).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #53   +/-   ##
=======================================
  Coverage   65.44%   65.44%
=======================================
  Files          38       38
  Lines         958      958
=======================================
  Hits          627      627
  Misses        331      331

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Ctrl+Insert wrong behaviour in an autocomplete description

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.87.0
OS Version: Windows 10

Steps to Reproduce:

Create a new file, e.g. PHP:
<?php

Start typing any standard function, e.g.:
ech

Autocomplete pop-up will appear, suggesting the "echo" function with a description

( string $arg1 [, string $... ]): void
Output one or more strings

Select any text from the description,
Press CTRL+C and it will be sent to the clipboard.
E.g. you can copy and paste "Output one or more strings"
It's OK scenario.
Repeat from the step 2 to the step 4
Press CTRL+INS
Paste the text from the clipboard
Expected behaviour: selected text will appear
Actual: behaviour:
ech will appear

"CTRL+INS" has the same behaviour in the editor and other pop-up windows.
So it's a bug.
All extensions are disabled.

This works for me, e.g I can copy text from the description and it get's pasted correctly.

Press CTRL+INS

Not sure about this part. Is that a custom keybinding you can defined?

This works for me, e.g I can copy text from the description and it get's pasted correctly.

Press CTRL+INS

Not sure about this part. Is that a custom keybinding you can defined?

It is a standard Microsoft Windows keyboard shortcut for copy to the clipboard
https://support.microsoft.com/en-us/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec

Ctrl + C (or) Ctrl + Insert  -  Copy the selected item.
Ctrl + V (or) Shift + Insert  -  Paste the selected item.

Thanks for clarifying, mac user here. Tho, I can still not reproduce. It pastes correctly what I have copied from the suggestion details

I checked this bug now, 9 December 2024.
It is still reproduced on my Windows 10, VS Code Version 1.95.3

I am sorry that I am still confused here but you say "CTRL+INS" has the same behaviour in the editor and other pop-up windows." but also refer to docs that say "Ctrl + V (or) Shift + Insert". So, it also ctrl+ins on windows? Also, is this only with text copied from the suggest details or any clipboard text? Like copy any text and paste it in the editor via ctrl+ins?

"CTRL+INS" has the same behaviour in the editor and other pop-up windows.
is this only with text copied from the suggest details or any clipboard text?
I can't be sure, because I use standard Windows shortcuts for clipboard: CTRL+INS for for copy to clipboard and SHIFT+INSERT for paste from clipboard. I don't know, is there any issues with CTRL+C and CTRL+V in VSC because I don't use it. I use CTRL+INS and SHIFT+INSERT and I have no problem in other windows in VSC. I can only guess they has no problems with CTRL+C and CTRL+V because I have no problems with CTRL+INS and SHIFT+INSERT. So I made a conclusion, that their behaviour is the same. But I didn't check it. If you think it has any meaning I can check CTRL+C and CTRL+V behaviour in other VSC windows.
but also refer to docs that say "Ctrl + V (or) Shift + Insert".
https://support.microsoft.com/en-us/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec
"Ctrl + V (or) Shift + Insert - Paste the selected item."

So, is it also ctrl+ins on windows?
Sorry, I don't understand, what do you mean. "Ctrl + C (or) Ctrl + Insert - Copy the selected item."


Support for Jetbrains Rider

I love this visualizer, it takes a lot of the pain away of working with expression trees.
Unfortunately, I'm on Rider. What would it take to have this visualizer work with JetBrains Rider 2020.1.4?

I've never used Rider, so I have no idea what are its' capabilities and extension points. But I guess you have a couple of options.
The ExpressionTreeToString package provides multiple string renderings for an expression tree, and powers the source view of the visualizer. You can get pretty close to the visualizer's information using the C# and textual tree formatters:
// using ExpressionTreeToString;

Expression<Func<int, int, string>> expr1 = (i, j) => (i + j + 5).ToString();

// C# pseudocode
Console.WriteLine(expr1.ToString("C#"));
// prints the following:
/*
      (int i, int j) => i + j + 5.ToString()
*/

// prints a string with all the information in the visualizer's treeview
Console.WriteLine(expr1.ToString("Textual tree", "C#"));
/*
      Lambda (Func<int, int, string>)
          · Parameters[0] - Parameter (int) i
          · Parameters[1] - Parameter (int) j
          · Body - Call (string) ToString
              · Object - Add (int)
                  · Left - Add (int)
                      · Left - Parameter (int) i
                      · Right - Parameter (int) j
                  · Right - Constant (int) = 5
*/

I imagine Rider has something like the VS Watch window? You could reference the package in your project, and at runtime call the ToString extension method on the expression with the appropriate formatter.
If Rider allows you to import and use NuGet packages into the IDE environment only while debugging, you wouldn't have to modify your project.

To go further I have to elaborate on the visualizer architecture. For non-serializable types (like System.Linq.Expressions.Expression) VS requires there to be 2 DLLs:

The debuggee-side DLL is injected into the debugged process,, and generates serializable objects from the non-serializable debuggee-side objects. The serializable objects are then serialized and passed across to:
the debugger-side DLL, loaded by VS, which then uses these objects for the visualizer UI.

For this visualizer (and other visualizers I've written), there end up being 4 components:

Serialization models in the Serialization subfolder
Debuggee-side DLL, in the Debuggee subfolder

There are four components:

Serialization model -- generated from the original expression tree, with all the information the visualizer UI requires
Debuggee-side -- the class that sends the serialization models
UI components -- views and view-models that display the UI from the serialization models
Debugger-side -- requests information from the debuggee-side, in this case, the serialization models

I imagine Rider has a similar architecture for extending the IDE while in a debugging session. We'd need to

replace the debuggee-side DLL with whatever mechanism Rider uses to get information from the debuggee side, and
replace the debugger-side DLL with whatever mechanism is used by Rider to display dialogs/views while debugging.

If Rider supports opening a WPF window on the IDE side, then the serialization model and UI components can be reused independent of Visual Studio as is; and they are available as a NuGet package.
If Rider doesn't support opening a WPF window, I imagine quite a bit more work would be involved -- the entire UI would have to be recreated in whatever framework Rider does support.
(I apologize for the length; I'm trying to give a comprehensive response.)

@maurei Do you have any further thoughts on this?

Hey @zspitz thanks for the thorough elaboration. I will be getting back at this soon!

There is an issue filed on YouTrack for this.

I've written a small demo application showing how to use the UI controls outside of the VS debugger. I think creating a Rider extension would be a similar process.


Fix TestFlowAggregator failure on AntreaIPAM testbed

Fix https://github.com/antrea-io/antrea/issues/2980
In this PR, we change to comparing flow export time with flow start time in flow record instead of the test start time of the host running tests. So that the time difference between host and k8s pod will not cause the test failure.
Example logs on AntreaIPAM testbed: http://<IP_ADDRESS>:8080/job/antrea-flexible-ipam-e2e-for-pull-request/144/consoleFull
=== RUN   TestFlowAggregator/IPv4/RemoteServiceAccess
    flowaggregator_test.go:514: iperf started at<PHONE_NUMBER>, end at<PHONE_NUMBER>, output: Connecting to host <IP_ADDRESS>, port 5201
    flowaggregator_test.go:782: Flow passed condition with flowStartSeconds<PHONE_NUMBER>, flowEndSeconds<PHONE_NUMBER>, srcPort 40090 on host time<PHONE_NUMBER>
    flowaggregator_test.go:591: Data record with flowStartSeconds<PHONE_NUMBER>, flowEndSeconds<PHONE_NUMBER>, totalCount<PHONE_NUMBER>
    flowaggregator_test.go:591: Data record with flowStartSeconds<PHONE_NUMBER>, flowEndSeconds<PHONE_NUMBER>, totalCount<PHONE_NUMBER>
    flowaggregator_test.go:591: Data record with flowStartSeconds<PHONE_NUMBER>, flowEndSeconds<PHONE_NUMBER>, totalCount<PHONE_NUMBER>

We could see the iperf command is executed from<PHONE_NUMBER> to<PHONE_NUMBER> on host time, and the third flow record was received at<PHONE_NUMBER> on host time but having flowStartSeconds<PHONE_NUMBER> and flowEndSeconds<PHONE_NUMBER>.

/test-flexible-ipam-e2e

Codecov Report

Merging #2983 (23f965a) into main (0feed23) will increase coverage by 11.82%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #2983       +/-   ##
===========================================
+ Coverage   40.23%   52.06%   +11.82%
===========================================
  Files         166      289      +123
  Lines       20693    24531     +3838
===========================================
+ Hits         8326    12771     +4445
+ Misses      11558    10319     -1239
- Partials      809     1441      +632

Flag
Coverage Δ

kind-e2e-tests
31.10% <ø> (?)

unit-tests
40.22% <ø> (-0.02%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apiserver/certificate/certificate.go
69.86% <0.00%> (-6.85%)
:arrow_down:

pkg/apiserver/handlers/webhook/mutation_labels.go
24.71% <0.00%> (ø)

pkg/agent/types/networkpolicy.go
37.50% <0.00%> (ø)

pkg/apis/stats/register.go
81.81% <0.00%> (ø)

pkg/legacyapis/controlplane/install/install.go
100.00% <0.00%> (ø)

...rs/externalversions/security/v1alpha1/interface.go
100.00% <0.00%> (ø)

.../controller/egress/ipassigner/ip_assigner_linux.go
0.00% <0.00%> (ø)

...ientset/versioned/typed/ops/v1alpha1/ops_client.go
52.17% <0.00%> (ø)

pkg/legacyapis/system/install/install.go
100.00% <0.00%> (ø)

...s/externalversions/clusterinformation/interface.go
0.00% <0.00%> (ø)

... and 203 more

/test-flexible-ipam-e2e

/test-e2e

/test-e2e
/test-flexible-ipam-e2e

/test-e2e
/test-flexible-ipam-e2e

@dreamtalen "TestFlowAggregator/IPv4/LocalServiceAccess" still failed, is it related?

@dreamtalen "TestFlowAggregator/IPv4/LocalServiceAccess" still failed, is it related?

Please ignore, I was looking at wrong build.

/skip-conformance
/skip-networkpolicy
/test-ipv6-e2e
/test-ipv6-only-e2e


Automated cherry pick of #9973: fix(region): avoid clean all rules when sync secgroups

Cherry pick of #9973 on release/3.4.
#9973: fix(region): avoid clean all rules when sync secgroups

Codecov Report

Merging #9988 (60dad15) into release/3.4 (fc16c37) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@              Coverage Diff               @@
##           release/3.4   #9988      +/-   ##
==============================================
- Coverage         6.19%   6.14%   -0.05%
==============================================
  Files              761     150     -611
  Lines           118405   21165   -97240
==============================================
- Hits              7330    1300    -6030
+ Misses          110412   19716   -90696
+ Partials           663     149     -514

Flag
Coverage Δ

aFlag
6.14% <0.00%> (-0.05%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cloudcommon/db/metadata.go
5.04% <0.00%> (ø)

pkg/cloudcommon/db/opslog.go
1.36% <0.00%> (-0.01%)
:arrow_down:

pkg/cloudcommon/db/rbac.go
0.75% <0.00%> (-0.03%)
:arrow_down:

pkg/cloudcommon/db/sharablebase.go
6.01% <0.00%> (-0.06%)
:arrow_down:

pkg/cloudprovider/instance.go
0.00% <ø> (ø)

pkg/cloudprovider/securitygroup.go
0.00% <0.00%> (ø)

pkg/compute/regiondrivers/aliyun.go
0.79% <ø> (+0.45%)
:arrow_up:

pkg/compute/regiondrivers/aws.go
0.97% <ø> (-0.13%)
:arrow_down:

pkg/compute/regiondrivers/azure.go
63.63% <ø> (-3.04%)
:arrow_down:

pkg/compute/regiondrivers/base.go
1.14% <ø> (+0.01%)
:arrow_up:

... and 549 more

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 6f8400a...60dad15. Read the comment docs.

Codecov Report

Merging #9988 (60dad15) into release/3.4 (fc16c37) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@              Coverage Diff               @@
##           release/3.4   #9988      +/-   ##
==============================================
- Coverage         6.19%   6.14%   -0.05%
==============================================
  Files              761     150     -611
  Lines           118405   21165   -97240
==============================================
- Hits              7330    1300    -6030
+ Misses          110412   19716   -90696
+ Partials           663     149     -514

Flag
Coverage Δ

aFlag
6.14% <0.00%> (-0.05%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cloudcommon/db/metadata.go
5.04% <0.00%> (ø)

pkg/cloudcommon/db/opslog.go
1.36% <0.00%> (-0.01%)
:arrow_down:

pkg/cloudcommon/db/rbac.go
0.75% <0.00%> (-0.03%)
:arrow_down:

pkg/cloudcommon/db/sharablebase.go
6.01% <0.00%> (-0.06%)
:arrow_down:

pkg/cloudprovider/instance.go
0.00% <ø> (ø)

pkg/cloudprovider/securitygroup.go
0.00% <0.00%> (ø)

pkg/compute/regiondrivers/aliyun.go
0.79% <ø> (+0.45%)
:arrow_up:

pkg/compute/regiondrivers/aws.go
0.97% <ø> (-0.13%)
:arrow_down:

pkg/compute/regiondrivers/azure.go
63.63% <ø> (-3.04%)
:arrow_down:

pkg/compute/regiondrivers/base.go
1.14% <ø> (+0.01%)
:arrow_up:

... and 549 more

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 6f8400a...60dad15. Read the comment docs.


How to handle authentication handling a connection pool

Hi there!
First of all, great work you have done with this module! It's simple, flexible and awesome. This is not an issue, but a question. I've been reading on the best way to authenticate users against my server and how to handle the connection pool. Since I'm not sure if it is better to create a connection per new connection so as to authenticate a new user or to have connections already open and serve from them. If it is the second case, I wouldn't know how to handle the authentication process properly. I'd really appreciate an advice this is my first time struggling with user authentication and connection pooling.
Thanks in advance!
Damian

First of all the good news is that there is no need to implement a connection pooling since mongodb-native driver in the background of mongojs already implements a connection pool.
Do you want to authenticate your users against mongodb users?

That's cool, thanks for you quick response! Yes, my idea is to authenticate users against mongodb users collection (created for the database I want them to use). My architecture for now is a web client that after authenticating users sends messages with a json web token to a rest api (in node obviously) that persists its data in Mongo (users included there). Sorry if I was repetitive, I wanted to give you an idea of my whole panorama.

That will not scale nor really work out well since one connection (pool) created via mongojs is bound to exactly one user, that means 100 logged in users => 100 connection pools => about 500 (i guess 5 connections per pool) connections open AND you have to manage connections by hand. How will you detect that a user does not need it's server kept connection anymore?
Take a look at passport (http://passportjs.org/) to get an idea on how to handle authentication efficiently.

Perhaps you could close this issue - I guess stackoverflow is a better discussion platform than github issues :+1:

No doubts, thanks again for your help!


explosion problem!

Mod Version:
1.10.2
Forge Version:
forge1.10.2-<IP_ADDRESS>4
Link to crash log (if applicable):
Description:
Any type of explosion makes a strange effect like this:

Yes.  Its the enhanced explosion.  DS adds additional particles for an explosion.  It only occurs when a large explosion occurs on the client.  You can turn it off in the config if you want.

thanks for the fast rply! Sorry for calling it a bug! my bad ;P

No worries.  I would rather handle these then let true bugs get lost. :)


Grapher: Add live view

Is it possible to add a live view to the Grapher? It would be nice to not have to manually change pages each time a new dataset is taken.

Closed as #115 merged in.


Updated configuration example file: info about validation methods

Description
Updated configuration example file: info about validation methods
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[x] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)
[ ] CI configuration change
[ ] Konflux configuration change

/lgtm

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.93%. Comparing base (ad570c2) to head (739d1c3).
Report is 10 commits behind head on main.

Additional details and impacted files

@@             Coverage Diff             @@
##             main    #1888       +/-   ##
===========================================
+ Coverage   73.46%   93.93%   +20.46%
===========================================
  Files          61       63        +2
  Lines        2755     2852       +97
===========================================
+ Hits         2024     2679      +655
+ Misses        731      173      -558

see 34 files with indirect coverage changes

/test images

/approve

/override "ci/prow/verify"


Rework of Image Loading and Color Format Conversion using GLI and possibly glut

Completing the ECF_ enum table and conversions.

void IVideoDriver::convertColor(const void* sP, ECOLOR_FORMAT sF, int32_t sN, void* dP, ECOLOR_FORMAT dF) const should find a new home and be a template function of color formats.

oh boy, dont we have a lot of formats
https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VkFormat.html

VK_FORMAT* should have matching ECF_ enumerations
There is a isFormatCompressed which should be moved simply into the video namespace
Also a number of helper functions like getCompressed***BlockSize should get removed and replaced with video::getTexelOrBlockSize
https://github.com/buildaworldnet/IrrlichtBAW/blob/master/include/IVideoCapabilityReporter.h should report whether the particular instance supports a given color format (OpenGL supports a lesser subset than Vk 1.1, and even then vk 1.1. only supports certain formats sometimes)

I would recommend defining colour conversions as:
template<ECOLOR_FORMAT sF, ECOLOR_FORMAT dF> inline convertColor(const void* srcPix, void* dstPix)
where the srcPix and dstPix are assumed to be multiples of entire texels/blocks for uncompressed and compressed formats respectively. The general non-specialized function would get the output format block-size (1x1 for uncompressed), decode the input pixels to the highest precision available (64bit per-channel) of signed/unsigned/double-floating-point with template<ECOLOR_FORMAT fmt, typename T> inline void decodePixels(const void* pixels, T* outValues) (only implemented for T=uint64_t,int64_t,double).
Then the highest precision decoded input will get encoded into the destination format with template<ECOLOR_FORMAT fmt, typename T> inline void encodePixels(const T* inValues, void* outBlockTexel) (same conditions on T).
So our function would look more or less like this:
template<ECOLOR_FORMAT sF, ECOLOR_FORMAT dF>
inline convertColor(const void* srcPix, void* dstPix)
{
	typedef pixelPrecisionFmt ...; // whatever you need; uint64_t, int64_t, double

	uint64_t someStackSpace[LARGEST_BLOCK_SIZE_X*LARGEST_BLOCK_SIZE_Y*LARGEST_BLOCK_SIZE_Z][4]; // decode and encode already know the pitch sizes from the defines
	// some control loop
	{
		// a number of calls to
		decodePixels<sF>(srcPix+inBlockOffset,someStackSpace+outOffset);
	}
	// another control loop
	{
		// a number of calls to
		encodePixels<dF>(someStackSpace+inOffset,dstPix+outBlockOffset);
	}
}

There would be an obvious issue of when you'd have a format with a 4x4x1 block size and another with a 16x2x1 block size, etc., then you'd need to find the greatest common divisor of the input and output block size for every axis (and LARGEST_BLOCK_SIZE_ would be the maximum out of that). Then the convertColor functions (static templated and dynamic) would assume that srcPix and dstPix point to enough blocks.
Maybe an inline void getConversionFootprint(ECOLOR_FORMAT sF, ECOLOR_FORMAT dF, uint32_t footprintSize[3]) function would be handy to know how far the conversion function will advance for a combination of two formats.
Then the run-time function could either be massive switch statement (or a function call to a pointer from an array of function pointers) built in two stages:
namespace impl {
	template<ECOLOR_FORMAT sF>
	inline void convertColor_Impl(const void* sP, void* dP, ECOLOR_FORMAT dF)
	{
		switch (dF)
		{
			...
			case ECF_XYZ;
				convertColor<sF,ECF_XYZ>(sP,dP);
				break;
			...
		}
	}
}

inline void convertColor(const void* sP, ECOLOR_FORMAT sF, void* dP, ECOLOR_FORMAT dF)
{
	switch (sF)
	{
		...
		case ECF_XYZ;
			impl::convertColor_Impl<ECF_XYZ>(sP,dP,dF);
			break;
		...
	}
}

I personally think that a switch statement (maybe populated from a #preprocessor MACRO) is a better aproach as it requires no global table to populate (and hence invoke and instantiate every specialization),
an inline function could be optimized out by the compiler to not instantiate every template function.
Finally the specialization approach allows us to explicitly specialize certain format conversions, such as RGB8 to RGBA8 or R16F to R64F, without resolving to higher precision formats or dealing with more channels than necessary.

@Crisspl some questions:

Is the E_FORMAT enumeration is full and complete?
Are the driver format support queries done (vertex, FBO attachment, storage image, etc.) to parity with what can be queried from Vulkan Hardware Database?

Depends on whether you want E_FORMAT to include ETC2 and EAC formats even though we don't use them at all (license). Probably yes (since ASTC has similar situation and it got its place in the enum), so i'll add it in incoming commits.
No, it was lacking something. See your comments in newest commits of my format branch and you'll know what is sit :P

Depends on whether you want E_FORMAT to include ETC2 and EAC formats even though we don't use them at all (license). Probably yes (since ASTC has similar situation and it got its place in the enum), so i'll add it in incoming commits.

I dont want software decode encode, just the enum so I can update raw format-compatible data to OpenGL/Vulkan block compressed texture.

No, it was lacking something. See your comments in newest commits of my format branch and you'll know what is it :P

Can you find the "something"

Can you find the "something"

https://github.com/Crisspl/IrrlichtBAW/commit/b01d2989207a7c0263b12faad06436763cb5750a#r31620282
https://github.com/Crisspl/IrrlichtBAW/commit/b01d2989207a7c0263b12faad06436763cb5750a#r31620277


Cached response

Love the extension but it seems to be stuck in returning a cached response for me. I'm getting the todo I first added, but after updating the file in question with several more (and also removing the first todo), I'm still getting that first todo returned (and none of the new ones).

Have you tried clicking on the TODO icon in the bottom status bar?

Yes, I've used both that and the command list. Same response.
On Fri, 24 Mar 2017, 01:23 pmcoz<EMAIL_ADDRESS>wrote:

Have you tried clicking on the TODO icon in the bottom status bar?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kantlove/vscode-todo-parser/issues/58#issuecomment-288899182,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHF41XMSHQFn0lLiNYj1Q2DD22wg3aoks5rowzmgaJpZM4MmRK7
.

I also tried with clearing the console output, restarting Visual Studio Code and un- and reinstallning the extension.

Hi @annalinneajohansson,
Can you try switching to another file and switch back?

No luck; now I'm instead getting No TODOs found.
I've tried a couple of different markers to, but it doesn't detect any of them: @todo, @TODO, TODO and TODO:
I'm on Ubuntu 16.10, GNOME 3.20.4 in case that makes any difference @kantlove

Found the issue: I'd added my TODO:s in docblocks as so:
`/**

TODO
*/`

and it doesn't seem to detect them when I do so.

Can I know what language you are using?

The files I've tested are in PHP

@annalinneajohansson thank you for reporting this 👍
The extension cannot recognize multi-line comments starting with /** (2 asterisks)
But this is fixed in v1.8.10