HDDS-2007. Make ozone fs shell command work with OM HA service ids

ozone fs command should work with service ids now.
ozone sh command doesn't work with service ids for now. Will improve in another jira.

/label ozone

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
5746
Docker mode activated.

_ Prechecks _

+1
dupname
1
No case conflicting files found.

0
shelldocs
0
Shelldocs was not available.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 5 new or modified test files.

_ trunk Compile Tests _

0
mvndep
31
Maven dependency ordering for branch

+1
mvninstall
718
trunk passed

+1
compile
453
trunk passed

+1
checkstyle
94
trunk passed

+1
mvnsite
0
trunk passed

+1
shadedclient
936
branch has no errors when building and testing our client artifacts.

+1
javadoc
197
trunk passed

0
spotbugs
504
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
750
trunk passed

_ Patch Compile Tests _

0
mvndep
37
Maven dependency ordering for patch

+1
mvninstall
556
the patch passed

+1
compile
414
the patch passed

+1
javac
414
the patch passed

+1
checkstyle
105
the patch passed

+1
mvnsite
0
the patch passed

+1
shellcheck
0
There were no new shellcheck issues.

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
702
patch has no errors when building and testing our client artifacts.

+1
javadoc
191
the patch passed

+1
findbugs
666
the patch passed

_ Other Tests _

+1
unit
291
hadoop-hdds in the patch passed.

-1
unit
2517
hadoop-ozone in the patch failed.

+1
asflicense
66
The patch does not generate ASF License warnings.

14783

Reason
Tests

Failed junit tests
hadoop.ozone.om.TestOzoneManagerHA

hadoop.ozone.container.TestContainerReplication

hadoop.ozone.client.rpc.TestBlockOutputStream

hadoop.ozone.om.snapshot.TestOzoneManagerSnapshotProvider

hadoop.ozone.om.TestOMRatisSnapshots

hadoop.hdds.scm.pipeline.TestRatisPipelineProvider

hadoop.ozone.TestSecureOzoneCluster

hadoop.ozone.container.common.statemachine.commandhandler.TestBlockDeletion

hadoop.ozone.client.rpc.TestBlockOutputStreamWithFailures

hadoop.ozone.client.rpc.TestMultiBlockWritesWithDnFailures

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1360/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1360

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle shellcheck shelldocs

uname
Linux e46cf8c849e3 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / dc9abd2

Default Java
1.8.0_222

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1360/2/artifact/out/patch-unit-hadoop-ozone.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1360/2/testReport/

Max. process+thread count
5403 (vs. ulimit of 5500)

modules
C: hadoop-ozone/common hadoop-ozone/client hadoop-ozone/ozone-manager hadoop-ozone/dist hadoop-ozone/integration-test hadoop-ozone/ozone-recon hadoop-ozone/ozonefs U: hadoop-ozone

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1360/2/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

/retest

+1. Can you check if the acceptance tests failed are related?

@bharatviswa504 The previous commit passed all acceptance and unit. The latest commit shouldn't cause those failures. I'll trigger a retest to check.

/retest

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
94
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
shelldocs
0
Shelldocs was not available.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 5 new or modified test files.

_ trunk Compile Tests _

0
mvndep
40
Maven dependency ordering for branch

+1
mvninstall
655
trunk passed

+1
compile
415
trunk passed

+1
checkstyle
85
trunk passed

+1
mvnsite
0
trunk passed

+1
shadedclient
876
branch has no errors when building and testing our client artifacts.

+1
javadoc
195
trunk passed

0
spotbugs
508
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
767
trunk passed

_ Patch Compile Tests _

0
mvndep
29
Maven dependency ordering for patch

+1
mvninstall
611
the patch passed

+1
compile
410
the patch passed

+1
javac
410
the patch passed

+1
checkstyle
88
the patch passed

+1
mvnsite
0
the patch passed

+1
shellcheck
0
There were no new shellcheck issues.

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
771
patch has no errors when building and testing our client artifacts.

+1
javadoc
205
the patch passed

+1
findbugs
756
the patch passed

_ Other Tests _

+1
unit
351
hadoop-hdds in the patch passed.

-1
unit
2532
hadoop-ozone in the patch failed.

+1
asflicense
72
The patch does not generate ASF License warnings.

9230

Reason
Tests

Failed junit tests
hadoop.ozone.container.common.statemachine.commandhandler.TestBlockDeletion

hadoop.ozone.client.rpc.TestMultiBlockWritesWithDnFailures

hadoop.ozone.om.TestOzoneManagerHA

hadoop.ozone.client.rpc.TestSecureOzoneRpcClient

hadoop.ozone.scm.TestContainerSmallFile

hadoop.ozone.om.snapshot.TestOzoneManagerSnapshotProvider

hadoop.ozone.client.rpc.TestBlockOutputStreamWithFailures

hadoop.ozone.client.rpc.TestBlockOutputStream

hadoop.ozone.om.TestOMRatisSnapshots

hadoop.ozone.TestSecureOzoneCluster

hadoop.ozone.scm.TestSCMContainerPlacementPolicyMetrics

hadoop.ozone.client.rpc.TestOzoneAtRestEncryption

hadoop.ozone.container.TestContainerReplication

hadoop.ozone.client.rpc.TestContainerStateMachineFailures

Subsystem
Report/Notes

Docker
Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1360/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1360

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle shellcheck shelldocs

uname
Linux 36ee253cfa4b 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / dacc448

Default Java
1.8.0_212

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1360/3/artifact/out/patch-unit-hadoop-ozone.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1360/3/testReport/

Max. process+thread count
5296 (vs. ulimit of 5500)

modules
C: hadoop-ozone/common hadoop-ozone/client hadoop-ozone/ozone-manager hadoop-ozone/dist hadoop-ozone/integration-test hadoop-ozone/ozone-recon hadoop-ozone/ozonefs U: hadoop-ozone

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1360/3/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Thank You @smengcl for the contribution.
I have committed this to the trunk.

Thanks for committing @bharatviswa504 !


[Bug]: Very Obvious Seams during Outpainting

What happened?

Hello devs!
Thanks for your hard work!
As you can see from this screenshot, I m currently using a inpainting model called Anything-v3-inpainting
https://civitai.com/models/3128/anything-v3-inpainting
The bottom part has a straight line seam, and the new generated image is slightly darker than before. If I keep trying to generate from bottom part, this is what i get.

You can clearly see there is a color gradient from outpainting
I even tried build my own inpainting model following this instruction
https://www.reddit.com/r/sdforall/comments/zyieht/how_to_turn_any_model_into_an_inpainting_model/
But unfortunately this problem still persist in Anything V4 and V4.5... I lose clue what to do next, Please help a brother out, Is there some setting i m missing?
I have already turned off "Apply color correction to img2img results to match original colors.", nothing works so far
Steps to reproduce the problem

Go to ....
Press ....
... [etc]

What should have happened?
There should be no color shift change during each outpainting steps
Commit where the problem happens
e1a694281ee0d7fe410e913166644884ec048b82
What platforms do you use to access openOutpaint?
Windows
What browsers do you use to access the UI ?
Google Chrome
Browser Extensions/Addons
N/A
AUTOMATIC1111 webUI Commandline Arguments
--api
Additional information
No response

Hi! Will try to reproduce with this model

it's probably not particularly helpful, but i've had a few custom merged inpainting models kind of not work as seamlessly as the "official" inpainting models and sorta wonder if it's just a bit of the stochastic luck of the draw :/ i believe other solutions like invokeAI and stablediffusion-infinity use https://github.com/vacancy/PyPatchMatch for even better results with (or without) an inpainting model which A1111 doesn't employ...
anyway, my computer's being an overheating jerk still at the moment, but just as quick suggestions, i can see you've decreased overmasking - you might want to try increasing it instead? otherwise, you could try painting a quick mask over the seam and leaving the prompts the same, and running the dream tool over the region again...
thanks for the kind words and sorry for the trouble in any case :)

Thank you so much for your input sir!!! yeah for this particular model its has this seams regardless what I do, But when I try using the default SD1.5 inpainting model everything works just fine, I guess there must be something wrong with the merging process? I m not entirely sure... Lets leave it like that hopefully someone will provide a one-stop solution for this

it's probably not particularly helpful, but i've had a few custom merged inpainting models kind of not work as seamlessly as the "official" inpainting models and sorta wonder if it's just a bit of the stochastic luck of the draw :/ i believe other solutions like invokeAI and stablediffusion-infinity use https://github.com/vacancy/PyPatchMatch for even better results with (or without) an inpainting model which A1111 doesn't employ...
anyway, my computer's being an overheating jerk still at the moment, but just as quick suggestions, i can see you've decreased overmasking - you might want to try increasing it instead? otherwise, you could try painting a quick mask over the seam and leaving the prompts the same, and running the dream tool over the region again...
thanks for the kind words and sorry for the trouble in any case :)
Thank you so much for your input sir!!! yeah for this particular model its has this seams regardless what I do, But when I try using the default SD1.5 inpainting model everything works just fine, I guess there must be something wrong with the merging process? I m not entirely sure... Lets leave it like that hopefully someone will provide a one-stop solution for this

it's probably not particularly helpful, but i've had a few custom merged inpainting models kind of not work as seamlessly as the "official" inpainting models and sorta wonder if it's just a bit of the stochastic luck of the draw :/ i believe other solutions like invokeAI and stablediffusion-infinity use https://github.com/vacancy/PyPatchMatch for even better results with (or without) an inpainting model which A1111 doesn't employ...
anyway, my computer's being an overheating jerk still at the moment, but just as quick suggestions, i can see you've decreased overmasking - you might want to try increasing it instead? otherwise, you could try painting a quick mask over the seam and leaving the prompts the same, and running the dream tool over the region again...
thanks for the kind words and sorry for the trouble in any case :)

Thank you so much for your input sir!!! yeah for this particular model its has this seams regardless what I do, But when I try using the default SD1.5 inpainting model everything works just fine, I guess there must be something wrong with the merging process? I m not entirely sure... Lets leave it like that hopefully someone will provide a one-stop solution for this

@zero01101 We should add a simple "generate debugging images to test directly on auto1111.zip", so we can ask users to test image + mask directly on automatic1111 to check if it is actually an OO issue or something related to the model/automatic1111.


Monitor jobs and logs

I added a env with default to docker compose and rename the port envs to more contextual scheme.
Do you think it is good to rename dozzle envs to DOZZLE instead of MONITOR? Atm the prefix of our remaining envs is service specific.

I added a env with default to docker compose and rename the port envs to more contextual scheme.
Do you think it is good to rename dozzle envs to DOZZLE instead of MONITOR? Atm the prefix of our remaining envs is service specific.

Wait.
Why introduce an additional env var which the user likely will not comprehend when simply using double-slash would suffice on both host systems?
Also, I liked the port mnemonics just fine (it's your CONTROLLER_SSH_PORT which first deviated from the scheme).


chore(jellyfish-api-core): update voteGov tests and docs after v3.2.4

What this PR does / why we need it:
voteGov can now accept an operator address in addition to the masternode ID. The error was updated to account for this change, which breaks the tests. This PR updates the tests to expect the new error.

Could you target all v3.2.4 and related changes to a new branch from main called ain/3.2.4. We can't (or rather shouldn't) merge anything breaking tests into main.

Could you target all v3.2.4 and related changes to a new branch from main called ain/3.2.4. We can't (or rather shouldn't) merge anything breaking tests into main.

This is the only PR that would work on 3.2.4. Both #2046 and #2048 require 3.2.5 changes. Do you want to merge this one and then combine #2046 and #2048 into a 3.2.5 branch? Or would you rather wait for 3.2.5 to be released and merge all three from a new branch?


Lost (XVA Remix) x World Cup Mashup (FIXED)

Song Name
Lost (XVA Remix) x World Cup Mashup
Artist Name
AidanTR
Source
Direct file download
Youtube Link
No response
Direct File Link
https://www.mediafire.com/file/7x3slatwtxjfgs2/945695.mp3/file
Song ID
945695
Extra
Used in the level "Slaughterhouse" - 27690100

reject
mediafire is not supported. upload to youtube or use an existing youtube video.


Prometheus Exporter for CCF Data

Feature Suggestion
Is your feature request related to a problem? Please describe.
As an observability-interested user, I want to be able to include CCF data in my existing (centralised) tooling like Prometheus/Grafana and not look at another dashboard.
Describe the solution you'd like
I'd like to be able to plug CCF into my existing Prometheus setup.
Describe alternatives you've considered
There are many monitoring solutions out there. So why should it be a Prometheus exporter?
Prometheus seems to be the standard interface when exposing metrics. Most third-party monitoring tools support reading Prometheus exporters (e.g. Splunk).
Additional context
I'm happy to look into this and even try to create it myself. I want to see if this could be helpful for other people though and what your thoughts are on this.
Possible Implementation
https://prometheus.io/docs/instrumenting/writing_exporters/

@flowirtz This would be really cool, great suggestion. Our thinking with this tool has been a hope that it can be applied to various outputs as per the need of different users and organizations. At this time we haven't seen a lot of demand for one particular tool, so don't have it on our priority to build for example the Prometheus exporter, but would really love it if you wanted to work on it!

We've looked at this too, and were wondering how to emit data in a way that could be used by the existing tooling.
What metrics would need to be exposed to generate CO2 figures?
As I understand it, there are two approaches used in CCF - reading from billing APIs, or reading from reported usage, and feeding that into models somewhat like the ones used in Etsy's cloud jewels.
If we know the metrics to expose (CPU utilisation, IOPs etc), and we have a sensible scheme for tagging, presumably CCF could convert those numbers into CO2, by applying the same emission factors.
Here's an example of scaphandre exposing process level power usage metrics on a given host:
https://github.com/hubblo-org/scaphandre/blob/main/docs_src/how-to_guides/get-process-level-power-in-grafana.md
And these docs here outline how it does it:
https://github.com/hubblo-org/scaphandre/blob/main/docs_src/explanations/how-scaph-computes-per-process-power-consumption.md
If we have those numbers, presumably we'd be able to expose the same kinds of rollups and summaries, that are shown in the CCF dashboards, right?


lens 4.12

lens-4.12.1 depended on by:

Chart-1.5 (>=3.9 && < 4.12). FP Complete<EMAIL_ADDRESS>@snoyberg. @timbod7
Chart-cairo-1.5 (>=3.9 && < 4.12). Emanuel Borsboom<EMAIL_ADDRESS>@timbod7
active-<IP_ADDRESS> (>=4.0 && < 4.12). Brent Yorgey<EMAIL_ADDRESS>@bergey @byorgey @fryguybob @jeffreyrosenbluth
diagrams-builder-<IP_ADDRESS> (>=4.0 && < 4.12). Brent Yorgey<EMAIL_ADDRESS>@bergey @byorgey @fryguybob @jeffreyrosenbluth
diagrams-cairo-<IP_ADDRESS> (>=3.8 && < 4.12). FP Complete<EMAIL_ADDRESS>@snoyberg. @bergey @byorgey @fryguybob @jeffreyrosenbluth
diagrams-contrib-<IP_ADDRESS> (>=4.0 && < 4.12). Brent Yorgey<EMAIL_ADDRESS>@bergey @byorgey @fryguybob @jeffreyrosenbluth
diagrams-core-<IP_ADDRESS> (>=4.0 && < 4.12). Brent Yorgey<EMAIL_ADDRESS>@bergey @byorgey @fryguybob @jeffreyrosenbluth
diagrams-haddock-<IP_ADDRESS> (>=3.8 && < 4.12). Brent Yorgey<EMAIL_ADDRESS>@bergey @byorgey @fryguybob @jeffreyrosenbluth
diagrams-html5-<IP_ADDRESS> (>=4.0 && < 4.12). Jeffrey Rosenbluth<EMAIL_ADDRESS>@bergey @byorgey @fryguybob @jeffreyrosenbluth
diagrams-lib-<IP_ADDRESS> (>=4.6 && < 4.12). Brent Yorgey<EMAIL_ADDRESS>@bergey @byorgey @fryguybob @jeffreyrosenbluth
diagrams-postscript-<IP_ADDRESS> (>=4.0 && < 4.12). Brent Yorgey<EMAIL_ADDRESS>@bergey @byorgey @fryguybob @jeffreyrosenbluth
diagrams-rasterific-<IP_ADDRESS> (>=4.0 && < 4.12). Jeffrey Rosenbluth<EMAIL_ADDRESS>@bergey @byorgey @fryguybob @jeffreyrosenbluth
diagrams-svg-<IP_ADDRESS> (>=4.0 && < 4.12). Brent Yorgey<EMAIL_ADDRESS>@bergey @byorgey @fryguybob @jeffreyrosenbluth
force-layout-<IP_ADDRESS> (>=3.0 && < 4.12). Brent Yorgey<EMAIL_ADDRESS>@bergey @byorgey @fryguybob @jeffreyrosenbluth
json-autotype-1.0.6 (>=4.1 && < 4.12). Michal J. Gajda<EMAIL_ADDRESS>@mgajda
snap-<IP_ADDRESS> (>=3.7.6 && < 4.12). No maintainer. @mightybyte

Update:
lens-4.12.1 depended on by:

Chart-1.5 (>=3.9 && < 4.12). FP Complete<EMAIL_ADDRESS>@snoyberg. @timbod7
Chart-cairo-1.5 (>=3.9 && < 4.12). Emanuel Borsboom<EMAIL_ADDRESS>@timbod7

Also, I was wrong about the commit message that said "reflection bound can be lifted with lens bound":
reflection-2 depended on by:

linear-1.18.3 (>=1.3.2 && < 2). Edward Kmett<EMAIL_ADDRESS>@ekmett

So once the Chart bounds are resolved, it's still true that:

lens is held back by dependency: reflection
reflection is held back by dependent: linear
linear is held back by dependencies: as noted in #669

OK, so basically its the handful of dependencies on old versions of linear from #669 that are holding back reflection and hence a current version of lens and not anything I can patch?

Correct. Sorry for the superfluous ping on linear. The linear deps have been sorted out, so now we're just waiting on Chart and Chart-cairo to get lens-4.12.* into stackage.

For reference, here's the PR I made for Chart and Chart-cairo: https://github.com/timbod7/haskell-chart/pull/91

Chart, Chart-cairo and Chart-diagrams have been upgraded with the new lens dependency.

@timbod7 awesome, thanks for your promptness!
I'm pleased to announce that lens-4.12.* is cleared for inclusion in the next nightly.


plotting Dataframe

I am trying to figure out how to plot dataframe the way it plots in the Jupyterlab, but so far I wasn't able to do anything but to print it... will appreciate any help

I figured out how to plot df to  but wonder if there is any way to make it passive (non-interactive)

There definitely is. Could you use the following tags in your post to copy in the file you're trying to run?
~~~markdown
your file here
~~~

~~markdown
# Title

<section-start >
``````python
from business import load_data, analize
ready_to_report = False
fraud = ''

 data_path
2. Analysis

``````python
data = load_data(data_path)
print(f'...data loaded. Working on {len(data)} records.')
fraud = analize(data)
if len(fraud) == 0:
print('Hoorah! No fraud at all!')
else:
print(f'Detected {len(fraud)} frodulent records\n\n')
ready_to_report = True
<variable-table>fraud</variable-table>
</section-button >
----
<section-button value = "to PDF" condition = "ready_to_report" >
``````python
print('PDF generated!')

~~

You can use IPython display to display tables using JupyterLab method.
<section-start>

```python
from IPython.display import display
```

</section-start>

## Jupyter pandas DataFrame display

<section-button value="Create and show table">

```python
table = pd.DataFrame(data=[[1,2,3]], columns=['a', 'b', 'c'])
display(table)
```

</section-button>

## ScriptedForms DataFrame display set to readonly

<variable-table inputTypes="{'a': 'readonly', 'b': 'readonly', 'c': 'readonly'}">table</variable-table>

Thanks! worked perfectly
On Sat, Apr 21, 2018 at 11:48 PM Simon Biggs<EMAIL_ADDRESS>wrote:

You can use IPython display to display tables using JupyterLab method.

```pythonfrom IPython.display import display```

## Jupyter pandas DataFrame display

```pythontable = pd.DataFrame(data=[[1,2,3]], columns=['a', 'b', 'c'])display(table)```

## ScriptedForms DataFrame display set to readonly
table
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SimonBiggs/scriptedforms/issues/251#issuecomment-383353264,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACjTpVhDOof3ED7_VyZ_ANvMDiwKGrkeks5tq_2VgaJpZM4TepV3
.

Good to hear :)
On Tue., 24 Apr. 2018, 12:09 am Philipp Kats<EMAIL_ADDRESS>wrote:

Thanks! worked perfectly
On Sat, Apr 21, 2018 at 11:48 PM Simon Biggs<EMAIL_ADDRESS>wrote:

You can use IPython display to display tables using JupyterLab method.

```pythonfrom IPython.display import display```

## Jupyter pandas DataFrame display

```pythontable = pd.DataFrame(data=[[1,2,3]], columns=['a', 'b',

'c'])display(table)```

## ScriptedForms DataFrame display set to readonly
table
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/SimonBiggs/scriptedforms/issues/251#issuecomment-383353264
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ACjTpVhDOof3ED7_VyZ_ANvMDiwKGrkeks5tq_2VgaJpZM4TepV3
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SimonBiggs/scriptedforms/issues/251#issuecomment-383588741,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGQVe8RcZFmU7qZ-hJAQnQMqM5TAnILVks5treCzgaJpZM4TepV3
.


xds stable identifiers: reduce node metadata usage

As part of https://docs.google.com/document/d/1Is8sW322wC5vzjWJaqYJSnY_frSAYXRFl0xZaS0Q8tU/edit#, we will create stable identifiers for XDS objects. This means source dependent changes will need to be explicitly declared; currently we just read whatever we want from node metadata.
This issue aims to track current usage and analyze where we can cleanup and where we will need to encode as part of the identifier
https://github.com/istio/istio/blob/c388beea34eceee03c8561454cb26d327f563f82/pilot/pkg/model/context.go#L367 for reference

ProxyConfig

This literally sends the entire proxy config over. This was the biggest move in the opposite direction. Currently used for gateway topology and tracing; more to come in the future most likely.
While this is a complex field, the vast majority of proxies are likely to ahve the same options here. We likely can have references to the proxy config rathe than encoding directly in the identifier

IstioVersion

Very commonly used for capability detection. Also used for EnvoyFilter matching.

Labels

Very commonly used to match configuration. Similar to proxy config in that we will likely need to have a reference as this is a complex type, but differs because this is generally unique per Deployment. Small enough to feasibly base64 encode?

InstanceIPs

Determine IP to bind to, ipv4/6 support.
Used to lookup labels if not present in meta (this shouldn't happen now), as well as management ports.
Used to skip duplicate inbound/outbound listener for headless services
Used to find ServiceInstances by reverse lookup of pod
This seems pretty un-avoidable to include. Additionally, its going to be 1:1 with pods, which will destroy cache-ability

ConfigNamespace, Namespace

We have both for legacy reasons: https://github.com/istio/istio/issues/24023.
Used extensively for config scoping. Easy to encode

InterceptionMode, RouterMode

Impacts how listener are generated. Easy to encode.

ServiceAccount, PodPorts

Used only for metadata based pod lookup fallback. SA is easy to encode, pod ports is less easy

ClusterID, Network, RequestedNetworkView

Used extensively, especially for endpoints. Easy to encode

ExchangeKeys, PlatformMetadata, InstanceName, WorkloadName, Owner, StatsInclusionPrefixes, StatsInclusionRegexps, StatsInclusionSuffixes, ExtraStatTags

not used by pilot

TLSServerCertChain, TLSServerKey, TLSServerRootCert, TLSClientCertChain, TLSClientKey, TLSClientRootCert, IdleTimeout, PolicyCheck, PolicyCheckRetries, PolicyCheckBaseRetryWaitTime, PolicyCheckMaxRetryWaitTime, SdsBase, InsecurePath, MeshID

Minor config overrides

SdsEnabled, HTTP10

feature flag

Generator

feature flag/control client type. Easy to encode

Raw

We copy literally the raw node metadat and use it for envoyfilter

Based on this, its seems problematic to cache based on stable identifiers, and it seems extremely hard to actually simply encode all of this information. While we can trim down the list a bit, there are still some major issues, namely labels, ip address, proxyconfig, and raw.
Some ideas:

We could have many things derived just from the ip address. This would remove:

Namespace
Labels
SA
Pod ports
Which would be looked up from the pod based on IP address. This won't work with VMs though, and also re-introduces a major race condition in pilot. This doesn't seem viable as a result.

cc @costinm @louiscryan

Based on our chat:
https://github.com/istio/istio/blob/f0297eeb810163d56744713e02164e23b232c683/pilot/pkg/networking/core/v1alpha3/listener.go#L1087
We should identify all non-cacheable, pod specific entries - and evaluate if they can be 'patched' locally.

The other problem with labels is that in many cases pods get a lot of labels - from helm, etc - the full set of labels will break the hit-ratio for any cache and create update latencies.
However - we can easily identify (per namespace) a set of 'active' label keys, used in any config in that workspace. It is per NS because workload selectors work on namespace, and that's everything we need for the local overrides.
Based on the sorted list of active labels - we can create a semi-stable identifier for the pods. If new configs are added that start using other labels - we'll need to re-generate the cache for that namespace, but that's fine - today we regenerate everything.
Based on the semi-stable label, we could populate a memcache or use groupcache (or some plugin - we can even store in k8s/etcd in a new 'istio-xds-cache' CRD).  Assuming we also implement the 'istio-master' - a high-priv Istio that handles the CA and k8s write, with other revisions handling
connections - we can have very efficient XDS generation and populating the cache, and then push to cache keys ( via 'api-style XDS') to all connection-handling Istiod instances.

Yes, absolutely - full XDS response is clearly not viable IMO.
We should also assume that the common case is using the server-defined settings without client overrides.
We may need to cache not only XDS, but also some 'synthetic' data - like the set of 'active' labels per namespace, set of active labels that impact client-side overrides, etc.
The 'synthetic' data might also be useful for debug/analyze/other tools.

We should also not think of this as simply a 'cache' ( i.e. non-durable ). While the design should work with memcache or in-memory groupcache - i.e. tolerate loss - it should also work with durable storage, like using some internal CRDs that store pre-generated XDS fragments and synthetic metadata.  This will allow 'central cluster' to fallback to low-privilege local istiod, and better handle restarts. Will also allow the translation to be driven off-line ( CI/CD, etc ), further reducing Istiod footprint.

Also I think we need to decouple the pilot metadata from the proxy metadata. Currently they share a struct. Pilot's should be a subset though of just what it uses. That way we can add more metadata for wasm or local purposes without making it freely available in pilot code gen. We can of course add it to pilot metadata later, but it makes it clear what should and shouldn't be used for gen and we can be more explicit


fix: refactoring iban model with publication date null PAGOPA-1149

List of Changes
Fixing the iban, removing the required clause to the publication date

Refactoring iban model, removing the required and not null clauses from publication_date. In addition, description to the various fields is provided.
Motivation and Context
This fix was necessary in order for the front-end to work properly, since the release of the new view.

How Has This Been Tested?
This has been tested manually using the H2 profile.

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

update_code


⚠ HopeAlley Ecards has degraded performance

In c53f4b0, HopeAlley Ecards (https://hopealley.com/ecards) experienced degraded performance:

HTTP code: 200
Response time: 5974 ms

Resolved: HopeAlley Ecards performance has improved in 155424f after 6 minutes.


feat(panel): add a panel widget

See the panel in action

Panel documentation

e-commerce example with panel

That is one of the feature that will help a lot our current and next users, thanks! Reviewing now.

I've just updated the PR with last changes:

never unmount widgets but instead compute a boolean canRefine that is provided to widgets. Those widgets will display a new classname if no refinement present. Some, if a panel wrap them, will notify it.

I removed the display:none from our default style, but still don't really know how to move forward. It still makes sense to hide panel for some widgets (ex: the RefinementList), and for others maybe not: (ex: RangeInput). Maybe we can do nothing about it in our default theme as for now, and discuss about the right implementation with the design team? End users will still be able to do what they want with our widgets in their side. What do you think?

Can we add stories where we have widgets inside panels and canRefine is true (by triggering canRefine with a defaultRefinement maybe?).
So that we can easily work on it.

I think we are good now for this PR.
As for next iterations we would need:

Choose and implement the design we think the best when a widgets has no refinement
Create a connectPanel if needed

I like that!


[AKS] Remove syntax sugar for az aks update --ssh-access and update help message

Remove syntax sugar for az aks update --ssh-access and update help message

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[ ] My extension version conforms to the Extension version schema

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

AKS

@FumingZhang @zhoxing-ms @yanzhudd could you please have a review? Thanks!


layout_constraintWidth/Height_percent="1" not works in layoutDescription XML files

In a layout XML file, specifying layout_constraintWidth_percent="1" / layout_constraintHeight_percent="1" (and also > 1.0) works as expected.
However, in a layoutDescription XML file layout_constraintWidth_percent="1" / layout_constraintHeight_percent="1"  (and also > 1.0) does not work well and seems completely ignored.

ConstraintLayout version: 2.1.0

Where did you find the definition of layout_constraintWidth ?
What do you think it should do width ="1"?

Where did you find the definition of layout_constraintWidth ?

Sorry, that was my mistake. I mean layout_constraintWidth_percent and layout_constraintHeight_percent.

What do you think it should do width ="1"?

layout_constraintWidth_percent="0" :point_right: it means 0 % of the parent (MotionLayout) width.
layout_constraintWidth_percent="0.5"  :point_right: it means 50 % of the parent (MotionLayout) width.
layout_constraintWidth_percent="0.999"  :point_right: it means 99.9 % of the parent (MotionLayout) width.
layout_constraintWidth_percent="1"  :point_right: it should be 100 % of the parent (MotionLayout) width.

Ok sorry I got confused with the layout_constraintWidth which is a different tag. Looking into it.

Any news?


ICP changes

also please add some description to the PR.

Note - to remember to squash commits please.

@27149chen  - I believe u can merge this as well.  just review the comments.


check dependencies first

I'm submitting a bug report
Environment

Operating System:
Win7-64

Node Version:
current

NPM Version:
current

Description
Current behavior:
during monterey doing it´s scaffolding magic there was a alert message (top right corner) that some node help stuff wasn´t installed. It was good that the node command was provided! I did install it and ran the magic a second time to make sure everything is ok.
Expected/desired behavior:

monterey should check the dependencies first
i didn´t know if this error caused further trouble or was allready fixed by installing the dependency. a hint would be useful.

@TheJJJ Can you please let us know the Monterey version number (is is displayed on the About page, accessible via About button on the toolbar in the footer area.
some node help stuff wasn´t installed is not very helpful, can you be more precise?
I am also not sure what you meant with the node command was provided - please elaborate.
Lastly: Monterey keeps a log of its actions as described here

Please add the .txt file that was created at the time you had your problems (you can determine which one by matching its creation date with the time you used Monterey) and add it to this problem report

Hi adriatic,
thank you for your precise documentation. I wouldn´t have found it so easily by myself.
Monterey version: 0.4.7
NodeJS version: 6.5.0
Electron version: 1.4.1
"error","notification","2016-10-13T15:11:25.719Z","Error during "au help". Did you install aurelia-cli? npm install aurelia-cli -g"
"error","aurelia-cli-plugin","2016-10-13T15:11:25.720Z","Command failed: au helpDer Befehl "au" ist entweder falsch geschrieben oderkonnte nicht gefunden werden., Error: Command failed: au helpDer Befehl "au" ist entweder falsch geschrieben oderkonnte nicht gefunden werden.    at ChildProcess.exithandler (child_process.js:218:12)    at emitTwo (events.js:106:13)    at ChildProcess.emit (events.js:191:7)    at maybeClose (internal/child_process.js:877:16)    at Socket. (internal/child_process.js:334:11)    at emitOne (events.js:96:13)    at Socket.emit (events.js:188:7)    at Pipe._handle.close [as _onclose] (net.js:493:12)"
the german sentence in english:
The command "au" is either wrong or could not be found.

I believe that it is very easy to help you in this situation - all you need to do is to open the console and type npm install aurelia-cli -g. This will add the aurelia-cli component to your computer, and consequently allow monterey to use it in some of application creation scenarios that depend on aurelia-cli being installed
See

Creating new application / Aurelia-CLI and its three sub-sections.
Creating new application / GitHub and its subsections.

for more information on Aurelia-CLI application creation.

My intention wasn´t to complain that the npm command was impossible for me (as I wrote: 'i dit it'), but to give a hint where monterey might be improved. Either:

let monterey check for missing dependencies first and give the user the hint and command to fix it upfront,
let monterey install missing dependencies,
tell the user that the npm command afterwards will fix any problems or if the scaffolding has to be repeated.

Thank you all for your engagement for good software.

@TheJJJ This is discussed, among other things, in the "sanity check" issue #365 . :smiley:
In my opinion an existing installation of aurelia-cli should be checked before anything else, so I agree.
We've also discussed whether we could just run npm i -g aurelia-cli from Monterey but we dropped that because this would mean gaining administrator privileges (at least on a unix based system).

My intention wasn´t to complain that the npm command was impossible for me (as I wrote: 'i dit it'), but to give a hint where monterey might be improved

@TheJJJ - your intent is clearly understood and much appreciated 😏


Add compatibility with GQA & optimize multi-GPU memory allocation

Based on our tests, the performance degradation resulting from not scaling the out_proj layer is minor, so we decided to skip scaling the out_proj layer if GQA is employed, in order to maintain code simplicity.

Hey @Sakits and @tonylins,
Thanks for merging the PR. So, it simply avoids scaling the o_proj layer. How about instead repeating v_proj output so that it has the same size as o_proj? The modeling_llama.py does it the same way here?

@abhinavkulkarni Thanks for the question. LLaMA-70B is a very large model, and the degradation from quantization is relatively small. We found skipping o_proj layers does not lead to a noticeable performance difference but makes the implementation easier.

Thanks @tonylins,
I understand. I just wanted to confirm though that if somebody did want to scale the o_proj layer as well for sake of speed and as low a memory footprint as possible, then repeating v_proj the way I mentioned would work, right?
Thanks again for great work!

Hi @abhinavkulkarni ,
Thank you for your suggestion and insight!
Currently skipping the scaling of the o_proj layer doesn't result in a decrease in speed or an increase in memory usage (o_proj is still quantized). It might only potentially lead to a decrease in output quality, such as increased perplexity.
But based on our experiments, adding a scaling node at this point only leads to a minor drop in perplexity, so we decided to directly skip scaling the o_proj layer directly.
In the modeling_llama.py, the output of v_proj is repeated, but if we want to fully fuse the scale factor into v_proj, we would need to repeat the weights of v_proj, which is not feasible.
A compromise might be to let the channels of o_proj corresponding to the same channels of v_proj share a scale factor. However, this approach would perform worse in terms of perplexity than adding a scaling node, which is why we didn't choose this method.


Fix linter that runs during tests to work on linux.

'make test' does not work on linux. This PR copies similar changes from go-bk and go-bc.

Codecov Report

Merging #38 (1d49b2e) into master (26dc44e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #38   +/-   ##
=======================================
  Coverage   78.63%   78.63%
=======================================
  Files          18       18
  Lines        1170     1170
=======================================
  Hits          920      920
  Misses        166      166
  Partials       84       84

Continue to review full report at Codecov.

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


Enhance German translation

I worked with my German translation for a few days and realized that it contained some errors and could use some rewording to fit context and "feel" better. The issue is: I'm a native speaker, but I and other native speakers still use some English wording in our day-to-day life when talking about Git. Translating everything to German would feel forced and weird. So there remains some "danglish" in my translation but there is not 100% right way of going about this.

Fix straight errors
More consistency
Reword to fit context better

Fixes #322

Could you please add translations for these newer keys:
  <x:String x:Key="Text.Configure.Git" xml:space="preserve">GIT</x:String>
  <x:String x:Key="Text.Configure.IssueTracker" xml:space="preserve">ISSUE TRACKER</x:String>
  <x:String x:Key="Text.Configure.IssueTracker.AddSampleGithub" xml:space="preserve">Add Sample Github Rule</x:String>
  <x:String x:Key="Text.Configure.IssueTracker.AddSampleJira" xml:space="preserve">Add Sample Jira Rule</x:String>
  <x:String x:Key="Text.Configure.IssueTracker.NewRule" xml:space="preserve">New Rule</x:String>
  <x:String x:Key="Text.Configure.IssueTracker.Regex" xml:space="preserve">Issue Regex Expression:</x:String>
  <x:String x:Key="Text.Configure.IssueTracker.RuleName" xml:space="preserve">Rule Name:</x:String>
  <x:String x:Key="Text.Configure.IssueTracker.URLTemplate" xml:space="preserve">Result URL:</x:String>
  <x:String x:Key="Text.Configure.IssueTracker.URLTemplate.Tip" xml:space="preserve">Please use $1, $2 to access regex groups values.</x:String>

I added the requested lines and the rest should also be much better than the initial translation.
I think I'm done (for now 😉).


$$animateReflow doesn't force repaint in minified version of 1.3.15

I had an animation that was working fine with the non-minified version. But, when I switched over to using the angular-animate-1.3.15.min.js file, the animation stopped working. When I compared the two pages in Chrome Timeline, I noticed that the minified one was lacking the forced repaint.
I dig into the minifed version and it looks like the $$animateReflow() is missing the body.offsetWidth line:
.factory(
	"$$animateReflow",
	["$$rAF","$document",function(f,C){
		return function(g){
			return f(function(){
				g();
			})
		}}
	]
)

... if I manually patch it with:
.factory(
	"$$animateReflow",
	["$$rAF","$document",function(f,C){
		return function(g){
			return f(function(){
				var a = C[0].body.offsetWidth + 1;
				g();
			})
		}}
	]
)

... the animation starts to work properly. I don't know enough about build systems, or I would try to submit a pull request. But, alas, I am just an unfrozen caveman developer, frozen in ice and then thawed out by your scientists.
At the bottom of this blog post, I make a video of the problematic behavior, which was demonstratable in both Firefox and Chrome.
http://www.bennadel.com/blog/2814-animate-before-animate-after-animate-close-and-the-nganimate-enter-workflow-in-angularjs.htm

@bennadel could you please try with v1.4.0-rc.0? I think it was fixed by c55a494433e619aad0c7ef9fddadc0b3fdf53915

This was also fixed with https://github.com/angular/angular.js/pull/11469, but 1.3 hasn't had a new release yet. So please either use a self-built version of 1.3 off of the 1.3 branch or use the 1.4 RC0  that came out yesterday.

@pkozlowski-opensource @matsko awesome stuff! I tried to search the issue tracker for $$animateReflow, but didn't see any relevant references (otherwise, I wouldn't have wasted your time). Glad you guys got this fixed.


Add light/dark theme toggle to editor

The Editor component takes a string for a theme. It currently is set to "vs-dark"

[ ] add a dark mode toggle button that toggles the editor theme between "vs-dark" and "vs"

Hi @katherinepeterson , i came across readme.so recently , and would like to give it a shot by contributing to this issue . I am a java backend developer , but do understand frontend development as required during a task . Let me know if i can take time and pick up this feature ?

Hi @katherinepeterson , i came across readme.so recently and find it interesting, and would like to give it a shot by contributing to this issue . I am a java backend developer , but do understand frontend development as required during a task . Let me know if i can take time and pick up this feature ?

Yes, definitely please do! I am assigning the issue to you

Thanks @katherinepeterson , will start this now and will update you .


Update the annotation with upgrade new value of 2024a upgrade

Update the annotation with upgrade new value of 2024a upgrade
Description
Related-to: https://issues.redhat.com/browse/RHOAIENG-4340
How Has This Been Tested?

NA
Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

Merging to get this sorted for 2.9 feature freeze.


E2E Encryption poc

Optional Encryption is added where the JSON response is sent without encryption if the public key is not sent in the header

Encrypted Data is returned back if the publicKey is sent as a header parameter

EncryptionVerticle is added in config files

Encryption is implemented for the APIs present in the following (as viewed in Postman):

Temporal Search
Temporal Count
Complex Search
Complex Count
Attribute Search
Attribute Count
Spatial Search
Spatial Count
Filter

executeCountQuery
executeSearchQuery

Latest Data

executeLatestSearchQuery

Async API

handleAsyncSearchRequest
handleAsyncStatusRequest

Used URL-based base64 Encoding to Encode Public key and message
Changed decodePublicKey() to return Key instead of Future<JsonObject>
Added length of URL safe base64 public key length to 44 characters long
Returns bad request for invalid length of public key and if invalid values are present in the public key
Added JUnit5 Tests for EncryptionServiceImpl here
Updated JenkinsFile and pom.xml to remove EncryptionService interface
Added public key validation here
Created test class for HeaderKeyTypeValidation here
Created a custom Message encoder for URL-base64 encoding and decoding here

Can one of the admins verify this patch?

retest this please

retest this please

retest this please

retest this please


Add an introductory Read Me

This looks like an interesting project I was pointed to via Twitter.  Would be nice to have a little introductory readme.
Thanks.

:+1:
A few words about what it does and maybe a small example would be very nice.

I also "stumbled upon" this project after Miles Sabin referenced it as one of the projects leveraging Shapeless.  Perhaps it's not a substitute for a nice README, but here's a relevant YouTube video: https://www.youtube.com/watch?v=g94BIizXMYY

It's not a README but there is a short tutorial repo here: https://github.com/tixxit/framian-tutorial


Pokemon-informaton-generator

Describe the project you want to add with tech stack

On clicking the generate button, different pokemons will be displayed on the screen, information such as their speed ,attack etc,.will also be displayed on the screen .Can you assign this issue to me?
Expected behavior

Screenshots (optional)

Additional context (optional )

@MohitGupta121 @TusharKesarwani @pranjay-poddar  kindly review this PR.


fix: Drop non-UTF-8 commands

I'm concerned that this might break for search commands which have other encodings.

Indeed, you are right, but it turns out this was already broken! I reproduced in a test (commented out, with TODO) and opened a ticket for it.


Lack of feedback in UI during simulation (important for longer sims)

amgreer
https://jira.jpl.nasa.gov/browse/AERIEQS-434
Moderate
It could be beneficial to have some more feedback when simulating larger plans to let the user know what is happening and if the simulation is somehow stalled. Currently the only feedback is the 'incomplete' or 'pending' simulation status rather then some discreet messages about what is actively being simulated.

Related to https://github.com/NASA-AMMOS/aerie-ui/pull/808


Mod Causing Server to Crash when stopped

when the server is stopped , it shows some errors and crashes.
Logs: https://mclo.gs/HVwxe0Y

This should be fixed with 3.1.0


fix(page): take main elements grid-area value out of custom property

fixes https://github.com/patternfly/patternfly-next/issues/2136

Deploy preview for pf-next ready!
Built with commit 51acb72dea5aeeeb693ae9166f8afc729d609c2b
https://deploy-preview-2137--pf-next.netlify.com

PatternFly-Next preview: https://patternfly-next-pr-2137.surge.sh

Deploy preview for pf-next ready!
Built with commit 1bd2cbdf25e05dafabcf15cb7dc431aaa4952aff
https://deploy-preview-2137--pf-next.netlify.com

You can verify the broken behavior by opening a page demo's codepen link and seeing the layout is broken.
Then you can verify the fix by removing the link to<EMAIL_ADDRESS>in the codepen's CSS, check out this branch, run npm run build-patternfly, and copy the contents of dist/patternfly.min.css into the CSS panel in the codepen.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Encoding::UndefinedConversionError in Jaeger's CollectorExporter

One of my team's services went live with Otel, but we're seeing frequent but low volume encoding errors in the Jaeger::CollectorExporter
Here's an example:
Encoding::UndefinedConversionError:  "\xF6" from ASCII-8BIT to UTF-8
/gems/thrift-0.14.1/lib/thrift/bytes.rb:81 in encode
/gems/thrift-0.14.1/lib/thrift/bytes.rb:81 in convert_to_utf8_byte_buffer
/gems/thrift-0.14.1/lib/thrift/protocol/binary_protocol.rb:110 in write_string
/gems/thrift-0.14.1/lib/thrift/serializer/serializer.rb:29 in write
/gems/thrift-0.14.1/lib/thrift/serializer/serializer.rb:29 in serialize
/gems/opentelemetry-exporter-jaeger-0.16.0/lib/opentelemetry/exporter/jaeger/collector_exporter.rb:45 in block in export
/gems/opentelemetry-exporter-jaeger-0.16.0/lib/opentelemetry/exporter/jaeger/collector_exporter.rb:44 in each
/gems/opentelemetry-exporter-jaeger-0.16.0/lib/opentelemetry/exporter/jaeger/collector_exporter.rb:44 in export
/gems/opentelemetry-sdk-0.16.0/lib/opentelemetry/sdk/trace/export/batch_span_processor.rb:186 in block in export_batch
/gems/opentelemetry-sdk-0.16.0/lib/opentelemetry/sdk/trace/export/batch_span_processor.rb:186 in synchronize
/gems/opentelemetry-sdk-0.16.0/lib/opentelemetry/sdk/trace/export/batch_span_processor.rb:186 in export_batch
/gems/opentelemetry-sdk-0.16.0/lib/opentelemetry/sdk/trace/export/batch_span_processor.rb:169 in block in work
/gems/opentelemetry-sdk-0.16.0/lib/opentelemetry/sdk/trace/export/batch_span_processor.rb:158 in loop
/gems/opentelemetry-sdk-0.16.0/lib/opentelemetry/sdk/trace/export/batch_span_processor.rb:158 in work
/gems/opentelemetry-sdk-0.16.0/lib/opentelemetry/sdk/trace/export/batch_span_processor.rb:179 in block in reset_on_fork

This service deals with Kafka messages from other services and after some reasoning through our codebase I'm confident that the data that triggers this exception comes from these messages. However, I can't place which attribute or other property would contain characters that can't be converted.
The non-utf-8 compliant characters change error-by-error so it's possible that this data might come from using a byte string in the wrong place.
I could possibly add some logging to wrap around the CollectorExporter and prints out spans that contain the non-utf8 compliant characters, but I'm hoping to avoid logging if I can.
Ideally, I'd like to consider having the Jaeger::Encoder convert all strings to UTF-8 before they're converted into thrift format. Is there appetite for this?

I could be mistaken here but that error seems to indicate to me that the String object is a BINARY object and not a Text encoding. Forcing the encoding of a BINARY attribute into UTF-8 text encoding may result in even stranger results since I do not think the value is meant to be interpreted as text.
Are you all dynamically adding tags based on data in the Kafka message here? Do those messages contain binary objects as values instead of text?

Nope, we haven't done anything extra with these spans.
It's possible that we're receiving messages that contain binary data in pre-instrumented fields, but I'd have to add that logging to be sure. However, I'm assuming that the instrumentation, or another part of these libraries, would want to protect against this kind of thing.

Ideally, I'd like to consider having the Jaeger::Encoder convert all strings to UTF-8 before they're converted into thrift format. Is there appetite for this?

The performance impact (extra object allocations and CPU) of doing this is hard to justify. I would rather we track down which instrumentation is adding binary string values, and fix it.

Yes, I think that’s a fair point.
With regards to tracking down the instrumentation, my team’s made a change in the last couple days that moved the Kafka consumer onto a different Kafka topic and we’ve not seen the error since. This means that we’ll not be able to do any debugging using real data, but it does point to the Kafka instrumentation having a potential gap in its instrumentation.
We’re using #each_message from the Kafka::Consumer and we’re not adding any custom attributes to the spans. From what I can tell there should only be two String values added to the Span from the message, the topic and the key. I suppose other values could be strings that haven’t been coerced into integers, as the instrumentation isn’t attempting this, but I’m struggling to see how this would happen without ruby_kafka or something else in the stack misbehaving.
I do have a remaining concern: My understanding is that the exporter is currently serializing the spans in batch and the encoding error will cause valid spans that have been batched with the span that contains the binary string to be dropped. Is that a valid concern? Would adding some rescue and debug logging help? I’m assuming that the logging could report on which instrumentation library has the error.

I do have a remaining concern: My understanding is that the exporter is currently serializing the spans in batch and the encoding error will cause valid spans that have been batched with the span that contains the binary string to be dropped. Is that a valid concern? Would adding some rescue and debug logging help? I’m assuming that the logging could report on which instrumentation library has the error.

The error is raised inside generated code for the Thrift encoding. We already log the error, but it likely doesn't have enough information to figure out which attribute, span or instrumentation caused the problem: https://github.com/open-telemetry/opentelemetry-ruby/blob/7eed08a570a859feaae76a01af556c1557bf89c6/exporter/jaeger/lib/opentelemetry/exporter/jaeger/collector_exporter.rb#L45-L53
You can replace the default OpenTelemetry.error_handler if you want to try to dig out more details. The default is https://github.com/open-telemetry/opentelemetry-ruby/blob/7eed08a570a859feaae76a01af556c1557bf89c6/api/lib/opentelemetry.rb#L33-L37


Verify that "Șpring" is listed in the dropdown menu when searched

Description : When user is typing "Șpring " in the search bar, the location should appear in the dropdown menu correctly spelled and with locality information (as in Law nr. 2 din 16 februarie 1968)
Precondition : The website is up and running.

** Step 1 :** Type "Șpring" in the search bar .

Expected result : "Șpring" is listed as an option in the dropdown menu, and appears as "Sălciua, Alba"


Deprecation of the Instagram Basic Display API.

Hi @wajahatbashir
Facebook Meta has announced that it may deprecate the Instagram Basic Display API on December 4, 2024. Could you please confirm whether any code changes will be required on our end? If so, is there any possibility of a newer version being released from your side to accommodate these changes?
More reference : https://developers.facebook.com/docs/instagram-basic-display-api/

You can update the API in the WB\InstagramFeeds\Model file. I’ll make sure to update it myself as soon as I have some time.

@wajahatbashir
Should be like this ? please confirm
https://graph.instagram.com/v21.0/<ig_user_id>/media?access_token=<access_token>&fields=id%2Ccaption%2Cmedia_url%2Cpermalink%2Cmedia_type&limit=20


add client info to ping, add exit message type

see https://github.com/kubescape/synchronizer/pull/58 instead


refactor/initializer

Swap linear weight order from [input, output] to [output, input] to fit with the convention
Refactor Initializer enum to output weights and (optionally) bias, which greatly simplifies model initialization
Refactor Initializer::UniformDefault (which asked the model to implement its own initialization method) into Initializer::NormalizedUniform
Put fan_in / fan_out computations in Shape

I pushed some new code, where I changed uniformdefault/normalizeduniform for Kaiming initialization. Also there has been a major refactor since my last version so that initialization returns a tensor and not both weight and biases, all while considering fan_in/fan_out.
It panics on two of the newer tests that passed in the main branch. @antimora I suspect the saved model from the new MNIST test to have its linear weights recorded as [d_input, d_output] instead of the now [d_output, d_input]

With the new way of specifying fan_in and fan_out using init_with, it had become overkill to unify their computation in the implementation of Shape.  Instead each model will need (or be able to, depends on the point of view) to specify its fan_in/fan_out when necessary.
Thus we are no more obligated to assume that the outer dim is always first and inner dim second. I could then revert to the original linear shape, which saves us from transposing the weights in the forward function.


[MINOR] adding support for errors due insufficient permissions

This additional field would let Actions indicate that a permission is needed, but the authenticated user does not have it.
This is free form, and does not depend on any specific implementation of permissions system.

Please squash-and-merge. Don't merge all three separate commits into master.


Run NPM?

Hello:
For this step:
Load the Azure Maps Web SDK source code locally using the azure-maps-control NPM package and host it with your app. This package also includes TypeScript definitions.
npm install azure-maps-control
What directory do I run that from? I want to add the Maps control to my ASP.NET Core web project, do I open a command prompt, cd to the root of my project, and run the NPM command from there?

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

ID: ea11ca51-2d51-8328-09d7-2ee9944e5751
Version Independent ID: 2077160d-3c5f-33d1-4d14-43a758071a76
Content: Getting started with web map control
Content Source: articles/azure-maps/how-to-use-map-control.md
Service: azure-maps
GitHub Login: @philmea
Microsoft Alias: philmea

@JohnStraumann66 Your understanding is correct, you can go to your project root folder and then run the command to embed the Azure Maps Web Control source code into your app.

Since you have raised the same question here: https://github.com/MicrosoftDocs/azure-docs/issues/59142 we will help you there to avoid duplicate efforts.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Assets should be minified

To decrease server requests and bandwidth all of the CSS and JS assets should be concatenated and minified.
This can be automated using Grunt or Gulp.

Javascript dependencies are manged using bower so the minified versions are already there. But it is possible I do not include them in the templates...

True, well if you are already using bower it shouldn't be much additional effort. I use Grunt on all my projects and this snippet works nicely for combining everything in to one minified file.
	concat: {
		dist: {
			src: [
				'assets/scripts/_source/jquery.*.js',
				'assets/scripts/_source/*.js'
			],
			dest: 'assets/scripts/combined.js'
		}
	},

	uglify: {
		build: {
			src: 'assets/scripts/combined.js',
			dest: 'assets/scripts/combined.min.js'
		}
	},


run.sh script not working

I am trying to test the VM and the run script does not work in both testing or dev mode, it is stuck at waiting for all nodes to report healthy..., other times I get
{"level":"warn","ts":"2022-05-31T09:20:37.850Z","caller":"server/server.go:387","msg":"start custom VMs failed to complete","error":"context deadline exceeded"}
panic: context deadline exceeded

goroutine 49 [running]:
github.com/ava-labs/avalanche-network-runner/server.(*server).Start.func1()
        /home/runner/work/avalanche-network-runner/avalanche-network-runner/server/server.go:388 +0x756
created by github.com/ava-labs/avalanche-network-runner/server.(*server).Start
        /home/runner/work/avalanche-network-runner/avalanche-network-runner/server/server.go:358 +0x19e5

can you please fix the script or is it something else that I need to do?
Another Issue I have is that the e2e tests are triggered no matter if I start the script with E2E=true or not and they always fail because of the connection to the nodes is refused

@narcis2007 thanks for the report can you confirm what version or branch you are testing against?

I was on master

Very interesting. I just ran the tip of master on MacOS and it worked without issue (./scripts/run.sh 1.7.11):
cluster is ready!
endpoint: /ext/bc/7L6nfNiN4VQuDfKmx7Y54hX8iyhWapn8tPLQznthmXR1BLgvX
logsDir: /var/folders/mp/6jm81gc11dv3xtcwxmrd8mcr0000gn/T/network-runner-root-data3589321946
pid: 44896
uris:
- http://<IP_ADDRESS>:42144
- http://<IP_ADDRESS>:44155
- http://<IP_ADDRESS>:46394
- http://<IP_ADDRESS>:59969
- http://<IP_ADDRESS>:63891
network-runner RPC server is running on PID 44895...

use the following command to terminate:

pkill -P 44895 && kill -2 44895 && pkill -9 -f sqja3uK17MJxfC7AN8nGadBw9JK5BcrsNwNynsqP5Gih8M5Bm

Thanks for finding the regression where we always run E2E. We've put up a PR to skip the ClaimTx/SetTx tests: #111.


optparse: fix hanging when option if followed by LF instead of text

The parser hangs when options in help message are formated like this:
-u, --name=NAME
    require an argument

instead of:
-u, --name=NAME  require an argument

Travis failure is not related to this change:
$ make
sed -e "s,@PACKAGE_VERSION@,1.1.1," 'doc/config.ld.in' > 'doc/config.ld'
ldoc -c doc/config.ld .
reading configuration from doc/config.ld
changing to directory	doc
cannot write to temp directory /tmp/ldoc_home_travis

Thanks for the patch.
While the travis failures were unrelated, I've fixed those and tried rebasing your branch... but the specl checks fail in many places.  I'd be very happy to take the patch if you can figure out the regressions though!

Weird, it passed on my machine before. I’ll try to figure out what’s wrong.

cool, thanks. previously, the specl checks were testing the installed optparse, but Infixed them to correctly import from the working directory now which is likely why it worked for you before.

Hi Jakub,
Thanks again for the report.  I found and fixed the bug here: f787afbe034dba2f14a0da57c9c738422aa07d05
The problem was the nested loop for parsing options, where the inner loop consumes "options" starting with a - and delimited with an optional , followed by space or tab; when splitting the description of the option onto the following line, there is no space or tab to end that option so it is not consumed and gets into an infinite loop.
Thanks for finding and reporting it, and for using optparse.
Cheers,
Gary

Hi Gary,
thanks for the fix and sorry that I haven’t fixed it myself. I had problems with building specl on macOS and so postponed it to later and then forgot about it.
I use your optparse in https://github.com/jirutka/luapak.


// @ts-check no longer seems to work for js files in implicit project

TypeScript Version: 2.6.1-insiders.20171019
Steps to Reproduce

Open an empty folder in VS Code

Open a blank js file.
// @ts-check
let b = 123;
b = ''

Expected behavior:
With VS Code and TS 2.5.2 this is reported as an error.
[Trace  - 2:55:51 PM] Sending request: geterr (6). Response expected: no. Current queue length: 0
Arguments: {
    "delay": 0,
    "files": [
        "/Users/matb/projects/san/src/bar.js"
    ]
}
[Trace  - 2:55:51 PM] Event received: syntaxDiag (0).
Data: {
    "file": "/Users/matb/projects/san/src/bar.js",
    "diagnostics": []
}
[Trace  - 2:55:51 PM] Event received: semanticDiag (0).
Data: {
    "file": "/Users/matb/projects/san/src/bar.js",
    "diagnostics": [
        {
            "start": {
                "line": 3,
                "offset": 1
            },
            "end": {
                "line": 3,
                "offset": 2
            },
            "text": "Type '\"\"' is not assignable to type 'number'.",
            "code": 2322,
            "category": "error"
        }
    ]
}

Actual behavior:
No error with 2.6
[Trace  - 2:53:16 PM] Sending request: geterr (7). Response expected: no. Current queue length: 0
Arguments: {
    "delay": 0,
    "files": [
        "/Users/matb/projects/san/src/bar.js",
        "untitled:Untitled-1"
    ]
}
[Trace  - 2:53:16 PM] Event received: syntaxDiag (0).
Data: {
    "file": "/Users/matb/projects/san/src/bar.js",
    "diagnostics": []
}

We never receive the semanticDiag message in this case
// cc @mhegazy and @chrmarti

@andy-ms can you take a look.

This is working for me in an empty directory with a file a.js containing just the text you pasted.

I don't think so but let me double check on that. Are you also using vscode insiders?

Ok, so you also need to have an untitled file open in the javascript mode to reproduce this. I missed this step when reporting it.
Steps to Reproduce

Open an empty folder in VS Code

Create a new untitled file using file -> new.

Set the language mode of the file to javascript

Now create a real js file on disk called index.js using the VS Code explorer
// @ts-check
let b = 123;
b = ''

Notice no errors being reported

might be caused by https://github.com/Microsoft/TypeScript/pull/19228

I tried that too and I don't see an error. Using vscode insiders, updated this morning. I removed all settings except "typescript.tsdk": "/home/andy/.nvm/versions/node/v8.6.0/lib/node_modules/typescript/lib".
There will be two tabs open when those steps are complete, right? One empty untitled file in JS mode and another for index.js.

Ok, with the above project setup can you try:

Have both the untitled and file on disk open in the editor
Open the untitled file
Reload the VS Code window
The untitled file should open again and still should be in js mode
Now switch back to the js file on disk

That is still working for me. Do you have any settings on besides typescript.tsdk?

I think we should be sending a semanticDiag event even if there are no diagnostics in the file.

@andy-ms I'm using the bundled version of TS with VS Code insiders. Using the above steps, here's the log I see:
Info 0    [11:25:49.963] Binding...
Info 1    [11:25:49.970] request:
    {"seq":0,"type":"request","command":"configure","arguments":{"hostInfo":"vscode"}}
Info 2    [11:25:49.971] Host information vscode
Info 3    [11:25:49.971] response:
    {"seq":0,"type":"response","command":"configure","request_seq":0,"success":true}
Perf 4    [11:25:49.971] 0::configure: async elapsed time (in milliseconds) 1.0540
Info 5    [11:25:49.973] request:
    {"seq":1,"type":"request","command":"compilerOptionsForInferredProjects","arguments":{"options":{"module":"CommonJS","target":"ES6","allowSyntheticDefaultImports":true,"allowNonTsExtensions":true,"allowJs":true,"jsx":"Preserve","checkJs":false,"experimentalDecorators":false}}}
Info 6    [11:25:49.973] Scheduled: *refreshInferredProjects*
Perf 7    [11:25:49.974] 1::compilerOptionsForInferredProjects: elapsed time (in milliseconds) 1.0044
Info 8    [11:25:49.974] response:
    {"seq":0,"type":"response","command":"compilerOptionsForInferredProjects","request_seq":1,"success":true,"body":true}
Info 9    [11:25:49.974] request:
    {"seq":2,"type":"request","command":"open","arguments":{"file":"untitled:Untitled-1","fileContent":"","scriptKindName":"JS","projectRootPath":"/Users/matb/rootsan"}}
Info 10   [11:25:49.976] Search path:
Info 11   [11:25:49.976] For info: untitled:Untitled-1 :: No config files found.
Info 12   [11:25:50.20] ConfigFilePresence:: Current Watches: :: File: tsconfig.json Currently impacted open files: RootsOfInferredProjects: untitled:Untitled-1 OtherOpenFiles:  Status: Open file was set as Inferred root
Info 13   [11:25:50.20] FileWatcher:: Added: PathInfo: tsconfig.json Project:  WatchType: Config file for the inferred project root
Info 14   [11:25:50.21] ConfigFilePresence:: Current Watches: Config file for the inferred project root:: File: tsconfig.json Currently impacted open files: RootsOfInferredProjects: untitled:Untitled-1 OtherOpenFiles:  Status: Updated the callback
Info 15   [11:25:50.21] ConfigFilePresence:: Current Watches: :: File: jsconfig.json Currently impacted open files: RootsOfInferredProjects: untitled:Untitled-1 OtherOpenFiles:  Status: Open file was set as Inferred root
Info 16   [11:25:50.21] FileWatcher:: Added: PathInfo: jsconfig.json Project:  WatchType: Config file for the inferred project root
Info 17   [11:25:50.21] ConfigFilePresence:: Current Watches: Config file for the inferred project root:: File: jsconfig.json Currently impacted open files: RootsOfInferredProjects: untitled:Untitled-1 OtherOpenFiles:  Status: Updated the callback
Info 18   [11:25:50.22] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Info 19   [11:25:50.35] FileWatcher:: Added: PathInfo: /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es6.d.ts Project:  WatchType: Closed Script info
Info 20   [11:25:50.509] DirectoryWatcher recursive:: Added: PathInfo: /Users/matb/rootsan/node_modules/@types Project: /dev/null/inferredProject1* WatchType: Type root directory
Info 21   [11:25:50.510] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* structureChanged: true Elapsed: 488ms
Info 22   [11:25:50.512] Scheduling throttled operation:
    {"projectName":"/dev/null/inferredProject1*","fileNames":["/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es6.d.ts","untitled:Untitled-1"],"compilerOptions":{"module":1,"target":2,"allowSyntheticDefaultImports":true,"allowNonTsExtensions":true,"allowJs":true,"jsx":1,"checkJs":false,"experimentalDecorators":false,"noEmitForJsFiles":true,"maxNodeModuleJsDepth":2},"typeAcquisition":{"enable":true,"include":[],"exclude":[]},"unresolvedImports":[],"projectRootPath":"","kind":"discover"}
Info 23   [11:25:50.512] Scheduling request for: /dev/null/inferredProject1*
Info 24   [11:25:50.513] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Info 25   [11:25:50.517] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* structureChanged: false Elapsed: 4ms
Info 26   [11:25:50.517] Project '/dev/null/inferredProject1*' (Inferred) 0
Info 26   [11:25:50.517] 	Files (2)
	/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es6.d.ts
	untitled:Untitled-1

Info 26   [11:25:50.517] -----------------------------------------------
Info 26   [11:25:50.517] Open files:
Info 26   [11:25:50.517] 	untitled:Untitled-1
Perf 26   [11:25:50.517] 2::open: async elapsed time (in milliseconds) 543.4993
Info 27   [11:25:50.519] Running: *refreshInferredProjects*
Info 28   [11:25:50.519] refreshInferredProjects: updating project structure from ...
Info 29   [11:25:50.519] Project '/dev/null/inferredProject1*' (Inferred) 0
Info 29   [11:25:50.519] 	Files (2)
	/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es6.d.ts
	untitled:Untitled-1

Info 29   [11:25:50.519] -----------------------------------------------
Info 29   [11:25:50.519] Open files:
Info 29   [11:25:50.519] 	untitled:Untitled-1
Info 29   [11:25:50.519] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Info 30   [11:25:50.519] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* structureChanged: false Elapsed: 0ms
Info 31   [11:25:50.519] refreshInferredProjects: updated project structure ...
Info 32   [11:25:50.519] Project '/dev/null/inferredProject1*' (Inferred) 0
Info 32   [11:25:50.519] 	Files (2)
	/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es6.d.ts
	untitled:Untitled-1

Info 32   [11:25:50.519] -----------------------------------------------
Info 32   [11:25:50.519] Open files:
Info 32   [11:25:50.519] 	untitled:Untitled-1
Info 32   [11:25:50.520] got projects updated in background, updating diagnostics for untitled:Untitled-1
Info 33   [11:25:50.521] event:
    {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["untitled:Untitled-1"]}}
Info 34   [11:25:50.527] request:
    {"seq":3,"type":"request","command":"geterr","arguments":{"delay":0,"files":["untitled:Untitled-1"]}}
Perf 35   [11:25:50.527] 3::geterr: async elapsed time (in milliseconds) 0.6310
Info 36   [11:25:50.529] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Info 37   [11:25:50.530] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* structureChanged: false Elapsed: 0ms
Info 38   [11:25:50.530] event:
    {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"untitled:Untitled-1","diagnostics":[]}}
Info 39   [11:25:50.531] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Info 40   [11:25:50.531] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* structureChanged: false Elapsed: 0ms
Err 41    [11:25:50.541] Exception on executing command semantic check:

    Debug Failure. scriptInfo for a file 'untitled:Untitled-1' Path: '/users/matb/rootsan/untitled:untitled-1' is missing.

    Error: Debug Failure. scriptInfo for a file 'untitled:Untitled-1' Path: '/users/matb/rootsan/untitled:untitled-1' is missing.
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82797:34
    at Object.map (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:1500:29)
    at InferredProject.Project.getScriptInfos (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82794:27)
    at hasOneOrMoreJsAndNoTsFiles (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82430:53)
    at InferredProject.Project.isJsOnlyProject (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82521:24)
    at isDeclarationFileInJSOnlyNonConfiguredProject (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85026:25)
    at IOSession.Session.semanticCheck (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85567:26)
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85603:43
    at MultistepOperation.executeAction (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85136:25)
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85117:100
    at IOSession.Session.executeWithRequestId (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:86636:28)
    at Object.executeWithRequestId (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85436:87)
    at Immediate.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85117:41)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)
Info 42   [11:25:50.542] event:
    {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}}
Info 43   [11:25:50.616] Sending request:
    {"projectName":"/dev/null/inferredProject1*","fileNames":["/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es6.d.ts","untitled:Untitled-1"],"compilerOptions":{"module":1,"target":2,"allowSyntheticDefaultImports":true,"allowNonTsExtensions":true,"allowJs":true,"jsx":1,"checkJs":false,"experimentalDecorators":false,"noEmitForJsFiles":true,"maxNodeModuleJsDepth":2},"typeAcquisition":{"enable":true,"include":[],"exclude":[]},"unresolvedImports":[],"projectRootPath":"","kind":"discover"}
Info 44   [11:25:50.618] request:
    {"seq":4,"type":"request","command":"open","arguments":{"file":"/Users/matb/rootsan/x.js","fileContent":"// @ts-check\nlet b = 123;\nb = '' ","scriptKindName":"JS","projectRootPath":"/Users/matb/rootsan"}}
Info 45   [11:25:50.618] Search path: /Users/matb/rootsan
Info 46   [11:25:50.619] ConfigFilePresence:: Current Watches: :: File: /Users/matb/rootsan/tsconfig.json Currently impacted open files: RootsOfInferredProjects:  OtherOpenFiles: /Users/matb/rootsan/x.js Status: File added to open files impacted by this config file
Info 47   [11:25:50.619] ConfigFilePresence:: Current Watches: :: File: /Users/matb/rootsan/jsconfig.json Currently impacted open files: RootsOfInferredProjects:  OtherOpenFiles: /Users/matb/rootsan/x.js Status: File added to open files impacted by this config file
Info 48   [11:25:50.619] For info: /Users/matb/rootsan/x.js :: No config files found.

    Error: Debug Failure. scriptInfo for a file 'untitled:Untitled-1' Path: '/users/matb/rootsan/untitled:untitled-1' is missing.
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82797:34
    at Object.map (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:1500:29)
    at InferredProject.Project.getScriptInfos (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82794:27)
    at hasOneOrMoreJsAndNoTsFiles (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82430:53)
    at InferredProject.Project.isJsOnlyProject (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82521:24)
    at isDeclarationFileInJSOnlyNonConfiguredProject (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85026:25)
    at IOSession.Session.semanticCheck (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85567:26)
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85603:43
    at MultistepOperation.executeAction (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85136:25)
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85117:100
    at IOSession.Session.executeWithRequestId (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:86636:28)
    at Object.executeWithRequestId (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85436:87)
    at Immediate.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85117:41)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)
Info 91   [11:25:50.910] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Info 92   [11:25:50.910] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* structureChanged: false Elapsed: 0ms
Info 93   [11:25:50.910] event:
    {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"untitled:Untitled-1","diagnostics":[]}}
Info 94   [11:25:50.910] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Info 95   [11:25:50.910] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* structureChanged: false Elapsed: 0ms
Err 96    [11:25:50.911] Exception on executing command semantic check:

    Debug Failure. scriptInfo for a file 'untitled:Untitled-1' Path: '/users/matb/rootsan/untitled:untitled-1' is missing.

    Error: Debug Failure. scriptInfo for a file 'untitled:Untitled-1' Path: '/users/matb/rootsan/untitled:untitled-1' is missing.
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82797:34
    at Object.map (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:1500:29)
    at InferredProject.Project.getScriptInfos (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82794:27)
    at hasOneOrMoreJsAndNoTsFiles (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82430:53)
    at InferredProject.Project.isJsOnlyProject (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82521:24)
    at isDeclarationFileInJSOnlyNonConfiguredProject (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85026:25)
    at IOSession.Session.semanticCheck (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85567:26)
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85603:43
    at MultistepOperation.executeAction (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85136:25)
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85117:100
    at IOSession.Session.executeWithRequestId (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:86636:28)
    at Object.executeWithRequestId (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85436:87)
    at Immediate.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85117:41)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)
Info 97   [11:25:50.911] event:
    {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":7}}
Info 98   [11:25:51.953] Received response:
    {"projectName":"/dev/null/inferredProject1*","typeAcquisition":{"enable":true,"include":[],"exclude":[]},"compilerOptions":{"module":1,"target":2,"allowSyntheticDefaultImports":true,"allowNonTsExtensions":true,"allowJs":true,"jsx":1,"checkJs":false,"experimentalDecorators":false,"noEmitForJsFiles":true,"maxNodeModuleJsDepth":2},"typings":[],"unresolvedImports":[],"kind":"action::set"}
Info 99   [11:25:51.954] Scheduled: /dev/null/inferredProject1*
Info 100  [11:25:51.954] Scheduled: *refreshInferredProjects*
Info 101  [11:25:51.956] Received response:
    {"projectName":"/dev/null/inferredProject1*","typeAcquisition":{"enable":true,"include":[],"exclude":[]},"compilerOptions":{"module":1,"target":2,"allowSyntheticDefaultImports":true,"allowNonTsExtensions":true,"allowJs":true,"jsx":1,"checkJs":false,"experimentalDecorators":false,"noEmitForJsFiles":true,"maxNodeModuleJsDepth":2},"typings":[],"unresolvedImports":[],"kind":"action::set"}
Info 102  [11:25:51.956] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Info 103  [11:25:51.957] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* structureChanged: false Elapsed: 1ms
Info 104  [11:25:51.957] refreshInferredProjects: updating project structure from ...

Info 108  [11:25:51.958] Project '/dev/null/inferredProject1*' (Inferred) 0
Info 108  [11:25:51.959] 	Files (3)
	/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es6.d.ts
	untitled:Untitled-1
	/Users/matb/rootsan/x.js

Info 108  [11:25:51.959] -----------------------------------------------
Info 108  [11:25:51.959] Open files:
Info 108  [11:25:51.959] 	untitled:Untitled-1
Info 108  [11:25:51.959] 	/Users/matb/rootsan/x.js
Info 108  [11:25:51.959] Scheduled: /dev/null/inferredProject1*, Cancelled earlier one
Info 109  [11:25:51.959] Scheduled: *refreshInferredProjects*, Cancelled earlier one
Info 110  [11:25:52.208] Running: /dev/null/inferredProject1*
Info 111  [11:25:52.209] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Info 112  [11:25:52.210] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* structureChanged: false Elapsed: 1ms
Info 113  [11:25:52.210] Running: *refreshInferredProjects*
Info 114  [11:25:52.210] refreshInferredProjects: updating project structure from ...
Info 115  [11:25:52.210] Project '/dev/null/inferredProject1*' (Inferred) 0
Info 115  [11:25:52.210] 	Files (3)
	/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es6.d.ts
	untitled:Untitled-1
	/Users/matb/rootsan/x.js

Info 115  [11:25:52.210] -----------------------------------------------
Info 115  [11:25:52.210] Open files:
Info 115  [11:25:52.210] 	untitled:Untitled-1
Info 115  [11:25:52.210] 	/Users/matb/rootsan/x.js
Info 115  [11:25:52.210] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Info 116  [11:25:52.210] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* structureChanged: false Elapsed: 0ms
Info 117  [11:25:52.210] refreshInferredProjects: updated project structure ...

    Error: Debug Failure. scriptInfo for a file 'untitled:Untitled-1' Path: '/users/matb/rootsan/untitled:untitled-1' is missing.
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82797:34
    at Object.map (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:1500:29)
    at InferredProject.Project.getScriptInfos (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82794:27)
    at hasOneOrMoreJsAndNoTsFiles (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82430:53)
    at InferredProject.Project.isJsOnlyProject (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82521:24)
    at isDeclarationFileInJSOnlyNonConfiguredProject (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85026:25)
    at IOSession.Session.semanticCheck (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85567:26)
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85603:43
    at MultistepOperation.executeAction (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85136:25)
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85117:100
    at IOSession.Session.executeWithRequestId (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:86636:28)
    at Object.executeWithRequestId (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85436:87)
    at Immediate.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85117:41)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)
Info 126  [11:25:52.418] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Info 127  [11:25:52.418] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* structureChanged: false Elapsed: 0ms
Info 128  [11:25:52.418] event:
    {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/Users/matb/rootsan/x.js","diagnostics":[]}}
Info 129  [11:25:52.418] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Info 130  [11:25:52.418] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* structureChanged: false Elapsed: 0ms
Err 131   [11:25:52.419] Exception on executing command semantic check:

    Debug Failure. scriptInfo for a file 'untitled:Untitled-1' Path: '/users/matb/rootsan/untitled:untitled-1' is missing.

    Error: Debug Failure. scriptInfo for a file 'untitled:Untitled-1' Path: '/users/matb/rootsan/untitled:untitled-1' is missing.
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82797:34
    at Object.map (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:1500:29)
    at InferredProject.Project.getScriptInfos (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82794:27)
    at hasOneOrMoreJsAndNoTsFiles (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82430:53)
    at InferredProject.Project.isJsOnlyProject (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:82521:24)
    at isDeclarationFileInJSOnlyNonConfiguredProject (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85026:25)
    at IOSession.Session.semanticCheck (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85567:26)
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85603:43
    at MultistepOperation.executeAction (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85136:25)
    at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85117:100
    at IOSession.Session.executeWithRequestId (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:86636:28)
    at Object.executeWithRequestId (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85436:87)
    at Immediate.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85117:41)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)

And here is on 2.5.2:
Info 0    [11:27:40.302] Binding...
Info 1    [11:27:40.310] request: {"seq":0,"type":"request","command":"configure","arguments":{"hostInfo":"vscode"}}
Info 2    [11:27:40.310] Host information vscode
Info 3    [11:27:40.311] response: {"seq":0,"type":"response","command":"configure","request_seq":0,"success":true}
Perf 4    [11:27:40.311] 0::configure: async elapsed time (in milliseconds) 0.9601
Info 5    [11:27:40.312] request: {"seq":1,"type":"request","command":"compilerOptionsForInferredProjects","arguments":{"options":{"module":"CommonJS","target":"ES6","allowSyntheticDefaultImports":true,"allowNonTsExtensions":true,"allowJs":true,"jsx":"Preserve","checkJs":false,"experimentalDecorators":false}}}
Perf 6    [11:27:40.312] 1::compilerOptionsForInferredProjects: elapsed time (in milliseconds) 0.4592
Info 7    [11:27:40.312] response: {"seq":0,"type":"response","command":"compilerOptionsForInferredProjects","request_seq":1,"success":true,"body":true}
Info 8    [11:27:40.312] request: {"seq":2,"type":"request","command":"open","arguments":{"file":"untitled:Untitled-1","fileContent":"","scriptKindName":"JS","projectRootPath":"/Users/matb/rootsan"}}
Info 9    [11:27:40.313] Search path:
Info 10   [11:27:40.313] No config files found.
Info 11   [11:27:40.852] Scheduling throttled operation: {"projectName":"/dev/null/inferredProject1*","fileNames":["/Users/matb/rootsan/node_modules/typescript/lib/lib.es6.d.ts","untitled:Untitled-1"],"compilerOptions":{"module":1,"target":2,"allowSyntheticDefaultImports":true,"allowNonTsExtensions":true,"allowJs":true,"jsx":1,"checkJs":false,"experimentalDecorators":false,"noEmitForJsFiles":true,"maxNodeModuleJsDepth":2},"typeAcquisition":{"enable":true,"include":[],"exclude":[]},"unresolvedImports":[],"projectRootPath":"","kind":"discover"}
Info 12   [11:27:40.858] Project '/dev/null/inferredProject1*' (Inferred) 0
Info 12   [11:27:40.859] 	/Users/matb/rootsan/node_modules/typescript/lib/lib.es6.d.ts
	untitled:Untitled-1

Info 12   [11:27:40.859] -----------------------------------------------
Info 12   [11:27:40.859] Open files:
Info 12   [11:27:40.859] 	untitled:Untitled-1
Info 12   [11:27:40.859] event: {"seq":0,"type":"event","event":"configFileDiag","body":{"triggerFile":"untitled:Untitled-1","diagnostics":[]}}
Perf 13   [11:27:40.859] 2::open: async elapsed time (in milliseconds) 546.8059
Info 14   [11:27:40.865] request: {"seq":3,"type":"request","command":"geterr","arguments":{"delay":0,"files":["untitled:Untitled-1"]}}
Perf 15   [11:27:40.867] 3::geterr: async elapsed time (in milliseconds) 1.8771
Info 16   [11:27:40.867] request: {"seq":4,"type":"request","command":"open","arguments":{"file":"/Users/matb/rootsan/x.js","fileContent":"// @ts-check\nlet b = 123;\nb = '' ","scriptKindName":"JS","projectRootPath":"/Users/matb/rootsan"}}
Info 17   [11:27:40.867] Search path: /Users/matb/rootsan
Info 18   [11:27:40.868] No config files found.
 Sounds like you're using Mac. I was testing on Linux before.

I altered the debug message to print all known script infos and it looks like it was stored in c:/program files/microsoft vs code insiders/untitled:untitled-1, but after opening index.js we start looking in c:/users/anhans/work/sample/js-inferred/untitled:untitled-1 instead. @sheetalkamat any idea why this happens?

@andy-ms I think this is something to do with how we set current directory for inferred projects.

Also I suspect if the cause of this was fixed by #19457 since this handles the inferred projects creation. Are you still seeing this with latest drop?

I still see this typescript@next 2.7-20171102

@mjbvz Thanks to @andy-ms I was able to repro this. I wasnt able to repro this on vscode but could repro on vscode-insiders. Working on the fix.

@mjbvz As per @mhegazy comment here i am wondering if it is possible to send the absolute file path instead of just untitled:Untitled-1 Compiler sees this path as relative and thats where the issue lies. It didnt matter earlier because the current directory for compiler use to be tsserver path but with #16586 we use project Root / tsconfig location as current directory and thats where the issue arises.

@sheetalkamat Do you think we still need a change on the VS Code side? These files don't exist on disk, so is there a different style of path we should pass to indicate this to TS?

@sheetalkamat Do you think we still need a change on the VS Code side? These files don't exist on disk, so is there a different style of path we should pass to indicate this to TS?

The change is in to handle these paths.. it is just that we have a lot of infrastructure that assumes file paths are either absolute or relative based on the file path text.. i.e. does it start with c:\ or file:\\ or not.. and for that things like untitled:Untitled-1 seem to not be rooted, and thus treated as relative..
if this is a big change on the vscode side, then ignore this request. if this is something you can easily change, then changing it to a path that looks absolute would be better .