[fix][issues-11517] cannot select project when create depend task

Purpose of the pull request

Brief change log
close #11517

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Codecov Report

Merging #11518 (f01cbc9) into dev (2a7e0be) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev   #11518      +/-   ##
============================================
- Coverage     39.36%   39.35%   -0.02%
+ Complexity     4630     4628       -2
============================================
  Files           987      987
  Lines         37566    37556      -10
  Branches       4184     4176       -8
============================================
- Hits          14789    14781       -8
- Misses        21226    21227       +1
+ Partials       1551     1548       -3

Impacted Files
Coverage Δ

...erver/master/processor/queue/TaskEventService.java
75.00% <0.00%> (-5.36%)
:arrow_down:

...org/apache/dolphinscheduler/remote/utils/Host.java
42.55% <0.00%> (-2.13%)
:arrow_down:

...uler/plugin/task/api/k8s/impl/K8sTaskExecutor.java
35.00% <0.00%> (-1.54%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
51.38% <0.00%> (-1.39%)
:arrow_down:

...r/plugin/task/sqoop/parameter/SqoopParameters.java
55.12% <0.00%> (-1.29%)
:arrow_down:

...rver/master/runner/task/BlockingTaskProcessor.java
75.86% <0.00%> (-0.55%)
:arrow_down:

...eduler/api/service/impl/DataSourceServiceImpl.java
27.90% <0.00%> (ø)

...cheduler/server/master/utils/DependentExecute.java
0.00% <0.00%> (ø)

...api/service/impl/ProcessDefinitionServiceImpl.java
32.27% <0.00%> (ø)

.../server/master/runner/StateWheelExecuteThread.java
0.40% <0.00%> (ø)

... and 12 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Hi @rusonding , as @SbloodyS said, the ordinary user should not be allowed to query the project without authorize.
I will close this pr, you can reopen it if you want it.

I think it's better to auto authorize the project to its creater, WDYT?

close by #11961


Logged exceptions are useless

Maybe broken since we use fastlane gym.
Maybe broken since Apple introduced bit code (however, we disabled bit code).
description: SQL error 101: not an error

errorMessage: 0   CoreFoundation                      0x0000000189d0eff8 <redacted> + 148
1   libobjc.A.dylib                     0x0000000188770538 objc_exception_throw + 56
2   be-geetbets                         0x000000010025125c be-geetbets + 1577564
3   be-geetbets                         0x000000010045dc1c be-geetbets + 3726364
4   be-geetbets                         0x0000000100250d90 be-geetbets + 1576336
5   be-geetbets                         0x0000000100239b78 be-geetbets + 1481592
6   be-geetbets                         0x000000010045ddac be-geetbets + 3726764
7   be-geetbets                         0x000000010023974c be-geetbets + 1480524
8   be-geetbets                         0x00000001002273fc be-geetbets + 1405948
9   be-geetbets                         0x000000010015ff1c be-geetbets + 589596
10  be-geetbets                         0x0000000100137db0 be-geetbets + 425392
11  be-geetbets                         0x0000000100138d70 be-geetbets + 429424
12  be-geetbets                         0x0000000100139338 be-geetbets + 430904
13  be-geetbets                         0x0000000100116de4 be-geetbets + 290276
14  CFNetwork                           0x000000018a4e8f54 <redacted> + 36
15  be-geetbets                         0x00000001002f1068 be-geetbets + 2232424
16  Foundation                          0x000000018a7de854 <redacted> + 16
17  Foundation                          0x000000018a7237b0 <redacted> + 96
18  Foundation                          0x000000018a713b68 <redacted> + 612
19  Foundation                          0x000000018a7e0bf0 <redacted> + 228
20  libdispatch.dylib                   0x0000000188bc69a0 <redacted> + 16
21  libdispatch.dylib                   0x0000000188bd4ad4 <redacted> + 928
22  libdispatch.dylib                   0x0000000188bca2cc <redacted> + 884
23  libdispatch.dylib                   0x0000000188bd6a50 <redacted> + 540
24  libdispatch.dylib                   0x0000000188bd67d0 <redacted> + 124
25  libsystem_pthread.dylib             0x0000000188dcf100 _pthread_wqthread + 1096
26  libsystem_pthread.dylib             0x0000000188dcecac start_wqthread + 4

mobicageVersion: 2.0.2081.i

occurenceCount: 1

platform: 7

platformVersion: 10.3.3

We are going to test Crashlytics
https://fabric.io/kits/android/crashlytics/install
https://fabric.io/kits/ios/crashlytics/manual-install

We'll have to make sure that BUG() and L.bug() report to Crashlytics as well.


[chore] Fix some clippy warnings

This PR fixes some warnings when running cargo clippy

Hi @quangIO thanks for contributing to wg-rs!
Commit looks good to me.
If I can get you to sign-off on the commit, then I will merge it into the repo upstream.

Thanks for reviewing! I added the sign-off line

Merged! Thanks for your help!


SketchBook recipes

• changed download to scrape https://www.autodesk.com/products/sketchbook/free-download vs via HombrewCaskURL
• Removed versioning steps from .download and added to .pkg
• Added PathDeleter to .pkg

Looks good, thanks!


Defaulting to "primary" variant overwrites multiple variants

Example
const theme = {
 button: {
  primary: {
   bg: 'green'
  },
  secondary: {
   bg: 'blue'
  }
 }
};

...

/* This style is not applied because primary being the default variant takes precedence because singular variants take
precedence over multi variants */
<Button variants=['secondary'] />

Dripsy Code
In css/index.tsx
...
export function mapPropsToStyledComponent<P, T>(
  props: StyledProps<P>,
  options: ThemedOptions<T>
) {
  const {
    themeKey,
    defaultStyle,
    /* This needs to be removed or handled differently */
    defaultVariant = 'primary',
    defaultVariants = [],
  } = options
...

That's interesting. What if we changed variants to primary by default, would that create the right behavior?

I think a combination of adding the primary variant as default in the variants array and making the variants array take precedence would solve this.


Colab misses 4stage_multimer_beta.json for beta-sheet option

Hi Martin,
thanks for the great Colab!
Unfortunately, the colab seems to miss a file for the beta-sheet mode. It throws: FileNotFoundError: [Errno 2] No such file or directory: '/content/bindcraft/settings_advanced/4stage_multimer_beta.json'
Best,
Jens

Thank you for the report! I fixed it now


Problem with Prettier

After the last pull I am getting an error that there is a problem with prettier configuration ["INFO" - 7:39:20 PM] Extension Name: "prettier-vscode". ["INFO" - 7:39:20 PM] Extension Version: "3.20.0". ["INFO" - 7:39:20 PM] Enabling prettier for languages [   "css",   "graphql",   "html",   "javascript",   "javascriptreact",   "json",   "json5",   "jsonc",   "less",   "markdown",   "mdx",   "mongo",   "postcss",   "scss",   "typescript",   "typescriptreact",   "vue",   "yaml" ] ["INFO" - 7:39:20 PM] Enabling prettier for range supported languages [   "graphql",   "javascript",   "javascriptreact",   "json",   "typescript",   "typescriptreact" ] ["INFO" - 7:39:30 PM] Formatting /Users/adham/Work/corona/orginal/Corona-tracker/client/src/components/Table.js ["ERROR" - 7:39:30 PM] Invalid prettier configuration file detected. ["ERROR" - 7:39:30 PM] Cannot find module '@blockstack/prettier-config' from '/Users/adham/Work/corona/orginal/Corona-tracker/client' Error: Cannot find module '@blockstack/prettier-config' from '/Users/adham/Work/corona/orginal/Corona-tracker/client' 	at Function.sync (/Users/adham/.vscode/extensions/esbenp.prettier-vscode-3.20.0/node_modules/prettier/index.js:15946:13) 	at Object.transform (/Users/adham/.vscode/extensions/esbenp.prettier-vscode-3.20.0/node_modules/prettier/index.js:22820:36) 	at /Users/adham/.vscode/extensions/esbenp.prettier-vscode-3.20.0/node_modules/prettier/third-party.js:4550:32 	at async Promise.all (index 0) ["INFO" - 7:40:19 PM] Formatting /Users/adham/Work/corona/orginal/Corona-tracker/client/src/components/Table.js ["ERROR" - 7:40:19 PM] Invalid prettier configuration file detected. ["ERROR" - 7:40:19 PM] Cannot find module '@blockstack/prettier-config' from '/Users/adham/Work/corona/orginal/Corona-tracker/client' Error: Cannot find module '@blockstack/prettier-config' from '/Users/adham/Work/corona/orginal/Corona-tracker/client' 	at Function.sync (/Users/adham/.vscode/extensions/esbenp.prettier-vscode-3.20.0/node_modules/prettier/index.js:15946:13) 	at Object.transform (/Users/adham/.vscode/extensions/esbenp.prettier-vscode-3.20.0/node_modules/prettier/index.js:22820:36) 	at /Users/adham/.vscode/extensions/esbenp.prettier-vscode-3.20.0/node_modules/prettier/third-party.js:4550:32 	at async Promise.all (index 0)

Did you try a yarn install
It seems that you are missing some packages:
Error: Cannot find module '@blockstack/prettier-config''
if yarn install doesn't work, then try yarn add @blockstack/prettier-config

There is a duplicated devDependency entry, my fault, sorry!


M5Core2 build error AXP.h:34:37: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'?

Describe the bug
Build Basics/display/display.ino
M5Core2 build error
In file included from c:\Users\user1\Documents\Arduino\libraries\M5Core2\src/M5Core2.h:19:
c:\Users\user1\Documents\Arduino\libraries\M5Core2\src/AXP.h: At global scope:
c:\Users\user1\Documents\Arduino\libraries\M5Core2\src/AXP.h:34:37: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'?
   34 | bool writeRegister8Array(const std::uint8_t *reg_data_array,
      |                                     ^~~~~~~
      |                                     wint_t

To reproduce
Build Basics/display/display.ino
Expected behavior
Build example
Screenshots
m5stack_core2_build.log

No response
Environment

OS:
IDE &IDE Version: 2.3.3
Repository Version: 0.1.9

Additional context
No response
Issue checklist

[X] I searched for previous reports in the issue tracker
[X] My report contains all necessary details

The ESP32 version needs to be below 3.x, you can use this https://github.com/espressif/arduino-esp32/releases/tag/2.0.17

Hello, I have the same problem, I have downgraded to 2.0.17 and it compiles but with errors, when will you support esp version 3?

After waiting for M5Unified to fully adapt to IDF 5.x.x, we will support esp verison 3.

Hello, I have the same problem, I have downgraded to 2.0.17 and it compiles but with warnings, when will you support esp version 3?

After waiting for M5Unified to fully adapt to IDF 5.x.x, we will support esp verison 3.After waiting for M5Unified to fully adapt to IDF 5.x.x, we will support esp verison 3.


fix: remove leading zeros from all jwk exported fields

The key export code in android\src\main\java\com\pedrouid\crypto\RCTRsaUtils.java in function exportKey generates invalid JWK objects - it encodes the numbers with the leading 0 indicating a positive number. This is against the RFC 7518 which explicitly states that all numbers are positive and should be represented in big endian with the minimum number of bytes - i.e. no leading zeros under any circumstances.
This causes an issue where if a user resets their E2E key on a mobile device, they cannot then use their E2E password in the browser, the browser code rejects the invalid JWK.

Just an update related to this PR here, we currently follow the pattern of separating versions by branch, so I created a branch with the name 0.5.2 and also created a PR in our repo applying this new version.


customise response Headers as well as payloads

refs https://github.com/danielspaniel/ember-data-factory-guy/issues/156#issuecomment-162867001
As discussed, rename returns* and andReturn method in mock classes to returns. The method takes an object literal and will allow to configure payloads (with keys models, ids and json) as well as headers (with key headers).

Can now achieve this in version 2.3.0 with
   let mock = mockFindAll('user').returns({headers: {'X-Man': "Wolverine"});
   mock.returns({headers: {'X-Weapon': "Claws"});


General improvements of decompilation quality

In this issue i will upload a bunch of files that were reported to have poor output quality in multiple tickets in our private issue tracking system.
They can be taken one-by-one, problems analyzed, fixed, and regression tests added.

Improve results for all samples in retdec-regression-tests/samples/bashbot/.

This is a good source code to play with bitmap.zip.


Bump Version please

I get this message now:
Warning: Your version of Pivnet CLI (0.0.59) does not match the currently released version (0.0.58).

Thank you for raising this issue.  It's likely because we released a new version of Pivnet CLI but haven't deployed a new instance of the server yet.  I'll look into it.

As of Pivnet CLI 0.0.70 this issue should be fixed.


docs: Adds MongoDBAtlasVectorSearch to VectorStore list compatible with Indexing API

Adds MongoDBAtlasVectorSearch to list of VectorStores compatible with the Indexing API.
(One line change.)
As of  langchain-mongodb = "0.1.7", the requirements that the VectorStore have both add_documents and delete methods with an ids kwarg is satisfied. #23535 contains the implementation of that, and has been merged.

Can we also include update for [v0.1] of the docs: https://python.langchain.com/v0.1/docs/modules/data_connection/indexing/#requirements

Can we also include update for [v0.1] of the docs: https://python.langchain.com/v0.1/docs/modules/data_connection/indexing/#requirements

To what branch would I submit a PR to get this change into the [v0.1] docs?

https://github.com/langchain-ai/langchain/tree/v0.1


Implement golden tests

This was required to include the golden files for CI tests: https://github.com/mlabs-haskell/flake-lang.nix/pull/51


CircleCI Sync up & Fixes

@enykeev I see your suffering :)
The issue when you got random failures for st2chatops builds:
is resolved here.
As you see, it's not random false-positive/false-negative or whatever, but the way how docker binds (sometimes) in network interfaces.
I also polished a bit circle.yml logic, that could bite you for sure in any future.
The important change is related to release machinery to make it conform with existing st2 approach: /v[0-9]+\.[0-9]+/.
See: StackStorm/st2#2453 for more info

CircleCI build is triggered only when you push changes to master or vX.Y like v0.13 branch
CircleCI build should be never triggered when you push changes in patch vX.Y.Z branch like v0.13.3

Overall list of changes:

[x] Fix: Docker IP and failed builds
[x] Fix: Use DISTRO for release discovery
[x] Follow st2 release strategy
[x] remove unneeded docker-compose.circle.yml, so you run docker-compose run wheezy build
[x] Store logs for each parallel DISTRO

I would also replace ST2_HOSTNAME env variable with ST2_HOST for consistency, since it could be IP and you even say that in docs:

Set a hostname or IP address that will be accessible form a docker container, as $ST2_HOSTNAME environment variable:

@armab oh, that's amazing! Thank you very much! I had a feeling it might be related to host ip, but had been pretty much drained at that point to try.
As for ST2_HOSTNAME and ST2_HOST, I don't know about everywhere else, but in web dev there is a clear distinction between the two (https://stackoverflow.com/questions/6725890/location-host-vs-location-hostname-and-cross-browser-compatibility) and since in our case the ports are hardcoded, I'd like to keep it as it is.

@enykeev got it, makes sense.
Then I'm merging this.


Transactions fail to be committed

Describe the bug
I use the testing programs to send 500000 transactions to a group with 4 nodes, it seems that over 100 of the transactions cannot be committed successfully.

To Reproduce
Steps to reproduce the behavior:

Setup a group with 4 nodes, each with a small size of tx pool.
Constantly sending txs to the group
The tx pool of some nodes are full and txs forwarded from other nodes are rejected
If the tx pool of the leader node is empty and  the txpool of less than f nodes are empty,  the txs of non-leader node will not be handled, the bug will be triggered.

Expected behavior
All transactions should be commited successfully.
Environment (please complete the following information):

OS: Ubuntu 20.04
FISCO BCOS release-3.0.0-rc2

Bug analysis

After the txppool is full, the current logic will reject the txs forwarded by other nodes from P2P, resulting in some txs only exist in less than f nodes
As the stress test progresses, txs in the txpool with more than (2*f+1) nodes will be processed, causes the txpool of more than (2f+1) nodes are empty and less than (f) nodes are non-empty.
If the subsequent consensus leader does not belong to the non-empty node combination, it will not seal and generate new block, resulting in some transactions not being processed.

Solution
参考 PR #2123

Even if the node txpool is full, accept txs forwarded from P2P by other nodes, ensure that txs received by some consensus node are broadcast to all other consensus nodes that may act as leaders


Fixes the missing menu-icon

The generator missed the menu-icon include after the version bump to
6.2.0. This PR adds the menu-icon to the foundation_and_overrides.scss.
The _menu-icon.scss was added in this commit:
https://github.com/stefanvermaas/foundation-rails/blob/c0ee2a1a85c36f4089a2e8a6ca25c93c1357141d/vendor/assets/scss/components/_menu-icon.scss
Cheers!

Dups #175 I merged before seeing this.
Thanks


add unit test for Dispatcher init()

Coverage remained the same at 46.235% when pulling 43da0559948cee02654ec92093ab67b687652f5f on sullis:DispatcherTest-init into 61ed292b8c2fd8228d18b82a5c55ddc72f40bdd3 on apache:master.

LGTM :+1:


Ability to disable publishing for plan branches.

It would be nice to have a checkbox to categorically/automatically disable publishing (both artifacts and buildInfo) for plan branches. I can do things like set the Maven Goals in the task to use a plan variable and override its value in the branch plan, but I still have to edit the task to disable both the artifacts and buildinfo individually, for every branch plan. This makes Bamboo's automatic plan branching problematic because it will automatically run a build of a newly created branch plan.

Actually it seems that tasks can't currently be modified/overridden in plan branches.
https://jira.atlassian.com/browse/BAM-13257
https://jira.atlassian.com/browse/BAM-12761
So if the plan is configured to have the Artifactory Maven 3 builder task publish artifacts and/or build info, all branches are forced to do so unless the Maven goal does not run either the package or install targets. But when building Eclipse plugin project with the Tycho maven plugins, tests are only run in the  integration-test phase, which requires running the package goal.
How is the Artifactory Maven 3 builder task intended to be used with plan branches? I had wanted to have developers committing their work-for-review to a branch, automatically verified with a gatekeeper merge back to master (without commit). But it seems impossible to do this without also publishing the artifacts from the branch build. But the changes on the branch would not have been reviewed until there's a Pull Request submitted, so the artifacts from the branch should not be published (and if the artifacts aren't published I don't want a buildInfo published either).

Here is something that might help. You can conditionally disable artifacts and build info deployment to Artifactory for Maven, Gradle and Ivy tasks by passing 2 system properties to the build tool:
artifactory.publish.artifacts and artifactory.publish.buildInfo
You can pass these properties to your Maven command as follows:
clean install -Dartifactory.publish.artifacts=false -Dartifactory.publish.buildInfo=false
The values for system properties can be controlled with Bamboo variables, using different values for branches. Please let me know what you think. We'll add this information to the plugin documentation.

That sounds like a good workaround. But a checkbox in the task would still be the preferred solution. I think once there's a manual configuration change needed on the plan branch then Bamboo's automatic branch plan creation would need to be disabled. Otherwise there will always be at least one build from the branch without the configuration change (because I don't see an option for the automatic plan branches to be created disabled).


Run system tests with a Docker cluster

@hexedpackets can you make an issue for this task when you have a minute?

Created #631

Going to close this out and make a new one since I need to update the branch to circle CI anyway.


Feat/generate animation

Create method to interpolate the latents on an input list [latent1, latent2].
Also adds the save_video method that may not be needed or shouldn't go in this branch but is needed to be able to test this and see the results.

Should we refactor this code and get only the things we need?


Emit events for all known types

In this PR we enable ProtoData plugin authors to listen to Protobuf compiler events that describe types from dependencies.
Previously, events like TypeEntered were only emitted for Proto definitions from within the module that ProtoData is processing. This is good for many cases, since this removes the need to check whether or not any code has to be generated based on a given event. However, this limited the users to only the types defined in the module. There was no way to know about a Proto message type from outside the module.
Now, we introduce a new DepdendencyDiscovered event and a ProtobufDependencyFile view. The two new types allow ProtoData plugin authors to generate code with awareness of the module's dependencies.

@armiol, @alexander-yevsyukov, PTAL.
This is a small yet consequential change set. Let's further discuss it a video call if necessary.

@armiol, PTAL.

@armiol, @alexander-yevsyukov, PTAL at the changes and my comments.

@alexander-yevsyukov, @armiol, PTAL again.

@alexander-yevsyukov, PTAL again.


1.6.1: add opuspic2tag

add opuspic2tag - tools for generate METADATA_BLOCK_PICTURE

It’s true opustags currently lacks proper support for cover pictures, but your tool does not seem to integrate to opustags at all. Why not maintain it in a different repository?

@fmang say:

but your tool does not seem to integrate to opustags at all.

What??? :astonished: :open_mouth: :frowning: :no_mouth:

@fmang say:

Nowhere in the documentation you wrote do you mention how to add a cover art to an Opus file

Like everything else.
@fmang say:

It’s pretty clear that you didn’t design your tool for opustags in the first place.

No, opuspic2tag was originally developed for opustags. And only recently ported to opuscomment.
@fmang say:

I expect you to make smaller pull requests

No. Your position is lie. I don't intend to deal with you in the future.
Summary:  :astonished: :open_mouth: :frowning: :no_mouth:


Move paddlecloud to python folder

Fixed #590
And we also need to fix the Dockerfile path on teamcity.

I shall update the README.md after this merged according to https://github.com/PaddlePaddle/cloud/issues/591.


Error 500 when migrating a repository if the name already exists

Gitea version (or commit ref): I'm on master, but I can reproduce the error on try.gitea.io
Git version: 2.11.0
Operating system: Raspbian
Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes
[ ] No
[ ] Not relevant

Log:2018/06/11 18:09:20 [...routers/repo/repo.go:146 handleCreateError()] [E] MigratePost: repository already exists [uname: tforgione, name: model-converter-python]

Description
Basically, trying to migrate a repository on a repository whose name already exists gives error 500.
Screenshots

I hope this helps.

@tforgione Thanks for the bug report. I'm closing this as it is a dupe of #4140

Ah, sorry, should've looked better...


Add activate.sh to .bash_profile only once

Currently the init.sh script will add it multiple times.

Benefit of solution is that it will also not add it again if commented out with #


Crossbuild script produces incomplete results with invalid architectures

Using latest master d2ef4cfd07e258cef92cabe214f290fab7c239e8
I am running ./crossbuild.sh, which finishes with cmd/go: unsupported GOOS/GOARCH pair darwin/386. /tmp/mgbins/ only contains memgator-linux-386 & memgator-linux-amd64 , which indicates that this error prematurely exited and/or did not build every permutation.
go version go1.16.3 darwin/amd64
EDIT: PR incoming.

Golang has been working on removing support for darwin/386 for 1.15 and above. I see very little value in building and releasing 32-bit binaries of any platforms, because the audience of this tool is likely using a 64 bit machine. That said, if one wants to build it for a peculiar OS/Arch combo, they can do so manually.


bazel_6: 6.3.2 -> 6.4.0

Description of changes
Bazel 6.4.0 is a minor LTS release. It is fully backward compatible with Bazel 6.0 and contains selected changes by the Bazel community and Google engineers.
See https://github.com/bazelbuild/bazel/releases/tag/6.4.0
Note: I still need to update the sha256 hashes of the dependants. That's why this is still a draft...
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 262238 run on x86_64-linux 1

44 packages marked as broken and skipped:

python310Packages.dalle-mini
python310Packages.dalle-mini.dist
python310Packages.distrax
python310Packages.distrax.dist
python310Packages.dm-sonnet
python310Packages.dm-sonnet.dist
python310Packages.elegy
python310Packages.elegy.dist
python310Packages.flax
python310Packages.flax.dist
python310Packages.rlax
python310Packages.rlax.dist
python310Packages.tensorflow-datasets
python310Packages.tensorflow-datasets.dist
python310Packages.tensorflow-probability
python310Packages.tensorflow-probability.dist
python310Packages.treeo
python310Packages.treeo.dist
python310Packages.treex
python310Packages.treex.dist
python310Packages.trfl
python310Packages.trfl.dist
python310Packages.vqgan-jax
python310Packages.vqgan-jax.dist
python311Packages.dalle-mini
python311Packages.dalle-mini.dist
python311Packages.distrax
python311Packages.distrax.dist
python311Packages.elegy
python311Packages.elegy.dist
python311Packages.flax
python311Packages.flax.dist
python311Packages.rlax
python311Packages.rlax.dist
python311Packages.tensorflow-probability
python311Packages.tensorflow-probability.dist
python311Packages.treeo
python311Packages.treeo.dist
python311Packages.treex
python311Packages.treex.dist
python311Packages.trfl
python311Packages.trfl.dist
python311Packages.vqgan-jax
python311Packages.vqgan-jax.dist

10 packages failed to build:

python310Packages.objax
python310Packages.objax.dist
python310Packages.skrl
python310Packages.skrl.dist
python311Packages.objax
python311Packages.objax.dist
python311Packages.skrl
python311Packages.skrl.dist
tts
tts.dist

145 packages built:

bazel (bazel_6)
envoy
libretranslate (python311Packages.libretranslate)
libretranslate.dist (python311Packages.libretranslate.dist)
pomerium
python310Packages.aeppl
python310Packages.aeppl.dist
python310Packages.aesara
python310Packages.aesara.dist
python310Packages.argos-translate-files
python310Packages.argos-translate-files.dist
python310Packages.argostranslate
python310Packages.argostranslate.dist
python310Packages.arviz
python310Packages.arviz.dist
python310Packages.augmax
python310Packages.augmax.dist
python310Packages.awkward
python310Packages.awkward.dist
python310Packages.bambi
python310Packages.bambi.dist
python310Packages.blackjax
python310Packages.blackjax.dist
python310Packages.chex
python310Packages.chex.dist
python310Packages.coffea
python310Packages.coffea.dist
python310Packages.correctionlib
python310Packages.correctionlib.dist
python310Packages.ctranslate2
python310Packages.ctranslate2.dist
python310Packages.dask-awkward
python310Packages.dask-awkward.dist
python310Packages.dm-haiku
python310Packages.dm-haiku.dist
python310Packages.dm-haiku.testsout
python310Packages.equinox
python310Packages.equinox.dist
python310Packages.faster-whisper
python310Packages.faster-whisper.dist
python310Packages.gymnasium
python310Packages.gymnasium.dist
python310Packages.jax
python310Packages.jax.dist
python310Packages.jaxlib (python310Packages.jaxlib-build ,python310Packages.jaxlibWithoutCuda)
python310Packages.jaxlib.dist (python310Packages.jaxlib-build.dist ,python310Packages.jaxlibWithoutCuda.dist)
python310Packages.jaxlibWithCuda
python310Packages.jaxlibWithCuda.dist
python310Packages.jaxopt
python310Packages.jaxopt.dist
python310Packages.jmp
python310Packages.jmp.dist
python310Packages.libretranslate
python310Packages.libretranslate.dist
python310Packages.mplhep
python310Packages.mplhep.dist
python310Packages.numpyro
python310Packages.numpyro.dist
python310Packages.optax
python310Packages.optax.dist
python310Packages.optax.testsout
python310Packages.pymc
python310Packages.pymc.dist
python310Packages.pytensor
python310Packages.pytensor.dist
python310Packages.tensorflow-bin
python310Packages.tensorflow-bin.dist
python310Packages.translatehtml
python310Packages.translatehtml.dist
python310Packages.uproot
python310Packages.uproot.dist
python310Packages.vector
python310Packages.vector.dist
python311Packages.aeppl
python311Packages.aeppl.dist
python311Packages.aesara
python311Packages.aesara.dist
python311Packages.argos-translate-files
python311Packages.argos-translate-files.dist
python311Packages.argostranslate
python311Packages.argostranslate.dist
python311Packages.arviz
python311Packages.arviz.dist
python311Packages.augmax
python311Packages.augmax.dist
python311Packages.awkward
python311Packages.awkward.dist
python311Packages.bambi
python311Packages.bambi.dist
python311Packages.blackjax
python311Packages.blackjax.dist
python311Packages.chex
python311Packages.chex.dist
python311Packages.coffea
python311Packages.coffea.dist
python311Packages.correctionlib
python311Packages.correctionlib.dist
python311Packages.ctranslate2
python311Packages.ctranslate2.dist
python311Packages.dask-awkward
python311Packages.dask-awkward.dist
python311Packages.dm-haiku
python311Packages.dm-haiku.dist
python311Packages.dm-haiku.testsout
python311Packages.equinox
python311Packages.equinox.dist
python311Packages.faster-whisper
python311Packages.faster-whisper.dist
python311Packages.gymnasium
python311Packages.gymnasium.dist
python311Packages.jax
python311Packages.jax.dist
python311Packages.jaxlib (python311Packages.jaxlib-build ,python311Packages.jaxlibWithoutCuda)
python311Packages.jaxlib.dist (python311Packages.jaxlib-build.dist ,python311Packages.jaxlibWithoutCuda.dist)
python311Packages.jaxlibWithCuda
python311Packages.jaxlibWithCuda.dist
python311Packages.jaxopt
python311Packages.jaxopt.dist
python311Packages.jmp
python311Packages.jmp.dist
python311Packages.mplhep
python311Packages.mplhep.dist
python311Packages.numpyro
python311Packages.numpyro.dist
python311Packages.optax
python311Packages.optax.dist
python311Packages.optax.testsout
python311Packages.pymc
python311Packages.pymc.dist
python311Packages.pytensor
python311Packages.pytensor.dist
python311Packages.tensorflow-bin
python311Packages.tensorflow-bin.dist
python311Packages.translatehtml
python311Packages.translatehtml.dist
python311Packages.uproot
python311Packages.uproot.dist
python311Packages.vector
python311Packages.vector.dist
whisper-ctranslate2
whisper-ctranslate2.dist
wyoming-faster-whisper
wyoming-faster-whisper.dist
wyoming-openwakeword
wyoming-openwakeword.dist

I have updated the fetchAttrs hashes for linux amd64. I have modified hashes for other systems to fake hashes in order to let ofborg build them for me.
Unfortunately, all ofborg builds are failing, but I cannot really see why.
Could somebody provide hashes for envoy and jaxlib for linux aarch64 please?

The sha for jaxlib aarch64-linux sha256-59rv/3RjD8pnveBDZ33xZoNQxLmnhMocsKMgVfYoO70=
Trying to get the envoy build to run but hitting this error
ERROR: An error occurred during the fetch of repository 'com_github_lyft_protoc_gen_star':
   Traceback (most recent call last):
        File "/build/output/external/bazel_gazelle/internal/go_repository.bzl", line 256, column 17, in _go_repository_impl
                fail("failed to fetch %s: %s" % (ctx.name, result.stderr))
Error in fail: failed to fetch com_github_lyft_protoc_gen_star: fetch_repo<EMAIL_ADDRESS>GOPROXY list is not the empty string, but contains no entries
ERROR: /build/source/WORKSPACE:25:25: fetching go_repository rule //external:com_github_lyft_protoc_gen_star: Traceback (most recent call last):
        File "/build/output/external/bazel_gazelle/internal/go_repository.bzl", line 256, column 17, in _go_repository_impl
                fail("failed to fetch %s: %s" % (ctx.name, result.stderr))
Error in fail: failed to fetch com_github_lyft_protoc_gen_star: fetch_repo<EMAIL_ADDRESS>GOPROXY list is not the empty string, but contains no entries

Which seems to be related to the go 1.21 sdk & bazel, but I didn't see an obvious fix at a quick glance.
https://github.com/bazelbuild/rules_go/issues/3665

The sha for jaxlib aarch64-linux sha256-59rv/3RjD8pnveBDZ33xZoNQxLmnhMocsKMgVfYoO70=

Thank you @jacobfoard.

Trying to get the envoy build to run but hitting this error

On x86_64-linux, I tried to rebuild envoy on current master (commit 295324df05ab13710f7ded9b4f432de5e97ca3e2) and it failed in a similar way:
error: builder for '/nix/store/nk4rx74di8rzfk2w3gmmfh6bz9yhpylz-envoy-1.27.1-deps.tar.gz.drv' failed with exit code 1;
       last 10 log lines:
       > ERROR: /build/source/WORKSPACE:25:25: fetching go_repository rule //external:com_github_lyft_protoc_gen_star: Traceback (most recent call last):
       >     File "/build/output/external/bazel_gazelle/internal/go_repository.bzl", line 256, column 17, in _go_repository_impl
       >            fail("failed to fetch %s: %s" % (ctx.name, result.stderr))
       > Error in fail: failed to fetch com_github_lyft_protoc_gen_star: fetch_repo<EMAIL_ADDRESS>GOPROXY list is not the empty string, but contains no entries

I am adding a workaround...

That seems to have helped enough to get the sha for envoy sha256-AMvAo3PhtvNp5p4XmncRJ5LJm8gu9xXWfWoIrm0qn1A=.
Unfortunately (or maybe fortunately? 😅), I got the same com_github_lyft_protoc_gen_star errors as the x86 ofborg build.

Yes, that's what I see too. Let me try to resolve this problem in a different way - I'll downgrade go to 1.20.

That worked. Now it's only failing the pythonBinPath and pythonBinPathWithNixHacks tests, but these also fail for master currently:
λ git show
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
commit 295324df05ab13710f7ded9b4f432de5e97ca3e2 (HEAD -> master, upstream/master, upstream/HEAD) ┃
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Merge: 62a60025f7b5 663a3c9e9fc0
Author: Nikolay Korotkiy<EMAIL_ADDRESS>Date:   Thu Oct 26 08:58:26 2023 +0400

    Merge pull request #263379 from r-ryantm/auto-update/grass

    grass: 8.3.0 -> 8.3.1

☸ scratchb in nixpkgs on  master [$?]
λ nix-build -A bazel_6.passthru.tests.pythonBinPath
this derivation will be built:
  /nix/store/k1vj1vig6nbplb7s6vc9r7i59i0xss3b-bazel-test-builtin-rules.drv
building '/nix/store/k1vj1vig6nbplb7s6vc9r7i59i0xss3b-bazel-test-builtin-rules.drv'...
Starting local Bazel server and connecting to it...
Loading:
Loading:
Loading:
Loading: 0 packages loaded
Analyzing: target //python:bin (1 packages loaded, 0 targets configured)
Analyzing: target //python:bin (33 packages loaded, 127 targets configured)
    Fetching repository @local_config_cc; starting
Analyzing: target //python:bin (33 packages loaded, 127 targets configured)
    currently loading: @local_config_cc//
INFO: Analyzed target //python:bin (39 packages loaded, 305 targets configured).
 checking cached actions
INFO: Found 1 target...
 checking cached actions
[0 / 5] 4 actions, 0 running
    Expanding template external/bazel_tools/.../python/py3wrapper.sh; 0s local
    Expanding template python/bin; 0s local
    [Prepa] BazelWorkspaceStatusAction stable-status.txt
    [Prepa] Creating source manifest for //python:bin
Target //python:bin up-to-date:
[5 / 5] checking cached actions
  bazel-bin/python/bin
[5 / 5] checking cached actions
INFO: Elapsed time: 2.606s, Critical Path: 0.03s
[5 / 5] checking cached actions
INFO: 5 processes: 5 internal.
[5 / 5] checking cached actions
INFO: Build completed successfully, 5 total actions
INFO: Running command line: bazel-bin/python/bin
Traceback (most recent call last):
  File "/build/tmp.kpCeNrJ7gD/.cache/bazel/_bazel_nixbld/2898b59ac5a61dc07e72b28a0e3fa2ab/execroot/our_workspace/bazel-out/k8-fastbuild/bin/python/bin.runfiles/our_workspace/python/bin.py", line 1, in <module>
    from lib import foo
ModuleNotFoundError: No module named 'lib'
error: builder for '/nix/store/k1vj1vig6nbplb7s6vc9r7i59i0xss3b-bazel-test-builtin-rules.drv' failed with exit code 1;
       last 10 log lines:
       > INFO: Elapsed time: 2.606s, Critical Path: 0.03s
       > [5 / 5] checking cached actions
       > INFO: 5 processes: 5 internal.
       > [5 / 5] checking cached actions
       > INFO: Build completed successfully, 5 total actions
       > INFO: Running command line: bazel-bin/python/bin
       > Traceback (most recent call last):
       >   File "/build/tmp.kpCeNrJ7gD/.cache/bazel/_bazel_nixbld/2898b59ac5a61dc07e72b28a0e3fa2ab/execroot/our_workspace/bazel-out/k8-fastbuild/bin/python/bin.runfiles/our_workspace/python/bin.py", line 1, in <module>
       >     from lib import foo
       > ModuleNotFoundError: No module named 'lib'
       For full logs, run 'nix log /nix/store/k1vj1vig6nbplb7s6vc9r7i59i0xss3b-bazel-test-builtin-rules.drv'.

Any idea what might have caused this to break?

You need to fix up the commits in the PR branch though so they don't end up in master, there's some reverts and fixups still in there.

Done. Also updated the envoy aarch64-linux hash from the ofborg build.


cant see the post or categories on frontend

I have deployed the Decentradit contract on rinkeby testnet and also verified that , here is the verified link  and added the contract address on  MoralisDappProvider.js      and     const [contractAddress, setContractAddress] = useState(     '0x77f4c668502C32deF96E39cC37Ee2dC1A3879D80',   )  set that to the contractAddress default value and also write new categories via etherscan, but cant see them on frontend :(
what do I need to do? Can anyone help me

Try clearing the Cache on your browser, and if your in a hosting environment, clear the server cache and restart the server.


Translate README to Chinese.

Translate README to Chinese.

awaiting yihuaf here.

ping @yihuaf
Thanks for you effort,These are the last PRs of the translation.


feat: support webhook validate plugin

Type of change:

[ ] Bugfix
[x] New feature provided
[x] Improve performance
[ ] Backport patches

What this PR does / why we need it:

#1352

Only retain information in the debug environment, otherwise make e2e-test will easily cause the machine to crash.

Pre-submission checklist:

[ ] Did you explain what problem does this PR solve? Or what new features have been added?
[x] Have you added corresponding test cases?
[ ] Have you modified the corresponding document?
[ ] Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

Codecov Report

Merging #1355 (ea7e369) into master (85bcfbc) will increase coverage by 0.24%.
The diff coverage is 31.25%.

@@            Coverage Diff             @@
##           master    #1355      +/-   ##
==========================================
+ Coverage   40.92%   41.17%   +0.24%
==========================================
  Files          75       72       -3
  Lines        6954     6907      -47
==========================================
- Hits         2846     2844       -2
+ Misses       3795     3750      -45
  Partials      313      313

Impacted Files
Coverage Δ

pkg/api/validation/apisix.go
0.00% <0.00%> (ø)

pkg/api/router/webhook.go
100.00% <100.00%> (ø)

pkg/api/server.go
82.50% <100.00%> (+0.22%)
:arrow_up:

pkg/api/validation/utils.go
51.92% <100.00%> (+19.49%)
:arrow_up:

pkg/providers/translation/util.go
15.00% <0.00%> (-3.19%)
:arrow_down:

pkg/providers/ingress/ingress.go
4.04% <0.00%> (-1.10%)
:arrow_down:

pkg/apisix/noop.go
0.00% <0.00%> (ø)

pkg/providers/utils/string.go
0.00% <0.00%> (ø)

pkg/providers/utils/executor.go
0.00% <0.00%> (ø)

pkg/providers/ingress/provider.go
0.00% <0.00%> (ø)

... and 10 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Please resolve conflicts, thanks


Project file upload

I created a function to also import issue attachements. I still need to add it to this lib. For anyone looking to do the work by yourself:
See: https://docs.gitlab.com/ee/api/projects.html#upload-a-file
private async Task<string> GitLabFileUploadAsync(string url, string token, string projectId, byte[] file, string fileName)
{
	using (var httpClient = new HttpClient())
	{
		var form = new MultipartFormDataContent
		{
			{ new ByteArrayContent(file, 0, file.Length), "file", fileName }
		};
		form.Headers.Add("PRIVATE-TOKEN", token);

		using (HttpResponseMessage response = await httpClient.PostAsync($"{url}/api/v4/projects/{projectId}/uploads", form))
		{
			response.EnsureSuccessStatusCode();
			return response.Content.ReadAsStringAsync().Result;
		}
	}
}

The returning string contains the markdown to add the uploaded files to your issues,

This is implemented and shiped in 1.0.5. Thanks @yankun !


Tooling v5

Other than my remarks, LGTM overall.

"#include unistd.h": this code is platform specific.
Can we update the code to work cross platform?

unistd.h is used in several places in the codebase already, we rely on it for various stuff. What portable solution do you propose? For Linux, MacOS, iOS and Android this is not an issue, and for Windows, MinGW has a compat layer that handles that for us.


3rd party drivers don't update

I've heard reports that 3rd party drivers don't update (--ext-co isn't fetching updated packages?), but so far I've been unable to replicate, as ebuild.sh seems to actually just nuke any 3rd party package directories, then just clones them again.

Can't replicate and the ebuild.sh seems solid enough.


Golang client child-spans are reported as the root span and child spans at the same time

Important Details
How are you running Sentry?
Saas (sentry.io)
Description
using Sentry tracing spans in a net/http handler. creating 2 spans, one parent (root handler level), and one child span that uses the context of the parent span.
when investigating tracing details in the "Performance" section of the Sentry dashboard, the root span is marked as the child of the child-span. the child-span is booth the root and the child, and yet has the same span ID.
Steps to Reproduce
     http.HandleFunc("/test", func(p_resp http.ResponseWriter, p_req *http.Request) {

	ctx := p_req.Context()

	span__root := sentry.StartSpan(ctx, "1111111111")
	time.Sleep(2 * time.Second)
	span__root.Finish()

	span__222 := sentry.StartSpan(span__root.Context(), "2222222222222222")
	time.Sleep(2 * time.Second)
	span__222.Finish()
})

expectation is for the span "11111111111" to be at the root of the span tree, and "222222222222222222" to be the child and only included once.

@rhcarvalho could you point me to where this issue is residing right now, so I can keep an eye on it. I would really like to make some progress in resolving this. The solution is not obvious from the current Sentry Go documentation thats accessible.

@rhcarvalho could you point me to where this issue is residing right now, so I can keep an eye on it. I would really like to make some progress in resolving this. The solution is not obvious from the current Sentry Go documentation thats accessible.

Can you provide the same screenshot with all the span details visible?
In case of:
| root
| -- childA
|     | -- grandchildA
| -- child B
|     | -- grandchildB

All 5 spans should have the same TracingID
All 5 spans should have unique SpanID
childA and childB should have ParentID equal to SpanID of root
grandchildA should have ParentID equal to SpanID of childA
grandchildB should have ParentID equal to SpanID of childB

Implementation is done here: https://github.com/getsentry/sentry-go/blob/master/tracing.go#L77-L154

Can you provide the same screenshot with all the span details visible?
In case of:
| root
| -- childA
|     | -- grandchildA
| -- child B
|     | -- grandchildB

All 5 spans should have the same TracingID
All 5 spans should have unique SpanID
childA and childB should have ParentID equal to SpanID of root
grandchildA should have ParentID equal to SpanID of childA
grandchildB should have ParentID equal to SpanID of childB

Implementation is done here: https://github.com/getsentry/sentry-go/blob/master/tracing.go#L77-L154

I'm running into this as well. I've crafted a relatively arbitrary test to see if I could help with debugging.
Here's the "zoomed out" view within Sentry:

Here's the "zoomed in" view within Sentry:

I've logged the code around the spans within my core function and this is the output I'm seeing at the code level:
msg=root component=scalia span="&{TraceID:931740f5d3de45daa8456569c9a72c0e SpanID:c20b8e2e25714cc5 ParentSpanID:842566fbbca6ba30 Op:scalia.assemble Description: Status: Tags:map[] StartTime:2021-02-03 00:50:27.567908537 +0000 UTC m=+6.784867083 EndTime:0001-01-01 00:00:00 +0000 UTC Data:map[] Sampled:SampledTrue ctx:0xc00036ff80 parent:<nil> isTransaction:true recorder:0xc00027c060}"
msg=prepare component=scalia span="&{TraceID:931740f5d3de45daa8456569c9a72c0e SpanID:b3c7c55cf4743834 ParentSpanID:c20b8e2e25714cc5 Op:prepare document Description: Status: Tags:map[] StartTime:2021-02-03 00:50:27.567989079 +0000 UTC m=+6.784947625 EndTime:2021-02-03 00:50:27.569740502 +0000 UTC m=+6.786699048 Data:map[] Sampled:SampledTrue ctx:0xc00027c090 parent:0xc00052c300 isTransaction:false recorder:0xc00027c060}"
msg=assemble component=scalia span="&{TraceID:931740f5d3de45daa8456569c9a72c0e SpanID:34e0fde64d1c17af ParentSpanID:b3c7c55cf4743834 Op:assemble document Description: Status: Tags:map[] StartTime:2021-02-03 00:50:27.569979063 +0000 UTC m=+6.786937589 EndTime:2021-02-03 00:50:27.613988046 +0000 UTC m=+6.830946572 Data:map[] Sampled:SampledTrue ctx:0xc000810600 parent:0xc00052c3c0 isTransaction:false recorder:0xc00027c060}"
msg=finalize component=scalia span="&{TraceID:931740f5d3de45daa8456569c9a72c0e SpanID:59d5d393817ba4c8 ParentSpanID:34e0fde64d1c17af Op:finalize document with gotenberg Description: Status: Tags:map[] StartTime:2021-02-03 00:50:27.614062466 +0000 UTC m=+6.831020972 EndTime:2021-02-03 00:50:29.019750479 +0000 UTC m=+8.236708985 Data:map[] Sampled:SampledTrue ctx:0xc0005a1920 parent:0xc0000ba480 isTransaction:false recorder:0xc00027c060}"

I also dumped the spans from a simple global event processor and here are the results (note there are only three and not four, but I'm not sure if the "root span" counts as a span or not).
msg=processor component=scalia event="&{TraceID:2bc3d60c49a04b2fb5ab4e97236b7412 SpanID:ff0a3d3749243a4f ParentSpanID:1537bc07c3fdd32d Op:prepare document Description: Status: Tags:map[] StartTime:2021-02-03 01:03:14.96342243 +0000 UTC m=+6.293321867 EndTime:2021-02-03 01:03:14.9647537 +0000 UTC m=+6.294653137 Data:map[] Sampled:SampledTrue ctx:0xc0007112c0 parent:0xc000494240 isTransaction:false recorder:0xc000711290}"
msg=processor component=scalia event="&{TraceID:2bc3d60c49a04b2fb5ab4e97236b7412 SpanID:b3370d3cb72c9160 ParentSpanID:ff0a3d3749243a4f Op:assemble document Description: Status: Tags:map[] StartTime:2021-02-03 01:03:14.965354777 +0000 UTC m=+6.295255076 EndTime:2021-02-03 01:03:15.010833201 +0000 UTC m=+6.340733500 Data:map[] Sampled:SampledTrue ctx:0xc00011a1b0 parent:0xc000494300 isTransaction:false recorder:0xc000711290}"
msg=processor component=scalia event="&{TraceID:2bc3d60c49a04b2fb5ab4e97236b7412 SpanID:88154737702145b3 ParentSpanID:b3370d3cb72c9160 Op:finalize document with gotenberg Description: Status: Tags:map[] StartTime:2021-02-03 01:03:15.010947869 +0000 UTC m=+6.340847306 EndTime:2021-02-03 01:03:16.46327409 +0000 UTC m=+7.793173527 Data:map[] Sampled:SampledTrue ctx:0xc000473920 parent:0xc0001c06c0 isTransaction:false recorder:0xc000711290}"

Finally, here is a redacted version of the entire transaction from the global event processor's point of view:
msg=processor component=scalia event="&{Breadcrumbs:[] Contexts:map[] Dist: Environment: EventID:aa4de52a5ec54bc1972018a23d32db02 Extra:map[] Fingerprint:[] Level:info Message: Platform:go Release:v Sdk:{Name:sentry.go Version:0.9.0 Integrations:[ContextifyFrames Environment IgnoreErrors Modules] Packages:[{Name:sentry-go Version:0.9.0}]} ServerName:408c5a3b04ba Threads:[] Tags:map[] Timestamp:2021-02-03 01:06:51.063361786 +0000 UTC m=+7.328572145 Transaction:Assembling documents User:{Email: ID: IPAddress: Username:} Logger: Modules:map[] Request:<nil> Exception:[] Type:transaction StartTime:2021-02-03 01:06:49.591143721 +0000 UTC m=+5.856354080 Spans:[0xc00013a480 0xc00013a900 0xc000671200]}"

One final point of note here is that the above is triggered via GRPC so I would expect Request to be nil (as it is).
Since the spanRecorder isn't exported I was unable to fully recomprise something like the TestStartChild test

FWIW, this issue appears a dupe // same root cause as #311 and #318

good find @compleatang! glad this is reproducible by multiple people.

any updates on this issue? I see that its somewhat common so I was wondering if there are clues and thoughts on how to mitigate.
thank you for any guidance :)

@deepblue-phoenix for personal reasons I was not able to work on this yet. We should have a solution by the end of the week.

thats great news @rhcarvalho! I hope you're ok, definitely take the time you need to take care of yourself.
keep us posted. excited to get this to work :)

thats great news @rhcarvalho! I hope you're ok, definitely take the time you need to take care of yourself.
keep us posted. excited to get this to work (smiley)

I also expected that it works like described on https://docs.sentry.io/platforms/go/guides/http/performance/custom-instrumentation/ and faced the same / similiar issue when adding a span inside a request using the sentryhttp.New(sentryhttp.Options{}) middleware (which creates a root span).
What seems to work is the following workaround:
func myNestedOp(ctx context.Context) {
	sentryHub := sentry.GetHubFromContext(ctx)
	sentryHub.PushScope()
	defer sentryHub.PopScope()

	span := sentry.StartSpan(ctx, "my.nested.op", sentry.TransactionName("Do something"))
	defer span.Finish()

	// actual work
}

Closing this as a duplicate of #318. There are a few fixes to be merged and released early in the week. Sorry for the delay.


Create a slient option that outputs only when attempts are detected

I have created a very basic Ansible Playbook to clone and run this tool on a server fleet : https://github.com/kaipee/log4shell-detector-playbook
It would be great to only have output for systems that have detected exploit attempts, instead of having output for every server.

Done with
https://github.com/Neo23x0/log4shell-detector/pull/33


[Feature Request]: allow volumes and volumeMounts from ConfigMaps for globally or per-namespace needed files

Feature description
In notebooks / dashboard, I'd like to mount in as a volume a file from a configmap. This might be either via odh notebook controller or odh dashboard. If via Dashboard, the filenames from which configmaps  to which volumeMount targetLocation would best be specified centrally in Dashboard Admin Section. A multidimensional array maybe.
https://access.redhat.com/documentation/de-de/openshift_container_platform/4.4/html/builds/builds-configmaps#builds-configmap-creating-from-files_builds-configmaps
Why done centrally and not via the create new workbench dialog?
There are certain volumes and mounts created from configmaps that are universal to all workbenches. Example include Github config entries allowing the use of proxies or Elyra runtime config files (json) for Kubeflow Pipelines. The Git proxy setting is definitely global per cluster. The runtime config files could be potentially different, as with i.e. Airflow, there can be one or more different Airflow runtimes present per cluster in different namespaces, resulting in different entries in fields of the config file. In that case, I could imagine having a configmap in the data science project namespace that contains the needed file:
{
  "display_name": "Airflow TST Instanz",
  "metadata": {
    "tags": [],
    "description": "Airflow Instanz im Zusammenspiel with Namespaces Workbenches TST",
    "display_name": "Airflow TST Instanz",
    "user_namespace": "my-airflow-namespace",
    "git_type": "GITLAB",
    "github_api_endpoint": "https://gitlab.mycompany.com/",
    "api_endpoint": "https://my-airflow-airflow-namespace.apps.tst.mycompany.com/,",
    "github_repo": "airflowstuff",
    "github_branch": "dags",
    "github_repo_token": "",
    "cos_auth_type": "KUBERNETES_SECRET",
    "cos_endpoint": "https://mys3.mycompany.com/",
    "cos_bucket": "my-elyra-bucket",
    "cos_secret": "my-cos-secret",
    "cos_username": "",
    "cos_password": "",
    "runtime_type": "APACHE_AIRFLOW"
  },
  "schema_name": "airflow"
}

On the other hand, the possibility at GUI to have that configmap selection dropdown plus related fields (i.e. all files in data section of configmap, only certain data section entries / files, target mount location in the container) would also be okay.
Current examples that are common, context base directory always under /opt/app-root/src:
1001350000@jupyter-datascience-sven-elyra-test-0 ~]$ pwd
/opt/app-root/src
[1001350000@jupyter-datascience-sven-elyra-test-0 ~]$ grep -rnw . -e "Instanz"
./.local/share/jupyter/metadata/runtimes/airflow_tst_instanz.json:2:  "display_name": "Airflow TST Instanz",
[1001350000@jupyter-datascience-sven-elyra-test-0 ~]$ pwd
/opt/app-root/src
[1001350000@jupyter-datascience-sven-elyra-test-0 ~]$ grep -rnw . -e "proxy"
./.gitconfig:2:
[http]
        proxy = http://my-proxy.corp.com:8070/

It would help tremendously mounting in the non-secret parts of the config json via a Configmap pre-rolled-out via devops in all data science projects namespaces, having some basic fields already filled out.
Current manually-created situation, need to repeat for each created Notebook / workbench. It is persistent, as the PVC location is mounted to /opt/app-root/src, but having to re-create this for all workbenches is not nice. I could hard-code it into a custom docker build, but that approach is suboptimal, too. I guess the same could be applied to i.e. Jupyter Git plugin configs, like Git plugin proxy settings and so on, that is in a file as well, which would be nice being able to mount it in.
The concept of creating volumes and referencing a configmap and getting in different items (i.e. files) under the configmap data section is explained here:
https://daein.medium.com/how-to-mount-a-specific-file-configured-in-the-configmap-into-the-pod-8b46d958ca1
Describe alternatives you've considered
Manually baking into container workbench docker image builds the files.
This means, though, having to create different container images for different files.
The solution to mount such files via configmap in the workbench namespace is more elegant.
Anything else?
Slack: https://odh-io.slack.com/archives/C0330L52N22/p1701349038086449
@andrewballantyne @harshad16

Best guess here is you want something done generically to all notebooks ever created on cluster -- then that's a Notebook Controller thing. I'm a little unsure how we approach this, as not everything is created by the Dashboard -- so having a configuration in our admin section won't supply a clean solution, unless we put it in a shape and format for the Notebook Controller to take it on.
@harshad16 I do not see this as something the Dashboard should own. Our next sync is next Thursday, let us talk there about this and figure out what's the best way forward.

similar request on Slack:
https://odh-io.slack.com/archives/C0330L52N22/p1702074931185009
As to globally or per workbench from configmap with files in data section: why not both ways?

Created a JIRA: https://issues.redhat.com/browse/RHOAIENG-3573
Workbench CR , does allow mount of volume from configmap. link.
I guess now it would more of design question, on how the product should provide this ability in good UX way to the user.
For this, to bring attention to UX experts, moving it to JIRA.
will provide updates here, time to time as we receive


Add Sound Track Editor from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of awabast40, to add Sound Track Editor to CKAN.
Mod details:
name = /mod/1480/Sound%20Track%20Editor
author = awabast40
abstract = modify in game music play what ever you want
license = MIT
Homepage = http://forum.kerbalspaceprogram.com/index.php?/topic/59682-12x-soundtrack-editor-43-2017-03-01/
description = This is your mod listing! You can edit it as much as you like before you make it public.
To edit this text, you can click on the "Edit this Mod" button up there.
By the way, you have a lot of flexibility here. You can embed YouTube videos or screenshots. Be creative.
You can check out the SpaceDock markdown documentation for tips.
Thanks for hosting your mod on SpaceDock!
Please direct questions about this pull request to awabast40.

WELL DONE


Rename variable in "Response message" chapter

Since the HTTP response should be validated, the variable should be called $response instead of $request.

Thanks @markuspoerschke


simplify BQSR covariates handling

the current code is hardwires that exactly ReadGroupCovariate, QualityScoreCovariate (in this order) are the 'required covariates' and that tables for optional covariates are printed differently (see RecalibrationTable.parseAllCovariatesTable and the RecalibrationTable class in general )

done in #413


Custom models showing different confidences even 0 in case of mixed casing text

Code used is given below. Even my own trained custom model showing the same behaviour
import spacy
from spacy import displacy
import concise_concepts
model_path ="glove-wiki-gigaword-300"
os.environ['KMP_DUPLICATE_LIB_OK']='True'
data = {
"fruit": ["apple", "pear", "orange"],
"vegetable": ["broccoli", "spinach", "tomato"],
"meat": ["beef", "pork", "fish", "lamb"],
}
text = """
Heat the oil in a large pan and add the ONION, Celery and carrots.
onion is must.CELERY is optional
Then, cook over a medium–low heat for 10 minutes, or until softened.
Add the courgette, garlic, red peppers and oregano and cook for 2–3 minutes.
Garlic paste can also be used instead of Raw GARLIC
Later, add some oranges and chickens.
Vegetarain may add cottage cheese instead of CHICKENS"""
nlp = spacy.load("en_core_web_lg", disable=["ner"])
nlp.add_pipe(
"concise_concepts",
config={
"data": data,
"model_path":model_path,
"ent_score": True,  # Entity Scoring section
"verbose": True,
"exclude_pos": ["VERB", "AUX"],
"exclude_dep": ["DOBJ", "PCOMP"],
"include_compound_words": False,
"json_path": "./fruitful_patterns.json",
},
)
doc = nlp(text)
options = {
"colors": {"fruit": "darkorange", "vegetable": "limegreen", "meat": "salmon"},
"ents": ["fruit", "vegetable", "meat"],
}
ents = doc.ents
for ent in ents:
new_label = f"{ent.label_} ({ent..ent_score:.0%})"
options["colors"][new_label] = options["colors"].get(ent.label.lower(), None)
options["ents"].append(new_label)
ent.label_ = new_label
doc.ents = ents

Hello, Thank for noticing this. Confidences are based on the embeddings in the word2vec but I think this check currently doesn't include capitalization even if they are recognized. I will take a closer look next week.

@prakhar251998 thanks for your input💪🏽 I found several small bugs, so this really improved entity scoring performance!


Merge/010124 rollup

This pull request merged the @omkhar's branch. During this process, I kept certain points in mind and made some decisions:

The issues regarding Styling, Precedence, and the optional pre_shared_key have already been addressed in the project_structure stage.
I intentionally did not follow up on the MTU, as I believe that the machines can handle it more effectively.
ALLOWED_IPS_6 is supported by WireGuard. I simply incorporated the comment from the WireGuard documentation.
The persistence of the WireGuard interface has been implemented.

Thank you for your contribution, and I look forward to our continued productive work on this project.
This pull request referencing the comments of the issue #24.

Really appreciate your continued work on getting this cleaned up @xancoder !


logs: create_snapshot.sh progress

Issue

Link: NebraLtd/hm-block-tracker#96
Summary: Debugging create_snapshot.sh to figure out where it's getting stuck.

How

Screenshots

References

Checklist

[ ] Tests added
[ ] Cleaned up commit history (rebase!)
[ ] Documentation added
[ ] Thought about variable and method names

@NebraLtd/device-team review please?

@marvinmarnold 👍


broken API redirects

When I copy "online URLs" out of Dash, I get URLs in this format:
https://twistedmatrix.com/documents/22.10.0/api/twisted.application.internet.ClientService.html
This should redirect me to https://docs.twisted.org/en/twisted-22.10.0/api/twisted.application.internet.ClientService.html but instead I get bounced through a page that says "404", but does a JS redirect back to the front page of the docs.
I see the JS redirect has a hard-coded to match /documents/current/ and we could probably match a version number in there too.

(There's also probably a change that should happen on Dash's end here, but given that there are probably a zillion links in this format out there, it would be nice to get it right.)


test: Optimize WaitCEPReady() to wait for minimal policy revision

The existing WaitCEPReady() was applying the following logic:

Fetch all policy revisions of all endpoints
Check that all CEPs report the same policy revision
Start over if this fails

If the policy revision of endpoints continuous growing, this was a difficult
condition to be met and it was unclear why it is not being met. Instead, do the
following:

Fetch all policy revisions of all endpoints
Check that all CEPs report at least the policy revision of the matching
endpoint. Fail if this condition is not met within the timeout

This change is

Coverage increased (+0.02%) to 43.892% when pulling a0348eba619f760657d7df357d83fe1e26438f22 on pr/tgraf/optimize-cep-wait-test into 93c115a616671264cfd1fdc235f42c0f18047abe on master.


moving directories around and adding web directory

moving directories around and adding web directory

Are you going to add in the header / footer / common css (probably pull this from the namex project) to the common layer? Also I was thinking this would include a landing page for BTR that would be empty for now, but using the common layer stuff so that we can see that working. And we should have the github CI running for the lint / tests so that we know that part is good to go too right?


Add to cdnjs #21

There are any plans to register this library at https://cdnjs.com/ to use it via CND. Same as tui-editor and tui-calendar

You can use this link.
https://uicdn.toast.com/tui.code-snippet/latest/tui-code-snippet.js


Ability to specify a Docker network

Is your feature request related to a problem? Please describe.
I have a workflow which consists of creating VMWare templates through Packer in Gitlab CI. Packer starts a VM and mounts an installation ISO and spins up a webserver on a random port between 8000-9000 where the VM subsequently tries to fetch installation instructions from (e.g a preseed for Debian). When starting with gitlab-ci-local it connects to the bridge network and thus gets a 172.x.x.x IP which obviously the VM can't reach.
Describe the solution you'd like
Be able to specify a Docker network on which the gitlab-ci-local job should be ran.
Describe alternatives you've considered
None.
Additional context
None but happy to provide anything needed.
I would like to add that I'm not 100% sure this is a feature request or a question - but I looked quite thoroughly for this feature and couldn't find anything about it. Or maybe I'm overlooking something completely, I'm quite new to all of this. Apologies in advance if that's the case.

Can you reference how you get a real runner to attach to a certain docker network?
I'm sure this option will be easy to add.

You can configure network_mode for the Docker executor as per: https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnersdocker-section


digits10 must be 38, not 39

https://github.com/fahickman/r128/blob/1fe23d37223a26923eee56c901a1c4ab24cb5602/r128.h#L286

Yes, looking at the spec, I think you're right -- the value should be rounded down, not up. I'll push a fix for this.
Thanks for the report!


⚠ Bofrost.be has degraded performance

In d079d35, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1583 ms

Resolved: Bofrost.be performance has improved in b4c123d after 21 minutes.


Create test support for Installer project running on Travis

https://github.com/JakubVanek/elj-install/tree/travis

https://travis-ci.org/JakubVanek/elj-install

Oki, when you feel happy with the tests, we could create a PR to merge in the repo.
This set of tests will be very useful for the future.

Related PR:
https://github.com/ev3dev-lang-java/installer/pull/40/files#diff-63ab6decfd52638355f6a527c3c6dee2R24

https://travis-ci.org/ev3dev-lang-java/installer/builds/465727367

Fixed


Master does not compile with MSVC: cannot find stdint.h

Just an FYI, when compiling with MSVC on 64bit windows:
building 'pandas._sandbox' extension
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\lib\site-packages\numpy\core\include -IC:\Python27\include -IC:\Python27\PC /Tcpandas\src\sandbox.c /Fobuild\temp.win-amd64-2.7\Release\pandas\src\sandbox.obj
sandbox.c
pandas\src\sandbox.c(240) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
I think this is (again) because MSVC is not C99 compliant.  Some searching seems to indicate that you can find portable versions of stdint.h.
I downloaded one from here:
http://www.azillionmonkeys.com/qed/pstdint.h
There is also
http://code.google.com/p/msinttypes/
and added the path to it in the include_dirs for the sandbox extension, then everything compiled fine.
thanks!

I got an updated version of the khash.h which had been made MSVC compatible (does not use stdint.h). This is good to know for the future

Sorry, but i don't think that fixed it.  There is still a reference to stdint in khash.pxd.

Oh indeed. I'll test it later tonight and fix. Thanks

OK, I've finally got this licked (compiling with MSVC 2008). It's only sandbox code anyway at the moment but good to get these issues sorted sooner rather than later


Fixes to examples

A couple of fixes needed to run the examples on macOS:

Passing norm and vmin/vmax simultaneously raises a ValueError from matplotlib
When using multiprocessing.Pool(), the multiprocessing "main" module has to be safe to import. This is for the "spawn" start method, which is now default on macOS (in python >3.8) for stability.

And a fix to output indexing to only pick out the right values for the solar_combined_spectrum example.

This was added in #11


7/5/2022 Publish

Docs Build status updates of commit b3446ee:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/core-amqp-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/core-http-netty-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/core-http-okhttp-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/core-management-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/core-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/core-serializer-json-gson-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/core-serializer-json-jackson-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/core-test-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/cosmos-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/identity-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/resourcemanager-digitaltwins-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/spring-cloud-appconfiguration-config-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/spring-cloud-appconfiguration-config-web-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/spring-cloud-feature-management-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/spring-cloud-feature-management-web-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/spring-cloud-starter-appconfiguration-config-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/preview/core-experimental-readme.md
:warning:Warning
View (azure-java-preview)
Details

docs-ref-services/preview/core-serializer-avro-apache-readme.md
:warning:Warning
View (azure-java-preview)
Details

docs-ref-services/preview/core-tracing-opentelemetry-readme.md
:warning:Warning
View (azure-java-preview)
Details

docs-ref-services/preview/resourcemanager-workloads-readme.md
:warning:Warning
View (azure-java-preview)
Details

docs-ref-services/preview/sdk-template-readme.md
:warning:Warning
View (azure-java-preview)
Details

docs-ref-services/preview/sdk-template-three-readme.md
:warning:Warning
View (azure-java-preview)
Details

docs-ref-services/preview/sdk-template-two-readme.md
:warning:Warning
View (azure-java-preview)
Details

preview/docs-ref-autogen/com.microsoft.durabletask.azurefunctions.DurableClientContext.yml
:warning:Warning
View (azure-java-preview)
Details

docs-ref-services/latest/search-documents-readme.md
:bulb:Suggestion
View (azure-java-stable)
Details

This comment lists only the first 25 files in the pull request.

docs-ref-services/latest/core-amqp-readme.md

Line 9, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'core'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 21, Column 5: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: /java/azure/jdk/?view=azure-java-stable

docs-ref-services/latest/core-http-netty-readme.md

Line 9, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'core'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 20, Column 5: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: /java/azure/jdk/?view=azure-java-stable

docs-ref-services/latest/core-http-okhttp-readme.md

Line 9, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'core'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 20, Column 5: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: /java/azure/jdk/?view=azure-java-stable

docs-ref-services/latest/core-management-readme.md

Line 9, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'core'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 20, Column 5: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: /java/azure/jdk/?view=azure-java-stable

docs-ref-services/latest/core-readme.md

Line 9, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'core'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 29, Column 5: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: /java/azure/jdk/?view=azure-java-stable

docs-ref-services/latest/core-serializer-json-gson-readme.md

Line 9, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'core'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 20, Column 5: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: /java/azure/jdk/?view=azure-java-stable

docs-ref-services/latest/core-serializer-json-jackson-readme.md

Line 9, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'core'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 20, Column 5: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: /java/azure/jdk/?view=azure-java-stable

docs-ref-services/latest/core-test-readme.md

Line 9, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'core'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

docs-ref-services/latest/cosmos-readme.md

Line 9, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'cosmos'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

This comment lists only the first 25 errors (including error/warning/suggestion) in the pull request.
For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


getColors() takes a lot of time (on the main thread)

Although this would break previous code, wouldn't it be smarter to provide a closure for getColors(), then getting the colors on a background thread and delivering them on the main thread?
Now, getColors() blocks the main thread while executing - and it can take some time.

I was considering this, however, I think it should be left up to the developer whether they want to push it the background or not. An anecdotal example: when I did push it to the background, there was weird behaviour of colors just "popping" in. So, I just kept it on the main thread with smaller images and it worked better. What do you think?

That's true, but blocking the main thread for ~3(?) seconds is really not done. Also - in some cases your anectocal example would turn out just the same.

Included in PR https://github.com/jathu/UIImageColors/pull/21

It's good to get color in background.
However, I think we still need the way to get color in main thread (even though sometimes it's time consuming).
Both synchronous and asynchronous ways have their use cases.


Redisson warning ，redis sentinel node added and down frequently！

Expected behavior
Actual behavior
Steps to reproduce or test case
Redis version
4.0.6
Redisson version
3.11.0
Redisson configuration

Could you switch logging level to TRACE for org.redisson and share the log? It should contain result of SENTINEL SENTINELS command

Fixed! Thanks for report


Implement TryFrom<EcoVec<T>> for [T; N]

I have a need at attempt to extract a fixed number of values from an EcoVec, so I implemented this.

Thanks!

Published in ecow 0.2.3.


<IP_ADDRESS>

Raythena updates

Args update for cleanup
Executor type (generic, base) now configurable - raythena to be added

Fixed an issue seen on Kubernetes where the pilot took ten minutes to finish instead of seconds

Reported by F. Barreiro Megino
A PRE release pilot version is already running on the affected queue

Fixed an issue with abort after MAXTIME has passed

Previously abort mechanism only worked when a KILL signal was sent

Fixed an issue with multi-jobs - job queue monitor aborted prematurely after first job has completed, now corrected

The problem appeared in multi-jobs where the first job failed

Pilot is now receiving new container_name (image name) from job definition if it is set

Note: only results in a log message for now, for testing
Code contributions from M. Muskinja, P. Nilsson

Problem with Travis again. The QA test was not initiated. When this happens, go to Travis CI webpage and find settings for pilot2 project. Go to the bottom of the page, Beta features and switch off "Enable build config validation".


Astro update and other fixes

Updated Astro to 4.12.2 and other deps. Fixed a minification issue to run process-html.mjs script after the build is finished.

Updated Astro to 4.12.2 and other deps. Fixed a minification issue to run process-html.mjs script after the build is finished.


New RFC: file_create_exclusive

Expose atomic file creation without overwriting.
This looks straightforward to implement. I shall be happy to give this a go should the RFC be accepted but cannot test the Windows version.

cc https://github.com/rust-lang/rfcs/pull/1252, an RFC proposing the same thing but slightly differently

Thanks Alex, I thought there'd already be some work in this area!


Use receive-timeout instead of keepalive_counter

Feature summary
Update to client lib's latest changes to remove a deprecation warning
Recently we added the option to define the receive timeout on the robot. This produces a deprecation warning inside this driver. We should update it accordingly.
Since setting the keepalive counter is part of our parameter API, we'll have to make sure we don't break things for existing configurations.
Tasks
To complete this issue involves

[ ] Update API
[ ] Update documentation
[ ] Make Unit test
[ ] Test on real hardware

@fmauch You need to be careful about this, (I am not sure what exactly the receive timeout does) but I had to set the  setKeepaliveCount  otherwise using two or more arms will eventually timeout without a RT kernel.


Type.GetType error on .Net 5

What version of gRPC and what language are you using?
Grpc.Core 2.37.0 / C#
What operating system (Linux, Windows,...) and version?
CentOS 7.5 1804
What runtime / compiler are you using (e.g. python version or version of gcc)
.Net 5
What did you do?
Create instance of Grpc.Core.Server
What did you expect to see?
Successful create
What did you see instead?
Could not load file or assembly 'Xamarin.iOS, Culture=neutral, PublicKeyToken=null'. The parameter is incorrect.
 (0x80070057 (E_INVALIDARG))
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, StackCrawlMarkHandle stackMark, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack type, ObjectHandleOnStack keepalive)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext)
   at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName)
   at Grpc.Core.Internal.PlatformApis..cctor()

The  error occurred in Grpc.Core.Internal:
PlatformApis.isXamarinIOS = (Type.GetType("Foundation.NSObject, Xamarin.iOS") != null);

Anything else we should know about your project / environment?
Everything is OK in .Net core 3.1
It looks like the .Net 5 modify the implementation of Type.GetType method
Reference: Type.GetType(string, bool) don't work in . NET5

Can you please provide a minimal reproduction, ideally in a form of a github repository with ready-to-run code? It would make it easier for us to reproduce the issue you're experiencing and debug it afterwards.

One dependency package is using Grpc.Core 2.23.0, update Grpc.Core to 2.37.0 problem solved.
Thanks.


Does not display language selector when using whenQuery plugin

Hi there,
I noticed that the plugin does not display any language options anymore as soon as it is used alongside with the whenQuery plugin by rasteiner. Not sure what is going on.
This happens with both Kirby v4.0 as well as v4.1.

Issue:
The whenQuery plugin overrides the panel views, in which the language dropdown is added. The language selector overrides the language dropdown. But when it is initialised after the whenQuery plugin, it will not be added to the overridden panel views.
Solution:
I haven’t found a good solution yet, so here are two workarounds:

Since v1.1.9: The default language dropdown will only be hidden, if the language selector was initialised.
Rename the whenQuery plugin folder from k3-whenquery to whenquery, so that the plugin is initialised after the language selector.

Thanks @SebastianEberlein-JUNO , the second solution will solve my issue in this case.


some links within page do not work

File: engine/reference/run.md, CC @mstanleyjones
While reading https://docs.docker.com/engine/reference/run/ I noticed that clicking on some links right under "Operator exclusive options" does not do anything. This happens with all the links that lead to a section with double dashes (e.g. "Name (–name)", "IPC settings (–ipc)", "Restart policies (–restart)"
and "Clean up (–rm)").
The problem is, the link destination have three dashes (for example: ), while the anchor name only have 1 (example:
).
I guess this is caused by how jekyll (in fact kramdown) generates Ids for headers -- it seems that it strips out dashes from the contents of header (https://github.com/gettalong/kramdown/blob/master/lib/kramdown/converter/base.rb#L248), while github markdown does not (https://github.com/jch/html-pipeline/blob/master/lib/html/pipeline/toc_filter.rb#L26).
Therefore, to fix this we need to patch kramdown. As this does not look realistic, here's a workaround -- for every header which contains dashes we need to create an ID ourselves. Something like this:

### Restart policies (--restart)

The only question is -- will it be stripped by Jekyll (kramdown) or not? I hope not.

Oh, looks like a dup of https://github.com/docker/docker.github.io/issues/4178 (and also discovered that kramdown does not have this option configurable :disappointed:)

@thaJeztah thanks a lot for pointing it out! I was actually totally wrong in my analysis that dashes are removed by kramdown when making IDs. They are not removed (at least in GFM, see https://github.com/gettalong/kramdown/blob/e9714d87e842831504503c7ed67f280873d98908/lib/kramdown/parser/gfm.rb#L103). The reason of double dash removal is it's changed to endash first, and then endash is removed. So, if double-dash to endash conversion can be disabled, IDs generated will be adequate.
Closing this one as just making intralinks working is not good enough.


Update for Azure Archive Blob Storage

Addresses issue #294

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/aws-professional/index.md
:white_check_mark:Succeeded
View

docs/aws-professional/services.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/aws-professional/index.md
:white_check_mark:Succeeded
View

docs/aws-professional/services.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/aws-professional/index.md
:white_check_mark:Succeeded
View

docs/aws-professional/services.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@MikeWasson If this looks good to you.  Let's merge it.

I guess we can ignore the en-us problem in this PR. I can submit a separate PR to fix that across the board.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/aws-professional/index.md
:white_check_mark:Succeeded
View

docs/aws-professional/services.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/aws-professional/index.md
:white_check_mark:Succeeded
View

docs/aws-professional/services.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add github actions workflow

Setup of CI with github actions
Proposed steps:

Installation of flutter and flutter dependences
Execution of flutter formatter, analyser and linter
Execution of tests

Trigger: on pull requests
For the future will be interesting add the CD setup with fastlane as the mentioned by @matuella on issue #16.
Some details would be important set here too, like flutter version or when the process will be trigged.
This setup was inspired on this gist
This changes have been discussed on issue #16
Pre-launch Checklist

[x] Eu li o CONTRIBUTING.md e segui as sugestões descritas ali sobre boas práticas de código / I
read CONTRIBUTING.md and followed the suggestions proposed there about writing good code;
[x] Eu listei pelo menos um issue relacionado à este PR / I listed at least one issue related to this PR;
[ ] Eu adicionei novos testes para cobrir as mudanças que eu fiz neste PR, ou este PR é uma exceção / I added new
tests that cover the changes made in this PR or this PR is a test-exception;
[ ] Eu atualizei o CHANGELOG.md com as mudanças feitas neste PR / I updated
CHANGELOG.md with the changes made in this PR;
[ ] Eu atualizei/adicionei comentários relevantes nas modificações efetuadas / I updated or added relevant docs in the
modifications I've made;
[x] Todos os testes previamente existentes e os novos criados por mim estão finalizando com sucesso / All the existing
tests - the old and the new ones - are finishing with success.

I think you should add flutter build too.

even now that doesn't have a Continuous Integration with the application stores ? Because, what will be the purpose of the build script for this case ?

I think you should add flutter build too.

even now that doesn't have a Continuous Integration with the application stores ? Because, what will be the purpose of the build script for this case ?

I think with a build script, we could detect cases like writing a wrong variable or something like that. Only with the build test or Lint, they are not possible to catch. But is just suggested.

I think you should add flutter build too.

even now that doesn't have a Continuous Integration with the application stores ? Because, what will be the purpose of the build script for this case ?

I think with a build script, we could detect cases like writing a wrong variable or something like that. Only with the build test or Lint, they are not possible to catch. But is just suggested.

Make sense. Very tks 😃

Cool!

Thanks @ggirotto for the feedback,
I think every points you mentioned was covered:

was removed the format code script
was changed machine that ci run for mac-os machine to build app at both: android and ios
the last point I was with some doubts if is correct, but I put the possibility to setup a variable called ENV passing to the dart-defines, this env var has a default value: PROD, and can be change on github secrets at repository, this is correct ?

@RaphaelOliveiraMoura Thanks a lot for your effort, we are getting close to the final version. About your last point, the env being stored in the Github Actions Secret, I think it shouldn't be there. What I suggest, is to use environments as follows:

Pull Requests that are pointing to main branch, use PROD environment
Pull Requests that are pointing to any other branch that is not main, use DEV environment

I don't think that the env should be stored in secrets, since it's not a secret at all.
Here's an example of what I'm saying: https://stackoverflow.com/questions/63817052/github-actions-run-step-only-for-certain-pull-request-base-branches

@ggirotto done, PRs created to main branch will be run with ENV=PROD and PRs to other branches will run with ENV=DEV
Was removed the possibility to change the environment at secrets. And I dont used the if statement for each scenario, instead I preferred to use a ternary operator to populate the env variable with PROD or DEV based on pull request base reference. I think this way was more clearly and don't need duplications for PROD and DEV scenarios.

Hello, it would be nice to include coverage as well.
Here's an example: https://admcpr.com/ci-for-flutter-with-github-actions-part-2-code-coverage-and-matrix/

@ThiagoBfim Good suggestion, but I think it's easier for me to do that in another PR, since it involves creating the project account in CodeCov and adding the secrets to the Actions. I'll create an issue to address this enhancement

@ggirotto I think macos doesnt have support to docker, so its not possible add the container to pipeline.
https://github.community/t/why-is-docker-not-installed-on-macos/17017
I see two paths:

Use ubuntu machine with pre setup with container and build just for android (will reduce the ci time)
Use macos without pre setup container with docker and build for both: android and ios (will not reduce the ci time)

What do you think about that?

@RaphaelOliveiraMoura That's sad :/.
Lets go back to setup without the container and building for iOS. I believe we should keep the iOS build because we have native code written in the future, the CI must be capable to ensure that it's not breaking

@ggirotto done, I will continue searching about the topic to try reduce the pipeline time, if I found something relevant I will open a new issue or discussion.
Very thanks for engagement.

@RaphaelOliveiraMoura We say the same, thanks for contributing with the project!


Add GitHub icon to social media icons in footer

In reference to #625.
I looked at the repo that @astronaut-wannabe linked to but only found a rectangle icon which sorta breaks the flow. A circle would probably be better but I'm not sure where y'all got the other icons

😃

@Butch3rPing good catch!
maybe I got the others from here? https://github.com/gilbarbara/logos
There is a circle github icon in there you can download in that repo

Perfect.

@Butch3rPing Great job! Thanks for diving in. 🌟⭐🌟⭐


Ensure ingress conformance passes in mesh mode

Prior to https://github.com/knative-sandbox/net-istio/pull/583 ingress conformance tests were being run only in non-mesh mode. Setting up the mesh property causes visibility to fail consistently (in my local cluster).
Thus this issue is for two things:

fix the conformance tests in mesh mode
re-enable the conformance tests #583 disabled

related: https://github.com/knative-sandbox/net-istio/issues/549

closing this as dupe actually


Flesh out Byron block/TX definitions

NOTE: this issue was originally https://github.com/cloudstruct/go-cardano-ledger/issues/9

https://github.com/input-output-hk/cardano-ledger/blob/master/eras/byron/cddl-spec/byron.cddl#L55


error by receiving a thumb

I think it might happened with the issue that the thumb sticker is just a image
ERR! listen Error: unrecognized attach_file {"sticker_attachment":{"id":"369239263222822","pack":{"id":"227877430692340"},"label":"Like, thumbs up","frame_count":1,"frame_rate":83,"frames_per_row":1,"frames_per_column":1,"sprite_image_2x":null,"sprite_image":null,"padded_sprite_image":null,"padded_sprite_image_2x":null,"url":"https://scontent.xx.fbcdn.net/v/t39.1997-6/851557_369239266556155_759568595_n.png?_nc_ad=z-m&_nc_cid=0&oh=8bfd127ce3a4ae8c53f87b0e29eb6de5&oe=5A761DDC","height":70,"width":70}}

Hmm, looks like facebook must be making some changes to the format of attachments (see #544 also)
Do you also get an error when sending just an image (not a sticker)?

I haven't try it. I'll do it and give you the test result.
On Sat, Oct 28, 2017, 05:08 Avery Morin<EMAIL_ADDRESS>wrote:

Hmm, looks like facebook must be making some changes to the format of
attachments (see #544
https://github.com/Schmavery/facebook-chat-api/issues/544 also)
Do you also get an error when sending just an image (not a sticker)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Schmavery/facebook-chat-api/issues/545#issuecomment-340085602,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAh1WQKcpqJnYp1eGKdW-fCNf763WOZwks5swkZNgaJpZM4QJlaH
.

Hello, from my testing facebook seems to have changed the json format for all attachments. I have included some json results for most of the attachment types in the file attached here.
attachments.txt
Right now it looks like the entire _formatAttachment function will have to be rewritten.

Great, thanks a lot guys.  I'm going to merge this into #544 to track progress.


mvn clean package -Pwildfly-swarm not working

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.193 sec <<< FAILURE! - in io.microprofile.sample.canonical.rest.TopCDsEndpointTest
io.microprofile.sample.canonical.rest.TopCDsEndpointTest  Time elapsed: 3.192 sec  <<< ERROR!
org.jboss.arquillian.container.spi.client.container.DeploymentException: No WildFly Swarm Bootstrap fraction found
Caused by: java.lang.IllegalStateException: No WildFly Swarm Bootstrap fraction found

I just ran mvn clean package -Pwildfly-swarm with the latest and it ran fine

Are you overriding the repos by any chance? My PR should have fixed a problem if you had never built swarm locally.

build works for me. We should close this issue

Closing out, feel free to create a new ticket or reopen.