Generate request specs when scaffold generator is used

There are some important things to note when generating things, one, your project config will override defaults, even if thats non sensical (e.g. a project can generate controller and request specs here). Two, there are things Rails will generate out of your control.
I took a more minimal approach using rails helpers only and a bit of gsubing to get them to somewhere we'd like, and then had to play whack-a-mole on the tests. Apparently the as scaffolded api views don't work, I guess cause we use sequel lite?
edit still playing whack-a-mole

Fixes #2230

Changelog entry?

Added after the fact to prevent more builds :joy:


Add files via upload

Add guide for Smartico Water Meter Pulse Sensor

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@SmarticoDnepr we expect you to convert your docx guide to markdown document, please do this and we will merge.

@SmarticoDnepr Also, please use CLAassistant to sign the agreement.


firefox-beta-bin and firefox-devedition-bin update

Motivation for this change
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

BTW, it's a little strange that on 17.03 the beta is rather old... perhaps it might be easy to cherry-pick each of the updates (whenever pushing one to master)?

@vcunat sorry, i completely forget about 17.03, i'll cherry pick the firefox-bin and firefox-beta-bin. i'll skip firefox-devedition-bin since it was added recently to the master

done in https://github.com/NixOS/nixpkgs/pull/26715


StoreCode governance voting performance

Stargaze recently submitted a couple of StoreCode governance proposals to be approved by it's community.  Contracts are between 300-500kb
The amount of gas required to vote is really big creating a lot of issues for people to vote, as there is more votes the gas required also increases. Currently is taking almost 1M gas to submit a vote, and not really scalable for active communities 10k or 20k votes
I propose if there could be a better way to approve contracts without the performance issues in the gov module, since contract builds can be reproduced byte to byte, would be possible to submit the hash to governance for  approval? and maybe an uploader address and after it passes, the contract can be uploaded with the regular store command.

I think it is related will add a comment there


dll function returns a char* byte array How to receive?

My definition:
const GetData = FinanceSdk.func('string GetData(int64)');
const GetDataLen = FinanceSdk.func('int GetDataLen(int64)');
Call:
const length = sdk.GetDataLen(mediaDataPtr)
const buffer = sdk.GetData(mediaDataPtr).slice(0, length)
In fact, the length is 10000, but the returned buffer is a string of only a few characters. It's clearly truncated.
I want to accept byte arrays

I got same issue. try this:

alloc a buffer
change declaration char* to long
use memcpy to cpy return data to new buffer

btw, I could not use koffi in nodejs, but in bun, it seems work well. any idear?


Align Mesh Routes with gateway-api spec

Currently, Routes are basically mapped 1:1 with VirtualService. This
includes semantics that do not align with the gateway-api spec.
In order to make these spec-compliant without totally rewriting the XDS
generation to read gateway types directly, this introduces a new
(internal) option on virtual services to give it "gateway-api
semantics".
Currently, this means:

Wildcards currently will "Attach" to a FQDN service. Meaning if we
have "helloworld.com" and "*.com", our route applies to helloworld.com
and nothing else. In Gateway-API, FQDN service has high precedence, so
we will have "helloworld.com" (with no route config) and "*.com"
Currently import logic is bi-directional. VS: *.com with Import: foo.com will be imported; this differs from Service and is
unexpected.
Currently VS.Hosts are not independant. If you have a VS with [a, b]
and import only a, you get the host for b.

These 3 cases have been fixed, and test cases have been added to
recognize these differences.
TODO:

Currently VS picks the first resource across any namespace based on
timestamp; we need to make it have a selection hierarchy.

Please provide a description of this PR:

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
b3bcc1f91500d103a030d63a805a669f753e57b8
link
true
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I am a bit worried about different semantics for the migration from VS to HttpRoute. We need to have some very clear doc/process on how a user can do this, ideally with some automation possible.

ACK

What happens if I have VirtualService for example.ns.svc.cluster.local, example.ns, etc ( i.e. equivalent names ) ? I think I've seen some uses, not sure how common.

If they have multiple for the same name, they are merged (this is in the gateway-api spec). This is not implemented yet but close in https://github.com/istio/istio/pull/37139.

The annotation seem to indicate specific selection semantics - what happens when we have a mix of HttpRoute and VirtualService ? Which semantic wins ? Do we want to put a boundary, like namespace level ? 'If a namespace has Gateway APIs, that semantic is used for the ns' ?

The intent is to only apply the new sematnics to HttpRoute's - VirtualServices remain unchanged so there is one migration (HTTPRoute -> VS) rather than an intermediate state where we try to fix VS which is challenging.

I assume it is possible to use the new annotation on regular VS ? Should we 'align' with GW, and start recommending users to use the new semantic, or opt-in to it at namespace level ? Or have some warnings if istio semantics are used ?

Hypothetically possible, but not documented or recommended. The fact we use an annotation is an implementation detail since we don't have another way to pass around internal-only API extensions. We can validate it to be not be allowed if we want, but I don't think we should encourage it to be used -- they should use the real API (HTTPRoute)

All of these names are strictly internal - if we externalize them we should definitely revisit them. The fact they are internal also means we can use invalid names like BTW


header scrollable with children

Hi
Is there any option or any plan for horizontal header scrollable with children?
Thanks in advance

What mean horizontal header scrollable with children?


Downloads keep stopping.

After i start the download, it stops after some time.

@Puyodead1 https://github.com/r0oth3x49/udemy-dl#issue-reporting-guideline

Enviroment: Windows 10 x64 1903, Python 3.7.3
Course URLS: https://www.udemy.com/unrealvr/, https://www.udemy.com/unrealcourse/
Command Used: python udemy-dl.py  -k cookie.txt -q 720 --skip-sub
Steps:

Start a download
Wait for a little bit
check back and the downloads appear to hang
use taskmanager to kill the python process (under Windows Command Processor)
run the command again

i will try to reproduce & fix ASAP hopefully this weekend .

this might be due to windows bugged terminal, try disabling quick edit mode and insert mode from its settings

this might be due to windows bugged terminal, try disabling quick edit mode and insert mode from its settings

Okay, i'll try this

I have using this application with win 7 and course url is https://www.udemy.com/machine-safety-leadership/
command : udemy-dl.py https://www.udemy.com/machine-safety-leadership/
but the problem was some lectures do not downloaded fully. it keep jumping to next lecture while the current still not completed, sometimes at 10% percentage while others 80%...etc
other cases also complete lectures.
the internet connection is stable no losses.
I tried to start again but it check files name existence so it assume the lecture is fully downloaded while this is not the case as explained above.
I tried to get links only using your software then I used another like IDM or Jdwnloader but the problem is files names is randomly characters.
I appreciate your efforts well and hope to solve this small issue.

I have using this application with win 7 and course url is https://www.udemy.com/machine-safety-leadership/
command : udemy-dl.py https://www.udemy.com/machine-safety-leadership/
but the problem was some lectures do not downloaded fully. it keep jumping to next lecture while the current still not completed, sometimes at 10% percentage while others 80%...etc
other cases also complete lectures.
the internet connection is stable no losses.
I tried to start again but it check files name existence so it assume the lecture is fully downloaded while this is not the case as explained above.
I tried to get links only using your software then I used another like IDM or Jdwnloader but the problem is files names is randomly characters.
I appreciate your efforts well and hope to solve this small issue.

+1, I have the same issue that some lectures do not downloaded fully and stoped sometimes.

hi, i am having the same issues. it seems that if there are "hickups" on the internet connection, this is handled badly .. sometimes the download get stuck, other times i get stack traces and the process stops. for me it happens only at the videos, never at subtitles.
i can attach stack traces when i run the next downloads.


Import charm bundle skeleton for mysql bundle

Issue
We created an empty repository and have to import a lot of the bundle skeleton from Jarred's template repo and also from the postgresql-bundle repos
Solution
Import skeleton files
Context
The CHARMHUB_TOKEN and PAT (Public Access Token) secrets have already been created in the repository
Release Notes
Import charm bundle skeleton for mysql bundle

Thanks for the reviews!


Timeout integration for the (future) command /mute

For the command /mute that I hope will happen, it would be necessary to integrate the Discord timeout (instead of being at 60 seconds, 5 minutes, 10 minutes, 1 hour, 1 day or a week, the command can mute a member up to 27 (or 28 I don’t remember) days with timeout functionality. (27 or 28 days is the maximum number of timeouts).
If we want to make mute permanently (without a predefined date) or more than 27/28 days, this will add the role of mute (classic) to a member.

Or we can add a /mute command and a /timeout command separately.

Thanks for these suggestions! :grinning:
The bot will initially use timeouts, it is simpler to implement and does not require any setup for users. I don't think there is a real need for longer mutes, since bans are generally preferred for longer sanctions. It may be later considered if many users request this feature.

See #113


Using test credit card data with production credentials leads to 500 server error

This is not really an ideal situation, but when using square production credentials, then filling out the square form using test credit card data (https://developer.squareup.com/docs/testing/test-values) we receive the following error (I can post the full error, but thought their may be some sensitive info in there):

[Unknown Error] Uncaught SquareConnect\ApiException: [HTTP/1.1 400 Bad Request] {"errors": [{"code": "PAN_FAILURE","detail": "Authorization error: 'PAN_FAILURE'","category": "PAYMENT_METHOD_ERROR"}],

It seems like this should just fail normally instead of throwing a 500 error?
Also I am using version: 2.20190925.0

What do you mean by 500 error? In the error you provided it says "400 Bad Request" (so a valid 400 error)...is something else happening? It's telling you it's a "PAN_FAILURE" meaning the card number is incorrect. Let me know if I'm misunderstanding, but this looks like a normal error. To be clear, in the PHP SDK, it always throw exceptions for all errors.

Apologies, a 500 error is specific to our setup, but yes a 400 error.
So my question is, why does it not just return a message that the credit card number is invalid. If I key in some random numbers, the form says the credit card is invalid

When I use "4111 1111 1111 1111" it returns the error.
Thanks for any help you can provide!

Ah, I see, thanks for clarifying. So to clarify on my side: the payment form will offer basic front-end validation (like checking if it looks or is formatted to be a real credit card number). However, the backend will actually try to make a payment with the credit card. In this case, I suspect since it starts with "4111" (which is how VISAs all start), it passes the basic formatting check. For instance, if I pass "4111" followed by all 0's, it also passes the payment form check, but would definitely fail on the backend check as well.

No worries, my daughter was running around while I was trying to piece that together so probably could of been more elegant :)

So to clarify on my side: the payment form will offer basic front-end validation (like checking if it looks or is formatted to be a real credit card number). However, the backend will actually try to make a payment with the credit card. In this case, I suspect since it starts with "4111" (which is how VISAs all start), it passes the basic formatting check. For instance, if I pass "4111" followed by all 0's, it also passes the payment form check, but would definitely fail on the backend check as well.

That seems to be the issue, I think expected behavior would be an invalid credit card would be caught and a friendly message returned.
I can test with the latest release if you like? Not sure if that would be helpful or not

So that is what PAN_FAILURE error means:

PAN_FAILURE
The specified card number is invalid. For example, it is of incorrect length or is incorrectly formatted.

You do make a good point about the detail section, I feel like that could definitely be better ha ha. I'll share the feedback with the team but let me know if I'm still missing something.

I think you got it all, let me know if I can provide any more information!
Thanks!!


Reciever option

Would it be straight forward to switch to proprietary 2.4ghz + receiver approach? Pros would be increased battery life, lower latency, using keyboard in bios and usb wake from sleep.

This is not planned, I don't like receivers.

It seems to be the choice for companies like Razer, Logitech, Microsoft, Kensington. There must be a reason for that. Can I ask why you don't like them? My question was if it was possible with some changes to the firmware.
I'm new to this, recently ordered everything for Nrfmicro and looking forward to the build. Thanks for your work on this btw!

I use exclusively laptops since about 2006 and I don't have much USB ports but there's always bluetooth , so receivers are not my jam. I made https://github.com/joric/bluetosis specially to get rid of receivers and I'm not planning to bring them back.


{@code } rendered verbatim in content assist of application.properties

The content of the content assist popup when editing application.properties seems to be generated from the JavaDoc of the respective field in the config Java class. {@code } is a valid JavaDoc tag that is usually rendered using monospace font (expected). Actual: {@code } is rendered verbatim. See the screenshot in https://github.com/apache/camel-quarkus/issues/466

relates to https://github.com/redhat-developer/quarkus-ls/issues/40


add serverless policy

Signed-off-by: Will Kutler<EMAIL_ADDRESS>https://github.com/stolostron/policy-collection/issues/243
not sure if the category/folder is correct, let me know if it needs to be changed

Another user I think just donated this policy.  @willkutler Can you take a look at https://github.com/stolostron/policy-collection/blob/main/community/CM-Configuration-Management/policy-openshift-serverless.yaml and see if there's anything you think this PR could still be used for?  Otherwise I think it can be closed.  Thanks!

I think this was delivered in a different pr.  Please re-open if necessary.


Fix blank screen in extension options

:star2: What does this PR do?

Fallback to 0 if activeTab value is parsed as NaN when db.get('settings-active-tab') returns null.

:bug: Recommendations for testing

Click on extension options
See the option tabs

:memo: Links to relevant issues/docs
Closes #1151
:speech_balloon: Summarise how you feel about this PR with a gif

I wasn't able to reproduce this, because we have this:
https://github.com/toggl/toggl-button/blob/ea294d42bce8a3f654ff9f8af876192e32db05b9/src/scripts/lib/db.js#L34
So I'm wondering if it could be something else at play :see_no_evil:?

Can't seem to reproduce it on master anymore just on https://github.com/toggl/toggl-button/tree/1085/add-telemetry-controls
Which doesn't have the default value for settings-active-tab


chore: cherry pick fixes and lint

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ether82563: load mac address from invm for i210

originally from the plan9front file of the same name.
Signed-off-by: Graham MacDonald<EMAIL_ADDRESS>

<IP_ADDRESS># cat /net/ether0/addr
000db9490f04<IP_ADDRESS>#
works!


Datepicker is opening on any key press

Bug Report
Description
The Datepicker is opening when keys other than space and enter are pressed. For our requirements, only enter and space should open the datepicker.
Steps to Reproduce

Click on one of the datepickers
Press Tab
Press E

Additional Context / Screenshots
Datepicker is opening on any key press
Expected Behavior
The datepicker does not open
Possible Solution
Our onKeyDown event can be modified so that we only trigger onKeyDown when those keys are pressed. However, this can potentially block any teams that require their own specific onKeyDown functionality.
Environment

Component Name and Version: terra-date-picker - current version
Browser Name and Version: All
Node/npm Version: current
Webpack Version: current
Operating System and version (desktop or mobile): Desktop

This has been resolved, but I don't recall which PR we resolved it in. This can be tested by navigating to https://engineering.cerner.com/terra-ui/components/terra-date-picker/date-picker/date-picker and completing the following steps:

Click on one of the date pickers
Press Tab
Press E


Fixed Markdown syntax error in list

Can someone verify that my correction is correct? (I don't know how to view the rendered form of the Markdown.)

Hello @dsbos .
You can run the Hugo server locally to verify your changes.
See the Kubernetes docs project README,
https://github.com/kubernetes/website/#running-the-website-locally-using-hugo
Page preview:
https://deploy-preview-20651--kubernetes-io-master-staging.netlify.app/docs/concepts/cluster-administration/monitoring/

/lgtm

/lgtm
Thanks @dsbos !

/assign @savitharaghunathan


[Bug]: ToggleGroup allows a type='single' to deselect and have no value

Environment
Development/Production OS: MacOS 14.3
Node version: 20.9.0
Package manager<EMAIL_ADDRESS>Radix Vue version: 1.8.1
Vue version: 3.4.27
CSS framework<EMAIL_ADDRESS>Firefox: 125.0.1, Safari 17.3

Link to minimal reproduction
https://www.radix-vue.com/components/toggle-group.html
Steps to reproduce
When using the RadixVue ToggleGroup docs, top example, click on the selected value of the alignment toggle. It will deselect.
Also if you click through to the CodeSandbox link in the example at the top, it has a different bug where it doesn't allow you to deselect the selected item, but then it gets stuck in a mode where multiple items appear selected (but they are not the ones you chose to select).
Describe the bug
That you can deselect the selected value in a toggle group type='single' which is meant to always have a value.
It appears this different functionality was introduced somewhere between radix-vue 0.1.16 and today:
https://codesandbox.io/p/devbox/radix-vue-togglegroup-w84wmd?file=%2Fsrc%2FApp.vue
There is a section in the docs to deal with this situation:
https://www.radix-vue.com/components/toggle-group.html#ensuring-there-is-always-a-value
But that doesn't fix things, but it also contradicts the earlier part of the docs for the 'type' property.
'single' | 'multiple'

Determines whether a "single" or "multiple" items can be pressed at a time.

This prop will be ignored if any of v-model or defaultValue is an defined, as the type will be inferred from the value.

So the added direction to add the type in Ensure there is always a value section shouldn't have any effect. It seems that the 'single' or 'multiple' functionality is meant to be inferred from the reference object it's passed being a string ('single') or an array ('multiple')? Really that section needs reviewing to make sense with prop's directions.
Expected behavior
That the ToggleGroup has a mode where it cannot be null. That you cannot deselect in 'single' mode.
I can also imagine a form where you only want a 'single' mode but it starts with no selected value and it might be a required field so it needs to allow a way for a null value to start with.
Also I'd suggest revising the API Reference to the property 'type' if this is indeed how it's meant to work.
This prop will be ignored if v-model or defaultValue is defined, as the type will be inferred from the value.

Context & Screenshots (if applicable)
No response

Sorry for the confusion @RieMars . We implemented the toggle behavior similar to Radix UI, where we can deselect a value. As for the example in docs, that should be updated as it doesn't demonstrate the behavior.
Essentially the type will be auto-inferred if defaultValue or modelValue is provided.

@RieMars  I've updated the docs here https://947-bug-togglegroup-allows-a.radix-vue.pages.dev/components/toggle-group.html#ensuring-there-is-always-a-value
See if it make sense 😁

Thanks for updating that. Makes more sense now and solved my problem!


Add AWS Lambda adapter

The solid-start-aws adapter allows to deploy the server function to both AWS Lambda and Lambda@Edge. This adapter takes a standard Lambda event payload, and returns a standard Lambda response.
For context, we created a SolidStartSite construct in SST that allows users to deploy SolidStart apps to AWS. An example looks like:
new SolidStartSite(stack, "web", {
  path: "path/to/my/solid/start/app"
});

If the PR gets merged, we will be able to launch the SolidStartSite. After that, I can submit a PR adding examples to the README.md/doc if fit.
Thanks for reviewing the PR!
^ btw, #181 can be closed

Thank you. Sorry it has taken so long. I don't have the setup to test this so been pushing it back. But I trust you to be invested to help out with any bug fixes so lets go!

@fwang how do you deal with the assets in the root directory of the s3 bucket when using lambda@edge? There is no way to catch them with a simple behavior as I use for the asset folder so I change the adapter to handle this by scanning the list/client root on build and add the list of files to the lambda@edge script to forward this requests to the s3 bucket.
I know you use SST but I use only the server less framework - maybe this can be optional if it is not needed with SST.
diff --git a/node_modules/solid-start-aws/entry-edge.mjs b/node_modules/solid-start-aws/entry-edge.mjs
index 8b0faf7..bb6a81b 100644
--- a/node_modules/solid-start-aws/entry-edge.mjs
+++ b/node_modules/solid-start-aws/entry-edge.mjs
@@ -1,8 +1,16 @@
 import "solid-start/node/globals";
 import manifest from "../../dist/client/route-manifest.json";
+import staticFileList from "./static-files.json"
 import server from "./entry-server";

 export async function handler(event) {
+  const request = event.Records[0].cf.request;
+  //console.log(`uri:${request.uri}`)
+  if (staticFileList.includes(request.uri.substring(1))) {
+    request.headers.host[0].value=request.origin.custom.domainName
+    console.log('pass thru to S3', JSON.stringify(request))
+    return request
+  }
   const response = await server({
     request: createRequest(event),
     env: { manifest },
diff --git a/node_modules/solid-start-aws/index.mjs b/node_modules/solid-start-aws/index.mjs
index 93b4e79..0fae627 100644
--- a/node_modules/solid-start-aws/index.mjs
+++ b/node_modules/solid-start-aws/index.mjs
@@ -1,7 +1,7 @@
 import common from "@rollup/plugin-commonjs";
 import json from "@rollup/plugin-json";
 import nodeResolve from "@rollup/plugin-node-resolve";
-import { copyFileSync, renameSync } from "fs";
+import { copyFileSync, renameSync, readdirSync, writeFileSync } from "fs";
 import { join } from "path";
 import { rollup } from "rollup";
 import { fileURLToPath } from "url";
@@ -29,6 +29,10 @@ export default function ({ edge } = {}) {
         join(__dirname, edge ? "entry-edge.mjs" : "entry.mjs"),
         join(config.root, ".solid", "server", "index.mjs")
       );
+      if (edge) {
+        const files = readdirSync(join(config.root, "dist", "client"))
+        writeFileSync(join(config.root, ".solid", "server", "static-files.json"),JSON.stringify(files))
+      }
       const bundle = await rollup({
         input: join(config.root, ".solid", "server", "index.mjs"),
         plugins: [
@@ -51,6 +55,7 @@ export default function ({ edge } = {}) {

       // closes the bundle
       await bundle.close();
+
     }
   };
 }


Add CI

Add continuous integration for unit tests using http://olivinelabs.com/busted

Closed with c522b01179d6383900099712bb52b996986b569b


add styles to inspector tree and context menu

gd is not my passion but did what I could...

TDB => when do we want to remove focus from current selected entity?

right now, the current behaviour is to always leave the last clicked entity as selected until you click in a different entity. Maybe this is desired behaviour, maybe not. We need to define it

It looks like it's possible to open several menus without the previous one closing (by right-clicking on each row without ever closing the menu). Maybe we could keep a context in the outtermost Tree to know on which entity the menu is open and only show the menu that particulat entity.


Maximum Call Stack Size Exceeded Exception

Summary
Running sfdx force:source:convert results in a "Maximum call stack size exceeded" exception message.
Steps To Reproduce:

Edit the package.xml file to refer to a Workflow that does not exist in the Workflow metadata source directory (this may work with other objects--have not checked).
Run sfdx force:source:convert -d mdapi_converted -x manifest/package.xml

Expected result
The user should see the following message: "Source was successfully converted to Metadata API format and written to the location: .../mdapi_converted"
Actual result
No files written to the destination location and the following message: "Maximum call stack size exceeded"
Additional information
SFDX CLI Version: sfdx-cli/7.49.1-2b6ba86a25 darwin-x64 node-v10.15.3
SFDX plugin Version: 48.4.1 (core)
OS and version: Mac OS Catalina 10.15.2
I was on the process of fixing deployment errors when this started to happen. Usually this meant editing the package.xml file and/or editing metadata to review references to fields that refer to unavilable managed packages and so on. This is similar to issue #280 which was closed without resolution.
What causes this issue is a mismatch between the package.xml file and the source metadata it references. In my case, a reference to a workflow in the package.xml file that does not exist in the source directory in .../default/workflows/, will result in a "Maximum call stack size exceeded" exception message.
Due to the fact that the exception message doesn't contain any details about where the conversion process failed, I spent over a day tracking this problem down. This could be resolved by including the line number in the package.xml file and/or the missing metadata file information in the exception message.
Update 3/9/20: Upgraded JDK to 11.06+10. No change.
Update 3/10/20: I found the cause of the issue and can reproduce it. Edited the details accordingly.

@highered1 Thank you for digging into the error message. I am putting a ticket on our backlog to get this updated with better information

this is fixed since we switched to the new plugin-source


Reference heroku configuration in installation instructions

The installation instructions should reference adding a mongo db and adding configuration variables for the app to this wiki https://github.com/TeraLogics/TotalBriecall/wiki/Installation-Instructions

heroku configuration updated


Redundant API servers for currency conversion

The Issue
Earlier, we ran into this issue: https://github.com/lbryio/lbry/issues/890 and in the past, we also had some currency conversion problems with the Bittrex API.  If LBRY cannot properly convert currencies, the app may not allow paid content to be purchased or it may lead to using cached conversions.  LBRY should support failover API servers in case the primary is not working properly in an effort to increase redundancy.
Code for Exchange rate manager: https://github.com/lbryio/lbry/blob/aef31991f9bf2751d5d980b0a2074caf19af1b14/lbrynet/daemon/ExchangeRateManager.py
Expected behaviour
if one API call fails, there should be at least one redundant backup
Actual behaviour
if API is down, users cannot purchase paid content
System Configuration

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

Periodically I am seeing 2017-09-15 11:26:14,750 WARNING  lbrynet.daemon.ExchangeRateManager:69: There was a problem updating USDBTC exchange rate information from lbry.io in my daemon, but don't think its breaking anything.


Git output exact width of window is lost.

Environment
Windows Terminal
Version: 1.5.10411.0
Steps to reproduce
Both with conhost and terminal, cmd, git show,
with expecting like:
+
+blah

and the last line happens to be the exact width of the window, the last line is not shown.
git log -p works.
Tweaking the window width at all in either direction works.
Expected behavior
Not this.
Actual behavior
Described above.

I demonstrated this to /cc@Michael Niksa

/cc @miniksa

So to repro this... you need to make a commit in your history that has a message the exact width of the window.
Like the exact edit in the file at the end of what git show would show is 120 characters wide and your window is 120 characters wide. Not just the commit message because git show will show that and then the delta in the file. And even then, git will add the +  at the front of the line. So you likely need a 118 character long edited line that is added/removed as the last line of the commit.
Then set the window to 120 characters wide. Then call git show and it'll truncate/lose the last line and not display it.
If you resize the window larger or smaller than that exact length, it'll work with git show.
And git log -p... it always works correctly instead.

In Jay's instance, it was like this

git show

commit b29d8988f9145aed19f3f30270951aaecb915856 (HEAD -> main)
Author: Michael Niksa<EMAIL_ADDRESS>Date:   Tue Feb 23 09:01:36 2021 -0800

    Test

diff --git a/README.md b/README.md
index aa9cfc4a..191a6f0a 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
 # Welcome to the Windows Terminal, Console and Command-Line repo
-

But if he did

git log -p

commit b29d8988f9145aed19f3f30270951aaecb915856 (HEAD -> main)
Author: Michael Niksa<EMAIL_ADDRESS>Date:   Tue Feb 23 09:01:36 2021 -0800

    Test

diff --git a/README.md b/README.md
index aa9cfc4a..191a6f0a 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
 # Welcome to the Windows Terminal, Console and Command-Line repo
-
+asdf when this line is printed with the plus on the front, it is the exact width of my window
commit 81d773d2bfad7c906a42e47dc12569ec892ace69
...

It showed that line that it truncated before (the one with the plus that was the exact width).

@miniksa triaged to windows vnex.

Are you sure this is our bug? I just took a look at what we're receiving in DoWriteConsole, and after it has written out that last line (with no line break), it sends \r\x1b[K, i.e. a carriage return and erase to end of line. So it's not surprising that the line is erased.
This only happens for me in a cmd shell though. If I run git show from a WSL bash shell it works fine. Looking at the output again in DoWriteConsole, we receive an additional \r\n after that last line is written out, and before the \r\x1b[K sequence, so the erase only clears the following line.
I'm wondering if maybe they're assuming Windows doesn't support delayed eol wrap (which would have been the case in the past), so they assume that writing in the last column on Windows is going to trigger a line break anyway, and thus don't send an "additional" line break.

Are you sure this is our bug?

Nope. But I asked Jay to file it anyway so it's at least tracked SOMEWHERE.
Based on your investigation, James, it probably is a git issue.

Okay great, I'm totally cool calling this a git issue. It'll need to be filed upstream (though, I don't know exactly where their issue tracker is off hand).
Thanks everyone!

In git this is implemented in term_clear_line: https://github.com/git-for-windows/git/blob/67e748cc61a2a389d04feedca7ae9cc63f2354b4/pager.c#L193
term_clear_line emits \r\x1b[K regardless of the operating system and it's called in the exact same 5 places in both git as well as git-for-windows.
Assuming that this doesn't occur under other terminals, should we reopen this issue then?

Actually I'm pretty sure that less (the pager that git uses by default) is the culprit here.
👉 https://github.com/gwsw/less/blob/14aa5bed9686d63b86e3d94c01665cb7716be123/screen.c#L214
Someone should try this again with LESS_TERMCAP_am=0, but I'm pretty sure it's hardcoded to 1.
(I took a look but I didn't quite understand how the compilation of less under MSYS2 works yet.)

holy shit
I mean, yea, that looks like the source of the problem to me.


Updated MessageCount

When will people remember that - is not the only prefix.
Also, I copy pasted the code from Blox, lol
And Next Time DZ, always remember that others have different prefix 😉

When will people remember that - is not the only prefix.
Also, I copy pasted the code from Blox, lol
And Next Time DZ, always remember that others have different prefix 😉

To add some backstory to this, I made it in about 5m to help someone in #custom-commands-help at yaggy support, it fitted its purpose then because the user had that as its prefix - also may or may not close down the message count cc seeing as, it really isn’t a priority of mine as of right now

When will people remember that - is not the only prefix.
Also, I copy pasted the code from Blox, lol
And Next Time DZ, always remember that others have different prefix 😉

To add some backstory to this, I made it in about 5m to help someone in #custom-commands-help at yaggy support, it fitted its purpose then because the user had that as its prefix - also may or may not close down the message count cc seeing as, it really isn’t a priority of mine as of right now

Going to delete message count from my GitHub entirely, and just genuinely dislike you : )


ContactsServicePlugin.m import updated

Fixed issue: "import <contacts_service/contacts_service-Swift.h> is missing"

Please apply my PR. this is a fix of error: "#import <contacts_service/contacts_service-Swift.h> file not found"


Add sudo false to Travis config

This triggers builds to run on new Travis infrastructure which runs builds much faster.

Oh, maybe a comment that says thats what its doing?


Add sample for access-firewall-policy-via-inetfwpolicy2.yml and acces…

…s-firewall-rule-properties-via-inetfwrule.yml - https://github.com/mandiant/capa-rules/pull/932

thank you!


null in enum list

I have MSON:
- options (enum, nullable, required)
    - (object)
        - type: `example` (string, required)
    - (object)
        - preview: `http://preview.com` (string, required)
        - detail: `http://preview.com` (string, required)

And if field options returns null i receive error message from dredd:
At '/options' - Data does not match any schemas from "anyOf"

I tested other options:

- options (enum, required)
    - (object, nullable)
        - type: `example` (string, required)
    - (object, nullable)
        - preview: `http://preview.com` (string, required)
        - detail: `http://preview.com` (string, required)

- options (enum, required)
    - (object)
        - type: `example` (string, required)
    - (object)
        - preview: `http://preview.com` (string, required)
        - detail: `http://preview.com` (string, required)
    - (nullable)

- options (enum, required)
    - (object)
        - type: `example` (string, required)
    - (object)
        - preview: `http://preview.com` (string, required)
        - detail: `http://preview.com` (string, required)
    - (string, nullable)

It's all doesn't work for me.

@honzajavorek Is nullable supported in dredd yet?

@pksunkara Dredd should support nullable. It was officially announced as supported and it also occurs in some tests. It's not heavily tested because Dredd just relies on Drafter-generated JSON Schema, so there's not much to test on Dredd side except of integration and regressions.

The question is how the JSON Schema looks like, it probably is incorrect if dredd complains

I've got the same problem. Seems like enums can't be nullable.

I filed Dredd-specific issue here: https://github.com/apiaryio/dredd/issues/507 Any outcomes from trying to reproduce and debug the problem will be reported there. If we find out it's not Dredd issue, it may be parser issue since parser generates the JSON Schema. But in any case, it seems like from MSON specification perspective, there's nothing to fix - the thing should work as declared.

@kiwiholmberg I do not think this is the case. nullable can be used everywhere where a value is expected. If used it should ready as "this value MAY be null".
Care to elaborate a bit more on your use case?

Here's an example blueprint. I want to express that the field "data" in Report can be null, or any of the report types VATReportData, PayeReportData. Dredd fails on the field "data" with message "Data does not match any schemas from "anyOf".
FORMAT: 1A
HOST: http://example.com/

# Example API

## Report

+ created_at: `2015-12-07T08:52:46.581Z` (string, optional) - The date the report was created.
+ updated_at: `2015-12-07T08:52:46.581Z` (string, optional) - The date the report was last updated.
+ data (ReportData, required, nullable) - Data for this report, will vary depending on the type of report

## ReportData (enum)

+ (VATReportData)
+ (PayeReportData)

## VATReportData

+ block_a (object, required) - Sales or self-supply liable to VAT, exclusive of VAT
    + box_05 (number, required) - Sales liable to VAT not included in other boxes below
    + box_06 (number, required) - Self-supply liable to VAT
    + box_07 (number, required) - Tax assessment basis for profit margin taxation
    + box_08 (number, required) - Rental income - voluntary tax liability

## PayeReportData

+ block_a (object, required) - Sales or self-supply liable to VAT, exclusive of VAT
    + box_05 (number, required) - Sales liable to VAT not included in other boxes below
    + box_06 (number, required) - Self-supply liable to VAT
    + box_07 (number, required) - Tax assessment basis for profit margin taxation
    + box_08 (number, required) - Rental income - voluntary tax liability

I can confirm that the JSON Schema produces does contain null for data. This most probably is a dredd issue. /cc @honzajavorek


fix: set cursor to pointer when hovering over object expand button

#964

/cf-test

/cf-test

/cf-test

/cf-test


Scrobbler doen't recognize apps

On play market it is said that both Vanilla Music Player and Poweramp are supported, but the scrobbler doesn't recognize that they are installed on my device and play music at all.  It will only scrobble from default player which I hate using. Scrobbler v1.4.6, Vanilla Music v0.9.23, Poweramp v2.0.9 full. Hope you can solve the issue somehow.

@darkravenann did @tgwizard  resolve this for you?

VLC supports scrobbling now too, in case you prefer a good open source alternative.


Remove expired collaborator from Terraform file/s for sim-barnes

Hi there
This is the GitHub-Collaborator repository bot.
The collaborator sim-barnes review date has expired for the file/s contained in this pull request.
Either approve this pull request, modify it or delete it if it is no longer necessary.

Access still required. PR to be raised to extend date.


user_reviews field, it is writing null for 100% of all the jobs

Hello, I want to thank you for this software and report that in the user_reviews field, it is writing null for 100% of all the jobs.

Hello, I notice the same issue.

having the same issue @gosom

same issue here 23/09/2024. Will it be corrected soon? BTW congratulations and thanks for your great job!

@juneikerc @peshkopy @MartiRiusO @promani10
https://github.com/gosom/google-maps-scraper/releases/tag/v1.3.3


FMod switching DLLS if 64 bit.

Do we need a linux equivalent? This looks good though.

Looks good to me.


FlutterException: Null check operator used on a null value

Stack:
#0      RenderSliverStack.performLayout (package:sliver_tools/src/rendering/sliver_stack.dart:190)
#1      RenderObject.layout (package:flutter/src/rendering/object.dart:1915)
#2      RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:510)
#3      RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1580)
#4      RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1489)
#5      RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1757)
#6      PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:887)
#7      RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:504)
#8      WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:892)
#9      RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:370)
#10     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1146)
#11     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1083)
#12     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:997)
#13     _rootRun (dart:async/zone.dart:1426)
#14     _CustomZone.run (dart:async/zone.dart:1328)
#15     _CustomZone.runGuarded (dart:async/zone.dart:1236)
#16     _invoke (dart:ui/hooks.dart:151)
#17     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:308)
#18     _drawFrame (dart:ui/hooks.dart:115)

@LGang can you add some more information on what and when you run into this exception?

Online logs are reported up and cannot be reproduced

LoadingMoreCustomScrollView(                 controller: controller.scrollController,                 physics: const ClampingScrollPhysics(),                 cacheExtent: 800,                 slivers: <Widget>[                   SliverPersistentHeader(                     delegate: PlaceholderPersistentHeaderDelegate(                         child: _buildTabBar(0)),                     floating: true,                   ),                   SliverPersistentHeader(                     delegate: PersistentHeaderDelegate(                       child: Obx(() => _buildOrderMenu(controller.orderMenus)),                     ),                     pinned: true,                   ),                   Obx(() => controller.categoryList.isNotEmpty                       ? SliverToBoxAdapter(                           child: _buildRecommendSubType(),                         )                       : const SliverToBoxAdapter()),                   SliverStack(                     children: [                       SliverPositioned(                         child: Container(                           height: 192,                           decoration: const BoxDecoration(                             gradient: LinearGradient(                               begin: Alignment.topCenter,                               end: Alignment.bottomCenter,                               colors: [                                 Colors.white,                                 Color(0xFFF7F8FA),                               ],                             ),                           ),                         ),                         left: 0,                         right: 0,                         top: 0,                         height: 192,                       ),                       Obx(                         () => LoadingMoreSliverList<GoodsCardModel>(                           SliverListConfig<GoodsCardModel>(                             itemBuilder: (BuildContext context,                                 GoodsCardModel viewModel, int index) {                               return _buildListitemView(viewModel, index);                             },                             sourceList: controller.repository,                             padding: !controller.gridLayout.value                                 ? EdgeInsets.zero                                 : const EdgeInsets.only(                                     left: 12, right: 12, top: 4),                             extendedListDelegate: !controller.gridLayout.value                                 ? null                                 : const SliverWaterfallFlowDelegateWithMaxCrossAxisExtent(                                     maxCrossAxisExtent: 300,                                     crossAxisSpacing: 7,                                     mainAxisSpacing: 7,                                   ),                           ),                         ),                       ),                     ],                   ),                 ],               )

Which version of sliver_tools are you using?

Which version of sliver_tools are you using?

0.2.7

@LGang I'v taken a look at what is crashing.
This error means that a sliver child of the SliverStack did not set its geometry after layout, that's not a good thing and not a fault of this package.
I'll add an assert for this case in an upcoming release though!


Add Load excalidraw from the network

add Read the excalidraw load from the url parameter

Can you post a few examples through that URL? https://excalidraw-git-fork-2234839-master.excalidraw-team.now.sh

Can you post a few examples through that URL? https://excalidraw-git-fork-2234839-master.excalidraw-team.now.sh

Json files can be automatically loaded with the excalidraw parameter, which makes it easy to share my images with others, and I plan to embed it in my blog using an iframe to show the images

Hello @2234839. Is this supposed to implement https://github.com/excalidraw/excalidraw/issues/1090? AFAIK, that one is for loading url-encoded JSON, not random links from the internet. Can you give an example where would that be used, and why would you simply not share an existing Excalidraw scene instead?

Hello @2234839. Is this supposed to implement #1090? AFAIK, that one is for loading url-encoded JSON, not random links from the internet. Can you give an example where would that be used, and why would you simply not share an existing Excalidraw scene instead?

if I want anyone to have access to my work at any time and he can modify it himself, he simply appends the json address that is publicly available on the network and then shares it with him. Instead of having him download my json and open it in excalidraw

Instead of having him download my json and open it in excalidraw

You don't have to do that - that's what the share-by-link is for:

Granted, you'll need to regenerate the link for new drawings (or modifications), but we're currently discussing supporting persistent links (where you can modify the drawings later).

Instead of having him download my json and open it in excalidraw

You don't have to do that - that's what the share-by-link is for:

Granted, you'll need to regenerate the link for new drawings (or modifications), but we're currently discussing supporting persistent links (where you can modify the drawings later).

Thank you very much and look forward to the synchronization links that can be modified

Will close now. We should definitely make it more intuitive/discoverable!


User Status: Last seen field of full user profile and Hover on buddy list

Issue #11607

@rishig I think I've covered everything from #11607 . Please check it out.

Awesome, thanks Vinit! A few things I noticed:

This one is not yet done (which is fine, we can split that out into its own issue if you didn't intend to address it:

If the user is Unavailable, we should show them as "Last online: today" to other users.
Not sure the best way to do this, but ideally the backend would handle this.

There's some regression for the conversation list on the left side (under "Private messages"). In particular, only the first availability circle is showing.

We should make these changes for the conversation list on the left side as well.

Ideally these would be js hovers (that appear immediately) rather than html titles, but this is already a big improvement so we can merge with html titles and fix forward if necessary once the regression above is addressed.

Ah, I didn't notice the PM issue. I'll work on these as well as the "Last online: Today" message for Unavailable users.

@rishig I the last 3 commits I have:

Fixed the regression where the PM List user circle's where not showing
Unavailable user's now show as "Last online: today" to other users.
Added similar hover text to the PM user circles Active/Idle/Offline/Unavailable for green/orange/white/white-with-line

I did this with the title html tags here because I felt like this was more consistent and in line with the other user circles (Plus they required very little changes). If you exclusively want js hovers here please let me know.

Great, thanks! I think a lot of users actually mainly use the Private Messages list, so we do want the full information there.
For the html vs js: we can leave it as html for now; we will want to move to js hovers, but that can be done as a separate effort.

I will definitely look into the JS hovers and see if I can do that later on (hopefully this weekend). Have a bunch of quizzes at school this week so I wanted to get this done before I started studying for those.

@vinitS101 there's a PR for JS hovers on reactions, see https://github.com/zulip/zulip/pull/10266, that we might want to share code wiht.

@timabbott I'll go through that. Can I make a new PR for that (later this week) or should I continue here?

Added JS tooltips instead of the HTML titles that we had before. Please let me know if there are any issues or if any changes are to be made.

Created a cleaner PR #11882


Refactor Bridge Clients for Trusted Relayer

Summary

RFCs: Link to RFC, Link to RFC, or $\emptyset$.
Categories: any of protocol-units, networks, scripts, util, cicd, or misc.

Changelog

Testing

Outstanding issues

These changes were merged in another PR.


Drop file based grace period trigger

What this PR does / why we need it:
The file-based trigger was dropped in v0.29 in favor
of marking the metadata of the domain. New virt-launchers
are not using this mechanism since.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note:
NONE

Thanks! The PR looks good to me! I think that this PR strictly related to #10837. Maybe it is worth it to hold one of them, and serialize?

Can you elaborate? I do not see any relation as of now.

Thanks! The PR looks good to me! I think that this PR strictly related to #10837. Maybe it is worth it to hold one of them, and serialize?

Can you elaborate? I do not see any relation as of now.

Sure! I just see an high probability of conflicts, since they are touching the same file in very close location. Also, they both change the import in the same file. That's it :)

Thanks! The PR looks good to me! I think that this PR strictly related to #10837. Maybe it is worth it to hold one of them, and serialize?

Can you elaborate? I do not see any relation as of now.

Sure! I just see an high probability of conflicts, since they are touching the same file in very close location. Also, they both change the import in the same file. That's it :)

Ah, yeah, this is likely but I don't mind rebasing it one more time.

/approve

/retest-required

Thanks @acardace @fossedihelm . One step closer to less code :)


Download gzip image

I'm attempting to use this action to create an image for a Rock Pi S. The images on their Github page are .gz files and this seems to be fairly common for disk images from what I've seen.

Thanks!


System.NullReferenceException at Microsoft.PowerPlatform.Dataverse.Client.ServiceClient.Command_Execute

Host: Azure Function App (Consumption) - HTTP Trigger
Dotnet version: 6.00
SDK Version: 1.1.14
I upgraded my SDK from 0.6.1 to 1.1.14 last night.
Since doing so, I am getting exceptions being thrown which didn't happen on 0.6.1. (I know its a big jump in version)
************ NullReferenceException - RetrieveMultiple : RetrieveMultiple to Dataverse via IOrganizationService |=> Object reference not set to an instance of an object.
Source: Microsoft.PowerPlatform.Dataverse.Client
Method: Command_Execute
DateUTC: 10/17/2023
TimeUTC: 9:42:36 AM
Error: Object reference not set to an instance of an object.
HelpLink Url: Not Provided
Stack Trace: at Microsoft.PowerPlatform.Dataverse.Client.ServiceClient.Command_Execute(OrganizationRequest req, String errorStringCheck, Boolean bypassPluginExecution)
======================================================================================================================

Microsoft.Azure.WebJobs.Host.FunctionInvocationException:
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+<ExecuteWithLoggingAsync>d__26.MoveNext (Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35: D:\a\_work\1\s\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:352)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+<TryExecuteAsync>d__18.MoveNext (Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35: D:\a\_work\1\s\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:108)
Inner exception System.NullReferenceException handled at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw:
   at Microsoft.PowerPlatform.Dataverse.Client.ServiceClient+<RetrieveMultipleAsync>d__180.MoveNext (Microsoft.PowerPlatform.Dataverse.Client, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.PowerPlatform.Dataverse.Client.ServiceClient+<RetrieveMultipleAsync>d__170.MoveNext (Microsoft.PowerPlatform.Dataverse.Client, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at CHG.DFS.DDB.Functions.OrganisationServiceAdapter+<RetrieveMultipleAsync>d__6.MoveNext (CHG.DFS.DDB.Functions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null: D:\a\1\s\CHG.DFS.DDB.Functions\Providers\OrganisationServiceAdapter.cs:42)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at CHG.DFS.DDB.Functions.FieldServicesDataProvider+<GetEntities>d__28.MoveNext (CHG.DFS.DDB.Functions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null: D:\a\1\s\CHG.DFS.DDB.Functions\Providers\FieldServicesDataProvider.cs:627)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at CHG.DFS.DDB.Functions.FieldServicesDataProvider+<ExecuteWorkOrderQuery>d__16.MoveNext (CHG.DFS.DDB.Functions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null: D:\a\1\s\CHG.DFS.DDB.Functions\Providers\FieldServicesDataProvider.cs:284)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at CHG.DFS.DDB.Functions.FieldServicesDataProvider+<GetWorkOrder>d__15.MoveNext (CHG.DFS.DDB.Functions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null: D:\a\1\s\CHG.DFS.DDB.Functions\Providers\FieldServicesDataProvider.cs:277)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at CHG.DFS.DDB.Functions.IntegrationProvider+<IntegrateWorkOrder>d__4.MoveNext (CHG.DFS.DDB.Functions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null: D:\a\1\s\CHG.DFS.DDB.Functions\Providers\IntegrationProvider.cs:37)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at CHG.DFS.DDB.Functions.FieldServicesFunctions+<WorkOrder>d__8.MoveNext (CHG.DFS.DDB.Functions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null: D:\a\1\s\CHG.DFS.DDB.Functions\FieldServicesFunctions.cs:83)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Azure.WebJobs.Host.Executors.FunctionInvoker`2+<InvokeAsync>d__10.MoveNext (Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35: D:\a\_work\1\s\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionInvoker.cs:52)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+<InvokeWithTimeoutAsync>d__33.MoveNext (Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35: D:\a\_work\1\s\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:581)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+<ExecuteWithWatchersAsync>d__32.MoveNext (Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35: D:\a\_work\1\s\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:527)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+<ExecuteWithLoggingAsync>d__26.MoveNext (Microsoft.Azure.WebJobs.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35: D:\a\_work\1\s\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:306)

This is a function app which runs at a pretty high volume to sync records between Dataverse and a SQL database.
Daily volumes are roughly 90k requests per day, with the higher portion of those happening between 8am and 6pm.
I can't replicate it in a non-prod environment at the moment so I attached a debugger to the production instance running in Azure.
Here is a screenshot of where it throws the exception each time

This is how I am registering the ServiceClient in DI
builder.Services.AddScoped<IOrganizationServiceAsync2>((s) =>
{
    logger = s.GetService<ILogger<Startup>>()!;

    IOrganizationServiceAsync2 serviceClient;

    try
    {
        var appUri = new Uri(appD365Environment!);
        serviceClient = new ServiceClient(appUri, appD365ClientId, appD365ClientSecret, false, logger);
    }
    catch (Exception e)
    {
        logger.LogError($@"Issues encountered during configuration - {e.Message}");

        throw;
    }

    return serviceClient;
});

Then its used like so
public class OrganisationServiceAdapter : IOrganisationServiceAdapter
{
    private readonly IOrganizationServiceAsync2 client;

    public OrganisationServiceAdapter(IOrganizationServiceAsync2 client)
    {
        this.client = client ?? throw new ArgumentNullException(nameof(client));
    }

    public string ConnectedOrgFriendlyName
    {
        get { return ((ServiceClient)client).ConnectedOrgFriendlyName; }
    }

    public AttributeMetadata GetEntityAttributeMetadataForAttribute(string entity, string name)
    {
        return ((ServiceClient)client).GetEntityAttributeMetadataForAttribute(entity, name);
    }

    public OptionSetMetadata GetGlobalOptionSetMetadata(string name)
    {
        return ((ServiceClient)client).GetGlobalOptionSetMetadata(name);
    }

    public async Task<EntityCollection> RetrieveMultipleAsync(QueryExpression qe)
    {
        return await ((ServiceClient)client).RetrieveMultipleAsync(qe);
    }
}

It is throwing these errors when I use the RetrieveMultipleAsync method it seems.
Trace Logs from app insights make me believe the connection is created fine because before we start making any calls, we log which Organization we are connected to. And that trace log is present every time.
To be clear, this is intermittent. in the past 20 hours (since it was updated) this function app has handled 78k requests, with 381 of these failing with the above error.
I am putting my money on something to do with how I am creating the ServiceClient on a per request basis?
I did notice that the SDK method it throws from is called Execute_Command which doesn't appear to be async. Where there is a version of it which is async Execute_CommandAsync
Has anyone got any ideas?

I just attached the bugger again and when it hits the exception, inside the ServiceClient class, the "Details" are only showing this
System.NullReferenceException
  HResult=0x80004003
  Message=Object reference not set to an instance of an object.
  Source=Microsoft.PowerPlatform.Dataverse.Client
  StackTrace:
   at Microsoft.PowerPlatform.Dataverse.Client.ServiceClient.Command_Execute(OrganizationRequest req, String errorStringCheck, Boolean bypassPluginExecution) in Microsoft.PowerPlatform.Dataverse.Client\ServiceClient.cs:line 1299

@MattB-msft sorry to tag you directly, but you appear to answer a lot of the issues and discussions on here. My management are asking me to rollback the upgrade if I can't figure this out in the next 24 hours :(
Would you be able to provide feedback on this issue?

Anyone able to help with this?

We are taking a look at this now.. sorry for the delay... the team has been very busy with a number of projects.

Thanks for this... we have been having a heck of a time trying to run this down.
I wonder if this is a 'hardware' clock issue.. StopWatch is a low level handler.. see : https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.stopwatch?view=net-8.0#remarks
Im going to have the team put in a speculative fix here to see if that resolves it.

We have included the speculative fix in 1.1.17 and are going to close this issue...if it resurfaces, please reopen.

linking to https://github.com/microsoft/PowerPlatform-DataverseServiceClient/releases/tag/1.1.17

Hi @MattB-msft , I finally got around to trying 1.1.17
Unfortunately it hasn't worked out well.
Here what I've done.
Whilst still on v1.1.14, I sent 1000 sequential requests to the function app (that hosts the code using the SDK) and it handled all 1000 fine.
I upgrade the SDK to 1.1.17 and sent 1000 sequential requests again.
After 252 successful requests, the function app appears to have died/shutdown as I started to get a response saying "Function host is not running."
The next 171 requests continued to get the same "Function host is not running." response.
After the function app appeared to come back online again, the final 577 requests failed with the following error returned from the SDK
Unable to connect to Dataverse: Unable to cast object of type 'generatedProxy_2' to type 'Microsoft.PowerPlatform.Dataverse.Client.IOrganizationServiceAsync'.
Source: System.Private.CoreLib
Method: ChkCastAny
DateUTC: 4/10/2024
TimeUTC: 3:44:18 PM
Error: Unable to cast object of type 'generatedProxy_2' to type 'Microsoft.PowerPlatform.Dataverse.Client.IOrganizationServiceAsync'.
HelpLink Url: Not Provided
Stack Trace: at System.Reflection.DispatchProxy.Create[T,TProxy]()
   at System.ServiceModel.Channels.ServiceChannelProxy.CreateProxy[TChannel](MessageDirection direction, ServiceChannel serviceChannel)
   at System.ServiceModel.Channels.ServiceChannelFactory.CreateProxy[TChannel](MessageDirection direction, ServiceChannel serviceChannel)
   at System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel[TChannel](EndpointAddress address, Uri via)
   at System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
   at System.ServiceModel.ChannelFactory`1.CreateChannel()
   at System.ServiceModel.ClientBase`1.CreateChannel()
   at System.ServiceModel.ClientBase`1.CreateChannelInternal()
   at System.ServiceModel.ClientBase`1.get_Channel()
   at System.ServiceModel.ClientBase`1.get_InnerChannel()
   at Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.ConnectAndInitServiceAsync(OrganizationDetail orgdata, Boolean IsOnPrem, Uri homeRealmUri)
   at Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.DoDirectLoginAsync(Boolean IsOnPrem)
   at Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.InitServiceAsync()
======================================================================================================================

A few questions

I feel like I used to see the same error message when running the older SDK 0.6.1. Is this a regression?
This is a consumption function app. Do you think it isn't the right hosting model for something that might be making lots of connections to the Dataverse in quick succession?
In my original post I explained how I am making the connections to the Dataverse via a Startup class, is there anything I could be doing differently there to help elevate connection creation issues?

Regarding my previous message, to get passed it, I changed from a Scoped service to a Singleton service in my startup class and it has allowed high volume requests to go through without issue.
Back to the original issue, I can confirm that this error is no longer happening. It has been live in production for 3 days now and no occurrence has happened, where previously there were hundreds of exceptions daily.


Native Mobile Styling

Running Chrome on MacOS, I can't see/scroll the whole document tree in the right-hand sidebar:
https://docs.mendix.com/refguide/native-styling-refguide/#21--class-names

Hello @tieniber, thanks for the feedback.
We recently added scrollbars to each menu section, which should fix the issue. Please let us know if you run into more issues in our slack channel.


E01 h05 forms skill

Create component.

Please send changes without app.js modifications, we´re getting a heavy conflict


Improve handling of missing version in the artifact's POM

Fixes two issues related to missing version indicators in the pom itself:

If artifactPom.version is missing, use artifactPom.parent.version (the version sub-element of the parent element of the artifactPom) before attempting to retrieve the artifact's parent pom.
When creating the Library instance, use the original component.displayName instead of attempting to reconstruct it.

Also added a logger and several debug messages.

Hi Mike,
Here are a couple fixes.  The ticket numbers (1 & 2) are from my fork.
I'm happy to make edits based on feedback.  A specific edit would be to remove the TODO marker and code for the Library object instantiation if it looks good to you.
Josh

Hey.
Thanks a ton for this PR.
It actually conflicts with the latest changes I was working on myself right now.
I fixed the dependency on internal APIs adjusted library resolving code. This would also fix a problem there was with parent pom resolval.
Let me look at your changes and cherry pick parts over :)

Sounds good! Looking forward to seeing your other changes.


Attempt to switching from azure to github actions

The scripts are taken from buildScripts/azure and slightly redesigned to be compatible with github actions.

Rebase on master, please.
Remove corresponding steps from azure-pipelines.yml


[YSTORM-4915] AutoTGT should check if a TGT is address-less and reject if it's not

https://issues.apache.org/jira/browse/STORM-3044

The failures should be unrelated. The build succeeded on my repo https://travis-ci.org/Ethanlm/storm/builds/371698263

@HeartSaVioR  Sorry I forgot to change it. I don't see any merge button. Do I need to do it in some other way

@Ethanlm
You can refer the DEVELOPER doc which guides contributors as well as committers.
https://github.com/apache/storm/blob/master/DEVELOPER.md#merge-a-pull-request-or-patch
You would want to read BYLAWS for Storm project as well: http://storm.apache.org/contribute/BYLAWS.html
Please keep in mind we need to wait for 24hrs to merge code change. :) So you would like to try it out after 5 hours later.

@HeartSaVioR  Thanks very much!


CAP3M doesn't start node provisioning after applying resources

What steps did you take and what happened:
BMO + Ironic is deployed through the deploy.sh script (deploy.sh -b -i -t -m), of course with some manual intervention to make it work.
Kubernetes is deployed in the initial master node through the simplest kubeadm deployment.
Image I'm trying to provisiong with CAPI is Ubuntu 20.04 (focal-server-cloudimg-amd64.img).
CAPI manifests are generated through clusterctl by setting the relative environment variables as detailed in getting-started.md and applied, but nothing happens.
Note that BMO marks node as available successfully (I also enabled SSH by editing the ramdisk image and checked for logs with journalctl but the provisioning command doesn't reach it).
I placed the Ubuntu image on the preexisting HTTPD instance so it is accessible by the node to provision. Note that the node to provision doesn't have direct internet access.
Note also that I tried to provision the image through the BMO only (no CAPI layer) by setting the image field, and the operator marks the image as provisioned successfully.
According to the sequence diagram in architecture.md, the flow seems stuck at CAP3M having to set userData and image fields on the BMH, the rest went through.
What did you expect to happen:
I expected CAP3M to at least trigger the provisioning process, instead the image field is never applied to the BareMetalHost.
I also expected to find logs, errors or conditions that would point me in the direction of finding the issue but I could not find anything useful.
Anything else you would like to add:
Here's my BareMetalHost resource including status after applying the resources and waiting for it to get stuck:
https://pastebin.com/qQpEmHMH
Here's my manifests from clusterctl:
https://pastebin.com/qgtNvHBX
I couldn't find anything evident in the CAP3M controller logs but I can give any logs if you need.
Further logs:
All resources (kubectl get all,secrets,configmaps -oyaml --all-namespaces): https://pastebin.com/5mEtMqnC
logs of BMO: https://pastebin.com/t9HdJAH8
logs of CAPM3: https://pastebin.com/dv4z5P34
logs of IPAM: empty except for controller initialization logs
logs of CAPI: https://pastebin.com/tS6ttNYv
Environment:

Cluster-api version: v1.3.3
Cluster-api-provider-metal3 version: v1.3.0
Environment (metal3-dev-env or other): Other
Kubernetes version: (use kubectl version): v1.26.1

/kind bug

I think this may be a duplicate of https://github.com/metal3-io/cluster-api-provider-metal3/issues/820.
The issue has been fixed but is not yet included in a release. The cause is that the Metal3DataTemplate is missing. Adding this should allow the provisioning process to continue.

Update: Based on discussion on slack this is not a duplicate of #820 . Adding the Metal3DataTemplate did not help.

We have had a discussion on the community meeting with @criscola and @lentzi90  and @criscola  will provide reproduction steps.

Thanks for your kind support! I will add as much information as I can regarding reproduction steps. In the mean time I attached further logs to the issue as requested by @furkatgofurov7 over slack.

@criscola I think I found the cause!
In the manifests linked on slack there is a Metal3DataTemplate for the control plane. But it has the wrong cluster name!

Yep, that was it, thank you so much! In the end it was a duplicate since metal3data wasn't configured correctly, https://github.com/metal3-io/cluster-api-provider-metal3/pull/821 will surely fix this kind of issues.


Error FastLane Plugin

New Issue Checklist

[ ] Updated fastlane to the latest version
[ ] I read the Contribution Guidelines
[ ] I read docs.fastlane.tools
[ ] I searched for existing GitHub issues

Issue Description

Complete output when running fastlane, including the stack trace and command used

[INSERT OUTPUT HERE]

Environment

[INSERT OUTPUT HERE]

Please provide some information what is actually going wrong - currently the only information you left is the issue title.


Firebase/Core/FIRLogger.m

Xcode version: 9.2
Firebase SDK version: "cordova-plugin-firebase-analytics": "^1.0.0",
Firebase Component: Core (Auth, Core, Database, Firestore, Messaging, Storage, etc)
Component version: _____

pods
platform :ios, '8.0'
target 'Savelife Connect' do
        pod 'GoogleToolboxForMac'
	pod 'GoogleUtilities'
	pod 'Firebase/Core'
	pod 'Intercom'
	pod 'OneSignal'
end

I am getting following error when i try to compile it via cordova.
** BUILD FAILED **

The following build commands failed:
        CompileC /Users/user/Library/Developer/Xcode/DerivedData/Project-ggdbgtncbqjsncaxfbhksciqxrsp/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/FirebaseCore.build/Objects-normal/i386/FIRLogger.o FirebaseCore/Firebase/Core/FIRLogger.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Can you share the error raised by the compiler with line number and error description?

sorry for the late response,
[cordova]  CompileC /Users/user/Library/Developer/Xcode/DerivedData/SLC-ggdbgtncbqjsncaxfbhksciqxrsp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseCore.build/Objects-normal/x86_64/FIRLogger.o FirebaseCore/Firebase/Core/FIRLogger.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[cordova]      cd /projects/slc/platforms/ios/Pods
[cordova]      export LANG=en_US.US-ASCII
[cordova]      export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/projects/slc/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Applications/VMware Fusion.app/Contents/Public:/Applications/Postgres.app/Contents/Versions/latest/bin:/projects/slc/node_modules/.bin:/Users/user/Library/Android/sdk/tools:/Users/user/Library/Android/sdk/platform-tools"
[cordova]      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -fobjc-arc -fobjc-weak -fmodules -fmodules-cache-path=/Users/user/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/user/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DPOD_CONFIGURATION_DEBUG=1 -DDEBUG=1 -DCOCOAPODS=1 -DFIRCore_VERSION=5.1.9 -DFirebase_VERSION=5.14.0 -DCOCOAPODS=1 -DPOD_CONFIGURATION_DEBUG=1 -DDEBUG=1 -DCOCOAPODS=1 -DFIRCore_VERSION=5.1.9 -DFirebase_VERSION=5.14.0 -DPB_FIELD_32BIT=1 -DPB_NO_PACKED_STRUCTS=1 -DPB_ENABLE_MALLOC=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/user/Library/Developer/Xcode/DerivedData/SLC-ggdbgtncbqjsncaxfbhksciqxrsp/Index/DataStore -iquote /Users/user/Library/Developer/Xcode/DerivedData/SLC-ggdbgtncbqjsncaxfbhksciqxrsp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseCore.build/FirebaseCore-generated-files.hmap -I/Users/user/Library/Developer/Xcode/DerivedData/SLC-ggdbgtncbqjsncaxfbhksciqxrsp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseCore.build/FirebaseCore-own-target-headers.hmap -I/Users/user/Library/Developer/Xcode/DerivedData/SLC-ggdbgtncbqjsncaxfbhksciqxrsp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseCore.build/FirebaseCore-all-target-headers.hmap -iquote /Users/user/Library/Developer/Xcode/DerivedData/SLC-ggdbgtncbqjsncaxfbhksciqxrsp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseCore.build/FirebaseCore-project-headers.hmap -I/projects/slc/platforms/ios/build/emulator/include -I/projects/slc/platforms/ios/Pods/Pods/Headers/Private -I/projects/slc/platforms/ios/Pods/Pods/Headers/Private/FirebaseCore -I/projects/slc/platforms/ios/Pods/Pods/Headers/Public -I/projects/slc/platforms/ios/Pods/Pods/Headers/Public/FirebaseCore -I/projects/slc/platforms/ios/Pods/Pods/Headers/Public/GoogleUtilities -I/projects/slc/platforms/ios/Pods/Pods/Headers/Public/Firebase -I/projects/slc/platforms/ios/Pods/Pods/Headers/Public/nanopb -I/projects/slc/platforms/ios/Pods/Pods/Firebase/CoreOnly/Sources -I/Users/user/Library/Developer/Xcode/DerivedData/SLC-ggdbgtncbqjsncaxfbhksciqxrsp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseCore.build/DerivedSources/x86_64 -I/Users/user/Library/Developer/Xcode/DerivedData/SLC-ggdbgtncbqjsncaxfbhksciqxrsp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseCore.build/DerivedSources -F/projects/slc/platforms/ios/build/emulator -F/projects/slc/platforms/ios/Pods/Pods/FirebaseAnalytics/Frameworks -F/projects/slc/platforms/ios/Pods/Pods/FirebaseInstanceID/Frameworks -F/projects/slc/platforms/ios/Pods/Pods/GoogleAppMeasurement/Frameworks -F/projects/slc/platforms/ios/Pods/Pods/Intercom/Intercom -F/projects/slc/platforms/ios/Pods/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework -fno-autolink -MMD -MT dependencies -MF /Users/user/Library/Developer/Xcode/DerivedData/SLC-ggdbgtncbqjsncaxfbhksciqxrsp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseCore.build/Objects-normal/x86_64/FIRLogger.d --serialize-diagnostics /Users/user/Library/Developer/Xcode/DerivedData/SLC-ggdbgtncbqjsncaxfbhksciqxrsp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseCore.build/Objects-normal/x86_64/FIRLogger.dia -c /projects/slc/platforms/ios/Pods/FirebaseCore/Firebase/Core/FIRLogger.m -o /Users/user/Library/Developer/Xcode/DerivedData/SLC-ggdbgtncbqjsncaxfbhksciqxrsp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseCore.build/Objects-normal/x86_64/FIRLogger.o
[cordova]  /projects/slc/platforms/ios/Pods/FirebaseCore/Firebase/Core/FIRLogger.m:18:9: fatal error: 'GoogleUtilities/GULAppEnvironmentUtil.h' file not found
[cordova]  #import <GoogleUtilities/GULAppEnvironmentUtil.h>
[cordova]          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[cordova]  1 error generated.
[cordova]
[cordova]  ** BUILD FAILED **
[cordova]
[cordova]
[cordova]  The following build commands failed:
[cordova]       CompileC /Users/user/Library/Developer/Xcode/DerivedData/SLC-ggdbgtncbqjsncaxfbhksciqxrsp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseCore.build/Objects-normal/x86_64/FIRLogger.o FirebaseCore/Firebase/Core/FIRLogger.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[cordova]  (1 failure)
[cordova]  (node:39018) UnhandledPromiseRejectionWarning: Error code 65 for command: xcodebuild with args: -xcconfig,/projects/slc/platforms/ios/cordova/build-debug.xcconfig,-workspace,SLC.xcworkspace,-scheme,SLC,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/projects/slc/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/projects/slc/platforms/ios/build/sharedpch,-UseModernBuildSystem=0
[cordova]  (node:39018) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
[cordova]  (node:39018) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Can you include the versions of all the pods when running pod install? It looks like your project is unable to find some headers that should be there, possibly after updating your Firebase version.

PODS:
  - Firebase/Core (5.15.0):
    - Firebase/CoreOnly
    - FirebaseAnalytics (= 5.4.0)
  - Firebase/CoreOnly (5.15.0):
    - FirebaseCore (= 5.1.10)
  - FirebaseAnalytics (5.4.0):
    - FirebaseCore (~> 5.1)
    - FirebaseInstanceID (~> 3.3)
    - GoogleAppMeasurement (= 5.4.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 5.2)
    - GoogleUtilities/MethodSwizzler (~> 5.2)
    - GoogleUtilities/Network (~> 5.2)
    - "GoogleUtilities/NSData+zlib (~> 5.2)"
    - nanopb (~> 0.3)
  - FirebaseCore (5.1.10):
    - GoogleUtilities/Logger (~> 5.2)
  - FirebaseInstanceID (3.3.0):
    - FirebaseCore (~> 5.1)
    - GoogleUtilities/Environment (~> 5.3)
    - GoogleUtilities/UserDefaults (~> 5.3)
  - GoogleAppMeasurement (5.4.0):
    - GoogleUtilities/AppDelegateSwizzler (~> 5.2)
    - GoogleUtilities/MethodSwizzler (~> 5.2)
    - GoogleUtilities/Network (~> 5.2)
    - "GoogleUtilities/NSData+zlib (~> 5.2)"
    - nanopb (~> 0.3)
  - GoogleUtilities/AppDelegateSwizzler (5.3.6):
    - GoogleUtilities/Environment
    - GoogleUtilities/Logger
    - GoogleUtilities/Network
  - GoogleUtilities/Environment (5.3.6)
  - GoogleUtilities/Logger (5.3.6):
    - GoogleUtilities/Environment
  - GoogleUtilities/MethodSwizzler (5.3.6):
    - GoogleUtilities/Logger
  - GoogleUtilities/Network (5.3.6):
    - GoogleUtilities/Logger
    - "GoogleUtilities/NSData+zlib"
    - GoogleUtilities/Reachability
  - "GoogleUtilities/NSData+zlib (5.3.6)"
  - GoogleUtilities/Reachability (5.3.6):
    - GoogleUtilities/Logger
  - GoogleUtilities/UserDefaults (5.3.6):
    - GoogleUtilities/Logger
  - Intercom (5.1.10)
  - nanopb (0.3.901):
    - nanopb/decode (= 0.3.901)
    - nanopb/encode (= 0.3.901)
  - nanopb/decode (0.3.901)
  - nanopb/encode (0.3.901)
  - OneSignal (2.8.5)

DEPENDENCIES:
  - Firebase/Core
  - Intercom (~> 5.1.0)
  - OneSignal (= 2.8.5)

SPEC REPOS:
  https://github.com/cocoapods/specs.git:
    - Firebase
    - FirebaseAnalytics
    - FirebaseCore
    - FirebaseInstanceID
    - GoogleAppMeasurement
    - GoogleUtilities
    - Intercom
    - nanopb
    - OneSignal

SPEC CHECKSUMS:
  Firebase: 8bb9268bff82374f2cbaaabb143e725743c316ae
  FirebaseAnalytics: c06f9d70577d79074214700a71fd5d39de5550fb
  FirebaseCore: 35747502d9e8c6ee217385ad04446c7c2aaf9c5c
  FirebaseInstanceID: e2fa4cb35ef5558c200f7f0ad8a53e212215f93e
  GoogleAppMeasurement: 98b71f5e04142793729a5ef23e5b96651ff4b70f
  GoogleUtilities: 95996bea7c7d9b8fb811b7507669a4a8762f80c7
  Intercom: 0bdb68a820a955af10f453fbd17277daaeb49a30
  nanopb: 2901f78ea1b7b4015c860c2fdd1ea2fee1a18d48
  OneSignal: 42dae269c7eca517aee34963820e1eb922390031

PODFILE CHECKSUM: 087714b127d7bbff16c6a410f140cf27b9f992f2

COCOAPODS: 1.6.0.beta.2

Doesn't look like there's anything wrong with your pod versions. Are you able to build the Xcode project without using cordova?

After reading many solutions, what worked for me was doing a pod update:
cd platforms/ios; pod update; cd ../..

That brought all the versions into line. Occams razor, I guess.


add Secret CRD to support passing secrets over MCP

Describe the feature request
Add Secret CRD to describe secrets, so that we could pass secrets over MCP.
Describe alternatives you've considered
apiVersion: networking.istio.io/v1alpha3
kind: Secret
metadata:
  name: mygateway
spec:
  workloadSelector:
    matchLabels:
      app: ratings
  serverCertificate: # string value of server certificate
  privateKey: # string value of private key
  caCertificates: # string value of ca cert

Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[X] Security
[ ] Test and Release
[ ] User Experience
[X] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[X] Virtual Machine
[ ] Multi Control Plane
Additional context
Now the secrets only come from k8s, with fixed namespace take effects for a single secret resource.
After having the secret CRD, we could pass secrets over MCP from an alternative MCP server.
Also, having a flexible scope to take effect, with workloadSelector in the CRD.
So that, we could control the secrets in an upper-level control plane/dashboard, even without k8s.
(with MCP & the existing CRD, we could have almost control in the upper-level control plane, except secrets now.)
Any feedbacks are welcome, thanks!

We can just allow k8s core.v1.Secret. no need to make a new type.

Thanks, good idea, core.v1.Secret should be good enough, even without workloadSelector.
For the implementation details, these are my thoughts:

set credentialName: mcp://bookinfo-secret in the Gateway CR, with the mcp:// prefix, since it prefix with kubernetes:// by default when there is no prefix.

    tls:
      mode: SIMPLE # enables HTTPS on this port
      credentialName: mcp://bookinfo-secret

introduce the new ISTIOD_ENABLE_SECRET_OVER_MCP environment variable to enable the new secrets over MCP feature.

if enabled, we add a new resource type mcp here:
https://github.com/istio/istio/blob/f98481879ae4f869478ad900af6c96db9b8593bd/pilot/pkg/xds/sds.go#L415

to generate secret resources from the xDS client, eg mcp://bookinfo-secret.

Does this make sense? if yes, we will have a try. Thanks.


Set pessimistic connection

Hi,
Is it possible to set connection and querying to pessimistic instead of optimistic? I don't find where to set this option.
regards,
YM

Hi!
Weir use TiDB default transaction mode, and starting from v3.0.8, newly created TiDB clusters use the pessimistic transaction mode by default.
https://docs.pingcap.com/tidb/stable/pessimistic-transaction
However, Weir does not support change the transaction mode by SET tidb_txn_mode=xxx.

Hi!
Weir use TiDB default transaction mode, and starting from v3.0.8, newly created TiDB clusters use the pessimistic transaction mode by default.
https://docs.pingcap.com/tidb/stable/pessimistic-transaction
However, Weir does not support change the transaction mode by SET tidb_txn_mode=xxx.

Hi,
Here is a log from our Weir proxy:
Aug 17 13:25:33 proxy211-XXX.net weirproxy[9178]: [2022/08/17 13:25:33.211 +02:00] [WARN] [conn.go:184] ["command dispatched failed (sql error)"] [conn=5106] [connInfo="id:5106, addr:<IP_ADDRESS>:XXXX status:10, collation:utf8mb4_general_ci, user:XXXXX"] [command=Query] [status="inTxn:0, autocommit:1"] [sql="SELECT XXXX FROM XXXX where XXX like '%XXX%' OR XX = 'XXX'"] [txn_mode=OPTIMISTIC] [err="ERROR 9004 (HY000): Resolve lock timeout"]
Here is the configuration of our tidb : SELECT @@tidb_txn_mode => pessimistic
We're using tidb 5.4.
Why is our Weir is using optimisitic when our cluster is set to pessimistic ?

What's the result of SELECT @@tidb_txn_mode from Weir?

What's the result of SELECT @@tidb_txn_mode from Weir?

Pessimistic ...
But again this morning :
Aug 24 09:50:04 xx-185 weirproxy[3582]: [2022/08/24 09:50:04.334 +02:00] [ERROR] [conn.go:195] ["command dispatched failed (unknown error)"] [conn=16059] [connInfo="id:16059, addr:xx:xx status:10, collation:latin1_swedish_ci, user:XXX"] [command=Query] [status="inTxn:0, autocommit:1"] [sql="SELECT XX ORDER BY RAND() LIMIT 2"] [txn_mode=OPTIMISTIC] [..]

This is a bug, txn_mode in log is retrieve from the following code:
func (cc *clientConn) Run(ctx context.Context) {
    ...
    var txnMode string
    if cc.ctx != nil {
        txnMode = cc.ctx.GetSessionVars().GetReadableTxnMode()
    }
    ...
}

However, this method use Optimistic if param is not set.
func (s *SessionVars) GetReadableTxnMode() string {
	txnMode := s.TxnMode
	if txnMode == "" {
		txnMode = ast.Optimistic
	}
	return txnMode
}

Please DO NOT depend on txn mode in log.

Thank you for your reactivity and your reliability.
I'll modify my queries to take in account the pessimistic mode.
Regards,
YM


REST adapter doesn't shutdown on Diffusion session failure

If the session fails and is unable to reconnect the adapter remains running. The adapter can't recover after this so it should shutdown.

3.0.x - b854318bf13415db01815f9df4a4dbaae2c5845d
4.0.x - 563b64ff995551b0b5d457322bb99775e0db83d6

The adapter doesn't shutdown because the HTTP client threads keep it running. Making them daemon threads should resolve this.


Initial JSON Schema

(Example) Work on JSON Schema v1

So this will be a schema wrapper that will make sure the json file is compatible with MIDI?

Hi

e

@n0remac Yes and no. The goal is to simply define the data structure that will be used by many aspects of this "VMMX" concept. It will be used by the online programmer, the midi exporter, persistence API, etc.

(This PR was just a test)


Auto-generate ER diagram.

I used dbvis to generate the current ER, and had to do some manual adjustment to make it readable. A simple github action that creates the schema then generates an ER that is readable would be a good addition.

https://github.com/mpope9/nba-sql/issues/8 should be completed first.

I use DBeaver which automatically generates an ERdiagram

Beautiful. I'll update the diagram in the repo today or tomorrow with this. Thank you.