Introduce annotation for marking compatibility with Flink

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
It will become inevitable to depend some internal class or method in Flink, even with hacky refections in our project. As the code base grows, compatibility issues with Flink might become a heavy technical debt. Having an annotation system in advance could help reminding developers and maintainers about compatibility issues, and enables automatic compatibility check in the future.
Solution
No response
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

closed as it's already done


Brick & User Domain

[x] Entities
[x] Repository

참고 : https://github.com/imimtu/Brick-Back/issues/8

Create Basic Domain

User Domain
Repository Domain


No Remote Play Together tab in steam overlay

This is happening on latest mainline Steam Client.
Invites are sent correctly and people can join and receive video feed however the UI tab that allows to enable input for connected players is simply missing. It does not appear as it did before on first invite sent and its missing from the available tabs list at the bottom of the screen. The workaround is for other players to connect gamepad after joining as it's enabled by default. But using keyboard/mouse currently seems to be impossible.

Same here. Can't play anything with a friend who doesn't have a gamepad

Bugged for me as well


Add nilaway to make opslevel-jq-parser more safe

Issues
https://github.com/OpsLevel/team-platform/issues/186
Changelog

[x] Taskfile
[x] GoLand suggestions
[ ] nilaway changes - did not need any, code is already safe.
[ ] Make a changie entry

@davidbloss fixed the taskfile and CI here as per your suggestions


DPDV-2371 add release-from-tag job

Jira Link: https://sentinelone.atlassian.net/browse/DPDV-2371
🥅 Goal
To be able to create release from git tags
🛠 Solution
Introduce github release job

And how about adding the suffix - .yaml to that file?


Make import fix for 'export =' respect module target and allowSyntheticDefaultImports/esModuleInterop

Fixes #31219
The change here is super simple. For an export assignment (export = foo):

if you have allowSyntheticDefaultImport or esModuleInterop enabled, prefer import foo from "foo"
else if your module target is ES2015+, prefer import * as foo from "foo". (This is invalid, but so is literally anything else with this combination of export form and compiler options, and this one gives the best error message.)
else, continue using import foo = require("foo") (what previously happened for all cases)

It is possible to use import * as foo from "foo" for some additional cases, but I wanted to get clarified feedback on exactly which cases. My understanding is that, assuming allowSyntheticDefaultImport/esModuleInterop is disabled,  export assignments roughly fall into three logical categories:

Things that can only be imported with import foo = require("foo"): includes classes, interfaces, types, enums. (From reading old docs, it sounds like this used to be the only category—export = mandated import foo =, bar none.)
Things that can be imported with import * as foo from "foo" within ES module spec compliance: includes values that are not callable/constructable.
Things that can be imported with import * as foo from "foo" but apparently violates ES module spec: values that are callable/constructable. (E.g. import * as express from "express"; express() works today, but I think it didn’t at some point in the past, because it‘s technically wrong?)

There’s a lot of history here that’s not particularly well-documented as far as I can find—calling on @DanielRosenwasser to help unearth the archives and advise.

but I think it didn’t at some point in the past, because it‘s technically wrong

Way back when import * as f from "whatever" was first added, the decision was made to allow importing anything "namespacey", since it's a namespace import, after all. And given our downlevel emit (it just becomes var f = require("whatever")), even that was technically not required. Time passed and te es6 module specifications (which does not allow for a callable/constructable/whatever namespace) started getting worked into the community, reality sets in, and we realize that because we have class/function/namespace merging, we allow the import of "namespacey" constructs which shouldn't work, per spec (whereas with our normal downlevel it's fine). Thus the esModuleInterop flag came to be - it modifies our emit to do export hoisting like babel does and like node has occasionally been proposed to do, and likewise strips call/constrct-ability from the namespace in the typechecker to reflect the change in emit.

@weswigham but namespace imports of callable things are still allowed even without esModuleInterop, which is the primary source of my confusion: when/why did that happen, because it seems to be independent of esModuleInterop entirely?

but namespace imports of callable things are still allowed even without esModuleInterop

Precisely. It's only with the esModuleInterop flag that we flag them as an error.

Ah, got it. So I think the question remains: given an export = someValueNotAType, and you don’t have esModuleInterop or allowSyntheticDefaultImports, would we rather write your import as import...require or an import * as?

would we rather write your import as import...require or an import * as?

If there's an export = , then import / require should always be preferred. Anything that is an ES6 module could have been written with export =, so the export =  implies a CommonJS module (this is not a 100% reliable heuristic, but it exists)

If there's an export = , then import / require should always be preferred.

@RyanCavanaugh That’s the current behavior—but the issue (#31219) is that import/require is invalid for es2015+. At the very least, if you are targeting es2015+ and have esModuleInterop/allowSyntheticDefaultImports, you should get import foo from 'foo', because it’s the only thing that will compile.
I suppose for <es2015 it’s debatable—I can undo my changes for those cases.

This PR now only changes the behavior when esModuleInterop/allowSyntheticDefaultImports is on—it prefers the default import in that case.

Fixes #29038

This PR now only changes the behavior when esModuleInterop/allowSyntheticDefaultImports is enabled and module is ES2015+.

The conversation around this PR has just gotten too confusing—I initially didn’t realize that import ... = require(...) was being inserted in JavaScript, so there was more to do than I thought. I’m closing this and re-opening a fresh PR to explain the approach from a clean slate, even though the code is the same.


Option to double font size

Or as you already said, make the font a bit larger

Yes, we definitely need something. When my eyes get tired it is getting hard to see. It will mean fewer lines on the display, but I don't think that is a problem. I'm more worried about the width/length of the lines. I'll come up with something.

maybe even 1.5 times larger is enough, long line could scroll if staying active (top line) for 250 msec.

I came up with a much nicer font. It is larger, but not too large.
The font size control in the TFT library only allows integers, so 2x would be the next size. This severely limits the number of characters that can be displayed in the menu. We could of course scroll sideways but that will really slow things down.
Try the latest code and let me know if that is acceptable.

It looks really good and very readable now. I will close this as I can even read it without glasses. Well done, Martin, I see you have great taste for fonts.


Bug: ns require removes :refer :all and :excludes

Changes [incanter.core :refer :all :exclude [abs]] to [incanter.core :refer [abs]]

Thank you for the report! Fixed with PR-80


Hook up the new runner to the cancel method

Hey team! Please add your planning poker estimate with Zenhub @AlejandroEsquivel @cjao @kessler-frost

@kessler-frost / @cjao assume all the improvements/memory tag issues can be closed now? If so @kessler-frost can you please close them ? 🙏


useOperation: Cannot read property 'apply' of undefined

We have a simple React app, brand new, doesn't do anything but attempt to invoke a single API and dump the contents of the return data, as a first attempt to use this package. I own the API project too, and I can see the request which returns the OpenAPI doc (and I know it's valid, I've used .NET and Java codegen to call it). I'm not sure where or how to troubleshoot this error message.
After the OpenAPI doc is returned, the call to useOperation fails with:
TypeError: Cannot read property 'apply' of undefined
        at useOperation.js:63
        at step (useOperation.js:33)
        at Object.next (useOperation.js:14)
        at fulfilled (useOperation.js:5)

The OpenAPI JSON is v3.0.1 and it currently has just a single entry in paths:
"paths":
  "/techsupport/CacheSystem/GetNavData": {
    "get": {
(usual stuff omitted: tags array, response 200, content list, etc.)
  }

This is on a locked-down corporate machine (no Internet access etc) but the code is so simple I'll just retype it here. It's Root instead of App because the real React apps are part of a single-spa parent app:
const Root = (props) => (
  <OpenAPIProvider definition="https://localhost:5050/openapi/v1/btpapi.json">
    <DumpNavData userData={props.userData} />
  </OpenAPIProvider>
);

const DumpNavData = (props) => {
  const { loading, data, error } = useOperation('/techsupport/CacheSystem/GetNavData', props.userData.viewEntitlement);

  if (loading) {
    return
Loading
;
  }

  if (error ) {
    console.log(error);
    return
Error
;
  }

  const stringData = JSON.stringify(data);

  return
{stringData}
;
};

export default Root;

This is the error message when the schema is missing explicit operationId values, so it's probably related to this: https://github.com/anttiviljami/openapi-client-axios/issues/19
It seems to me that a better error message is important, so I'm leaving this open for the moment.
That also leads to another question -- can this package be used to invoke APIs by path, as I originally attempted to do in the code I posted above? Our real API is gigantic, it would be unreasonably difficult to generate guaranteed-unique (but useful) operationId values across the entire API surface.

This is the error message when the schema is missing explicit operationId values, so it's probably related to this: https://github.com/anttiviljami/openapi-client-axios/issues/19
It seems to me that a better error message is important, so I'm leaving this open for the moment.
That also leads to another question -- can this package be used to invoke APIs by path, as I originally attempted to do in the code I posted above? Our real API is gigantic, it would be unreasonably difficult to generate guaranteed-unique (but useful) operationId values across the entire API surface.


individual get_sms gives 'IndexError: list index out of range' Python 3.9

Getting really odd behaviour with the get_sms() function.
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from sim_modem import Modem
>>> modem = Modem('/dev/ttyUSB3')
>>> modem_id = modem.get_model_identification()
>>> print(modem_id)
SIMCOM_SIM7600G-H
>>> sms = modem.get_sms(0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/dist-packages/sim_modem.py", line 655, in get_sms
    "slot": read[1].split(":")[1].split(",")[0].strip(),
IndexError: list index out of range
>>> sms = modem.get_sms(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/dist-packages/sim_modem.py", line 655, in get_sms
    "slot": read[1].split(":")[1].split(",")[0].strip(),
IndexError: list index out of range

When I add the debug output (I've obviously redacted the phone number - but that is all I have done):
>>> modem = Modem('/dev/ttyUSB3', baudrate="115200", debug=True)
Modem connected, debug mode enabled
>>> sms = modem.get_sms_list()
Sending: AT+CMGF=1
Sending: AT+CMGL="ALL"
Device responded:  ['AT+CMGF=1', 'OK', 'AT+CMGL="ALL"', '+CMGL: 0,"REC READ","+************ ","","23/07/29,05:01:03+04"', '3rd Test Message Sent', '+CMGL: 1,"REC READ","+************ ","","23/07/29,05:04:04+04"', '4th test sms... this has to work', '+CMGL: 2,"REC READ","+************ ","","23/07/29,05:10:02+04"', "5th test. PLEASE python don't fail me now.", '+CMGL: 3,"REC READ","+************ ","","23/07/29,05:23:57+04"', "6th, this is a tad annoting why the code isn't working properly", '+CMGL: 4,"REC READ","+************ ","","23/07/29,05:30:17+04"', 'possibly final test for today', '', 'OK']
>>> sms = modem.get_sms(1)
Sending: AT+CMGF=1
Sending: AT+CMGR=1
Device responded:  ['AT+CMGF=1', 'OK', 'AT+CMGR=1', '+CMGR: "REC READ","+************ ","","23/07/29,05:04:04+04"', '4th test sms... this has to work', '', 'OK']
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/dist-packages/sim_modem.py", line 655, in get_sms
    "slot": read[1].split(":")[1].split(",")[0].strip(),
IndexError: list index out of range

I can't decipher all the splits in the return section:
return {
            "slot": read[1].split(":")[1].split(",")[0].strip(),
            "number": read[1].split('READ","')[1].split('","","')[0],
            "date": read[1].split('","","')[1].split(",")[0],
            "time": read[1].split(",")[5].split("+")[0],
            "message": read[4].replace("\r\n", "").strip(),
        }

The kind of TL;DR is is does read the SMS from the module, but it seems, in python 3.9 at least, the convertion to a dict for the output no longer works as expected...
Firmware of module is: LE20B03SIM7600M22  (not that I can find much by way of reliable info on any newer versions - I'm not daft enough to download files from random website!)

I'm going to assume this is either difference in SIMCOM module firmware, or a slight variation of module meaning different AT outputs?
When using get_sms() the return of a slot value doesn't make much sense as you entered it into the function so returning it seems redundant.
So unless I'm really hugely missing something if I edit the return filters to be:
## output from modules AT command
read=['AT+CMGF=1', 'OK', 'AT+CMGR=1', '+CMGR: "REC READ","+************ ","","23/07/29,05:04:04+04"', '4th test sms... this has to work', '', 'OK']

return {
    "number": read[3].split(",")[1].strip('"'),
    "date": read[3].split(",")[3].strip('"'),
    "time": read[3].split(",")[4].split("+")[0],
    "message": read[4],
}

It should work with the AT outputs from my SIM7600G-H. I've only tested roughly will do more.


custom layout demo - value not showing correctly

Hi,
First of all thank you for such a great script.
I want to implement one of your custom layout demo (http://output.jsbin.com/gabeli/8) to my project.
But i realize that the value and animated number is not correct. value is 0.7 but animation always show "100". Is there any way to fix it.
Best regards

Try to change:
.on('circle-animation-progress', function(e, v) {

to:
.on('circle-animation-progress', function(e, p, v) {

... because the event listener takes 3 arguments:

jQuery event
Animation progress, which always starts at 0.0 and ends at 1.0
Animation value - current animation frame value which starts at 0.0 and ends at value

Thank you. It's fixed now.


Target profile page rewrite: Change font to Inter (pilot)

As discussed during yesterday's Open Targets Core Platform team meeting, I would like to pilot using the open source font Inter as it is optimised for UI usage.
A full font specification will be included in the design pattern library (date of completion TBC). In the interim, the font can be used in phase 2 of the target profile page rewrite project as the default font, replacing Roboto.
Please install the font using CSS via the Inter CDN. Please override the default Roboto font with Inter in the default theme's typography.fontFamily attribute.

Inter font is now being used - issue closed


feat(body): add trailers to Body channel (#2260)

Closes #2260.

@seanmonstar Should I also add "try_send_trailers" to the Sender?

@seanmonstar Should I also add "try_send_trailers" to the Sender?

Thanks for the PR!

Should I also add "try_send_trailers" to the Sender?

I don't think that's necessary, unless you have a good reason for it?

Thanks for the PR!

Should I also add "try_send_trailers" to the Sender?

I don't think that's necessary, unless you have a good reason for it?

Thanks for the PR!

Should I also add "try_send_trailers" to the Sender?

I don't think that's necessary, unless you have a good reason for it?

try_send_data is implemented for threads that doesn't have an async context. By using try_send_trailers, they can send trailers as well.

Thanks for the PR!

Should I also add "try_send_trailers" to the Sender?

I don't think that's necessary, unless you have a good reason for it?

try_send_data is implemented for threads that doesn't have an async context. By using try_send_trailers, they can send trailers as well.

@seanmonstar I ran end_to_end benchmarks.
No trailers -> https://pasteboard.co/JJfrwqV.png
Trailers  -> https://pasteboard.co/JJfsdsf.png
I ran each one multiple times to make sure that everything works fine and I saw that adding trailers didn't cause much of a difference.

@seanmonstar I ran end_to_end benchmarks.
No trailers -> https://pasteboard.co/JJfrwqV.png
Trailers  -> https://pasteboard.co/JJfsdsf.png
I ran each one multiple times to make sure that everything works fine and I saw that adding trailers didn't cause much of a difference.


BUG -  Branch.isInstantApp() always false on Android O for Instant Apps

For Android O apps, the Branch.isInstantApp() always returns false. If you diff this against the Google Instant App SDK method, the Google method has additional logic for if the device is an Android O device.

@kevinzetterstrom Thanks for creating this issue. We had the same login from Google at the time of introducing this method. We will check the latest version and update it soon

Hi @kevinzetterstrom -- Thanks again for this report. Here's a PR with updated isInstantApp code: https://github.com/BranchMetrics/android-branch-deep-linking/pull/456 -- let me know how it goes, we'll be reviewing & publishing this update next week.

Thanks for the quick update, we appreciate it. My only comment on the code is more of a question: are the Log statements absolutely necessary?

Glad you appreciate it. As for the log statements, they are necessary if you would like to log errors. If not, you can comment them out. I can also make these statements obey the debug/testmode flag so they can be toggled.

Cool, we would be using this once a release is cut and it is hosted rather than building an AAR ourselves, so having them obey a flag would be great - this way ProGuard would rip them out.

Kk, I've implemented the logic locally. Testing with my own instant app(s) shortly after a company meeting, I'll QA for a bit and get back to you!

Hi @kevinzetterstrom -- we're merging and releasing your requested fix today (https://github.com/BranchMetrics/android-branch-deep-linking/pull/456). Again, thank you so much for the report, and let me know if you have any [other] issue(s).


Impossible to run it on systems without OpenGL (without video drivers)

In such cases plugin can not be loaded and message
failed to initialize mpv GL context
can be seen in the console.
This problem happens for example on virtual machines without guest OS tools installed.
I know that playing video through OpenGL is a really good way.
But I think also will be good to have some fallback option to run it on systems without OpenGL.

It might be possible in some way (e.g. WebChimera.js approach) but the way mpv.js embeds into Chrome Content Shell uses OpenGL so it's required. It would be completely different project otherwise.
Some hypervisors provide 3D acceleration (e.g. VirtualBox), you may enable it for testing purposes. There is also option to install OpenGL software implementation into guest, e.g. macOS has it out of the box.


Set request status to dismissed

This PR set job status to "dismissed" when a delete request is sent instead of instantly deleting it from the broker-db.
It also adjusts code so that jobs with "dismissed" status behave as they are missing from the broker-db in responses of other API's endpoint (e.g. GET /jobs).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: mcucchi9:x: francesconazzaroYou have signed the CLA already but the status is still pending? Let us recheck it.


Unable to use Node.js Durable Functions with Azurite

I am working on a project that uses Typescript + Node.js + Azure Durable Functions. I started using Azurite and love its simplicity, however my Durable Function orchestrations never work when I use Azurite over the Azure Storage Emulator.

cc : @cgillum @kashimiz @jeffhollan

I suspect this is the same issue as this: https://github.com/Azure/Azurite/issues/37

Did Azurite run in durable function?

Did Azurite run in durable function?
I'm not sure I understand your question.
I am using the 'npm-run-all' package to run the Azure Functions locally in parallel with Azurite. This has been working fine as a storage emulator for everything except for my Durable Function Orchestration.

@cgillum @XiaoningLiu when can we expect a new npm package with this fix? It is holding back our ability to develop locally

Hi.  You can use old version of Azurite. V3 doesn't support Storage Table. Durable Functions requires Storage Table.  This is v2 link that support Storage table.
https://github.com/Azure/Azurite/tree/legacy-master

Hi. You can use old version of Azurite. V3 doesn't support Storage Table. Durable Functions requires Storage Table. This is v2 link that support Storage table.
https://github.com/Azure/Azurite/tree/legacy-master

I confirm that this works. You can directly install the legacy version from Npm :  > npm install<EMAIL_ADDRESS>-g

@mouadbroos Did you try starting the orchestration with Azurite v2? The webhook returns back with "One of more inputs are incorrect" and just changing it to cloud storage worked.

Durable Entities doesn't work with Azurite v2.6.7.

Microsoft.Azure.WebJobs.Extensions.DurableTask 2.1.1
npm durable-functions 1.3.1
Node.js 10.18.1

@priyaananthasankar sorry for the delayed response, I ran into a lot of problems trying to get azurite to work so I switched to using a VM running windows 10 with the official azure storage emulator!

This is now resolved with support for durable functions.


500: Complaint about 8NT bids

This is at least the 2nd complaint about the bot bidding 8NT recently.

In the past, you had a problem in your 500 bot AI which caused it to bid 8 no trump way too frequently, even when their hand wouldn’t have been appropriate to bid even 6 no trump. Far too many games were being lost by a bot repeatedly making such a bid and losing, ending with a score below -500. You made some well-done fixes, and the problem seemed to be gone. But in the last week or so, the problem is back. You never get to play a seven or eight bid on a decent hand, because a bot (either your partner or opponent) makes a ridiculous and losing bid of 8NT over it.
Whatever the change was you made recently—PLEASE reverse it, and reinstate the prior version!! The gameplay is substantially diminished in the current state.
Thank you!!

Please fix your 500 bots. They are constantly bidding—AND LOSING—bids of 8 No Trump ever since your recent updates. I’m so tired of winning games in two hands, 80 to -640, because the bots bid and lost 8NT twice—or worse yet, losing by that same score because I had a bot partner bid it twice and lose. They were working GREAT for the longest time—there was never a need to change them, and you’ve made the game much worse by doing so.

I know I’ve already given this comment, but…
Please please PLEASE fix your 500 no trump AI! It worked so well previously, but now you’ve messed it up and ruined your game! It used to be that bots only bid no trump when they stood a reasonable chance of winning it. Now they bid 8 no trump seemingly every other hand, and lose that bid (by my estimate) over 80% of the time! Well over half of games played (if there’s a bot involved) are won not by a team reaching 500 points, but a bot causing the losing team to reach -500 points. And that’s not fun for human players, win or lose!! Go back to what you had previously!!! Please!!!


Need guidance for Maintainer role

Please describe what should be documented
Hi, OSM maintainers I have been actively working in OSM for a few months and would like to level up to the maintainer position and need some guidance for the same.
It would be very helpful if I can work closely with someone so that I can level up on the contribution ladder.
Thank you
Please suggest where in the repo the document should be located

@openservicemesh/osm-maintainers PTAL

@mudit-01 please review the contribution ladder here https://github.com/openservicemesh/osm/blob/main/CONTRIBUTOR_LADDER.md

Thanks, @phillipgibson I came across https://github.com/openservicemesh/osm/blob/main/CONTRIBUTOR_LADDER.md#review-process and what to know more about how I can work with any maintainer for moving up in the role ladder?

@phillipgibson any update on the mentor thing?

Hi @mudit-01; sorry for the delay! I'm pleased to inform you that @allenlsy has agreed to help mentor you through the contributor ladder! Allen is an extremely talented engineer, and he'll be able to help you move through the contributor ladder. We can talk about the details on Slack, but I'll consider this issue closed 👍🏾

Thanks!!! @keithmattix for the update and @allenlsy for taking me as a mentee :).


Initial implementation of dynamic test generation

This PR contains an initial implementation of dynamic test generation for our graphblas-opt tests.
It provides infrastructure for writing parameterized tests that generate *mlir test files at test-running time.
This is intended to address https://github.com/metagraph-dev/mlir-graphblas/issues/66.

Pull Request Test Coverage Report for Build 910738596

12 of 31 (38.71%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.7%) to 80.212%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

mlir_graphblas/src/test/dynamically_generate_tests/test_utils.py
12
31
38.71%

Totals

Change from base Build 910189001:
-0.7%

Covered Lines:
1435

Relevant Lines:
1789

💛  - Coveralls

I've made several changes in the most recent commits to have the dynamically generated tests be run via pytest instead of at graphblas-opt compile time.
This commit also makes it so that pytest by default runs with -n auto so that the tests can be run in parallel.
I think this PR is ready for a second review.

Pull Request Test Coverage Report for Build 910738596
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
8 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.7%) to 80.212%

Files with Coverage Reduction
New Missed Lines
%

mlir_graphblas/mlir_builder.py
1
98.86%

mlir_graphblas/functions.py
7
89.69%

Totals

Change from base Build 910189001:
-0.7%

Covered Lines:
1435

Relevant Lines:
1789

💛  - Coveralls

Pull Request Test Coverage Report for Build 910738596
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
8 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.7%) to 80.212%

Files with Coverage Reduction
New Missed Lines
%

mlir_graphblas/mlir_builder.py
1
98.86%

mlir_graphblas/functions.py
7
89.69%

Totals

Change from base Build 910189001:
-0.7%

Covered Lines:
1435

Relevant Lines:
1789

💛  - Coveralls


Trying to import a flow or component exported directly from folders view do not work

Bug Description
When you try to download the flow directly from the 'folders' / 'projects' visualization, the flow can no be imported. The same flow when exported from inside the flow works as expected. See attached video for clarification.
I noticed this bug while migrating the flows and components from my local pip install to a dockerized install of langflow.
#iadevs
Reproduction

Open your langflow application
Choose any flow or component to export. Select it (do not open, just select it)
Click on download/export.
Try to load the exported result in the langflow. I tried in a brand new and fresh instance using docker but it'll crash even if you try to load on the same instance.

obs: don't know which python version i'm using, but this is the 'latest' langflow docker image available;
Expected behavior
The flow should be imported as expected. I would also expect that when i click the export, the option to export with the global variables/api keys are presented, so I can mass export my flows and components to another langflow instance.
Who can help?
No response
Operating System
Manjaro, using Docker official image.
Langflow Version
1.0.14
Python Version
None
Screenshot
https://github.com/user-attachments/assets/cfe90b6a-c2c5-4240-9c5a-51c41087e444
Flow File
No response

Hey @appoks, thanks for the feedback! The issue is that our UI currently suggests that this upload is for flows instead of folders. We'll work on improving the UI as soon as possible.
if you want to upload flows and components just drag and drop ;)

Hello! We will fix it as soon as possible. The issue is with the export function. Thanks for the feedback!


Added Propel ORM

https://github.com/ziadoz/awesome-php/pull/991

Yeah, but they have released fresh second version


Client crashes with exception when setting region as "place to go"

In the quest editor at number 7 (Set Region) a OutOfBounds Exeption appears and
the player, who edits the Quest, gets kicked.
Exactly Error: DecoderExeption: java.lang.IndexOutOfBoundsExeption: readerIndex(1) + length(1)
exceeds writerIndex(1): UnpooldesHeapByteBuf(ridx: 1, widx: 1, cap: 1)@
io.netty.handler.codec.ByteToMessageDecoder:278
Error in Serverlog:
[17:25:16] [Netty Epoll Server IO #2/ERROR]: io.netty.handler.codec.EncoderException: String too big (was 51283 bytes encoded, max 32767)
Using Quests 2.5.1 on Spigot 1.8.3

This is not typical. I would need your quests.yml as well as the exact steps you took to create that error.

Closing due to lack of response from OP.


Polygon fill becoming transparent at low zoom level.

I'm submitting a ...  (check one with "x")

[x] question
[ ] any problem or bug report

OS:  (check one with "x")

[x] Android
[ ] iOS
[ ] Browser

Current behavior:
Polygon fill becoming transparent at low zoom level.
Expected behavior:
Polygon fill not becoming transparent at low zoom level.
Notes:
Hi, this is a known bug from google maps SDK: https://issuetracker.google.com/issues/35822872
They said that it's solved in google maps sdk v3.0.0 beta, where they solved a lot of issues, but without changing the API surface: https://developers.google.com/maps/documentation/android-sdk/v3-client-migration
Finally, the question:
Will you make any update or branch for cordova library pointing to that v3.0.0 beta? or will you wait until they release that beta?
Thank you! I really appreciate your work.

Your Cordova and cordova-ios are old.
This plugin uses 3.1 sdk
https://github.com/mapsplugin/cordova-plugin-googlemaps/blob/master/plugin.xml#L479

$> cordova platform rm ios

$> npm uninstall -g cordova

$> npm -g install cordova@latest

$> cordova platform add ios@latest

This happens to me in android, not ios...

Umm, beta version sdk.

Yep :S

Is it very hard to implement?

Please reinstall the maps plugin from the 2659test branch.
And you need to add following nodes in config.xml.
<!-- required -->
<preference name="GOOGLE_MAPS_ANDROID_API_KEY" value="(YOUR API KEY)" />

<!-- optional -->
<preference name="GOOGLE_MAPS_ANDROID_SDK" value="maps-sdk-3.0.0-beta" />

<!-- optional -->
<preference name="ANDROID_SUPPORT_V4_VERSION" value="27.1.1" />

<!-- optional -->
<preference name="GOOGLE_MAPS_PLAY_SERVICES_VERSION" value="16.0.0" />

Now on multiple_maps branch is available.


Config update

Some small configuration updates:

Depreciate entrypoint script and simply dockerfile
gitignore some more file types
add dockerignore file to optimize docker image builds

@idegtiarov Doesn't look like entrypoint.sh or Dockerfile was being used by the RG stage deploy script or the local docker-compose config, but let me know if any of these changes might impact you

@kunanit You are right we do not use these files on the RG side.


Multiple issuer support

The library should be able to handle multiple issuers on a single OpenID Provider.
Acceptance Criteria

[ ] whenever possible changes are done without breaking current interfaces / implementations of this library
[ ] issuer can be selected based on http request / context
[ ] default implementation of the OP interface supports single and multi mode

I think this is already done right? Can we close it @livio-a

I will close, as it is merged in the next branch. (This is the temporary target for all breaking changes)


Added a card component

This is card component for a post with like and dislike buttons with css animations
@hackos123 do review the code and merge the request

@777ahesh I have reviewed  the code!!!
I have merged the card component.
keep contributing!!!


Added "mode" attribute to ExeGeneratorArgumentType

This aligns the schema with the documentation.

@jkrech Can you please take a look at this PR?
Side note, apparently I cannot request reviewer in this git repository.


add missing javadoc example to AbstractFileAssert

As far as I can tell https://github.com/joel-costigliola/assertj-core/issues/349 is now complete, at least for the 2.x branch. :smile:

awesome :)


Tag restrictions are not compatible with AWS S3

@harshavardhana  I found that in the AWS documentation, tag restrictions that allowed characters across services are: letters (a-z, A-Z), numbers (0-9), and spaces representable in UTF-8, and the following characters: + - = . _ : / @. , but in the tag.go, the restrictions is ' regexp.MustCompile(^[a-zA-Z0-9-+\-._:/@ ]+$) '  ,  and does not contain "=". This causes the Tag after Base64 encoding to be invalid.
https://github.com/minio/minio-go/blob/master/pkg/tags/tags.go#L72

No they are not, AWS tag restrictions for S3 and EC2 are different.
Read the comments, we tested this thoroughly. Their documentation is confusing does not reflect how the API behaves.


Unable to mount volumes for pod

I have problem with attaching volume to the pod, error:
 Unable to mount volumes for pod "task-pv-pod_default(ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3)": timeout expired waiting for volumes to attach or mount for pod "default"/"task-pv-pod". list of unmounted volumes=[task-pv-storage]. list of unattached volumes=[task-pv-storage default-token-vdjnp]
I use DigitalOcean BS and Kubernates 1.10.0. The volumes were provisioned but is problem with mouinting them to the pod.
journalctl -u kubelet:
`
Apr 18 14:08:14 one-worker-1 kubelet-wrapper[874]: E0418 14:08:14.350339     874 nestedpendingoperations.go:267] Operation for ""flexvolume-external-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3"" failed. No retries per
mitted until 2018-04-18 14:10:16.350287248 +0000 UTC m=+5062.605695579 (durationBeforeRetry 2m2s). Error: "Volume not attached according to node status for volume "pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3" (UniqueName: "flexvolume-ext
ernal-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3") pod "task-pv-pod" (UID: "ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3") "
Apr 18 14:09:52 one-worker-1 kubelet-wrapper[874]: E0418 14:09:52.807550     874 kubelet.go:1635] Unable to mount volumes for pod "task-pv-pod_default(ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3)": timeout expired waiting for volumes to attach
or mount for pod "default"/"task-pv-pod". list of unmounted volumes=[task-pv-storage]. list of unattached volumes=[task-pv-storage default-token-vdjnp]; skipping pod
Apr 18 14:09:52 one-worker-1 kubelet-wrapper[874]: E0418 14:09:52.808591     874 pod_workers.go:186] Error syncing pod ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3 ("task-pv-pod_default(ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3)"), skipping: timeout
expired waiting for volumes to attach or mount for pod "default"/"task-pv-pod". list of unmounted volumes=[task-pv-storage]. list of unattached volumes=[task-pv-storage default-token-vdjnp]
Apr 18 14:10:04 one-worker-1 kubelet-wrapper[874]: W0418 14:10:04.885784     874 plugin-defaults.go:32] flexVolume driver external-storage/digitalocean: using default GetVolumeName for volume pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3
Apr 18 14:10:16 one-worker-1 kubelet-wrapper[874]: I0418 14:10:16.437649     874 reconciler.go:207] operationExecutor.VerifyControllerAttachedVolume started for volume "pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3" (UniqueName: "flexvolume-e
xternal-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3") pod "task-pv-pod" (UID: "ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3")
Apr 18 14:10:16 one-worker-1 kubelet-wrapper[874]: E0418 14:10:16.444120     874 nestedpendingoperations.go:267] Operation for ""flexvolume-external-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3"" failed. No retries per
mitted until 2018-04-18 14:12:18.444064013 +0000 UTC m=+5184.699472336 (durationBeforeRetry 2m2s). Error: "Volume not attached according to node status for volume "pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3" (UniqueName: "flexvolume-ext
ernal-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3") pod "task-pv-pod" (UID: "ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3") "
Apr 18 14:12:07 one-worker-1 kubelet-wrapper[874]: E0418 14:12:07.810221     874 kubelet.go:1635] Unable to mount volumes for pod "task-pv-pod_default(ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3)": timeout expired waiting for volumes to attach
or mount for pod "default"/"task-pv-pod". list of unmounted volumes=[task-pv-storage]. list of unattached volumes=[task-pv-storage default-token-vdjnp]; skipping pod
Apr 18 14:12:07 one-worker-1 kubelet-wrapper[874]: E0418 14:12:07.811333     874 pod_workers.go:186] Error syncing pod ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3 ("task-pv-pod_default(ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3)"), skipping: timeout
expired waiting for volumes to attach or mount for pod "default"/"task-pv-pod". list of unmounted volumes=[task-pv-storage]. list of unattached volumes=[task-pv-storage default-token-vdjnp]
Apr 18 14:12:18 one-worker-1 kubelet-wrapper[874]: I0418 14:12:18.515150     874 reconciler.go:207] operationExecutor.VerifyControllerAttachedVolume started for volume "pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3" (UniqueName: "flexvolume-e
xternal-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3") pod "task-pv-pod" (UID: "ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3")
Apr 18 14:12:18 one-worker-1 kubelet-wrapper[874]: E0418 14:12:18.521109     874 nestedpendingoperations.go:267] Operation for ""flexvolume-external-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3"" failed. No retries per
mitted until 2018-04-18 14:14:20.52104056 +0000 UTC m=+5306.776448881 (durationBeforeRetry 2m2s). Error: "Volume not attached according to node status for volume "pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3" (UniqueName: "flexvolume-exte
rnal-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3") pod "task-pv-pod" (UID: "ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3") "
Apr 18 14:12:19 one-worker-1 kubelet-wrapper[874]: W0418 14:12:19.823900     874 plugin-defaults.go:32] flexVolume driver external-storage/digitalocean: using default GetVolumeName for volume pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3
Apr 18 14:14:20 one-worker-1 kubelet-wrapper[874]: I0418 14:14:20.578729     874 reconciler.go:207] operationExecutor.VerifyControllerAttachedVolume started for volume "pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3" (UniqueName: "flexvolume-e
xternal-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3") pod "task-pv-pod" (UID: "ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3")
Apr 18 14:14:20 one-worker-1 kubelet-wrapper[874]: E0418 14:14:20.584132     874 nestedpendingoperations.go:267] Operation for ""flexvolume-external-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3"" failed. No retries per
mitted until 2018-04-18 14:16:22.584058402 +0000 UTC m=+5428.839466710 (durationBeforeRetry 2m2s). Error: "Volume not attached according to node status for volume "pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3" (UniqueName: "flexvolume-ext
ernal-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3") pod "task-pv-pod" (UID: "ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3") "
Apr 18 14:14:22 one-worker-1 kubelet-wrapper[874]: E0418 14:14:22.803642     874 kubelet.go:1635] Unable to mount volumes for pod "task-pv-pod_default(ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3)": timeout expired waiting for volumes to attach
or mount for pod "default"/"task-pv-pod". list of unmounted volumes=[task-pv-storage]. list of unattached volumes=[task-pv-storage default-token-vdjnp]; skipping pod
Apr 18 14:14:22 one-worker-1 kubelet-wrapper[874]: E0418 14:14:22.804595     874 pod_workers.go:186] Error syncing pod ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3 ("task-pv-pod_default(ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3)"), skipping: timeout
expired waiting for volumes to attach or mount for pod "default"/"task-pv-pod". list of unmounted volumes=[task-pv-storage]. list of unattached volumes=[task-pv-storage default-token-vdjnp]
Apr 18 14:14:35 one-worker-1 kubelet-wrapper[874]: W0418 14:14:35.884904     874 plugin-defaults.go:32] flexVolume driver external-storage/digitalocean: using default GetVolumeName for volume pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3
Apr 18 14:16:22 one-worker-1 kubelet-wrapper[874]: I0418 14:16:22.598989     874 reconciler.go:207] operationExecutor.VerifyControllerAttachedVolume started for volume "pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3" (UniqueName: "flexvolume-e
xternal-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3") pod "task-pv-pod" (UID: "ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3")
Apr 18 14:16:22 one-worker-1 kubelet-wrapper[874]: E0418 14:16:22.604595     874 nestedpendingoperations.go:267] Operation for ""flexvolume-external-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3"" failed. No retries per
mitted until 2018-04-18 14:18:24.604534563 +0000 UTC m=+5550.859942884 (durationBeforeRetry 2m2s). Error: "Volume not attached according to node status for volume "pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3" (UniqueName: "flexvolume-ext
ernal-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3") pod "task-pv-pod" (UID: "ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3") "
Apr 18 14:16:38 one-worker-1 kubelet-wrapper[874]: E0418 14:16:38.803787     874 kubelet.go:1635] Unable to mount volumes for pod "task-pv-pod_default(ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3)": timeout expired waiting for volumes to attach
or mount for pod "default"/"task-pv-pod". list of unmounted volumes=[task-pv-storage]. list of unattached volumes=[task-pv-storage default-token-vdjnp]; skipping pod
Apr 18 14:16:38 one-worker-1 kubelet-wrapper[874]: E0418 14:16:38.804803     874 pod_workers.go:186] Error syncing pod ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3 ("task-pv-pod_default(ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3)"), skipping: timeout
expired waiting for volumes to attach or mount for pod "default"/"task-pv-pod". list of unmounted volumes=[task-pv-storage]. list of unattached volumes=[task-pv-storage default-token-vdjnp]
Apr 18 14:16:52 one-worker-1 kubelet-wrapper[874]: W0418 14:16:52.861744     874 plugin-defaults.go:32] flexVolume driver external-storage/digitalocean: using default GetVolumeName for volume pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3
Apr 18 14:18:24 one-worker-1 kubelet-wrapper[874]: I0418 14:18:24.673427     874 reconciler.go:207] operationExecutor.VerifyControllerAttachedVolume started for volume "pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3" (UniqueName: "flexvolume-e
xternal-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3") pod "task-pv-pod" (UID: "ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3")
Apr 18 14:18:24 one-worker-1 kubelet-wrapper[874]: E0418 14:18:24.692276     874 nestedpendingoperations.go:267] Operation for ""flexvolume-external-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3"" failed. No retries per
mitted until 2018-04-18 14:20:26.692205801 +0000 UTC m=+5672.947614125 (durationBeforeRetry 2m2s). Error: "Volume not attached according to node status for volume "pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3" (UniqueName: "flexvolume-ext
ernal-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3") pod "task-pv-pod" (UID: "ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3") "
Apr 18 14:18:55 one-worker-1 kubelet-wrapper[874]: E0418 14:18:55.810854     874 kubelet.go:1635] Unable to mount volumes for pod "task-pv-pod_default(ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3)": timeout expired waiting for volumes to attach
or mount for pod "default"/"task-pv-pod". list of unmounted volumes=[task-pv-storage]. list of unattached volumes=[task-pv-storage default-token-vdjnp]; skipping pod
Apr 18 14:18:55 one-worker-1 kubelet-wrapper[874]: E0418 14:18:55.811983     874 pod_workers.go:186] Error syncing pod ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3 ("task-pv-pod_default(ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3)"), skipping: timeout
expired waiting for volumes to attach or mount for pod "default"/"task-pv-pod". list of unmounted volumes=[task-pv-storage]. list of unattached volumes=[task-pv-storage default-token-vdjnp]
Apr 18 14:19:10 one-worker-1 kubelet-wrapper[874]: W0418 14:19:10.833104     874 plugin-defaults.go:32] flexVolume driver external-storage/digitalocean: using default GetVolumeName for volume pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3
Apr 18 14:20:26 one-worker-1 kubelet-wrapper[874]: I0418 14:20:26.721815     874 reconciler.go:207] operationExecutor.VerifyControllerAttachedVolume started for volume "pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3" (UniqueName: "flexvolume-e
xternal-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3") pod "task-pv-pod" (UID: "ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3")
Apr 18 14:20:26 one-worker-1 kubelet-wrapper[874]: E0418 14:20:26.730202     874 nestedpendingoperations.go:267] Operation for ""flexvolume-external-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3"" failed. No retries per
mitted until 2018-04-18 14:22:28.730129991 +0000 UTC m=+5794.985538331 (durationBeforeRetry 2m2s). Error: "Volume not attached according to node status for volume "pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3" (UniqueName: "flexvolume-ext
ernal-storage/digitalocean/pvc-badc3bc8-430c-11e8-88ae-1a7ea0a0c4c3") pod "task-pv-pod" (UID: "ce5880a5-430c-11e8-88ae-1a7ea0a0c4c3") "
`

@klausenbusk if you have time to look

Sure. (BTW: We should add a issue template, so people remember to add the correct label and tag the owner).
@ikamman How did you create the k8s cluster? As @wongma7 mentioned, it is probably related to the flexvolume driver.

@wongma7 could you close this issue?
@ikamman Please try the official DigitalOcean CSI driver, if you still have issues. It is recommended for new clusters.


How to exclude certain IPAddresses when doing a RateLimit by Origin type

Describe the question
As a user, I would like to exclude certain IP Addresses from the rate limit policy and have the default Too_Many_Requests 429 Status behaviour for the rest. I am using type: Origin.  How can I achieve that please ?
NB: I am using 2.2.1.RELEASE.
Additional context
I had a look at this issue - https://github.com/marcosbarbero/spring-cloud-zuul-ratelimit/issues/38#issuecomment-720399458, where the suggestion was to disable rate limit, extend Pre- and Post- RateLimit filters and override the shouldFilter method there. But, as soon as I disable rate limit in the config, few classes fail to auto-inject as they are tied to zuul.ratelimit.enabled=true
Please can you suggest if there is a way to specify certain IP Addresses in config as an exclusion list ?

If I understand it correctly you want to allow requests for a single origin and nothing else, is that it?

I want to exclude one IP Address from the RateLimiter policy and have default behaviour for all the other IPs who hit my endpoint.
I have a policyList defined for one endpoint with type:Origin

Unfortunately, the only way to make what you want to work is by creating a policy setting a very high rate limit rule for the given origin. There's no other way to bypass it.

creating a policy setting a very high rate limit rule for the given origin

Thanks, is there a sample / source I can see on how to achieve what you are suggesting please ?

Something like this would do:
zuul:
  ratelimit:
    enabled: true
    repository: REDIS # or any other you prefer
    default-policy-list:
      - limit: 99999999 # any high-volume to cover your specific use case
        refresh-interval: 10 # in seconds
        type:
          - origin=<IP_ADDRESS>
      - limit: 10 # request number limit for every other origin
        refresh-interval: 60 #default value (in seconds)

HI,
Thanks - I just tried, but looks like it is letting go everything now. I verified by setting a junk IP instead of <IP_ADDRESS> to see if it blocks localhost, but it does not. I do not get TOO_MANY_REQUESTS back at all.
zuul:
  ratelimit:
    enabled: true
    repository: jpa # or any other you prefer
    default-policy-list:
      - limit: 99999999 # any high-volume to cover your specific use case
        refresh-interval: 5 # in seconds
        type:
          - origin=<IP_ADDRESS> # I set a junk IP here to verify if <IP_ADDRESS> is blocked or not with 429 response
      - limit: 1 # request number limit for every other origin
        refresh-interval: 5 #default value (in seconds)

Can you share a sample application reproducing the error?

Thanks - Kindly review and let me know.
zuulratelimiter.zip
Run : http://localhost:8080/greeting/simple


[flutter_tools] prevent NPE due to moved/deleted packages during upgrade packages

Description
When directories are deleted in git, they can persist locally. Double check that the copy of the SDK we are making excludes these phantom directories when running --update-packages

Why do the directories persist? Is it because gitignored files were generated?

Why do the directories persist? Is it because gitignored files were generated?

git never seems to delete directories

git never seems to delete directories

git never seems to delete directories

i'm fairly sure it will delete a directory on a checkout provided there are no untracked files/diffs.

git never seems to delete directories

i'm fairly sure it will delete a directory on a checkout provided there are no untracked files/diffs.

Ahh, it must be something like .packages or .dart_tool that stick around then?

Ahh, it must be something like .packages or .dart_tool that stick around then?

Ahh, it must be something like .packages or .dart_tool that stick around then?

Yeah. We can land this, it should prevent the NPE. But I wonder if those files hanging around are causing (or will cause) other issues.

Ahh, it must be something like .packages or .dart_tool that stick around then?

Yeah. We can land this, it should prevent the NPE. But I wonder if those files hanging around are causing (or will cause) other issues.


Gyro/Raw Data Update packet too small

The Gyro/Raw Data Update packet is too small for the data.
IMUProtocol.h - Line 78
#define GYRO_UPDATE_TEMP_VALUE_INDEX                38
#define GYRO_UPDATE_CHECKSUM_INDEX                  42

The size of GYRO_UPDATE_TEMP_VALUE_INDEX is 4 when it should be 7 as it uses encodeProtocolFloat to encode/decode the data

Thanks for reporting this, James, nice find - it's gone undetected for several years and surely resulted in bogus temp readings.  For backwards compatibility reasons changing the packet size will introduce some issues, so we will change this instead to use encode/decodeProtocolUint16, followed by divide by 1000, to get a temp range up to 65C, well beyond the maximum.  I'll send out an update in a few days.

This issue is now resolved with recent check ins.  A full build is available at navx-mxp.kauailabs.com.


ITV some subtitles are unable to be downloaded

Checklist

[ x] I'm reporting a broken site support
[x ] I've verified that I'm running youtube-dl version 2019.04.30
[ ] I've checked that all provided URLs are alive and playable in a browser
[ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dl.exe --geo-bypass-country "GB" --ignore-config -v --all-subs --sub-format "vtt" --sub-lang "en" --fixup "never" -f "best" "https://www.itv.com/hub/the-sweeney/672930"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--geo-bypass-country', 'GB', '--ignore-config', '-v
', '--all-subs', '--sub-format', 'vtt', '--sub-lang', 'en', '--fixup', 'never',
'-f', 'best', 'https://www.itv.com/hub/the-sweeney/672930']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.04.30
[debug] Python version 3.4.4 (CPython) - Windows-XP-5.1.2600-SP3
[debug] exe versions: ffmpeg N-91691-g962c931-Reino, ffprobe N-91691-g962c931-Re
ino, rtmpdump 2.4
[debug] Proxy map: {}
[debug] Using fake IP <IP_ADDRESS> (GB) as X-Forwarded-For.
[ITV] 672930: Downloading webpage
[ITV] 672930: Downloading XML
WARNING: Unable to download XML: HTTP Error 504: Gateway Time-out
[ITV] 672930: Downloading JSON metadata
[ITV] 672930: Downloading m3u8 information
[info] Writing video subtitles to: Queen's Pawn-672930.en.vtt
WARNING: Unable to download subtitle for "en": Unable to download webpage: HTTP
Error 404: Not Found (caused by HTTPError()); please report this issue on https:
//yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -
U  to update. Be sure to call youtube-dl with the --verbose flag and include its
 complete output.
[debug] Invoking downloader on 'https://itvpnpdotcom-a.akamaihd.net/1-7442-0005-
001/18/6/VAR012/1-7442-0005-001_18_6_VAR012.ism/1-7442-0005-001_18_6_VAR012-audi
o=128000-video=1451810.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 248
[download] Destination: Queen's Pawn-672930.mp4
[download]   2.2% of ~562.00MiB at  3.02MiB/s ETA 07:19
ERROR: Interrupted by user

%%%%%%%%%%%%%%%%%

Without --all-subs command

youtube-dl.exe --geo-bypass-country "GB" --ignore-config -v --sub-format "vtt" --sub-lang "en" --fixup "never" -f "best" "https://www.itv.com/hub/the-sweeney/672930"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--geo-bypass-country', 'GB', '--ignore-config', '-v
', '--sub-format', 'vtt', '--sub-lang', 'en', '--fixup', 'never', '-f', 'best',
'https://www.itv.com/hub/the-sweeney/672930']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.04.30
[debug] Python version 3.4.4 (CPython) - Windows-XP-5.1.2600-SP3
[debug] exe versions: ffmpeg N-91691-g962c931-Reino, ffprobe N-91691-g962c931-Re
ino, rtmpdump 2.4
[debug] Proxy map: {}
[debug] Using fake IP <IP_ADDRESS> (GB) as X-Forwarded-For.
[ITV] 672930: Downloading webpage
[ITV] 672930: Downloading XML
WARNING: Unable to download XML: HTTP Error 504: Gateway Time-out
[ITV] 672930: Downloading JSON metadata
[ITV] 672930: Downloading m3u8 information
[debug] Invoking downloader on 'https://itvpnpdotcom-a.akamaihd.net/1-7442-0005-
001/18/6/VAR012/1-7442-0005-001_18_6_VAR012.ism/1-7442-0005-001_18_6_VAR012-audi
o=128000-video=1451810.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 248
[download] Destination: Queen's Pawn-672930.mp4
[download]   2.8% of ~564.15MiB at  2.15MiB/s ETA 06:49
ERROR: Interrupted by user

%%%%%%%%%%%%%%%%%

Without --sub-format "vtt" command"

youtube-dl.exe --geo-bypass-country "GB" --ignore-config -v --all-subs --sub-lang "en" --fixup "never" -f "best" "https://www.itv.com/hub/the-sweeney/672930"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--geo-bypass-country', 'GB', '--ignore-config', '-v', '--all-subs', '--sub-lang', 'en', '--fixup', 'never', '-f', 'best', 'https://www.itv.com/hub/the-sweeney/672930']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.04.30
[debug] Python version 3.4.4 (CPython) - Windows-XP-5.1.2600-SP3
[debug] exe versions: ffmpeg N-91691-g962c931-Reino, ffprobe N-91691-g962c931-Re
ino, rtmpdump 2.4
[debug] Proxy map: {}
[debug] Using fake IP <IP_ADDRESS> (GB) as X-Forwarded-For.
[ITV] 672930: Downloading webpage
[ITV] 672930: Downloading XML
WARNING: Unable to download XML: HTTP Error 504: Gateway Time-out
[ITV] 672930: Downloading JSON metadata
[ITV] 672930: Downloading m3u8 information
[info] Writing video subtitles to: Queen's Pawn-672930.en.vtt
WARNING: Unable to download subtitle for "en": Unable to download webpage: HTTP
Error 404: Not Found (caused by HTTPError()); please report this issue on https:
//yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -
U  to update. Be sure to call youtube-dl with the --verbose flag and include its
 complete output.
[debug] Invoking downloader on 'https://itvpnpdotcom-a.akamaihd.net/1-7442-0005-
001/18/6/VAR012/1-7442-0005-001_18_6_VAR012.ism/1-7442-0005-001_18_6_VAR012-audi
o=128000-video=1451810.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 248
[download] Destination: Queen's Pawn-672930.mp4
[download]   3.2% of ~566.74MiB at  2.05MiB/s ETA 05:36
ERROR: Interrupted by user

%%%%%%%%%%%%%%%%%%

With --all-subs command only

youtube-dl.exe --geo-bypass-country "GB" --ignore-config -v --all-subs --fixup "never" -f "best" "https://www.itv.com/hub/the-sweeney/672930"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--geo-bypass-country', 'GB', '--ignore-config', '-v
', '--all-subs', '--fixup', 'never', '-f', 'best', 'https://www.itv.com/hub/the-
sweeney/672930']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.04.30
[debug] Python version 3.4.4 (CPython) - Windows-XP-5.1.2600-SP3
[debug] exe versions: ffmpeg N-91691-g962c931-Reino, ffprobe N-91691-g962c931-Re
ino, rtmpdump 2.4
[debug] Proxy map: {}
[debug] Using fake IP <IP_ADDRESS> (GB) as X-Forwarded-For.
[ITV] 672930: Downloading webpage
[ITV] 672930: Downloading XML
WARNING: Unable to download XML: HTTP Error 504: Gateway Time-out
[ITV] 672930: Downloading JSON metadata
[ITV] 672930: Downloading m3u8 information
[info] Writing video subtitles to: Queen's Pawn-672930.en.vtt
WARNING: Unable to download subtitle for "en": Unable to download webpage: HTTP
Error 404: Not Found (caused by HTTPError()); please report this issue on https:
//yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -
U  to update. Be sure to call youtube-dl with the --verbose flag and include its
 complete output.
[debug] Invoking downloader on 'https://itvpnpdotcom-a.akamaihd.net/1-7442-0005-
001/18/6/VAR012/1-7442-0005-001_18_6_VAR012.ism/1-7442-0005-001_18_6_VAR012-audi
o=128000-video=1451810.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 248
[download] Destination: Queen's Pawn-672930.mp4
[download]   1.8% of ~551.02MiB at  2.08MiB/s ETA 06:44
ERROR: Interrupted by user

Description

Subtitles for some videos available but are unable to be downloaded.
A few debugs above for different commands I have tried to get the subs.
Each of the above debugs are separated by %%%%%%%%%%%%%%%%% with comment below each to explain each debug tried.

the web player loads an empty subtitle file.

Happens with other broadcasters also. File server cause bug in one of the server side code or scripts !


Your first pipeline example does not work

So i am following the steps as mentioned at https://github.com/creactiviti/piper#writing-your-first-pipeline & get an error -

/piper$ curl -s -X POST -H Content-Type:application/json -d '{"pipelineId":"mypipeline","inputs":{"name":"Arik"}}' http://localhost:8080/jobs
{"timestamp":"2019-03-21T20:57:15.006+0000","status":400,"error":"Bad Request","exception":"java.lang.IllegalArgumentException","message":"Unknown pipeline: mypipeline","path":"/jobs"}

I have tried this with the mypipeline.yaml  in

/piper$ ll src/main/resources/pipelines/
total 1
drwxrwxrwx 1 xxx xxx 256 Mar 21 16:53 ./
drwxrwxrwx 1 xxx xxx   0 Mar 21 16:24 ../
drwxrwxrwx 1 xxx xxx   0 Mar 21 16:24 demo/
-rwxrwxrwx 1 xxx xxx 240 Mar 21 16:45 mypipeline.yaml*

and at

/piper$ ll piper/pipelines/
total 1
drwxrwxrwx 1 xxx xxx 160 Mar 21 16:45 ./
drwxrwxrwx 1 xxx xxx 152 Mar 21 16:49 ../
-rwxrwxrwx 1 xxx xxx 240 Mar 21 16:45 mypipeline.yaml*

to the same error.
Where should this yaml file go?

@anshumanr
It works if you put the mypipeline.yaml file under ~/piper/pipelines (sub-folder of your home directory).

Thanks. That worked (i feel stupid).


ASIM Process Event schema parser with its sample and test data for SentinelOne

Required items, please complete
Change(s):

Added ASIM Process Event schema parser for SentinelOne based on API Data

Reason for Change(s):

Initial version ASIM Process Event Parser

Version Updated:

Initial version

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

Hello @jayeshprajapaticrest, thank you for raising Pull Request with us! We will review it internally and get back to you by shortly.

ETA for review 18th Aug

Hi @jayeshprajapaticrest, can you please make the above suggested changes?

Hi @jayeshprajapaticrest, please make the above suggested changes.

Hi @jayeshprajapaticrest, can you please make the suggested changes ?

Hi @jayeshprajapaticrest, can you please make the suggested changes ?

Hi @jayeshprajapaticrest, can you please make the suggested changes ?

Suggested changes are made in commit 868ebb8 and unifying parser related changes are done in commit e94a8d9

Hi @jayeshprajapaticrest,
KQL validations are failing for the items mentioned below. Please have a look at them. Thanks

@v-atulyadav Two validation error gets resolved. And the currently getting error is not because of our code implementation. As I check its in the other ASIM parser added in the unifying parser file.

@vakohl we have mapped the inspection fields below in the ProcessCreate parser, which we found from SentinelOne Alerts logs.
RuleName
Rule
ThreatConfidence
ThreatOriginalConfidence

@v-atulyadav can you check the validation error?

@v-atulyadav Two validation error gets resolved. And the currently getting error is not because of our code implementation. As I check its in the other ASIM parser added in the unifying parser file.

@jayeshprajapaticrest can you pull the latest files from github. there might be some changes done recently for the process union parsers files. See if this resolves the error

Hi @vakohl @jayeshprajapaticrest,
It still fails for the below error after pulling the latest master from this branch. Thanks

Hi @vakohl @jayeshprajapaticrest, It still fails for the below error after pulling the latest master from this branch. Thanks

@vakohl @v-atulyadav I also merged latest from master to the PR but it gives error


Repair-WingetPackageManager not working as expected in system context

Brief description of your issue
Running "Repair-WingetPackageManager -Force -Latest" in the system context reports back that Winget is in a good state even though it is not up to date or in some instances, working at all. This is important as Intune and SCCM etc. run scripts in the system context not elevated admin. If I run the same command as admin it repairs / updates Winget as expected.
Steps to reproduce
.\PsExec.exe -i -s powershell
Repair-WingetPackageManager -Force -Latest -Verbose
Expected behavior
Expect Winget to be repaired / updated from v1.6.3133 to latest
Actual behavior
VERBOSE: Creating MTA thread
VERBOSE: WinGet is in a good state.
Environment
Windows Package Manager v1.6.3133
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.4046
System Architecture: X64

Winget Directories
------------------------------------------------------------------------------------------------------
Logs                               %TEMP%\WinGet\defaultState
User Settings                      %LOCALAPPDATA%\Microsoft\WinGet\Settings\defaultState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

I can reproduce this on several machines that are currently on 1.5 or 1.6 and not updating to 1.7

I've also verified the same behaviour on a machine with a very old DesktopAppInstaller that didn't even include winget and it reports that winget is healthy when it's not even present.

Which version of the Microsoft.WinGet.Client module is being used, and is there any chance older versions of that module are in the module path?

$env:PSModulePath -split ';'
C:\Users\Administrator\Documents\WindowsPowerShell\Modules
C:\Program Files\WindowsPowerShell\Modules
C:\Windows\system32\WindowsPowerShell\v1.0\Modules

Hi @denelon ,
Every time I run it on a new machine I am using this to pull the latest:
Install-PackageProvider NuGet -Force
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module Microsoft.Winget.Client -Confirm:$False -Force -AllowClobber
Import-Module -Name Microsoft.Winget.Client
Repair-WingetPackageManager -Force -Latest -Verbose

If you run Get-Command -Module Microsoft.WinGet.Client what version of the module is reported?

 All rights reserved.
Windows: Windows.Desktop v10.0.19045.4046
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.2201.0
Winget Directories
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Links
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting                             State
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

PS C:\WINDOWS\system32> Repair-WingetPackageManager -Force -Latest -Verbose
VERBOSE: Creating MTA thread
VERBOSE: WinGet is in a good state.
PS C:\WINDOWS\system32>

$env:PSModulePath -split ';'
C:\Users\Administrator\Documents\WindowsPowerShell\Modules C:\Program Files\WindowsPowerShell\Modules C:\Windows\system32\WindowsPowerShell\v1.0\Modules

PS C:\WINDOWS\system32> $env:PSModulePath -split ';'
C:\WINDOWS\system32\config\systemprofile\Documents\WindowsPowerShell\Modules
C:\Program Files\WindowsPowerShell\Modules
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
C:\Program Files (x86)\Sharegate
C:\Program Files\MicrosoftManagedDesktop\Powershell
C:\Program Files\Citrix\Telemetry Service
PS C:\WINDOWS\system32>

I'm building a set of WinGet Configurations and PowerShell scripts to demonstrate the various approaches to bootstrapping WinGet and running WinGet in the system context. There are several scenarios that do not work and a few that do. This is due to the differences between packaged and unpackaged applications as well as the differences between WinGet CLI and the PowerShell modules. Differences between Windows PowerShell and PowerShell 7 also affect the outcome.
The Repair-WinGetPackageManager was designed to bootstrap the WinGet CLI for a logged-on user (not necessarily the system context).
These will all be made available, and they will need a SKU of Windows with the Windows Sandbox enabled.

The following PowerShell command will "stage" the App Installer when run in the system context (assuming the MSIX packages are available on the system.
This also assumes WinGet 1.7 is the desired version with the dependencies on VCLibs and UI.Xaml.
Add-AppxProvisionedPackage -Online -PackagePath "C:\Sandbox\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" -SkipLicense -DependencyPackagePath ("C:\Sandbox\Microsoft.VCLibs.x64.14.00.Desktop.appx", "C:\Sandbox\Microsoft.UI.Xaml.2.8.x64.appx")
I've been working on a Windows Sandbox configuration to use as an example to show this working under nt authority/system, but in Windows Sandbox the WDAGUtilityAccount is also logged in so the package is actually "registered" for the currently logged in user.

I've been testing this out too and getting the same result regardless of SYSTEM or USER:

User:

Winget Version installed is 1.2.10691

@PckgrTom if you add "-Force -Latest" it should upgrade to the latest stable version. Without those arguments/parameters, the cmdlet is just making sure the current version installed is in a good state. Can you do this and add the "Get-WinGetVersion" output to the statements afterwards?
Which version of the Microsoft.WinGet.Client PowerShell module is present on these systems?

If you are attempting to use WinGet in the system context, I'd suggest using the Microsoft.WinGet.Client PowerShell cmdlets rather than attempting to use "winget.exe".

If you are attempting to use WinGet in the system context, I'd suggest using the Microsoft.WinGet.Client PowerShell cmdlets rather than attempting to use "winget.exe".

The issue is, I am trying to also make winget functional as I have 3rd party upgrade scripts that rely on it currently. It was working before with downloading the 3 MSIXBUNDLE files and adding them as a provisioned package, but that stopped working with v1.9. The updated script will install it as expected, but only when it's ran as an administrator and -allusers will work which is not ideal because it cannot be run with adm as a user during the imaging process

If you are attempting to use WinGet in the system context, I'd suggest using the Microsoft.WinGet.Client PowerShell cmdlets rather than attempting to use "winget.exe".

I am very interested in understanding why that is the case. Correct me if I am wrong, but the winget client does everything IN PROC, right? It never uses the Out of Proc WindowsPackageManagerServer COM Server. As I understand it, so do the PS cmdlets. Or, does winget.exe use out of proc in some cases?
As to the original post, we noticed winget.exe failing completely on windows 10, 11, etc. when run under local system account. It just exited without any output. We installed the SYSTEM wide version of the VC runtime via the exe (not the appx version) and suddenly winget was alive again working flawlessly when run under the local system account. The original link for this is here... https://github.com/microsoft/winget-cli/issues/2748
On the cmdlet issue, please try running the cmdlet under Powershell 7 and see if the behavior changes.

If you are attempting to use WinGet in the system context, I'd suggest using the Microsoft.WinGet.Client PowerShell cmdlets rather than attempting to use "winget.exe".

I am very interested in understanding why that is the case. Correct me if I am wrong, but the winget client does everything IN PROC, right? It never uses the Out of Proc WindowsPackageManagerServer COM Server. As I understand it, so do the PS cmdlets. Or, does winget.exe use out of proc in some cases?
As to the original post, we noticed winget.exe failing completely on windows 10, 11, etc. when run under local system account. It just exited without any output. We installed the SYSTEM wide version of the VC runtime via the exe (not the appx version) and suddenly winget was alive again working flawlessly when run under the local system account. The original link for this is here... #2748
On the cmdlet issue, please try running the cmdlet under Powershell 7 and see if the behavior changes.

Here's the issue that occurs when trying to run using powershell 7

Here is the full list of errors. The version that is coming default with windows is broken, and even though it doesn't work the repair command will not update it. No difference with ps 7

If you are attempting to use WinGet in the system context, I'd suggest using the Microsoft.WinGet.Client PowerShell cmdlets rather than attempting to use "winget.exe".

I think the biggest issue is that the Repair-WinGetPackageManager -Force doesn't actually force a repair which is preventing this from actually reinstalling/updating to work correctly


Allow trailing spaces in code blocks

As discussed in #190.

Coverage remained the same at 100.0% when pulling 7020db319a79bd9d22c0a20aaf94195ad9c24f7d on wouter-admiraal-sonarsource:master into 95d23b9a11f615faded1e804e14d2969a996ed48 on DavidAnson:next.

Coverage remained the same at 100.0% when pulling 7020db319a79bd9d22c0a20aaf94195ad9c24f7d on wouter-admiraal-sonarsource:master into 95d23b9a11f615faded1e804e14d2969a996ed48 on DavidAnson:next.

(sorry, should have added a fixup commit instead of force-pushing the updates)

Thanks again!


feat: [DockerCloudBuild] and automated.

A "new" automated build:
$ curl -s 'https://hub.docker.com/api/build/v1/source/?image=ldez%2Fgha-mjolnir'  -H 'Accept: application/json' --compressed | jq
{
  "meta": {
    "limit": 25,
    "next": null,
    "offset": 0,
    "previous": null,
    "total_count": 1
  },
  "objects": [
    {
      "autotests": "OFF",
      "build_in_farm": true,
      "build_settings": [
        "/api/build/v1/setting/e3db21aa-8847-4789-9f2e-dc136ea432ae/",
        "/api/build/v1/setting/6fe17d9d-a946-47f0-a7ae-b20dba0bfb72/"
      ],
      "channel": "Stable",
      "image": "ldez/gha-mjolnir",
      "owner": "ldez",
      "provider": "Github",
      "repo_links": false,
      "repository": "gha-mjolnir",
      "resource_uri": "/api/build/v1/source/9a37d4ca-aad6-4820-932c-5d8bd94fc8d7/",
      "state": "Success",
      "uuid": "9a37d4ca-aad6-4820-932c-5d8bd94fc8d7"
    }
  ]
}

build_settings: contains the build triggers (each entry is a different trigger). Can be see as the old "automated" flag.
state: the build state.
Fixes #1400

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @ldez!

  Generated by :no_entry_sign: dangerJS against d5d499d3429fcdb9dd06885274449f7ce1ac5dfd

Reviewable @ https://shields-staging-pr-3139.herokuapp.com/

Thanks for picking this up @Idez!


decompress compressed data

Enhancement request
decompress compressed data (not just gzip)
checklist

[ ] decompress gzip(use zcat)
[ ]  decompreess xz
[ ] decompress some other formats i forgot

Hi @Meow-purr I wanted to understand more about this issue. Do you want the incoming request from a server to get decompressed and show or while sending the request, it needs to be decompressed? If the response is not decompressed, how does it look like currently using httpie when compressed data is sent from a http server?

for a tarball of linux kernal
`https https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/snapshot/linux-6.4-rc7.tar.gz
HTTP/1.1 200 OK
Connection: keep-alive
Content-Disposition: inline; filename="linux-6.4-rc7.tar.gz"
Content-Security-Policy: default-src 'self'; style-src 'self' 'unsafe-inline'; script-src-attr 'unsafe-hashes' 'sha256-rQQdnklrOmulrf5mQ2YjUK7CGbu4ywAi21E8nGlJcDc'; img-src https:
Content-Type: application/x-gzip; charset=UTF-8
Date: Thu, 22 Jun 2023 17:36:39 GMT
ETag: "be10b9a5f6c20252039731efda7f268e57fb5dd3"
Expires: Thu, 22 Jun 2023 18:36:04 GMT
Last-Modified: Thu, 22 Jun 2023 17:36:04 GMT
Referrer-Policy: same-origin
Server: nginx
Strict-Transport-Security: max-age=15768001
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
+-----------------------------------------+
| NOTE: binary data not shown in terminal |
+-----------------------------------------+
and i can loop it through zcathttps https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/snapshot/linux-6.4-rc7.tar.gz | zcatand getsomething so large it would be spam if i posted it here`

tarball is not unarchived

but just u=in text reprsentation

Can you please format your comments? It is actually hard to understand. From the looks of it, it seems that you need the file to display which was gzipped and sent during the request.

Is the above assumption is true?
Is there any specific scenario that you can explain where you need to display the downloaded file on the terminal. Because generally we download the file and use it normally.
Do you want to download the file instead of displaying the contents?
If no, then are you planning to display all the content like linux kenel on the terminal?
Finally, Is there any other use cases apart from compressed file content display?

Can you please format your comments? It is actually hard to understand. From the looks of it, it seems that you need the file to display which was gzipped and sent during the request.

Is the above assumption is true?
Is there any specific scenario that you can explain where you need to display the downloaded file on the terminal. Because generally we download the file and use it normally.
Do you want to download the file instead of displaying the contents?
If no, then are you planning to display all the content like linux kenel on the terminal?
Finally, Is there any other use cases apart from compressed file content display?

yes
why not
no
yes
yes

@Meow-purr Can you please elaborate the last point?

simplicity of savibg fieles uncompressed

without having a long stream of pipes or briefly having compressed data stored(even if in /tmp)


Support custom huggingface and sentence-transformers cache

Currently, sentence-transformers use different cache path from huggingface by default. This makes it difficult for users to copy cached models if they want to run pgml in offline mode.
This PR adds two GUCs pgml.cache and pgml.offline. If user sets pgml.cache, then the HF_HOME will be set to pgml.cache/huggingface and SENTENCE_TRANSFORMERS_HOME will be set to pgml.cache/torch.
The sentence-transformers still use the old version of cache file layout: https://github.com/UKPLab/sentence-transformers/pull/2339

The advantage of adding these GUCs for environment variables is that users can change the huggingface home and sentence-transformer cache path without restarting the Postgres.

Having to check 2 GUCs on every invocation seems potentially heavy handed without understanding the motivation for why these settings would need to be more dynamic than a server restart.

If we don't need that, maybe we can simply initialize these two environments in PG_init (orm::project::init)

If we don't need that, maybe we can simply initialize these two environments in PG_init (orm::project::init)

This sounds like a good compromise to me. Is PG_init called on every connection process fork? Would the behavior then be that new connections get the updated conf values, or is this something that can only be changed at server start?

It'd be nice to validate our approach here also resolves #1147.

This sounds like a good compromise to me. Is PG_init called on every connection process fork? Would the behavior then be that new connections get the updated conf values, or is this something that can only be changed at server start?

+1 to the idea that initialize GUC values in _PG_init.

Is PG_init called on every connection process fork?

_PG_init  is called each time the shared library gets loaded. Since the pgml is added to the shared_preload_libraries list, PG_init is called on every connection process fork.

Would the behavior then be that new connections get the updated conf values

Normally, the server processes forked for new connections use the default value (boot_val).
extern void DefineCustomStringVariable(const char *name,
					   const char *short_desc,
					   const char *long_desc,
					   char **valueAddr,
					   const char *bootValue,
					   GucContext context,
					   int flags,
					   GucStringCheckHook check_hook,
					   GucStringAssignHook assign_hook,
					   GucShowHook show_hook) pg_attribute_nonnull(1, 4);

is this something that can only be changed at server start

There're several flags we can use in DefineCustomXXXVariable to allow GUC values to be changed only at the time of server starting^1.

I've refactored the code to initialize the environment variables in _PG_init only once.

If we want to benefit from the GUC flags we can define the GUCs using functions in GucRegistry, for example:
GucRegistry::define_string_guc(
        "pgml.cache",
        "pgml cache directory",
        "This directory will serve as huggingface home and pytorch cache",
        &GP_GUCS.pgml_cache,
        GucContext::Suset,
        GucFlags::default(),
    );

If we need this, we can add it to this PR

@montanalow Since pgml is in shared_preload_libraries, so pgml is loaded exactly once on postmaster start. _PG_init is called when the library is loaded. So these environment variables will only be changed on server start.

Update: The sentence-transformers update cache format to git style via hf_hub_download now: https://github.com/UKPLab/sentence-transformers/pull/2345
btw, is there any progress on this PR?


Create template for design docs

Create a template to help writing future design docs. The goal is not to enforce the template, but just to be a good starting point and to highlight the important sections and content most design docs should cover

we have one of these in Google docs already that Vedant made based on my suggestions. let's move it over to notion and link to clearly from a central notion index page

This is the only one I found in Google docs https://docs.google.com/document/d/10ifdDbFcIsUFQPgAqxjHiMOJ37HlS7hvrKK0wHS9Vus
My goal is to create a richer template with more guidance. Unless there is another template I couldn't find, there is still some work needed here

Yup that's the one, design away!
On Fri, 11 Nov 2022, 18:15 Walid Baruni, @.***> wrote:

This is the only one I found in Google docs
https://docs.google.com/document/d/10ifdDbFcIsUFQPgAqxjHiMOJ37HlS7hvrKK0wHS9Vus
My goal is to create a richer template with more guidance. Unless there is
another template I couldn't find, there is still some work needed here
—
Reply to this email directly, view it on GitHub
https://github.com/filecoin-project/bacalhau/issues/1075#issuecomment-1312026049,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACATUVVN3KK2TLYN26VMQ3WH2EK7ANCNFSM6AAAAAAR5H2C34
.
You are receiving this because you commented.Message ID:
@.***>

I wrote up a standard Design doc template (in the shape of a Design doc) based on my experience in web2 the last 10+ years. I also presented a brief talk about what a design doc is and what benefits it provides slide deck here

Design Doc Template is here


docs(ce/admin) fix snis certificate id attribute

Summary
In v0.14.0, the /snis endpoint accepts the nested attribute certificate.id. This is incorrectly documented as the flat attribute certificate_id.
See specification here with correct attribute.
This PR updates the snis admin API documentation.
Full changelog

amended certificate.id attribute name and description
amended example response bodies

Issues resolved
Found as part of another PR.

Checklist:

[x] Commit message & atomicity checked
[ ] Documentation N/A
[x] Spellchecked my updates
[x] Ready to be merged

For clarity, this typo is not relevant to version 1.13.1 and earlier

@bungle could you pass this on to to be reviewed?

ping @thibaultcha

Sorry for the delay @tommilligan - I'm checking with my colleagues...


Configure ingress-nginx to allow large request bodies

Gitlab allow the option to import entire project exports (tar files). These can get quite large and nginx therefore needs to be configured to allow large request bodies. See https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/annotations.md#custom-max-body-size

closed via #144


<IP_ADDRESS> Docker Image Creation Stuck

Using Docker for Windows on Windows 10 and following the instructions, docker run executes and gets stuck at 46% (16 hours so far.)
rmcintyre@rymcin-book ~/dev/GitHub/docker-images/OracleDatabase/dockerfiles $ docker run --name oracle12 -p 1521:1521 -p 5500:5500 -e ORACLE_PWD=BestP@ssw0rdEver oracle/database:<IP_ADDRESS>-ee
ORACLE PASSWORD FOR SYS, SYSTEM AND PDBADMIN: BestP@ssw0rdEver
LSNRCTL for Linux: Version <IP_ADDRESS>.0 - Production on 01-JUN-2017 22:50:22
Copyright (c) 1991, 2016, Oracle.  All rights reserved.
Starting /opt/oracle/product/<IP_ADDRESS>/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
System parameter file is /opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/a33fb7558d02/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
Start Date                01-JUN-2017 22:50:23
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora
Listener Log File         /opt/oracle/diag/tnslsnr/a33fb7558d02/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
The listener supports no services
The command completed successfully
[WARNING] [DBT-10102] The listener configuration is not selected for the database. EM DB Express
URL will not be accessible.
CAUSE: The database should be registered with a listener in order to access the EM DB Express URL.
ACTION: Select a listener to be registered or created with the database.
 Did it ever finish or was it stuck forever?

I let it run through the next day and then killed it.

Is that problem always reproducible? Given that the build is just stuck we have to find out first what causes that. One possible way of doing so is by logging into the container and check what it going on.

Maybe something to do with /dev/random or /dev/urandom ?

Closing due to lack of response.

I'd like to re-open this issue, as it looks as if I have the same issue, and I cannot resolve it.
I'm trying to get a docker container with Oracle Database 19 Enterprise Edition up and running, so we can run compatibility tests for our app against it. Following the instructions at https://github.com/oracle/docker-images/blob/main/OracleDatabase/SingleInstance/README.md, I created a bash script which

clones from Github using

	git clone https://github.com/oracle/docker-images.git --no-checkout oracledb --depth 1
	cd oracledb
	git sparse-checkout init --cone 						 # to fetch only root files
	git sparse-checkout set OracleDatabase/SingleInstance	 # list sub-folders to checkout
	git checkout

put the base image LINUX.X64_193000_db_home.zip downloaded from https://www.oracle.com/database/technologies/oracle-database-software-downloads.html in oracledb/19.3.0
creates and runs the image using

	docker run --name oracledb \
	--publish 1521:1521  \
	--env ORACLE_PWD=$DBPSWD \
	--env ORACLE_EDITION=enterprise \
	oracle/oracledb:19.3.0-ee

After ~20 min, I get
00:20:50.314 #########################
00:20:50.314 DATABASE IS READY TO USE!
00:20:50.314 #########################
00:20:50.335 The following output is now a tail of the alert.log:
00:20:50.339 ORCLPDB1(3):
00:20:50.339 ORCLPDB1(3):XDB initialized.
00:20:50.339 2022-12-08T16:43:17.208436+00:00
00:20:50.339 ALTER SYSTEM SET control_files='/opt/oracle/oradata/ORCLCDB/control01.ctl' SCOPE=SPFILE;
00:20:50.339 2022-12-08T16:43:17.214217+00:00
00:20:50.339 ALTER SYSTEM SET local_listener='' SCOPE=BOTH;
00:20:50.339    ALTER PLUGGABLE DATABASE ORCLPDB1 SAVE STATE
00:20:50.339 Completed:    ALTER PLUGGABLE DATABASE ORCLPDB1 SAVE STATE
00:20:50.339
00:20:50.339 XDB initialized.

and I can connect to the database.
After 10 more minutes, the log starts showing multiple resize operations
00:30:35.520 2022-12-08T16:53:06.895041+00:00
00:30:35.520 ORCLPDB1(3):Resize operation completed for file# 10, old size 327680K, new size 337920K
00:50:39.872 2022-12-08T17:13:11.310525+00:00
00:50:39.872 Resize operation completed for file# 3, old size 522240K, new size 532480K
01:50:51.925 2022-12-08T18:13:23.986198+00:00
01:50:51.925 Resize operation completed for file# 3, old size 532480K, new size 542720K
05:37:28.892 2022-12-08T22:00:00.112420+00:00
05:37:28.892 Setting Resource Manager plan SCHEDULER[0x4D55]:DEFAULT_MAINTENANCE_PLAN via scheduler window
05:37:28.892 Setting Resource Manager CDB plan DEFAULT_MAINTENANCE_PLAN via parameter
05:37:29.892 2022-12-08T22:00:01.181420+00:00
05:37:29.892 Begin automatic SQL Tuning Advisor run for special tuning task  "SYS_AUTO_SQL_TUNING_TASK"
05:37:30.892 2022-12-08T22:00:02.196303+00:00
05:37:30.892 End automatic SQL Tuning Advisor run for special tuning task  "SYS_AUTO_SQL_TUNING_TASK"
05:37:40.894 2022-12-08T22:00:12.466008+00:00
05:37:40.894 Resize operation completed for file# 1, old size 911360K, new size 921600K
05:38:19.898 2022-12-08T22:00:51.436103+00:00
05:38:19.898 Thread 1 cannot allocate new log, sequence 8
05:38:19.898 Private strand flush not complete
05:38:19.898   Current log# 1 seq# 7 mem# 0: /opt/oracle/oradata/ORCLCDB/redo01.log
05:38:22.898 2022-12-08T22:00:54.481193+00:00
05:38:22.898 Thread 1 advanced to log sequence 8 (LGWR switch)
05:38:22.898   Current log# 2 seq# 8 mem# 0: /opt/oracle/oradata/ORCLCDB/redo02.log
05:38:30.899 2022-12-08T22:01:02.434192+00:00
05:38:30.899 Resize operation completed for file# 1, old size 921600K, new size 931840K
05:41:41.951 2022-12-08T22:04:13.843697+00:00
05:41:41.951 Resize operation completed for file# 3, old size 542720K, new size 552960K
06:41:54.956 2022-12-08T23:04:26.527764+00:00
06:41:54.956 Resize operation completed for file# 3, old size 552960K, new size 573440K
07:38:54.742 2022-12-09T00:01:26.503594+00:00

and so on...
After 18 hours still running
10:42:44.621 Resize operation completed for file# 3, old size 573440K, new size 583680K
13:37:28.646 2022-12-09T06:00:00.168753+00:00
13:37:28.646 ORCLPDB1(3):Setting Resource Manager plan SCHEDULER[0x4D52]:DEFAULT_MAINTENANCE_PLAN via scheduler window
13:37:28.646 ORCLPDB1(3):Setting Resource Manager plan DEFAULT_MAINTENANCE_PLAN via parameter
13:37:33.645 2022-12-09T06:00:05.759502+00:00
13:37:33.645 ORCLPDB1(3):TABLE SYS.WRI$_OPTSTAT_HISTHEAD_HISTORY: ADDED INTERVAL PARTITION SYS_P225 (44903) VALUES LESS THAN (TO_DATE(' 2022-12-10 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
13:37:34.646 ORCLPDB1(3):TABLE SYS.WRI$_OPTSTAT_HISTGRM_HISTORY: ADDED INTERVAL PARTITION SYS_P228 (44903) VALUES LESS THAN (TO_DATE(' 2022-12-10 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
13:38:02.649 2022-12-09T06:00:34.412176+00:00
13:38:02.649 Thread 1 cannot allocate new log, sequence 9
13:38:02.649 Private strand flush not complete
13:38:02.649   Current log# 2 seq# 8 mem# 0: /opt/oracle/oradata/ORCLCDB/redo02.log
13:38:05.649 2022-12-09T06:00:37.430392+00:00
13:38:05.649 Thread 1 advanced to log sequence 9 (LGWR switch)
13:38:05.649   Current log# 3 seq# 9 mem# 0: /opt/oracle/oradata/ORCLCDB/redo03.log
13:43:23.732 2022-12-09T06:05:54.990747+00:00
13:43:23.732 ORCLPDB1(3):Resize operation completed for file# 10, old size 337920K, new size 348160K
14:43:35.747 2022-12-09T07:06:07.700812+00:00
14:43:35.747 Resize operation completed for file# 3, old size 583680K, new size 593920K
17:37:28.474 2022-12-09T10:00:00.201246+00:00
17:37:28.474 ORCLPDB1(3):Closing scheduler window
17:37:28.474 ORCLPDB1(3):Closing Resource Manager plan via scheduler window
17:37:28.474 ORCLPDB1(3):Clearing Resource Manager plan via parameter
18:44:26.475 2022-12-09T11:06:58.064665+00:00
18:44:26.475 Resize operation completed for file# 3, old size 593920K, new size 604160K

The problem is that the docker run never returns, and the log is not making clear if the database is ready or not.
Is this intended behavior? How can I make docker run finish at some point, preferably after the database has become available?

Try adding -d to the docker run command you're using. This runs the container as a detached session (think nohup ... &). Without this, the terminal session "owns" the container. When the session stops/exits, the container stops.
Once you run with -d you can see the output of the DBCA and then the alert log with docker logs -f $CONTAINER_NAME. Once it reports "DATABASE IS READY TO USE" you can connect and use it normally.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/106027

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/106307

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/107754

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.


How to use the new virtual-fs.js to use custom fonts in the browser?

Question
I'm successfully using the lastest master version of PDFKit in the browser. I've built it using yarn build. I noticed that it builds a new virtual-fs.js. I'm sure this is to avoid the dreaded fs issues when using PDFKit in the browser. But how can I use virtual-fs.js with PDFKit in the browser? I'm particularly interested in using it for custom fonts. Thanks!
Your environment

pdfkit version: master
Node version: v11.9.0

See https://github.com/blikblum/pdfkit-webpack-example
I will update the example soon

@blikblum Great, thanks so much!


perf: implement only calculate keccak value in transfer-claim

This PR solves issue #182 for both ZKSync and SN Transfer and ClaimPayments.
This PR also adjusts the tests accordingly
Gas cost updates:

Function
Gas consumption before
Gas consumption after

Transfer()
109260
64861

ClaimPayment()
26248
17224

ClaimPaymentZKSync()
21955 (138,586 on testnet)
18649 (130,470 on testnet)

gas reduction
per function
total

SN
44399 + 9024
53423

ZKSync
44399 + 3306
47705

This PR will be merged to MAIN after merging #171 and #185