Vault-provider does not allow root user rotation

I use SecretBackendConnection to create connections to my PostgreSQL database. I specify passwordSecretRef to set the root user password.
passwordSecretRef:
  key: password
  name: vault-init-password
  namespace: database

With the same password, I create a root user in my database. I have a CronJob that, with a frequency of 1 hour, calls the root user rotation via the Vault API. Therefore, every hour the password of the root user inside the Vault and inside my database changes.
However, I encountered unexpected behavior: if the vault-provider deployment is restarted (or the container inside the pod is restarted), then all the connections managed by the provider will be updated, including the root password of the user inside the Vault. It will not change inside the database, and as a result, this will lead to a mismatch of passwords, Vault can no longer generate dynamic credentials.
Thus, it turns out that the rotation of the root user is not expected by the vault-provider.
Can you tell me if this behavior is expected? Is it possible to make passwordSecretRef used only when creating a connection, but not updating it?

The current solution is to take away the permission to update connections
path "databases/config/*" {
   capabilities = ["list", "read", "create", "delete"]
}
path "databases/roles/*" {
   capabilities = ["list", "read", "create", "update", "delete"]
}

Restarting the vault-provider no longer resets the root's password. However, I would like to find a more elegant solution, since it is currently impossible to make changes to connections via Helm.


Sunrise mode with 1 RPM

Add super slow mode with 1 RPM
Could you please compile a binary with 1 RPM? For the morning 1 RPM would be perfect.
Many thanks for your great work!

@dominikkarall
Where you abel to compile an ident binary of v82 to @mjuhanne 's ?
I also have opened an PR: https://github.com/mjuhanne/fyrtur-motor-board/pull/9
But i am not able to reproduce the v82 binary.
My binarys are way smaller than @mjuhanne 's one (sleep binary is 3kB smaller).

@dominikkarall i have successfully changed the max motor current flash setting on v82_sleep. You can also change the current RPM, but SADLY values lower than 3 RPM does'nt work, at least on the test on my blind.
You can test it on yours, i have described the procedure here: https://github.com/mjuhanne/fyrtur-motor-board/pull/9#issuecomment-1024935781
good luck
PS.: Did you build an the code yourself and is it working? I have flashed my own build version but it just does'nt work. I think it's not waking up from sleep. But just a guess. I think we need @mjuhanne to know how we can reproduce his building environment to build an binary ident v82_sleep.


Is going from v5.1.0 to v5.11.16 a breaking change?

I want to upgrade my project from material-ui v5.1.0 to v5.11.16, but am wondering if it would break any existing functionality in my web app.

Breaking changes are only introduced in the major releases. You can read the document about our versioning strategy: https://mui.com/versions/#versioning-strategy.


Add vgpu-migration branch

Signed-off-by: Rob Hoes<EMAIL_ADDRESS>

Merging - we can easily change the branch name tomorrow if we want to.


Contributor's Guide

Write a Contributor's Guide that defines collaboration methods for the Pythia Portal.

Either .md or .rst is fine

I created a first draft of the CODE OF CONDUCT here:
CODEOFCONDUCT.md

The first draft of the Contributor's Guide currently links to the Code of Conduct directly in the github repo. Probably better to make the CoC visible from the portal site itself.

I just made some edits to the to site that:

place the Contributor's Guide in the root directory of the repository,
update the language of the CoC to be less UCAR specific,
add custom scripting in conf.py to copy the CG and the CoC to the content/pages/ directory when the site is built,
added a nav link to the CoC on the portal site.

I'm really sorry, but I forgot to clone my fork and cloned the main repo, instead.  So, there was no PR to go with these changes, but you can see the site to see what was done.

Just noting here that the CoC still says
The date that it was adopted by this project was [Enter date adopted].

I'm not sure if we need to have some explicit vote on adopting the CoC?

I missed that.  I'll fix it in another PR.

...actually, I just added it to the open PR.

Done and merged.

However, I still think the Contributor's Guide needs more work. ...Should we close this issue for now and either re-open it when we want to improve the Contributor's Guide (or create another issue)?

Hmm... I don't actually see any change in the CoC ??

Yeah.  Sorry.  I forgot to push the change.  😄  I'm putting together another PR for some bugfixes.

I believe this is fixed now.

However, I still think the Contributor's Guide needs more work. ...Should we close this issue for now and either re-open it when we want to improve the Contributor's Guide (or create another issue)?

I'd say either leave it open, or close and open a new ticket.

I am fine with closing this one, and we could open a new ticket when it comes to actually populating the Contributor's Guide

Ok, I'll close this now, and open a new issue for discussion about the future of the Contributor's Guide.

Ok, I'll close this now, and open a new issue for discussion about the future of the Contributor's Guide.


NIFI-2865: Refactored PublishKafka and PublishKafka_0_10 to allow bat…

…ching of FlowFiles within a single publish and to let messages timeout if not acknowledged

Reviewing...


fvsetup: define $ARCHIVE in fstats_run job script

If the forecast statistics need to be rerun after a job has completed and the experiment is using a non-default $ARCHIVE location, then the fstats_run job script will not be successful unless ARCHIVE is set properly in the window environment that runs the job. To avoid this problem, fvsetup will be modified to define the ARCHIVE variable within the fstats_run script.

An unrelated update needed in fvsetup is a needed syntax correction, as pointed out by Meta S.
         cat \$PBS_NODEFILE | tail +2 > \$FVWORK/GCM_list

needs to be changed to
         cat \$PBS_NODEFILE | tail -n +2 > \$FVWORK/GCM_list


Use pty for term tests

Test no longer needs to be linux only since the pty package can handle
different platforms, and also does not require root.
This fixes an issue where the term tests are skipped in CI since there
is no TTY available.
Signed-off-by: Brian Goff<EMAIL_ADDRESS>

Excellent! looks like this dependency is MIT license and already used in k8s, so i am happy with that.
LGTM Thanks for taking care of the CI scenarios where tty is no present.

Fixed extra error return.


Aesop cleaner running

[x] Have a class that contains the configuration for the run.
[x] Have a function that tries a sequence of runs till one leaves no goals.
[x] Have functions that generate different runtime options (say using List.bind).
[ ] Have dynamic tactics, including allowing different weights.
[x] Have an unsafe intro rule with a different transparency.

One may be able to use withOptions to run the intro with different transparencies (instead of copy-pasting).

[ ] To try: make rules by building syntax and using Aesop's elaborator etc.

Meaningful cleanup for this stage has been done. More can be done once this is used with predictions.


error when try ban a staff with bypass

help pls?

Then you did not follow the instructions in README.md. I would recommend that you read that before installing TigoAntiCheat

The functions that a user uses (without being superadmin, since the superadmin has bypass) ban it correctly, once I change everything to tac, it doesn't ban it. It is what I do not understand, if it walks, because it gives a random error, that we do not even know when it happens.

What is the specific reason for the ban? (which shows in the ban file)

I mean, when it gives that error, it doesn't ban the user who should ban. (Try banning but if condition returns null/nil)
https://github.com/TigoDevelopment/TigoAntiCheat/blob/master/server/main.lua#L85-L104 (Line 86)

This is probably why you must have done something wrong when installing TigoAntiCheat, as I am using it, and I have not had any problems until today!
Try to redo all the steps ... I recommend you do it as follows:
Instead of changing everything you have: TiggerServer(esx_ or TigerEvent(esx_ ... as mentioned in the documentation.
You in each of your scripts, the following:
esx_ to tac_
esx: for tac:
It doesn't have to be exactly tac, it can be anything you want to put ...
for example: BLUE_ or DARK:

I am using this to move all events from esx:/esx_ to tac:/tac_, could you tell me if it is ok at least?
Python script: https://gist.github.com/mindiw01/ad907151ac361883f8000b6535805fb4
And in the bat/bash script I use this:
replace.py "esx:" "tac:"
replace.py "esx_" "tac_"
pause

Try changing to another event name ...
Other than TAC
try to put: eessxx or any other name that comes into your mind

https://mindiw.me/img/Y1O9OTBQ.png
other error :/

Try to reinstall TigoAntiCheat.
Without making any changes, just download the stable version and put it on your server.

doesnt work /:

I've just made some changes, and if all goes well, your error should be gone. If this is not the case, I would like a new screenshot of the error due to possible of new lines.

Thanks. I will test!

After 4 days testing, its working perfectly. Thanks!


Change About section

Fixes #86
This script changes the about section of your whatsapp account. You can change the about once in every second or once in 30 min.
The script fetches an api that gives the total coronavirus cases around the globe and changes your about section with that.
How to use:

python3 -m wplay -wabt OR python3 -m wplay --wabout

You then need to give a choice to either change your about in 1 sec or 30 min

Please review @rpotter12 @xandao6

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- wplay/changeAbout.py  5

See the complete overview on Codacy

@rpotter12 take a look, this PR is quite interesting.


Unable to export all data as PDF or CSV

Describe the bug
ok, while now I can at least see the export button and can export the data as PDF or CSV, clicking this button ONLY exports visible data from the browser. If I change the ExportPdf() function by supplying it with an array of all of my data, I get a report with blanks i.e. not data gets exported..just column headers and several pages of blank rows underneath.
For CSV, If I include the entire dataset array, I get an error..see below
TypeError: console.err is not a function

<EMAIL_ADDRESS>
return col.title;
    })).addRows(Array.from(data)).exportFile();
  } catch (err) {
    console.err("err in ExportCsv : ".concat(err));
  }
}

I tried to add console.log() to see the data and can see all 175 JSON objects. As it stands, the export is not useful as we can't expect users to export every single page individually .. is there anything I am missing here? I've updated the sandbox to reflect this and you will find exactly identical results..
To Reproduce
https://codesandbox.io/s/elegant-lalande-3teq8?file=/src/App.js
Expected behavior
MT should allow ALL data to be exported as PDF and CSV, not just visible data. Also, it would be an added bonus if we can export the Title.

I'm not sure I follow. Would you mind creating a sandbox?

This is expected behavior. The ExportPdf function only exists to help you out. It just serves as the default export method for Pdf/Csv. It's the exact code that exists in material-table. It's only there to do one thing.
You'll have to write your own ExportPdf/Csv method if you want to handle how (or which) data gets exported.
Something like...
https://codesandbox.io/s/solitary-monad-820vc?file=/src/App.js:7893-9347
exportMenu: [
  {
    label: "Export TXT",
    //// You can do whatever you wish in this function. We provide the
    //// raw table columns and table data for you to modify, if needed.
    // exportFunc: (cols, datas) => console.log({ cols, datas })
    exportFunc: (cols, datas) => {
      // See comment above.
      // If you want to export reportData you'll need to
      // integrate that logic yourself.
      console.log({ reportData });
      function download(data, fileName) {
        const a = document.createElement("a");
        a.href = URL.createObjectURL(new Blob([data], { type: "text" }));
        a.setAttribute("download", fileName);
        document.body.appendChild(a);
        a.click();
        document.body.removeChild(a);
      }
      const reportDataDL = JSON.stringify(reportData, null, 2);
      download(reportDataDL, "myfilename.txt");
    },
  },
];

Fair enough though it doesn't make sense as it can traverse through max 20 rows but can't exceed to all rows? I actually started using MT for my tabular reporting as getting data aligned in react-pdf to generate decent looking reports with the company logo and header\footer etc was getting way too complicated. Thought as least MT will be more appealing and also allows export as PDF (even without the Title text but that can be ignored for now).
So, I guess I now have to go back to react-pdf and do lots of styling in order to get tabular report.

I agree. I believe there is a separate issue for that problem. Although, if you have your data in state, you could just do this:
const [dataInState, setDataInState] = useState( myDefaultData );
// ...
label: "Export Something",
exportFunc: () => {
    // logic to export
    download(dataInState, 'myfilename.csv');
}
// ...

Again, you can do whatever you want there.

I believe we should pass all data by default, but this is tricky. What if someone is using remote data? Etc...
The idea behind providing an array of export objects (ie: { label: "foo", exportFunc: (col, data) => {} }) is so that you can have freedom to do whatever you want. If you just want to use "default" export, like how material-table handles it, you can (via the @material-table/exporters package).
mbrn/material-table only allows you to export to CSV or PDF. What if you want to export to a different format? What if you need to make an API call there (in order to grab all data)? Well, now that is extremely easy for you to do.

In @material-table/exporters there was an issue with logging the error console.err vs console.error..
I have published v1.0.5, which fixes this.  Would you mind updating your @material-table/exporters package and trying again? The error should be more clear now.

Thanks for the pointers. I have used this exportFunc() custom export CSV though my need is to export as PDF. My data is in state.

import 'jspdf-autotable';

export default function ExportPdf(columns, data, filename = 'data') {
  try {
    const JSpdf = typeof window !== 'undefined' ? require('jspdf').jsPDF : null;
    if (JSpdf !== null) {
      const content = {
        startY: 50,
        head: [columns.map((col) => col.title)],
        body: data
      };
      const unit = 'pt';
      const size = 'A4';
      const orientation = 'landscape';
      const doc = new JSpdf(orientation, unit, size);
      doc.setFontSize(15);
      doc.text(filename, 40, 40);
      doc.autoTable(content);
      doc.save(filename + '.pdf');
    }
  } catch (err) {
    console.error(
      `exporting pdf : unable to import 'jspdf-autotable' : ${err}`
    );
  }
}

That is the exact code we use to export to pdf. It's the exact same code in mbrn/material-table.  How were you exporting to pdf before?
This...
// in mbrn/material table you just do the exportButton, right?
options: {{ exportButton: true }}

That is the same as doing... (there is literally no difference)
{
    label: "Export PDF",
    exportFunc: (cols, datas) => ExportPdf(cols, datas, 'myfilename')
}

If that doesn't suite your needs, I fail to understand how you were exporting before..

upgraded exporter to 1.0.5, now getting below error when I try to export all rows by clicking the Export CSV option :(
error in ExportCsv : TypeError: row.map is not a function

So here is the issue with using reportData with ExportCsv...
It expects an array of arrays. Aka an array, which each element in that array is itself an array (in this case an array of strings). That array of strings is each row of data.
You are supplying an array of objects. That is why we are unable to map.
Top is what we expect, bottom is from reportData...

So, if you do something like this it will work.. (you just need to convert each object into an array of strings, where each string is the value from the key: value...) I know that's kind of confusing, but this example should help..
https://codesandbox.io/s/charming-hooks-kk3gi
{
  label: "Export CSV",
  exportFunc: (cols, datas) => {
    // Turn data into an array of string arrays, without the `tableData` prop
    const dataRows = reportData.map(({ tableData, ...row }) => Object.values(row));
    ExportCsv(cols, dataRows);
  }
}

@DewangS now I understand that is confusing, so I made some changes to @material-table/exporters.. You don't have to worry about supplying an array of arrays, etc.. now.
If you update to v1.0.6, all you have to do is this: (I tested this and it worked for me)
https://codesandbox.io/s/charming-hooks-kk3gi?file=/src/App.js (updated)
{
  label: "Export CSV",
  // Using `headerRow` is the same as using `cols`
  exportFunc: headerRow => ExportCsv(headerRow, reportData),
}

@DewangS actually, use v1.0.7 - I forgot to make the same change for ExportPdf... apologies.

 :)
I used your logic for both i.e. PDF and CSV and now can see all rows... phew..!!!
Thank you so very much for your prompt help. Much appreciated.

Cheers!

@oze4  I just installed v1.0.7 though got below warnings, do I really need to install these packages?
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.


x/pkgsite: support symlinks or LICENSES directory

On a project I am working on, I recently implemented the Free Software Foundation Europe's REUSE (repository) recommendations for licensing. The used licenses are the GNU GPL for code and CC0 for some other stuff, both listed as supported licenses.
In a nutshell, REUSE stores all licenses named as their SPDX identifier in a LICENSES directory. Furthermore, each file starts with a SPDX header.
Because GitHub does not handled this, I created a LICENSE symlink to the GPL file within the LICENSES directory. GitHub then at least detects the presence of a license. (Edit: GitHub only detects a LICENSE file exists, but does not follow the symlink. Thus, I removed the symlink.)
However, the pkg.go.dev page is currently not able to process this. Furthermore, the documentation is "not displayed due to license restrictions". Compared to this, the old GoDoc has no limitations in this regard. Sorry, this is annoying.
Would it be possible to adjust pkg.go.dev to

handle a LICENSES directory,
detect and follow symlinks, or (Edit: see edit above)
to parse SPDX headers?

Thanks a lot for all the great work!

Please see this post to understand why we check licenses and godoc.org doesn't.
For legal reasons, we cannot consider SPDX headers authoritative. We must verify the license text itself.
A LICENSES directory is a reasonable request. We'll look into it.

Please see this
post
to understand why we check licenses and godoc.org doesn't.
Thanks for the background and clarification.

For the record, the following link also works without having a Google
account.
https://groups.google.com/d/msg/golang-dev/mfiPCtJ1BGU/qtCrqlrEEwAJ

A LICENSES directory is a reasonable request. We'll look into it.
That would be very cool, thanks. Alternatively, could a license hint or
link to such a file also be included in the go.mod file, for example?

I don't think the go.mod file is the right place for that sort of information. We don't add information to go.mod that is obtainable elsewhere, or that is language-agnostic.

Any updates? After closing down the good old godoc.org and redirecting to the new pkg.go.dev thingy, there is no more documentation for properly licensed code.
A promising alternative seems to be godocs.io. However, for my next release I will add a LICENSE file…

For legal reasons, we cannot consider SPDX headers authoritative. We must verify the license text itself.

The SPDX-headers list which license texts are to be verified in the first place.
E.g. there are many repositories, where the LICENCES file or COPYING file does not list all licenses used in the repository. So if you are believing this, from a legal point of view, you should also be able to believe the SPDX headers.

A LICENSES directory is a reasonable request. We'll look into it.

Yes, please make it reuse.software compatible. What would have to be done for this?

One current example of the problem is<EMAIL_ADDRESS>.

A LICENSES directory is a reasonable request. We'll look into it.

Yes, please make it reuse.software compatible. What would have to be done for this?

According to https://pkg.go.dev/license-policy the detector https://github.com/google/licensecheck is used and here is the relevant issue: https://github.com/google/licensecheck/issues/53

We currently have no cycles to add the LICENSES directory. I would pursue other options.


Upgrade Yarn to 3.4.1

This may fix the build failure of #5568

Looks like the build failed here too.  These gremlins!  ☹

Yeah, it probably has to do with Webpack v4 and Node v18. And wndows-latest runners got upgraded to Node v18 since it went LTS. I'll try to take a look at that problem this weekend.


Remove combine score in problems.html and problem.html

Since we currently don't compute the combined score, it would be best to inject the best competition score in the problem/problems.html page instead of having (combined score=None)

agreed. It's weird to display something we don't support

We should also check for the keywords as well. I don't remember if I removed the option to add some or it is just that I don't remember how to add them.


Unable to SSH into PWD Instance

Hi Everyone,
I'm finding difficulty to SSH my PWD Instances.
Refered Thread #196
https://medium.com/@marcosnils/pwd-ssh-c12080ea11d1
But I still could not connect.
I have tried with,
ssh<EMAIL_ADDRESS>  (whole string copied from ssh field as it is).
ssh -p 1022<EMAIL_ADDRESS>(same string plus port number).
ssh -p 1022<EMAIL_ADDRESS> (same string but removed the word ip from string).
I have also copied the private key using the editor option and paste it into .ssh folder with file name id_rsa without any extension.But no luck.
Everytime when i try to ssh I get a prompt for paraphrase then, I'm getting error as Permission denied(public key).
I am using windows 7 ,Git Bash terminal.
@marcosnils and others could you'll please guide me where am i going wrong.

@sam340 you don't need to copy the PWD private key. Just run ssh-keygen from your git bash terminal and it should generate a key for you. After that you should be able to access without issues.

But in order to connect to the PWD Instance i need the PWD Instance private key on my client ssh folder right.But still the problem will persist if i guessed it right....

no, that's not correct.

I'm not a windows user.

@marcosnils  Thnx mate it worked like charm. Just one request could you please help me how can i connect it using putty.

@marcosnils Thnx mate it worked like charm. Just one request could you please help me how can i connect it using putty.

IDK, I haven't tried but it should be pretty straightforward. Can you please close this?

Yup sure.

ssh-keygen

This did the trick !!! Thank you marcosnils

@sam340 you don't need to copy the PWD private key. Just run ssh-keygen from your git bash terminal and it should generate a key for you. After that you should be able to access without issues.

thanks guy, it's work to me.


Fix quoting issue on sed

Verified that the mark-new-release script works - I swear it worked before but now is failing for me.
@zmerlynn

LGTM

OK to merge?

LGTM, ok-to-merge


Optionally accept TCPListener rather than ToSocketAddrs

With TCPListener it's possible to listenfd and socket activation from systemd.
This allows to hide services into network namespaces and disallow them to do bind and listen, which is very handy security-wise. Not only can one disallow these, it's also probably possible to use RestrictAddressFamilies and disable even AF_INET and AF_INET6 for even more through lockdown.
I'm not really sure how to make this work without breaking backward compatibility or introducing something like _with_listener variants for methods that require ToSocketAddrs today.

I need this and willing to submit a PR. Is it required to be backwards compatible? because if not, changing server_addr method to return Option<SocketAddr> might be cleaner. If it needs to be backwards compatible, then from_tcp_listener could also require socketaddr (which the caller could set to any value, perhaps by inspecting the socket).


Ignore lights being turned on with a specific color value and effects.

Hi there!
I hope y'all are doing great!
I have this issue where  I sometimes turn on lights with specific colors and effects in some automation. (Mainly for accessibility as I don't hear too well ).
Unfortunately, those get turned to white by this integration.
Would it be possible for the tool provided here to ignore lights being turned on with "effect" or "color_name" and its counterparts?
Thanks!
-Maxi1134

I would also love this! Honestly it’s how I presumed it would work by default and I was very confused when I realised it didn’t seem to work this way. I understand there maybe technical reasons why this is tricky to implement but purely from a user experience perspective if I have a switch or automation or something that turns on a light and explicitly sets a colour when it does so then I would expect that request would be respected.
Without this behaviour it breaks things like scenes. I have a scene to turn on a few accent lights and set them to some soft colours. However when I activate the scene the lights are very briefly turned on to the desired colours but then AL turns them to white. With home assistant scenes I can at least activate the scene a second time and have it work which is annoying but manageable. However I’ll often use the Home app on iOS to control my lights (via the HomeKit integration) and with the Home app scenes work as a toggle, once you turn on the scene tapping it again will turn off the scene and all the lights in the scene. That means you can’t simply activate the scene twice and have it set the colours correctly the second time.
@basnijholt I see you mentioned in a different issue that this is something you were considering looking into https://github.com/basnijholt/adaptive-lighting/issues/2#issuecomment-704535079 did you ever get a chance to do that?
Least this come across too negative, I should say I love AL and and very much appreciate all the hard work that’s gone into making it!

If either of you are using take_over_control: true and this is still happening, this needs to be set as kind/bug and we'd appreciate if you post your logs and configuration.
take_over_control: true is supposed to ignore any light.turn_on calls when not called with an empty payload (i.e brightness or color_temp is set in the light.turn_on call).
The whole point of this project is to adapt lights while ignoring any manual commands.

If you are using take_over_control: true, then as long as you turn the light on before executing the desired state, adaptive lighting will set the light as manually controlled and will stop adapting the light.
Example:
alias: Turn light on with custom settings
sequence:
  - service: light.turn_on
    data: {}
    target:
      entity_id: light.bedroom_ceilingfan_lights
  - service: light.turn_on
    data:
      flash: short
      effect: strobe
      color_temp: 180
    target:
      entity_id: light.bedroom_ceilingfan_lights
mode: single

If you only call the 2nd light.turn_on, and the light is off, adaptive-lighting will adapt the light. Having the second call there tells adaptive-lighting that we've turned the light on, and we set it's state.

@maxi1134 would you mind elaborating on how last_state is saved in hass? Do you have any node-red automations you could post utilizing this?
I'm a bit new to home assistant's developer api but I know the config option cache_state exists in zigbee2mqtt, which when enabled will store all prior state changes made to an zigbee device, for use in hass. This behavior makes me think hass doesn't keep a record of state changes.
As far as I'm aware, hass only has a last_state and new_state during state_changed events which don't happen when a device is offline.

@maxi1134 would you mind elaborating on how last_state is saved in hass? Do you have any node-red automations you could post utilizing this?
I'm a bit new to home assistant's developer api but I know the config option cache_state exists in zigbee2mqtt, which when enabled will store all prior state changes made to an zigbee device, for use in hass. This behavior makes me think hass doesn't keep a record of state changes.
As far as I'm aware, hass only has a last_state and new_state during state_changed events which don't happen when a device is offline.

Sorry for the tardiness, I was out of the country!
This is what I see in node-red:

I am implementing an option adapt_only_on_bare_turn_on which instantly triggers manual_control when turning on with brightness or color in PR https://github.com/basnijholt/adaptive-lighting/pull/709.
Enabling this will make sure AL doesn't take over when setting a scene.

This is a big deal IMO, and exactly what I've been hoping for.
My only notable gripe with A.L. has been not being able to utilize scenes/automations/scripts/etc 'as intended' and having to implement additional service calls to get the desired end result.
This is expected for 1.19 release?

Yes, it is already in the 1.19.0b3 release 😃

This works for me on 1.19.0b4.
Thanks a lot! I've adapted my node-red flows already.


#2368 - User Story 7.2 : Fixed Bug the word "Reject" is incorrect.

What does this pull request aim to achieve? 💯

Fixed Bug the word "Reject" is incorrect.
_Please be concise and link any related issue(s): #2368

[x] I have checked that no one else is working on similar changes.
[x] I have read the latest README and understand the development workflow.
[x] The name of this branch is: feature/<branch_name> for a regular feature, hotfix/<branch_name> for a hotfix, and service/<branch_name> for a microservice, where <branch_name> briefly describes the issue(s) resolved and is prefixed with the issue number(s) (e.g. 1127-1130-update-git-branching-model). The branch is created in a cloned version of this repo, not a forked repo.
[x] This branch is rebased/merged with the latest staging (or the latest production if it is a hotfix).
[x] There are no merge conflicts.
[x] There are no console warnings and errors.
[x] On the right hand side of this PR, I have linked the appropriate issue(s) under "Issues" and added a project progress under "Projects".
[x] The title describes the issue(s) being addressed using format: <issue_numbers> - <brief_issue_description> (e.g. #1127/#1130 - Update Git Branching Model)

@linadinh2602 , please fix the button SUBMIT to have the REJECT button also.  If you can fix the functionality , that is great, otherwise, just fix the word


IA-1670 ou appear as their own children

If you don't hit the checkbox Only Direct children in org unit search tab children, atm the org unit you are looking the children for will be in the result.
There is some strange things with this checkbox. If the checkbox is check the paremeter for the parent org unit is "parent_id" if not the parameter  is "orgUnitParentId", I'm not sure why. The parameter "onlyDirectChildren" is sent in both case respectively true or false.
Nevertheless, the parameter "onlyDirectChildren" was appearing in org_unit.py but unused and was missing in org_unit_search.py so I added it. I also added some tests.
Related JIRA tickets : IA-1670
Self proofreading checklist

[x] Did I use eslint and black formatters
[x] Is my code clear enough and well documented
[ ] Are my typescript files well typed
[x] Did I add translations
[x] My migrations file are included
[x] Are there enough tests

How to test
With the current version :
Go to org unit, search for a org unit with children.
Go to the children tab and search with the "only direct children" box unchecked
You will find the org unit as its own children in the list.
With my PR:
Do the same but you won't find the org unit as its own children.
Do the same and the org unit

rebased the change on top of main after consideration I think we can merged it as is.


Update README URLs based on HTTP redirects

Created with https://github.com/dkhamsing/frankenstein
GitHub Corrected URLs

Was
Now

https://github.com/supermarin/Alcatraz
https://github.com/alcatraz/Alcatraz

Other Corrected URLs

Was
Now

http://cocoapods.org
https://cocoapods.org/

http://img.shields.io/badge/license-apache 2.0-blue.svg?style=flat-square
https://img.shields.io/badge/license-apache 2.0-blue.svg?style=flat-square

http://img.shields.io/cocoapods/v/SlackTextViewController.svg?style=flat-square
https://img.shields.io/cocoapods/v/SlackTextViewController.svg?style=flat-square

:smile:


219 cro3 flash recovery should use signed image on usb

cro3 flash uses signed recovery image and it requires --usb option.

Updated according to the comment.

fix a style problem.


Can't use private repo in buildpack

Hi,
.pkgr.yaml:
buildpack: https://github.com/ddollar/heroku-buildpack-multi
env:
  - NODE_ENV=production
  - BUNDLE_WITHOUT=development:test
  - FETCHER_RETRY=1
  - CURL_CONNECT_TIMEOUT=10
  - SSH_AUTH_SOCK=$(ls -1 --sort t /tmp/ssh-*/agent.* | head -1)
before:
  #- SOCKET=$(ls -1 --sort t /tmp/ssh-*/agent.* | head -1)
  #- export SSH_AUTH_SOCK=$SOCKET
  #- eval `ssh-agent -s && ssh-add`
  #- ssh-add -L
  #- ssh -Tv<EMAIL_ADDRESS>-o StrictHostKeyChecking=no

.buildpacks :
https://github.com/vjm/heroku-buildpack-nodejs-grunt-compass
https://github.com/vjm/heroku-buildpack-ruby#universal

Gemfile has a private repo:
gem 'gem_name_here', '>= 0.1.0', :git => 'git@bitbucket.org:vjm03/gem_name_here.git', :branch => 'master'
I get an access denied (publickey) error when trying to run bundle install.
When I uncomment my before section of the .pkgr.yaml file to test my socket connection, I get
Running hook: "/tmp/before_hook20150724-5918-dwftnv.sh"
       Agent pid 6003
       The agent has no identities.
       OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
       debug1: Reading configuration data /etc/ssh/ssh_config
       debug1: /etc/ssh/ssh_config line 19: Applying options for *
       debug1: Connecting to bitbucket.org [<IP_ADDRESS>] port 22.
       debug1: Connection established.
       debug1: identity file /home/vagrant/.ssh/id_rsa type -1
       debug1: identity file /home/vagrant/.ssh/id_rsa-cert type -1
       debug1: identity file /home/vagrant/.ssh/id_dsa type -1
       debug1: identity file /home/vagrant/.ssh/id_dsa-cert type -1
       debug1: identity file /home/vagrant/.ssh/id_ecdsa type -1
       debug1: identity file /home/vagrant/.ssh/id_ecdsa-cert type -1
       debug1: identity file /home/vagrant/.ssh/id_ed25519 type -1
       debug1: identity file /home/vagrant/.ssh/id_ed25519-cert type -1
       debug1: Enabling compatibility mode for protocol 2.0
       debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
       debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
       debug1: match: OpenSSH_5.3 pat OpenSSH_5* compat 0x0c000000
       debug1: SSH2_MSG_KEXINIT sent
       debug1: SSH2_MSG_KEXINIT received
       debug1: kex: server->client aes128-ctr hmac-md5 none
       debug1: kex: client->server aes128-ctr hmac-md5 none
       debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<3072<8192) sent
       debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
       debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
       debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
       debug1: Server host key: RSA 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40
       debug1: Host 'bitbucket.org' is known and matches the RSA host key.
       debug1: Found key in /home/vagrant/.ssh/known_hosts:1
       debug1: ssh_rsa_verify: signature correct
       debug1: SSH2_MSG_NEWKEYS sent
       debug1: expecting SSH2_MSG_NEWKEYS
       debug1: SSH2_MSG_NEWKEYS received
       debug1: Roaming not allowed by server
       debug1: SSH2_MSG_SERVICE_REQUEST sent
       debug1: SSH2_MSG_SERVICE_ACCEPT received
       debug1: Authentications that can continue: publickey
       debug1: Next authentication method: publickey
       debug1: Trying private key: /home/vagrant/.ssh/id_rsa
       debug1: Trying private key: /home/vagrant/.ssh/id_dsa
       debug1: Trying private key: /home/vagrant/.ssh/id_ecdsa
       debug1: Trying private key: /home/vagrant/.ssh/id_ed25519
       debug1: No more authentication methods to try.
       Permission denied (publickey).

When I run ssh -Tv<EMAIL_ADDRESS>-o StrictHostKeyChecking=no, I get the following:
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to bitbucket.org [<IP_ADDRESS>] port 22.
debug1: Connection established.
debug1: identity file /home/vagrant/.ssh/id_rsa type -1
debug1: identity file /home/vagrant/.ssh/id_rsa-cert type -1
debug1: identity file /home/vagrant/.ssh/id_dsa type -1
debug1: identity file /home/vagrant/.ssh/id_dsa-cert type -1
debug1: identity file /home/vagrant/.ssh/id_ecdsa type -1
debug1: identity file /home/vagrant/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/vagrant/.ssh/id_ed25519 type -1
debug1: identity file /home/vagrant/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
debug1: match: OpenSSH_5.3 pat OpenSSH_5* compat 0x0c000000
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<3072<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: RSA 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40
debug1: Host 'bitbucket.org' is known and matches the RSA host key.
debug1: Found key in /home/vagrant/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /Users/vjm/.ssh/id_rsa
debug1: Remote: Forced command: conq username:vjm03
debug1: Remote: Port forwarding disabled.
debug1: Remote: X11 forwarding disabled.
debug1: Remote: Agent forwarding disabled.
debug1: Remote: Pty allocation disabled.
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: Remote: Forced command: conq username:vjm03
debug1: Remote: Port forwarding disabled.
debug1: Remote: X11 forwarding disabled.
debug1: Remote: Agent forwarding disabled.
debug1: Remote: Pty allocation disabled.
debug1: Authentication succeeded (publickey).
Authenticated to bitbucket.org ([<IP_ADDRESS>]:22).
debug1: channel 0: new [client-session]
debug1: Requesting<EMAIL_ADDRESS>debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype<EMAIL_ADDRESS>reply 0
logged in as vjm03.

How can I solve this?

How do launch pkgr? On the same machine or a remote VM?

Inside a vagrant machine with ssh agent forwarding. I can create an example repo if you want!
—
Vince Montalbano
617.470.3047
On Fri, Jul 24, 2015 at 3:14 AM, Cyril Rohr<EMAIL_ADDRESS>wrote:

How do launch pkgr? On the same machine or a remote VM?
Reply to this email directly or view it on GitHub:
https://github.com/crohr/pkgr/issues/76#issuecomment-124425808

ok I see the issue:  package generation is launched in a clean env, which means SSH_AUTH_SOCK is not passed. Launching pkgr with --env "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" should fix the issue.
I'll see if I can fix the code so that you don't need to do this.

Even with this set, I had the same issue. I agree that SSH_AUTH_SOCK doesn't seem to be getting passed.

Update: It actually is working! I forgot to run ssh-add ~/.ssh/id_rsa on my host machine first this time.
Thanks for that!!
Does it make a different if I call the env variable from .pkgr.yml or from the CLI arguments?


Add support for FilterPattern filtering of events

I chose --filter-pattern as the CLI option which is perhaps a bit verbose.

Coverage remained the same at 100.0% when pulling 6cd3e3c620baba7c43544e3eb1b7bf328ff99ab0 on jimbrowne:filter-pattern-support into 2ef73bbdbf38a4aefc0d993b864d44a9457a0cf0 on obsrvbl:master.

Many thanks for the PR. I'll test it today and merge for the next PyPI release if all is well.


Prepare Detekt 1.20.0

🐣 Happy Easter 🐣

I think there might be something going on with sonatype as the artifact is not showing up:
https://repo1.maven.org/maven2/io/gitlab/arturbosch/detekt/detekt-core/1.20.0/
Should the artifact not show up, I'll do another publishing in some hours.


Update tutorial to improve readability and fix some typos

It is an tutorial improvements based on findings during the preparation of https://github.com/canonical/mysql-operator/pull/98
Tnx for a nice template!

@MiaAltieri off-topic: should I update charm libraries?
The list of changes is trivial: https://pastebin.canonical.com/p/WF8h4T8Wn4/
but the red label "Libraries Out of Sync" is annoying :-D


Cannot build with 2 panels in cep.config.ts

Non-working example (Overlord 2)
I am working on an extension with a visible and invisible panel that talk to one another. When developing everything works great, but once the ZXP is built, it seems like having 2 panels defined in cep.config.ts breaks the build.
// cep.config.ts
panels: [
    {
      mainPath: "./main/index.html",
      name: "main",
      panelDisplayName: "Overlord Legacy",
      autoVisible: true,
      width: 600,
      height: 650,
      minWidth: 40,
      minHeight: 40,
    },
    {
      mainPath: "./main/index.html",
      name: "server",
      type: "Custom",
      startOnEvents: ["com.adobe.csxs.events.ApplicationInitialized", "applicationActivate"],
      autoVisible: false,
      width: 600,
      height: 650,
    },
]

Generates an index.html ending with
</script>

    <meta charset="UTF-8" />
    <link rel="icon" href="/favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Overlord Legacy</title>

    <link rel="stylesheet" href="../assets/index-812fff56.css">

The filename server-509d7a18.js seems to be related to the second panel name: "server",  in cep.config.ts which then points to ./main-66f56e2c.js
// server-509d7a18.js
"use strict"
if (typeof exports === 'undefined') { var exports = {}; };require("./main-66f56e2c.js");
//# sourceMappingURL=server-509d7a18.js.map

When installing from the built ZXP, the panel is blank. Debugging returns the error:
Uncaught Error: Cannot find module './main-66f56e2c.js'

[!note]
Suggested solution
Generate index.html to point directly to main-xxxxxx.js rather than server-xxxxxx.js with the require().

Working setup (Rubberhose 3)
Having a single panel declared in cep.config.ts works great.
// cep.config.ts
panels: [
    {
      mainPath: "./main/index.html",
      name: "main",
      panelDisplayName: "Rubberhose 3",
      autoVisible: true,
      width: 600,
      height: 650,
    },

  ],

Generates an index.html ending with
</script>

    <meta charset="UTF-8" />
    <link rel="icon" href="/favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Rubberhose 3</title>

    <link rel="stylesheet" href="../assets/index-fa1babaa.css">

The reference to main-0c1c973d.js is the real js code:
// main-0c1c973d.js
"use strict"
if (typeof exports === 'undefined') { var exports = {}; };function De(){}const bu=e=>e;function Se(e,t){for(const r in t)e[r]=t[r];return e}function Bp(e){return e()}function Pc(){return

...

If you have 2 panels with varying code bases, then there "should" be 3 JS files generated, one for each panel and one containing all shared assets.
example:
panel-a.js
panel-b.js
shared.js

However I believe the issue you're facing is caused by using the same index.html for both panels. Try separating them into something like:

./main/index.html
./server/index.html`

and update your cep.config.ts to:
    {
      mainPath: "./settings/index.html",
      name: "server",
      type: "Custom",
      startOnEvents: ["com.adobe.csxs.events.ApplicationInitialized", "applicationActivate"],
      autoVisible: false,
      width: 600,
      height: 650,
    },

That should resolve the issue.

That should resolve it, but if the issue pops up again, feel free to re-open this issue.

Confirmed: this works.
I misunderstood how panels load different html and js files –and how segmenting this data is good practice for reducing redundancies with unnecessary duplications.
Steps to fix this error
Create a new folder that matches the second panel mainPath: "./server/index.html",
├── src
│   ├── main
│   │   ├── index.html
│   │   ├── main.svelte
│   │   ├── main.ts
│   ├── server
│   │   ├── index.html
│   │   ├── main.ts

[!note]
Since the server panel is headless it doesn't need the main.svelte file for UI. Even more savings. Just had to include export {} at the end of the main.ts file to load correctly as a module.

Thanks @justintaylor-dev

I have 2 panel in separate folders with two index.html and entry ts files:

but got the same error:

The bolt-xxxxx.js is required by server-panel's index.js :

But modules.paths does not contains the <extension-folder>/assets:

@aztack are you on the latest version of vite-cep-plugin ?


disable echo

This project is perfect to me, thanks a lot.
I created a server by telnetlib. I want disable client echo the password input, but didn't work.
Finally I found the solution, client.enableRemote(1) can hide type from client.
But I want recover to normal echo, I called client.disableRemote(1) was catch the exception.
Who can help me?

I tried any methods, finally it is working.
disable echo: client.writer.writeDo(1)
enable echo: client.writer.writeWont(1)
I don't know why but it is worked.

I want something similar, I want to detect when echo is disabled, is this possible?
I need to look for IAC + WILL + 1.
I noticed client.options.keys will contain 1, but not if it was enabled or disabled.

I think I found a solution, something like this:
const { ECHO } = telnetlib.options;

const c = telnetlib.createConnection(
  {
    host: "aardwolf.org",
    port: 23,
    remoteOptions: [ECHO],
  },
  () => {
    c.on("enable", (option) => {
      if (option === ECHO) {
        // Enable password
      }
    });
    c.on("disable", (option) => {
      if (option === ECHO) {
        // Disable password
      }
    });
  }
);


Support grpc reflection in Istiod

This helps debugging using tools like grpcurl

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test unit-tests_istio

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test unit-tests_istio

integ-local-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-local-tests_istio

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test unit-tests_istio

integ-local-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-local-tests_istio

integ-distroless-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-distroless-k8s-tests_istio

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test unit-tests_istio

integ-local-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-local-tests_istio

integ-distroless-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-distroless-k8s-tests_istio

integ-galley-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-galley-k8s-tests_istio

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test unit-tests_istio

integ-local-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-local-tests_istio

integ-distroless-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-distroless-k8s-tests_istio

integ-galley-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-galley-k8s-tests_istio

integ-operator-controller-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-operator-controller-tests_istio

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test unit-tests_istio

integ-local-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-local-tests_istio

integ-distroless-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-distroless-k8s-tests_istio

integ-galley-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-galley-k8s-tests_istio

integ-operator-controller-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-operator-controller-tests_istio

integ-multicluster-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-multicluster-k8s-tests_istio

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test unit-tests_istio

integ-local-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-local-tests_istio

integ-distroless-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-distroless-k8s-tests_istio

integ-galley-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-galley-k8s-tests_istio

integ-operator-controller-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-operator-controller-tests_istio

integ-multicluster-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-multicluster-k8s-tests_istio

integ-mixer-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-mixer-k8s-tests_istio

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test unit-tests_istio

integ-local-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-local-tests_istio

integ-distroless-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-distroless-k8s-tests_istio

integ-galley-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-galley-k8s-tests_istio

integ-operator-controller-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-operator-controller-tests_istio

integ-multicluster-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-multicluster-k8s-tests_istio

integ-mixer-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-mixer-k8s-tests_istio

integ-pilot-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-pilot-k8s-tests_istio

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test unit-tests_istio

integ-local-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-local-tests_istio

integ-distroless-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-distroless-k8s-tests_istio

integ-galley-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-galley-k8s-tests_istio

integ-operator-controller-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-operator-controller-tests_istio

integ-multicluster-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-multicluster-k8s-tests_istio

integ-mixer-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-mixer-k8s-tests_istio

integ-pilot-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-telemetry-k8s-tests_istio

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test unit-tests_istio

integ-local-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-local-tests_istio

integ-galley-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-galley-k8s-tests_istio

integ-operator-controller-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-operator-controller-tests_istio

integ-multicluster-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-multicluster-k8s-tests_istio

integ-mixer-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-mixer-k8s-tests_istio

integ-pilot-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
1b7b74acd660d6ea42144e818149aa4837dc7ecb
link
/test integ-telemetry-k8s-tests_istio

integ-distroless-k8s-tests_istio
34e5fde386fad9d55936787bc08ab2ddcdb4d02f
link
/test integ-distroless-k8s-tests_istio

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

/retest

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
34e5fde386fad9d55936787bc08ab2ddcdb4d02f
link
/test unit-tests_istio

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

/retest


Docker didnt start because of a bug(?)

Hey,
just found that project and it seems to be a nice piece of software.
I used like here described https://docs.speedtest-tracker.dev/getting-started/installation docker-compose mysql.
My composefile:
user@speedtesttracker:~$ cat docker-compose.yml
version: '3.3'
services:
    speedtest-tracker:
        container_name: speedtest-tracker
        ports:
            - '8080:80'
            - '8443:443'
        environment:
            - PUID=1000
            - PGID=1000
            - DB_CONNECTION=mysql
            - DB_HOST=db
            - DB_PORT=3306
            - DB_DATABASE=speedtest_tracker
            - DB_USERNAME=speedy
            - DB_PASSWORD=password
        volumes:
            - '/home/user/speedtest:/config'
        image: 'ghcr.io/alexjustesen/speedtest-tracker:latest'
        restart: unless-stopped
        depends_on:
            - db
    db:
        image: mariadb:10
        restart: always
        environment:
            - MARIADB_DATABASE=speedtest_tracker
            - MARIADB_USER=speedy
            - MARIADB_PASSWORD=password
            - MARIADB_RANDOM_ROOT_PASSWORD=true
        volumes:
            - speedtest-db:/var/lib/mysql
volumes:
  speedtest-db:
user@speedtesttracker:~$

After docker compose up -d, something gets downloaded and started, but in fact the docker didnt start fully up (website isnt accessable).
So i tried only compose up, and get following in a loop:
speedtest-tracker  | --------------------------------------------------------------------
speedtest-tracker  |  ____                             ____  _     _        _   _
speedtest-tracker  | / ___|  ___ _ ____   _____ _ __  / ___|(_) __| | ___  | | | |_ __
speedtest-tracker  | \___ \ / _ \  __\ \ / / _ \  __| \___ \| |/ _` |/ _ \ | | | |  _ \
speedtest-tracker  |  ___) |  __/ |   \ V /  __/ |     ___) | | (_| |  __/ | |_| | |_) |
speedtest-tracker  | |____/ \___|_|    \_/ \___|_|    |____/|_|\__,_|\___|  \___/| .__/
speedtest-tracker  |                                                             |_|
speedtest-tracker  |
speedtest-tracker  | Brought to you by serversideup.net
speedtest-tracker  | --------------------------------------------------------------------
speedtest-tracker  |
speedtest-tracker  | To support Server Side Up projects visit:
speedtest-tracker  | https://serversideup.net/sponsor
speedtest-tracker  | -------------------------------------
speedtest-tracker  | GID/UID
speedtest-tracker  | -------------------------------------
speedtest-tracker  |
speedtest-tracker  | User uid:    1000
speedtest-tracker  | User gid:    1000
speedtest-tracker  | -------------------------------------
speedtest-tracker  |
speedtest-tracker  | 🔒 SSL_MODE has been set to MIXED, setting the web server to work in HTTP + HTTPS...
speedtest-tracker  | 🏃♂ Checking for Laravel automations...
speedtest-tracker  | 🔐 Linking the storage...
speedtest-tracker  | [2023-01-25 17:49:06] production.ERROR: The /var/www/html/bootstrap/cache directory must be present and writable. {"exception":"[object] (Exception(code: 0): The /var/www/html/bootstrap/cache directory must be present and writable. at /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php:178)
speedtest-tracker  | [stacktrace]
speedtest-tracker  | #0 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(137): Illuminate\\Foundation\\PackageManifest->write()
speedtest-tracker  | #1 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(107): Illuminate\\Foundation\\PackageManifest->build()
speedtest-tracker  | #2 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(90): Illuminate\\Foundation\\PackageManifest->getManifest()
speedtest-tracker  | #3 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(79): Illuminate\\Foundation\\PackageManifest->config()
speedtest-tracker  | #4 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\\Foundation\\PackageManifest->aliases()
speedtest-tracker  | #5 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(242): Illuminate\\Foundation\\Bootstrap\\RegisterFacades->bootstrap()
speedtest-tracker  | #6 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(383): Illuminate\\Foundation\\Application->bootstrapWith()
speedtest-tracker  | #7 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(153): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
speedtest-tracker  | #8 /var/www/html/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
speedtest-tracker  | #9 {main}
speedtest-tracker  | "}
speedtest-tracker  |
speedtest-tracker  | In PackageManifest.php line 178:
speedtest-tracker  |
speedtest-tracker  |   The /var/www/html/bootstrap/cache directory must be present and writable.
speedtest-tracker  |
speedtest-tracker  |
speedtest-tracker  | s6-rc: warning: unable to start service laravel-automations: command exited 1
speedtest-tracker  | /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
speedtest-tracker  | prog: fatal: stopping the container.

Docker and Compose just runs fine. nginx reverse proxy and pi-hole as quick test just runs fine.
Edit:
OS Clean install of Debian 11.

Have you checked that your PUID and PGID values are both correct?
Those values have to match with the owner or user that has access to /home/users/speedstest.
You can easily check by using:
id <username>

^ correct double check your ids as is a common config that can cause those write permissions

Uid and guid are 1000.
Gesendet mit pEp für Android.

@alexjustesen I also faced the same issue while setting up in RaspberryPi OS (Debian GNU/Linux 11). And when checked PUID and PGID its 1000

@solisinvictum and @NaveenKumarMN20 v0.11.1 was just released. Mind testing and f you continue to have issues please post in this discussion.
https://github.com/alexjustesen/speedtest-tracker/discussions/364


Test failure: SSETransportStopsWithErrorIfSendingMessageFails

This test fails occasionally with the following error:
Assert.Throws() Failure
Expected: typeof(System.Net.Http.HttpRequestException)
Actual:   typeof(System.TimeoutException): Operation in SSETransportStopsWithErrorIfSendingMessageFails timed out at /_/test/Microsoft.AspNetCore.SignalR.Client.Tests/ServerSentEventsTransportTests.cs:211
   at System.Threading.Tasks.TaskExtensions.<OrTimeout>d__6`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
------- Stdout: -------
| [0.000s] TestLifetime Information: Starting test SSETransportStopsWithErrorIfSendingMessageFails at 2018-08-19T08:21:48
| [0.009s] TestLifetime Information: Starting test SSETransportStopsWithErrorIfSendingMessageFails at 2018-08-19T08:21:48
| [0.010s] Microsoft.AspNetCore.Http.Connections.Client.Internal.ServerSentEventsTransport Information: Starting transport. Transfer mode: Text.
| [4.979s] TestLifetime Information: Finished test SSETransportStopsWithErrorIfSendingMessageFails in 4.8914184s
| [4.991s] TestLifetime Information: Finished test SSETransportStopsWithErrorIfSendingMessageFails in 4.9097814s

Other tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.
This test failed on master.
CC @muratg
This issue was made automatically. If there is a problem contact ryanbrandenburg.

Please use this workflow to address this flaky test issue, including checking applicable checkboxes and filling in the applicable "TODO" entries:

Is this actually a flaky test?

No, this is a regular test failure, fix the test/product (TODO: Link to commit/PR)
Yes, proceed below...

Is this test failure caused by product code flakiness? (Either this product, or another product this test depends on.)

[ ] File a bug against the product (TODO: Link to other bug)
Is it possible to change the test to avoid the flakiness?

Yes? Go to the "Change the test!" section.
No?

[ ] Disable the test (TODO: Link to PR/commit)
[ ] Wait for other bug to be resolved
[ ] Wait for us to get build that has the fix
[ ] Re-enable our test (TODO: Link to PR/commit)
[ ] Close this bug

Is it that the test itself is flaky? This includes external transient problems (e.g. remote server problems, file system race condition, etc.)

Is there is a way to change our test to avoid this flakiness?

Yes? Change the test!

[ ] Change the test to avoid the flakiness, for example by using a different test strategy, or by adding retries w/ timeouts (TODO: Link to PR/commit)
[ ] Run the test 100 times locally as a sanity check.
[ ] Close this bug

No?

Is there any logging or extra information that we could add to make this more diagnosable when it happens again?

Yes?

[ ] Add the logging (TODO: Link to PR/commit)

No?

[ ] Delete the test because flaky tests are not useful (TODO: Link to PR/commit)

This comment was made automatically. If there is a problem contact ryanbrandenburg.

SSETransportStopsWithErrorIfSendingMessageFails failed with about the same error on master.
This comment was made automatically. If there is a problem contact ryanbrandenburg.

@anurse could you take a look/reroute?

@BrennanConroy is investigating but so far hasn't had much luck.

SSETransportStopsWithErrorIfSendingMessageFails failed with about the same error on master.
This comment was made automatically. If there is a problem contact ryanbrandenburg.

SSETransportStopsWithErrorIfSendingMessageFails failed with about the same error on master.
This comment was made automatically. If there is a problem contact ryanbrandenburg.

We've now identified that both this test failure and https://github.com/aspnet/SignalR/issues/2832#issuecomment-415905393 seem to be caused by an AccessViolationException in Exception.ToString() called when logging. This is occurring in product code but we're not yet sure the root cause. CLR team is engaged.

This is caused by https://github.com/dotnet/coreclr/issues/19698 (.NET Core) / https://devdiv.visualstudio.com/DevDiv/_workitems/edit/672340 (.NET Framework)

@BrennanConroy is going to disable logging for these tests and file an issue in the 3.0 milestone to restore it (which is where the CLR bug is scheduled to be fixed). When logging is disabled I think this issue can be closed.

Fixed https://github.com/aspnet/SignalR/pull/2880


'Invalid URI: The hostname could not be parsed.' on startup

Hi, I'm having issues writing and running a Function App with .NET 5 in isolated mode. I'm using VS Code on a Mac.
Fresh install of AZ CLI, .NET SDK.  Ran func init MyHealthyFuncApp in an empty folder.
I added a simple function class:
public class MyFunction
    {
        [Function(nameof(SayHello))]
        public static HttpResponseData SayHello([HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = null)] HttpRequestData req,
    FunctionContext executionContext)
        {
            var response = req.CreateResponse(HttpStatusCode.OK);
            response.Headers.Add("Date", "Mon, 18 Jul 2016 16:06:00 GMT");
            response.Headers.Add("Content-Type", "text/plain; charset=utf-8");

            response.WriteString("Hello!");

            return response;
        }
    }

then added the missing Nuget packages, Microsoft.Azure.Functions.Worker.Extensions.Abstractions and Microsoft.Azure.Functions.Worker.Extensions.Http (BTW, I would also suggest adding these to the samples, instead of directly reference the projects). No other changes.
When I launch the project, I immediately get this exception:
Unhandled exception. System.UriFormatException: Invalid URI: The hostname could not be parsed.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at System.Uri..ctor(String uriString)
   at Grpc.Net.Client.GrpcChannel.ForAddress(String address, GrpcChannelOptions channelOptions)
   at Microsoft.Extensions.DependencyInjection.GrpcServiceCollectionExtensions.<>c.<AddGrpc>b__1_1(IServiceProvider p) in D:\a\1\s\src\DotNetWorker.Grpc\GrpcServiceCollectionExtensions.cs:line 58
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass1_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at MyHealthyFuncApp.Program.Main() in /Volumes/Titano/Sources/dotnet/azure-functions-healthchecks/MyHealthyFuncApp/Program.cs:line 16
   at MyHealthyFuncApp.Program.<Main>()

any idea?

Can you share your project file? This looks like an issue that was resolved prior to GA.
By the way, there should be no need to reference the abstractions package directly.

hi @fabiocav, thanks for replying! I've pushed the sources here: https://github.com/mizrael/azure-functions-healthchecks/
By the way, you were right about the Abstractions package. I just had to reference Microsoft.Azure.Functions.Worker.Extensions.Http.

not sure if this helps, but I just had this same error when starting by pressing F5 in vscode, but if I try to run the same app by using func host start it runs without expections.

thanks @eriklieben , you're right, func host start works fine. Launching the project with either VS Code or VS for Mac doesn't work.

Tooling support is still pending for this model, so the environment is not correctly setup by default when using them. The recommendation is to indeed use Core Tools in the meantime. Thanks!

thanks @fabiocav. What about debugging then? Should we rely on logic abstraction and unit/integration tests in the meantime?

We have some instructions on how to debug here: https://github.com/Azure/azure-functions-dotnet-worker#visual-studio , but let me know if you have any problems with that.

This is happening in our project using the methods listen above to run

Any progress on this issue? I am encountering it as well.
I have these packages installed:
 <ItemGroup>     <PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.2.0" />     <PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Abstractions" Version="1.0.0" />     <PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.13" />     <PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.0.3" />     <PackageReference Include="Newtonsoft.Json" Version="13.0.1" />   </ItemGroup>

Any progress on this issue? I am encountering it as well.

How are you starting it? If I use Rider and try and run it as a .NET project it fails with the errors above, but if I use Rider, or the command line to execute func host start it's fine.


Add Chaindrop Faucet to the ecosystem

Title of your project
Chaindrop Faucet
Short (1-2 sentence) description of your project
ChainDrop offers an effortless way to access Web3 test tokens. With just one click, you can receive free Web3 test tokens directly into your wallet.
Link to your project
chaindrop.org
Live on Testnet
Yes (default)
If your project is live on one of Taiko's testnets, please provide evidence of that here (eg. links, screenshots).
https://chaindrop.org/?chainid=167005&token=0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Upload a quality logo to your project

Could you provide a square logo? otherwise the logo would look like that on our ecosystem page:

Square logo:


Building async local index by IndexTool generate wrong data

Issues description : https://issues.apache.org/jira/browse/PHOENIX-3555

I got the same problem .  after i  create an async index on a table, for example , the sql ,"select count(*) from ta where  somecondition" ,always return  wrong results. when i drop then index, the results become right .

Because the rowkey of index is wrong(reference above link).Until now, i can't resolve the problem,you should change the datatype of pk and try again.


Set up Travis CI

Now we have some tests (and hopefully more to come) we can get going with a Travis CI instance to verify PRs

Done.


Fix previous milestones section

Fix the commit message.

@dobbymoodge Can you take a look at the travis tests failing.

@danmcp current activesupport doesn't support ruby 2.0 any longer. I'll look at locking in a working version

That is, doesn't support Ruby < 2.2


Add a Selector class for keeping track of quality cuts

This replaces the older utils.CutFlow with a  new Component class that can be configured from a config file.  It is a class that can apply a series of quality criteria to an object, and keep track of totals (e.g. for cuts that happen per-event, before data are written to an output table) - it doesn't reject events, rather it just keeps track of which criteria pass.   The totals can also be written to an output file, as an astropy.Table.
It's used like so:

criteria = [
    ('criteria_1',  'lambda x: (x>2.0) and (x < 100)') ,
    ('another_check', 'lambda x: x < 3'),
]
select = Selector(selection_functions=criteria) # can also be configured from a config file

# assuming the input is always the same type, we just call select(input) for each item:
for ii in range(100):
    result = select(ii) # result is an array of bools for each criterion
    if all(result == True):
         # do stuff

print(select.to_table()) # shows the total results as a table, with both individual and cumulative product sums.

Table output (from the unit test)
In [11]: select.to_table(functions=True)
Out[11]:
<Table length=4>
      criteria       counts cumulative_counts        func
       str20         int64        int64             str17
-------------------- ------ ----------------- -----------------
               TOTAL      4                 4    lambda x: True
         high_enough      3                 3   lambda x: x > 3
a_value_not_too_high      3                 2 lambda x: x < 100
            smallish      2                 1  lambda x: x < 10

You can also for example store the results in an output table with HDF5TableWriter, as a column of flags, for each event.
Note for example, you could pass it a Container or something if you wanted and have criteria like:
[
    ('good_min_width': 'lambda hillas: hillas.width > 0.2'),
    ('good_min_length': 'lambda hillas: hillas.length >1.0)'
]

An example can be found in #1163 , where it's used to select good images, configured as follows in a JSON file:.
  "ImageSelector": {
        "selection_functions": [
            ["enough_pixels", "lambda im: np.count_nonzero(im) > 2"],
            ["enough_charge", "lambda im: im.sum() > 100"]
        ]
    }

Caveats:

The name 'Selector' may be confusing since there already exists a GainSelector that is a different thing altogether (suggestions for a better name, or keep this one? I had originally called it 'Checker')
Currently the critieria are stored as a dict, but there is a strong assumption on order (for the cumulative product), so perhaps this is not a good idea if the data will be written to e.g.  a YAML file in the future, where dicts don't preserve order (in pyyaml at least).  Perhaps a list of tuples would be better? or a list of dicts?

to mitigate security issue of using eval here, see https://github.com/cta-observatory/ctapipe/pull/1163#issuecomment-597003077

@kosack the cutflow tests fail now

I've now made the security changes requested, and also switched to using a list of tuples  of (criteria_description, selection_function) for configuration.
One further simplification could be to remove the criteria_description, so you just have the function string, and no more detail.  Any preference whether or not we keep the descriptive name or not?

The name 'Selector' may be confusing since there already exists a GainSelector that is a different thing altogether (suggestions for a better name, or keep this one? I had originally called it 'Checker')

This reminds me of pandas.DataFrame.query. So how about the class being called Query? It does not seem like this class is doing any selecting itself...it is instead just querying the data.

This reminds me of pandas.DataFrame.query. So how about the class being called Query? It does not seem like this class is doing any selecting itself...it is instead just querying the data.

That's not a bad idea - yes, it does not drop anything, that's still up to the user, it just returns an array of which criteria passed and keeps a running total. Originally I think I called it DataChecker, but didn't really like that term (but maybe it was ok).  Query may be too generic a term since there will be other queries, potentially like for databases.  Perhaps QualityQuery?  The purpose is to evaluate a set of criteria  on the same object (event, images, etc).
It's only useful for event-wise analysis, of course, anything operating on all events at once like a DataFrame would just use frame.query() as you suggest.
In a standard analysis there would be one of these for:

checking if images in an event should be parameterized (just to avoid errors, or to reduce DL1 data size, but perhaps it's not a good idea to make such cuts and store all events?)
checking if telescopes in an event should be used in reconstruction
checking if an event should be reconstructed at all

If we switch to "chunked" analysis, where we write out DL1 tables and reconstruct them whole, then this is better done another way. So it's just a stop-gap until then and could eventually be dropped.


Title on Android is the touchId fallback text on iOS

There appears to be a bit of a logical oddity around the presentation of the "Title" passed in.
On Android, the title is presented exactly as such i.e.

On iOS, the Title is actually used as the fallbackTitle (i.e. Use PIN).

I can't imagine a case where a multi-platform app would have the same text in a biometric prompt, as well as the fallback option.
Possible solution might be to hardcode Title to "Use PIN" on iOS for the same behaviour.
Happy to raise a PR for this, but wanted to work out if this was intentional before just raising it.

hmm yes, setting localizedFallbackTitle to nil makes more sense for ios.

fixed with https://github.com/smallcase/react-native-simple-biometrics/commit/a6a1b9c53c17baba51aaf06142c8597db3600733


Add csr to rp controller

What type of PR is this?

/kind bug

What this PR does / why we need it:
In scaleout, the RP controller will need to run the CSR related ones to get the bootstrap working for Arktos.
--controllers=serviceaccount,serviceaccount-token,nodelifecycle,ttl,daemonset,csrsigning,csrapproving,csrcleaner

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Verified 2tp*2RP kubemark started successfully.
Does this PR introduce a user-facing change?:

/approve


GitHub actions workflows

For now merging without a deployment pipeline because it's still not determined wether it will be a cloud function or a kubernetes pod


TCP/UDP Trigger

TCP/UDP trigger compatible with Project Flogo 0.9.0 APIs

@vijaynalawade  @mellistibco  Can I suggest a change ? I wrote a udp trigger a while ago https://github.com/ayh20/flogo-components/tree/master/trigger/udp  and for 99.9% of UDP messages you need to be able to handle data other than strings.   In mine I had a string output AND a ANY type output so that all other data types could be handled downstream.

@ayh20 Thanks for the suggestion. Will update trigger output to ANY.


Bugs/46/121 i18n wire forms fix

Tasks:

https://onramper.atlassian.net/browse/ONRMP-120

https://onramper.atlassian.net/browse/ONRMP-121

this is also related to a PR from the server side:
https://github.com/onramper/server/pull/54

Has the screen in the Wyre flow after the screen containing the Terms of Use also been translated? Please verify.

that part is really a hybrid between widget and server, to have the full picture please use the server using the branch bugs/46/121-i18n-wire-forms-fix
I think it may be related to this


Where do I get the rkey value in "def delete_bloot(self, did,rkey)" function?

I see in the JSON there is a CID and of course the DID, but the method "delete_bloot" is asking for an rkey.  Not sure where to grab that from?  Any advice would be most helpful.  Thank you!

it's just the slug!

documented 80e360c

Brilliant.  Thanks!


Allow the tip title channel to contain rich text or markup

Hi,
I would like for example to have in bold the first line of tooltip (it’s a title) and to add a hyperlink at the end of the tooltip text.
I think it would be very helpful and informative.
Thank you

It would be very cool if one could use a feature like the one suggested here to put a plot inside of a tooltip – eg. imagine a scatterplot where each dot represents a group of datapoints, and hovering on a datapoint can show you more details about the points inside that particular group (eg. the distributions of some other variables).

Saw this interesting use of tippy to generate html tooltips for Plot.
https://observablehq.com/d/baeb8cbead1ed3d2

Just to add a bit to this (I was encouraged to post here by @Fil): it would be very nice to be able to have "aggregated" tips, where pointerX somehow allows us to report all values on the chart at the X position the mouse cursor exists at. Like this:

Happy to try to work on this together if people are interested in this.

Here’s an example of grouped tips: not as advanced as what you're suggesting, but I'm using Plot to generate it so it's easy to expand with marks and transforms.
https://observablehq.com/@recifs/plot-grouped-tips

Upvoting as I also have a use case for rich text, etc tool tips. In particular, I want to be able to embed images or custom marks in the tooltip. Thanks!

@joe-bruce Can you please also upvote by adding a 👍 reaction to the top post? That way we can track the number of upvotes by sorting issues. Thank you.

Something relatively “easy” we could do: a custom format function for a channel value could return an SVG TSPAN or A element, allowing the text to be styled and hyperlinked. Essentially we’d change this line here to append the returned value directly rather always wrapping it in a text node:
https://github.com/observablehq/plot/blob/f55155b779840df961e2ff1f1f12afb7b41081d4/src/marks/tip.js#L197C18-L197C68

Hi @mbostock, does the great latest release - "The new format tip mark option enables greater control over order and formatting of channels." - help me to reach my goal or part of it?
I think yes, but before getting emotional, I wanted to be certain.
Then I'll have to figure out how to use it, because I'm too bad at it. But at least I'm poor, but happy.
What do you think: should I close this issue?

No @aborruso, the new custom format is still limited to plain text formatting, not rich text. Sorry! That is why we have this separate issue.

Another direction to explore here could be a content channel that returns arbitrary SVG content. This would take priority over the default display (similar to the title channel taking priority over the default display of all channels), and allow rendering arbitrary content albeit using a lower-level API — for example, you could generate SVG foreignObject elements using htl.svg.

If the href channel exists, the tip should open the page (maybe with a second click on a link icon?)

For a simple customization, I would love to be able to attach the color swatch to a custom channel.

One thought I have is that this feature will make charts a lot more actionable as well. One concrete example: say we visualize a fleet of servers by a few compliance requirements (kernel version, health metrics), and bin servers based on the type of issue present. A tooltip could offer a (downloadable) document of instructions to fix the corresponding issue, as well as a list of all the affected hosts. Such a tool will make SiteOps' life much easier.
Upvoted this issue after discussing some cool features with Yuri who is already on this thread.

I would really love this. I've spent the last couple days looking through the code trying to figure out if this is possible at all. In particular, I have the use case where the label I want to show for the channel changes depending on my data series. I have a line chart where I am plotting people's writing progress against a par line over the course of (say) a month, and I want the tooltip to say "{Name}}: {{Count}} (color swatch)".


NPE in ApiUsers.updateKycDocument

Hi,
We have a NPE when receiving the response of an API call :
java.lang.NullPointerException: null
	at java.io.Reader.<init>(Reader.java:78)
	at java.io.InputStreamReader.<init>(InputStreamReader.java:97)
	at com.mangopay.core.RestTool.doRequest(RestTool.java:400)
	at com.mangopay.core.RestTool.request(RestTool.java:142)
	at com.mangopay.core.APIs.ApiBase.updateObject(ApiBase.java:435)
	at com.mangopay.core.APIs.ApiBase.updateObject(ApiBase.java:406)
	at com.mangopay.core.APIs.ApiUsers.updateKycDocument(ApiUsers.java:343)
	at com.hopwork.notifier.compliance.MangoKYCFileHandler.sendKycDocument(MangoKYCFileHandler.java:216)
	at com.hopwork.notifier.compliance.MangoKYCFileHandler.complianceFileValidated(MangoKYCFileHandler.java:148)

This is for the API : /users/{USER_iD}/KYC/documents/{DOCUMENT_ID}   (PUT)
it seems to be located here :
            // get response
            this._responseCode = _connection.getResponseCode();
            InputStream is;
            if (this._responseCode != 200 && this._responseCode != 204) {
                is = _connection.getErrorStream();
            } else {
                is = _connection.getInputStream();
            }

            StringBuffer resp;
            try (BufferedReader rd = new BufferedReader(new InputStreamReader(is, "UTF-8"))) {
                String line;
                resp = new StringBuffer();
                while ((line = rd.readLine()) != null) {
                    resp.append(line);
                }
            }

The symptom, "is" is null. We know that the api calls are successfull because the kyc document is correct on the mangopay dashboard.
So we can only suppose that it's null because this._responseCode is neither 200 nor 204 but getErrorStream return null.

Hey @hlassiege, could you confirm what version of Java and which SDK version you're using? And also, could you confirm what happens when you run the SDK unit tests?

We are using java 1.8 and SDK 1.2.3.

OK, thanks. After further investigation, it seems likely that there has infact been an impact to Java clients following our API update yesterday morning. We're looking into this asap and will update you shortly :-)

Could you give us an update today ?

Hey @hlassiege, I'm afraid we still haven't been able to see where this is coming from, but we have been investigating all day. We'll provide another update tomorrow or as soon as we know more.

Problem seems to be in the back-end.
On the Java SDK, I ran a test which at one point calls 'https://api-test.mangopay.com/v2.01/sdk-unit-tests/users/2835270/KYC/documents/2835271' with the necessary data, but the HTTP status line (first header line) which should be something like 'HTTP/1.1 200 OK' or 'HTTP/1.1 204 No Content' is read as 'unknown/unknown'.
Should be a short debugging session on the server to pinpoint the problem, as it's quite major.

Hi, do you have some news about this problem ?

Hey @hlassiege , we've just identified the rootcause. We have an issue with our logging on 204 response code. This will be fixed on Tuesday, Jan 24 at the latest. In the meantime the KYC doc workflow is actually working: you can still create a doc, upload a page and update the doc.
We apologize for the inconvenience.

I wouldn't say the workflow is working. The update fails on our site because of this NPE. So from our perspective, every update is failing and we don't know if it's for a "regular" reason or if this is really failing.
So from our side, all documents are in error.
We will have to browse every documents since the 17 and check if this is ok on the mangopay dashboard and update our data in our database.
So, I won't say the workflow is working. And the consequence for us are important.

Indeed in the meantime you can check on the Mangopay Dashboard and if you need any additional check, feel free to contact<EMAIL_ADDRESS>We know that it is time consuming for you and we apologize for this. Please be assured that this fix is our top priority.

any news ?

any news ?

The issue has been fixed


Possible incompat with Terrablender

https://pastebin.com/PTbCiuUi

its incompatible with Charm

Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: LVT in net/minecraft/class_634::method_11112(Lnet/minecraft/class_2604;)V has incompatible changes at opcode 77 in callback charm.mixins.json:event.ClientSpawnEntityMixin->@Inject::hookOnEntitySpawn(Lnet/minecraft/class_2604;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;Lnet/minecraft/class_1299;)V from mod charm.

Issue still fires without Charm. Will get back with more info when I get my PC back later.

https://github.com/wisp-forest/owo-lib/issues/40
This issue contains crash reports without Charm

There is no possible way this mod could be incompatible with a mod that does biome work. All it does is add a single mob that doesn't even naturally spawn. Hell, I would be surprised if it's incompatible with any mod at all.
If you're gonna be reporting things like this to every mod mentioned in the crashlog, please try to isolate the issue first. Mods often get mentioned because something they do fails later on. Example, my packet stuff is mentioned, but there's no way that's what caused the initial crash, it's just a side effect. The packets couldn't register because the game crashed earlier.
If you can make the crash happen with just luggage and terrablender installed, please reopen the issue. Otherwise, this crash wasn't caused by this mod.


add emoji animation

This PR adds emoji animation to live chat component

Hello @demonicirfan
This is a nice addition, but I guess the emojione is archived. And the continued repository is emoji-toolkit
Shall we use the currently maintained package? Please have a look.
Thank you!


Captcha image not showing on login page when using Internet Explorer 11

Description of bug
The default DNN authentication provides you the ability to show a CAPTCHA control on the login page.
It has come to our attention that the CAPTCHA image is not shown in Internet Explorer 11 when the X-Content-Type-Options: nosniff header is used. The CAPTCHA control works normally in:

Chrome
Firefox
Edge (legacy)
Edge (chromium)

Steps to reproduce

Enable CAPTCHA for login.
Enable the X-Content-Type-Options: nosniff header.
Navigate to the login page.
The CAPTCHA image is not displayed

Current behavior
The CAPTCHA image is not displayed
Expected behavior
The CAPTCHA image is displayed.
Affected version

[ ] 10.00.00 alpha build (in development)
[x] 09.06.01 latest supported release

[ ] Chrome
[ ] Firefox
[ ] Safari
[x] Internet Explorer 11
[ ] Microsoft Edge (Classic)
[ ] Microsoft Edge Chromium

A couple of small notes.
We no longer actively test for Internet Explorer as their is no good reason for anyone using this browser in this day and age. That being said, if a PR with a fix comes in that does not interfere with other modern browsers, we would be glad to accept it, but my question is: Is anyone willing to invest time in digging into this issue and submitting a fix?
Also, do we know it is a Dnn issue or rather an IE issue?
I will put this issue in "Pending Verification" to see if anyone has more context on an intention to work on this..

The CAPTCHA handler appears to just write a JPEG to the output stream without any headers or anything https://github.com/dnnsoftware/Dnn.Platform/blob/cc61549005ab5ea1c66fa91670931642a62893e4/DNN Platform/Library/UI/WebControls/CaptchaHandler.cs#L33-L43
I'm kind of surprised that this works on newer browsers, nosniff should prevent them from display content without a content type as an image.  I think we just need to set a content-type header and that would make things better.

I added the content type. Seems to be working in IE 11 locally now. Will submit a PR soon.

Thanks @bdukes for pointing me in the right direction and @donker a.k.a. StayAtHomeDNNer for the fantastic youtube playlist explaining how to build DNN.