[FEATURE] Support remote workspace for RunJobTask

Is your feature request related to a problem? Please describe.
Databricks does not natively support RunJob task for remote workspaces.
Cloud Information

[x] AWS
[x] Azure
[x] GCP
[ ] Other

Describe the solution you'd like
Current implementation of the RunJobTask should be able to use native Run Job functionality for the jobs in the same workspace or use API to trigger job in the remote workspace.
Describe alternatives you've considered
Custom script that calls API
Additional context
Add any other context or screenshots about the feature request here.

Work in progress. Just need to add the tests.


Updating env variable logic

Fixes https://github.com/Azure/docker-login/issues/18
Replaced the set-env logic with exportVariable function of @actions/core library.

Yes, I tested it before and after the change. It does remove the warning.


Fix TLBC image deployment in CircleCI

Mainnet TLBC pre-releases should be deployed on changes of the tlbc-node/pre-release branch, not the laika-node/pre-release branch.

Codecov Report

Merging #551 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #551   +/-   ##
=====================================
  Coverage      76%    76%
=====================================
  Files          18     18
  Lines         925    925
=====================================
  Hits          703    703
  Misses        222    222

Flag
Coverage Δ

#bridge_end2end
0% <ø> (ø)
:arrow_up:

#bridge_unit
76% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


eslint-plugin-react required?

its not clear why this module would be necessary, or why its not in the pre-req modules if it is necessary.
$ npm install standard
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g
<EMAIL_ADDRESS>node_modules/standard

$ ./node_modules/.bin/standard api.js
Error: Use JavaScript Standard Style (https://github.com/feross/standard)

Unexpected Linter Output:
module.js:340
    throw err;
          ^
Error: Cannot find module 'eslint-plugin-react'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)

@donpdonp hmm its in the dependencies here https://github.com/feross/standard/blob/master/package.json#L19
maybe try installing standard again and seeing if that fixes it? might be an npm bug or something...

I tried it in a project directory that had dozens of other npm packages installed. using standard from a clean directory appears to work fine. thx.
donp@wafer:~$ mkdir a
donp@wafer:~$ cd a
donp@wafer:~/a$ npm install standard
<EMAIL_ADDRESS>node_modules/standard
├──<EMAIL_ADDRESS>...
donp@wafer:~/a$ touch blank.js
donp@wafer:~/a$ ./node_modules/.bin/standard blank.js
donp@wafer:~/a$

I chalk this one up to npm gremlins, which are rarer than past days, but still lurk in the shadows from time to time


How to support VUE?How do I support multiple Windows，Only one project at a time？

Lapce Version
0.2.0
System information
macos
Describe the bug
How to support VUE?How do I support multiple Windows，Only one project at a time？
The first question is：how can i use VUE plugin? you can see  that there is no highlighting in my VUE file.
The second question is : Don't you support multiple projects open at the same time？

How to support VUE?

VUE highlighting has not been added to Lapce, there are some people working on adding Vue/Vue3

How do I support multiple Windows，Only one project at a time？

In command palette, run Create new window tab

Don't you support multiple projects open at the same time？

We have tabs for opening different projects but we don't support opening multiple projects in a workspace (like VSCode)

Syntax highlight fixed via #1326


[BugFix]it stuck when executing create table stmt with a bucket num > 2048

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_admit_test


components.d.ts has an error prompt.

I tried to use unplugin-vue-components to automatically import components.
After the dependency is installed, the page can be displayed normally.
However, in components.d.ts file has the following prompts:

Restarting vscode doesn't work either, but the page is displayed correctly.

maybe a shims-vue.d.ts can help..
declare module '*.vue' {
  import type { DefineComponent } from 'vue'
  const component: DefineComponent<{}, {}, any>
  export default component
}

It does't work. the default project template has env.d.ts that content is you provided

maybe a shims-vue.d.ts can help..
declare module '*.vue' {
  import type { DefineComponent } from 'vue'
  const component: DefineComponent<{}, {}, any>
  export default component
}

It does't work. the default project template has env.d.ts that content is you provided

Run Extensions: Show Built-in Extensions from VS Code's command palette, look for TypeScript and JavaScript Language Features, then right click and select Disable (Workspace). By default, Take Over mode will enable itself if the default TypeScript extension is disabled.
Reload the VS Code window by running Developer: Reload Window from the command palette.

above message provide in  vite template vue-ts  readme.md , I try, it's work!

Include components.d.ts to tsconfig.json will be solved:
{
  "compilerOptions": {
    ...
  },
  "include": [
    "components.d.ts", // <== add this line
    "src/**/*.ts",
    "src/**/*.d.ts",
    "src/**/*.tsx",
    "src/**/*.vue"
  ]
}

Include components.d.ts to tsconfig.json will be solved:
{
  "compilerOptions": {
    ...
  },
  "include": [
    "components.d.ts", // <== add this line
    "src/**/*",
    "src/**/*.vue"
  ]
}

Thanks, this helps resolve the problem


Storing the target items of the invoice

Isn't there some way to store the target items (id and type) of the items added to the cart?

No, because these kind of features are very business case / app specific.
Also, note that ordered items (to be invoiced) are usually stored on an Order model with references to the Product catalog.


Browse recent not refreshing

I just uploaded a very nice collection from U Nottingham
http://bibsoup.net/pitman/nottingham_computer_science
which displays beautifully  (compare http://ima.ac.uk/index.php?option=com_ownbiblio&view=ownbiblio&Itemid=25 )
but for some reason it is not showing up in
http://bibsoup.net/ beneath "Browse recent collections".
Previously a new collection showed at top of this list. This is very gratifying to the uploader, and we should try to
maintain this response I think to encourage participation.

This is fixed in the current code, but not yet pushed to the service. We just changed the key for sorting these on, so need to update the old data. Should be done today/ tomorrow, so closing ticket as already resolved in current code.


How do I produce the same VSIX as the version from the store?

Hello,
Currently I'm trying to make some changes to the Powershell script, but if I build the Visual Studio solution it appears to produce a different version of clang-build.ps1. From what I can tell some scripts are merged. Is it documented somewhere how to produce the VSIX from the store?
Thanks,
Duncan

Hi,
I'm afraid the steps for building the VSIX package are not documented on GitHub.
You will need VS2017 for that (with VS Extensibility SDK component)

Yeah I use Visual Studio 2017 to compile and it works fine, but clang-format.ps1 is much smaller than the one in the store. I think the included powershell files are put directly in the file but it’s not happening automatically...

Ah, I see what you mean, now...
We recently refactored the old clang-build.ps1 file and split it into several smaller files.
These are all located in the psClang directory. They all have to be included in the VSIX package now.
Our current version (3.4.2) from the Store still uses the old big standalone PowerShell script.
The next version (3.5) will be the first to ship the refactored code (currently on master branch).

Ah okay! For now I’ll just manually copy the psClang directory in the vsix
file then :)
On Tue, 29 May 2018 at 14:15, Victor<EMAIL_ADDRESS>wrote:

Ah, I see what you mean, now...
We recently refactored the old clang-build.ps1 file and split it into several
smaller files.
These are all located in the psClang
https://github.com/Caphyon/clang-power-tools/tree/master/ClangPowerTools/ClangPowerTools/psClang
directory. They all have to be included in the VSIX package now.
Our current version (3.4.2) from the Store still uses the old big
standalone PowerShell script.
The next version (3.5) will be the first to ship the refactored code
(currently on master branch).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Caphyon/clang-power-tools/issues/341#issuecomment-392754781,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWCmWIMrCB59eGpbZrJdR4-OCF-MOzlks5t3TvogaJpZM4URWRW
.

Fixed in #347


Feature Request- clean up videcall entries

My Setup

Operating System: KDE Neon 5.20  on ubuntu 18.04
App Version: 3.1.1
Installation type: deb

[x] I have tested with the latest version
[x] I can simulate the issue easily

Description
clean up video call entries
Current Behavior
when I initiate an vide call, there is an entry in the chat, so far so good.

Expected Behavior
Delete the entries like normal chat entries,...

I think, that it's not Electron issue itself, but whole RocketChat front-end.
So, IMHO, proper repo for that issue will be https://github.com/RocketChat/Rocket.Chat/

OK, sorry.


fix trigger test imports

Fix tests cannot be run independently, e.g.,
python -m pytest tests/chainer_tests/training_tests/triggers_tests/test_manual_schedule_trigger.py

LGTM


Custom HTML attributes for forms and fields (form-row)

Do you have any examples?
https://alpinejs.dev/essentials/templating#toggling-elements
Is it a third party application feature request?
For example: No
In case of third party application, when it was updated last time?
Not applicable
Describe your feature request
It would be interesting to have the ability to add custom attributes at both form and field level (including their title, i.e. form-row). This would allow, in a very simple way and without having to overwrite templates (which have the inconvenience of having to revise after updates), to add Alpine.js capabilities such as showing or hiding fields depending on the values you have in other fields (x-show).
I think you could use an approximation similar to that of:
https://github.com/unfoldadmin/django-unfold/pull/11/files
Do you think it would be useful and could be implemented?

A simple example, how to add custom attributes to form fields:
from django import forms

class PostForm(forms.ModelForm):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        # checkbox
        self.fields["public_author"].widget.attrs.update({
            'x-ref': 'public_author_checkbox',
            'x-on:change': '$refs.author_name_input.disabled = !$refs.public_author_checkbox.checked'
        })
        # input
        self.fields["author_name"].widget.attrs.update({
            'x-ref': 'author_name_input',
            'x-bind:disabled': '!$refs.public_author_checkbox.checked'
        })

Finally connect form with admin model:
from django.contrib import admin
from unfold.admin import ModelAdmin

@admin.register(Post)
class PostAdmin(ModelAdmin):
    list_display = ('id', "title", "author_name")
    form = PostForm

But this would not include the labels, only the fields, or am I wrong?

A simple example, how to add custom attributes to form fields:
from django import forms

class PostForm(forms.ModelForm):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        # checkbox
        self.fields["public_author"].widget.attrs.update({
            'x-ref': 'public_author_checkbox',
            'x-on:change': '$refs.author_name_input.disabled = !$refs.public_author_checkbox.checked'
        })
        # input
        self.fields["author_name"].widget.attrs.update({
            'x-ref': 'author_name_input',
            'x-bind:disabled': '!$refs.public_author_checkbox.checked'
        })

Finally connect form with admin model:
from django.contrib import admin
from unfold.admin import ModelAdmin

@admin.register(Post)
class PostAdmin(ModelAdmin):
    list_display = ('id', "title", "author_name")
    form = PostForm

@juanfcocontreras first of all thanks for recreating the issue. In your original issue you didn't mention alpine link. Now is everythin more clear.
The solution which @galetahub recommended is okay and I'm using it as well but I'm not sure what you mean by label. Probably you want to hide the whole row and just not make the input readonly/disabled, right? For that scenario, there is no builtin functionality and you have manually override the template or write custom JavaScript in separate file.

@lukasvinclav first apologies for not following the guidelines the first time i posted the issue. I think they are new, and I had the issue filled before (without submitted).

Probably you want to hide the whole row and just not make the input readonly/disabled, right?

That's exactly it, I was talking about the possibility of adding html attributes not only at field level, but also at row and form level.
It would be very useful not to have to modify the templates, because every time the package is updated, you have to check that everything still works.
For example, in django-crispy-forms you can add any attribute to any element and it is passed to the html:
https://django-crispy-forms.readthedocs.io/en/latest/layouts.html#layout-objects-attributes
I think this would open up a lot of possibilities from the python side without having to rely on templates.
In this pull request something very similar is done, but the truth is that without some indication, I am not able to implement it by myself:
https://github.com/unfoldadmin/django-unfold/pull/11/files
For the actions (from the pull request) there is a dictionary where you can add elements without problems, and it is very easy to connect it for the template.
But there is nothing similar for forms and fields, is there?

I'm fully aware of django-crispy-forms and the possibilities which it brings. This is not a small task and just from top of my head there are two major problems to solve:

creation of custom template pack in Unfold styles
isolating the crispy forms styles & settings in Unfold from the config for regular FE located outside of Unfold

There are going to be definitely tons of other problems which we are not aware of. I'm expecting several weeks of development here.

I don't think I have explained myself well (English is not my mother tongue, so I apologise in advance), because in no case do I mean to replicate the functionality of crispy-forms.
Besides, the idea is to try to implement the functionality myself and be able to contribute to django-unfold, so this can't be a hard task for you, because then it would be impossible for me.
In the case of the pull request I mention, the change involves a couple of lines. Adding in python in a dictionary the attributes, and mentioning them in the template. I don't know if this is possible at the form and row level, or in a wrapper of them.
I would like to know if there is an approach that would allow this in a relatively simple way. I don't have a lot of experience with Django and django-unfold, and I don't know if what I'm saying is complicated or not.

The PR which you are pointing at, is having completely different rendering logic comparing to forms. My answer here is to use the suggestions from my previous comment
https://github.com/unfoldadmin/django-unfold/issues/613#issuecomment-2245768894

@lukasvinclav I think I've come up with a simple way (or at least I have a working example) that does what I intended. Also, I think it would be easily integrated into django-unfold, but before making a pull request, I'd like to know if you think it's appropriate or not.
In principle and as it is, it would be enough to create a couple of blocks, one for the form (x-data) and another for a fieldset row. Right now all the code is in the templates, but for the pull request the idea would be to make a couple of blocks to extend if you don't want to mess up the current code.
Passing with extra_context the values, these could reach the template and get what I want.
I attach a video of the working example (ISBN field is only shown when book type is fiction), the relevant code snippets, and a zip with all the minimal project that works.
Sorry to insist so much, but I think it's a functionality that may interest more people. This could open up many more possibilities. The idea is to add all this functionality without any knowledge of templates, just some basic knowledge of Alpine.js.
If not, sorry again for the inconvenience.

admin.py
[...]
@admin.register(Book)
class BookAdmin(ModelAdmin):
    def get_extra_context(self, request, object_id=None):
        context = {}

        context["x_data"] = r"{genre: 'f'}"

        context["attrs"] = {}
        context["attrs"]["genre"] = {"x-model": "genre"}
        context["attrs"]["isbn"] = {"x-show": "genre == 'f'"}

        return context

    def change_view(self, request, object_id, form_url="", extra_context=None):
        extra_context = {
            **(extra_context or {}),
            **self.get_extra_context(request, object_id),
        }
        return super().change_view(
            request, object_id, form_url, extra_context=extra_context
        )

    def add_view(self, request, form_url="", extra_context=None):
        extra_context = {**(extra_context or {}), **self.get_extra_context(request)}
        return super().add_view(request, form_url, extra_context=extra_context)

change_form.html
[...]
{% block content %}

        <form {% if has_file_field %}enctype="multipart/form-data" {% endif %}{% if form_url %}action="{{ form_url }}" {% endif %}method="post" id="{{ opts.model_name }}_form" novalidate>
            {% csrf_token %}

            {% block form_top %}{% endblock %}

            MODIFIED

            END MODIFIED
                {% if is_popup %}
                    <input type="hidden" name="{{ is_popup_var }}" value="1">
                {% endif %}
[...]

`fieldset_row.html`

```html
<div class="form-row
            {% if adminform.model_admin.compressed_fields %} border-b border-gray-200 -mx-3 px-3 pt-3 first:pt-0 dark:border-gray-800 last:border-b-0{% endif %}
            {% if not line.fields|length == 1 %} flex flex-row flex-wrap gap-x-8{% endif %}
            {% if not line.has_visible_field %} hidden{% endif %}
            {% for field in line %}{% if field.field.name %} field-{{ field.field.name }}{% endif %}{% endfor %}"
            MODIFIED
            {% for field in line %}
                {% if field.field.name %}
                    {% if attrs %}
                        {% for field_name, field_values in attrs.items %}
                            {% if field_name == field.field.name %}
                                {% for attr_name, attr_value in field_values.items %}
                                    {{ attr_name }}="{{ attr_value }}"
                                {% endfor %}
                            {% endif %}
                        {% endfor %}
                    {% endif %}
                {% endif %}
            {% endfor %}
            >
            END MODIFIED
    {% for field in line %}

Project file: locallibrary.zip

In the end, I have opened a pull issue with the changes I mentioned. I think the impact is minimal (3 lines in templates), and yet it opens new possibilities of use. I hope I did well:
https://github.com/unfoldadmin/django-unfold/pull/631


1460 Course enrichment factory issues

Context
Pull request no. 5 to clean up the associations in our factories. This PR removes with_course_enrichments from the course factory.
Changes proposed in this pull request

Remove with_course_enrichments from the course factory

Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 [M] Improve how we create factories & related data in specs.


Replace webpack with Microbundle

@DanielCoulbourne @ankurk91 here is my version using Microbundle
Stats (in bytes)
Before:
--------
Minified: 6752
Minified, gzipped: 2350

After:
--------
Minified: 4051 (-40%)
Minified, gzipped: 1536 (-35%)

Notes

An extend function has been added in place of Object.assign to maintain IE support
Object.values has been replaced to maintain IE support
In addition to a UMD bundle, CommonJS and ES Module bundles have been added but can be disabled (the stats above compare the old bundle to the new UMD bundle)

Thanks. bradlc
Here are my findings
Pure rollup with buble (without extend), link

Microbundle by bradlc

Not a big difference, but still; should we go with buble over babel ?

Hey @ankurk91
I just want to see the bundle size reduced as much as possible :) however you want to do that is fine with me!
In your version currently there is no Object.assign alternative so it won’t work in IE 11, unless I missed it?
Same goes for Object.values. In my version I have replaced it with Object.keys(tags).map(x => tags[x])

Closes #193 (when merged)


Pass 'visible to get-buffer-window

If I have two frames, with the compilation buffer in one frame and
use next-error in the other frame, I get this error:
Wrong type argument: window-live-p, nil
This happens because get-buffer-window returns nil.  The fix is to
pass 'visible to get-buffer-window, which will pick any visible frame
from the same terminal.

This one is pretty trivial and I've been using it for a while, so I'm just going to merge it.


Victor 9000 images

Hi again, David -
I find myself with a stack of 5-1/4" Victor 9000 disks that I've read successfully (with a Catweasel card, in my case).  The tool I'm using creates a rather literal disk image based on exactly the number of tracks in each zone.  I've only just started looking at them, but it looks like it's a fairly standard MS-DOS layout.  mtools is confused by them because they don't have a sane BIOS Parameter Block; I may try cooking one up and seeing if things can start looking normal.  I'm just wondering - have you done any further experimentation with Victor 9000 disks/images?

I haven't touched the filesystem side of things, TBH. I have experimented a bit with FAT BPBs for another project and the disks are addressed internally by block number, rather than CHS, so chances are you need a triangular image with no padding between the tracks (unlike the images FluxEngine makes). What does the BPB look like?

I haven't touched the filesystem side of things, TBH. I have experimented a bit with FAT BPBs for another project and the disks are addressed internally by block number, rather than CHS, so chances are you need a triangular image with no padding between the tracks (unlike the images FluxEngine makes). What does the BPB look like?

That's great news - CHS would be a problem for triangular images (also a great analogy).  The BPB is garbage - even the older media byte is nonsense.  I still have to lay down a decent guess at the BPB, but will get to that shortly.

That's great news - CHS would be a problem for triangular images (also a great analogy).  The BPB is garbage - even the older media byte is nonsense.  I still have to lay down a decent guess at the BPB, but will get to that shortly.


Alternative choice for Interl_AES_GCM implementation

Hi ftramer: @ftramer
For efficient reason we use Inter_NI implementation of AES_GCM. I see we use it in the code layers/dense.cpp layers/conv2d.cpp etc.
But what if I want to run the SGXDNN code in another platform such as ARM? We can not use the intel Inter_NI or the assembly code of course. Is there any convenient way to modify the code, so I can run it without the intel_aes_gcm?
I think of two ways to run the code:

Change the aes_gcm function implementation using c code(mbedtls library or kind of), instead of the origin intel_x86 assembly code. But as the signature of functions are not exactly the same, we still need some time to modify it.
Delete every code in the SGXDNN using the aes_gcm, as I believe in the paper, we actually didn't use it for privacy.  What's your opinion?

Do you have any suggestions about this? Any advice would be much appreciated.

Porting the library to a non-intel architecture would require a significant amount of work for more reasons that just AES-NI. We also make use of a lot of other Intel SIMD instructions to speed-up operations so these would have to be converted to ARM as well.

Got it. Thanks a lot.


common: issue-878 - wait for block number in confirmation

Resolves https://github.com/graphprotocol/indexer/issues/878 by introducing waiting for the given block to be reached before confirming transactions.

choosing to close as this as it hasn't been a big problem


style: update icons

Summary
Update icons from latest design
Testing
See updated icons for "SAS program file" and "Run SAS Code"

Tested completed the icons are updated.


pull request for e2e test at 11/10/2016 02:56:10

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.

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


Fix kafka-instance-sdk build

Hey @jomarko , thanks for the PR. I'm just looking to see what you did here? re-added the correct oas file for kafka-admin-rest?

I think I did this:

scripts/fetch_api.sh https://raw.githubusercontent.com/bf2fc6cc711aee1a0c2a/kafka-admin-api/main/kafka-admin/.openapi/kafka-admin-rest.yaml
yarn generate
yarn build to check its working now

@jomarko The failed builds here stem from some legacy code, before the bf2... org was open, a token was used to fetch the OAS files. This token the other day, causing the OAS files pulled to be replaced by 404: not found.
When the generate script runs it fails as there is no OAS files to generate from.
I fixed this issue on Monday / Tuesday so all SDKs are back functional.
In regards your comment on generating SDKs per OAS file (individual project) yes, this is something that is in our backlog and will be implemented as we move to a new core / monorepo style repo for the SDKs. This is currently timetabled for the next or subsequent sprint.
Your help and time that you've spent in this area is greatly appreciated. Thank you 😄

Thank you @dimakis . reading your comment https://github.com/redhat-developer/app-services-sdk-js/pull/522#issuecomment-1240360745 I am closing this #522 PR


[Feature Request] Show cleartype in song select screen general tab

Feature requested
Make the PB cleartype visible directly in the general tab.
Reason
The current cleartype for songs are not directly viewable without clicking on the score tab, Doing this will make transitioning from other VSRGs easier, similar to features like clearlamps on bms.
Screenshot
https://cdn.discordapp.com/attachments/390537998913110016/508275643167801354/2018-11-03_214437.png

1446cba91f6c15b3bb4b99b6cd59716a302349e7


schemaPollHeaders non functional

Describe the bug
Hi there,
I've been spending time trying to load my own headers for an integration with shopify. To access the GraphQL database, you need an API key to be passed as a header. The schemaPollHeaders value is the only way to pass such headers, however it is currently non-functional.
https://github.com/HoudiniGraphql/houdini/blob/e02e524618e518fdf6fcbbb2596a86c9ab9dfe31/src/cmd/pullSchema.ts#L36-L40
The issue of the problem is that the schemaPollHeaders are not combined with the argument headers in the pullSchema function.
The fix for this could be to combine the objects on line 39 of src/cmd/pullSchema.ts
// Write the schema
await pullSchema(
	config.apiUrl,
	config.schemaPath ? config.schemaPath : path.resolve(targetPath, 'schema.json'),
	{...headers, ...config.pullHeaders}
)

Bear in mind, running houdini generate -h X-Header=TOKEN works just fine.
Severity
blocking all usage of Houdini
Steps to Reproduce the Bug

Clone base project with recommended settings (e.g. npx degit houdinigraphql/intro hello-houdini)
Pass header through schemaPollHeaders in houdini.config.js. example below

const config = {
	client: './src/client',
	apiUrl: 'https://some.url.com/api/graphql',
	schemaPollHeaders: {
		'X-Necessary-Token-For-Auth': 'env:API_TOKEN'
	}
};

Unable to access graphql database. Given error: "⚠  Couldn't pull your latest schema: Unexpected end of JSON input"

Here is an example config that I believe still works.
const config = {
	client: './src/client',
	apiUrl: 'https://hydrogen-preview.myshopify.com/api/2022-07/graphql.json',
	schemaPollHeaders: {
		'X-Shopify-Storefront-Access-Token': '3b580e70970c4528da70c98e097c2fa0'
	}
};

Reproduction
No response

Thanks for submitting this @sjcobb2022! I'll get something out soon. I'm curious, is there a particular reason you are pulling the schema manually instead of letting the vite plugin do it for you?

Thanks for submitting this @sjcobb2022! I'll get something out soon. I'm curious, is there a particular reason you are pulling the schema manually instead of letting the vite plugin do it for you?

I'm transitioning from kitQL so I thought i would gen manually to test things out in comparison to my old workflow. Without the apiUrl and headers in the houdini.config.js everything works fine.
I would also like to add that i believe that the schema is queried every 2000ms, which uses the config file. in my opinion the separation of the client and the config is a little obtuse and makes things harder for the developer, especially since one cannot use import.meta.env (or equivalent) in the houdini.config.json. without setting environment variables.
KitQL codegen combated this by using the '--requires' directive in their CLI. in this way, you could pass environment variables from .env files. graphql-codegen --config ./.graphqlrc.yaml -r dotenv/config.
TL;DR: Feature request for better parsing of the apiURL and headers would be much better. As having details in both the houdini.config.js and the client.ts is (imo) an over-abstraction.

Thanks for the feedback @sjcobb2022! I agree that this part of the API needs some refinement.
Ideally, we would have a way to just import the file that users point us to but that doesn't work for typescript support package aliases so we're in kind of a rough place config-wise. We need some information for the plugin to function but we also need the fetch function to use to query to API. I wonder if we could just ask users to pass their fetch function to the config file? 🤔

Feature request for better parsing of the apiURL and headers would be much better. As having details in both the houdini.config.js and the client.ts is (imo) an over-abstraction.

Sorry if I'm missing something obvious but what would this look like?

Feature request for better parsing of the apiURL and headers would be much better. As having details in both the houdini.config.js and the client.ts is (imo) an over-abstraction.

Sorry if I'm missing something obvious but what would this look like?

Generally I think the client.ts setup is fine. It works well and is very easily generated by npx houdini init
One "solution" that I was thinking of would be to do something a little different and have optional input to the pre-process function. Something along the lines of
import { sveltekit } from '@sveltejs/kit/vite';
import houdini from 'houdini/vite';
import { defineConfig, loadEnv } from 'vite';

const config = defineConfig(({ mode }) => {
	//loads env files e.g.
	const env = loadEnv(mode, process.cwd());

	return {
		plugins: [
			houdini({
				schemaPollHeaders: {
					'X-Shopify-Storefont-Acess-Token': env.VITE_SHOPIFY_STOREFRONT_ACCESS_TOKEN
				}
			}),
			sveltekit()
		]
	};
});

In theory, this could entirely make the use of the houdini.config.js useless, however both systems could be kept in place to provide more versatility. For example defining scalars is a lot easier in the houdini.config.js. However logically, any config provided in the pre-process function should be prioritize. E.g.
// vite.config.ts
houdini({
    headers: {
            X-Header: process.env.something
        }
})

// Versus

//houdini.config.js
const config = {
   header: {
        X-Header: 'string-or-something'
    }
}

In this scenario the vite config would be used.
During houdini init any headers specified in npx houdini init -h can be placed into both the client.ts and the vite.config.ts to ensure that any future queries have the necessary headers.


Why not show docker-compose.yml in wiki, I see this file exit in previous git version

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
https://github.com/louislam/uptime-kuma/blob/d286c534bd0d3cf07135d82b227e223ccc777eea/docker/docker-compose.yml
Why not show docker-compose.yml in wiki, I noticed that this file existed in a previous version of git.
I think it's more convenient to run docker server with docker-compose up -d
rather than docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.11
💻 Operating System and Arch
Debian
🌐 Browser
Edge 120
🐋 Docker Version
No response
🟩 NodeJS Version
No response

Please reference #4289. The file has been moved, but the wiki has not been updated yet.

Ok, thanks.

I aware that the new compose file is
volumes:
      - ./data:/app/data

but the docker run command is
-v uptime-kuma:/app/data

It's Incompatible

docker compose and docker being different should not matter to you.
Please consider using one and stick with it.
We will switch the docker run command when v2 gets released as discussed in https://github.com/louislam/uptime-kuma/pull/4289#issuecomment-1870999447


Set delivery callbacks per-message, not per-client

The librdkafa author suggests that callbacks should have bound into them the message with which they're associated, which greatly simplifies reacting to network disruption and ensuring mesage delivery, but adc currently forces the use of a single callback for all messages sent with a given Producer. This change relaxes that constraint, enabling full use of the underlying confluent-kafka feature.

Naturally, for my own use the interface change is exactly what I wanted. To avoid breaking other users, it might be possible to keep the old way of specifying the callback for the whole object as a default to be used for invocations of the method which do not specify anything else? It might be a little difficult to express using no callback for a specific call when there is one set for the object, however, and I'm not sure whether the complexity would be worthwhile.

Yep, I agree that the complexity there seems pretty high and it isn't clear to me either whether it's worth it.

Okay, in that case I have no further changes to propose, and consider this ready to merge from my side.


Use update_wrapper with Transaction

This line should make use of update_wrapper which will propagate things like the docstring

I'm using wraps on this which should accomplish the same, at least accordingly to their documentation

Ah, nice, didn't see that (or know about it)


fixes #209 - replaced accept-whitelist and content-type-whitelist

fixes #209 - replaced accept-whitelist and content-type-whitelist with their underscored counterparts since the service now does not ignore invalid keys in config

I was going to merge this but I need you to PR from a branch other than master; and which has been rebased from master.  Additionally this PR has failed Travis.


--json doesn't work

The --json param outputs yaml

eek this must have gotten broken when hotsos.py was introduced. Fixing now...

fixed.


Error when running snorkel_model.fit

Hi Team,
Hope you are doing well.
I have a dataset which I split in "metadata.split:test" and "metadata.split:unlabelled" to do weaklearning and run a snorkel model. I had made a first run where I added the snorkel predictions in the dataset. When running snorkel_model.fit again though, I am getting the following error: ValueError: zero-size array to reduction operation maximum which has no identity. Is this expected behavior?
Thank you,
Lea
Environment Info:

OS: 64-bit windows
Browser: chrome
Argilla Version: 1.7.0

Hi Team,
I've made some tests and it seems that the error occurs only when the dataset already has predictions that were added to it.
Also, please find below the stacktrace:


Upload, download, watch hang on 0.6.10

I'm on OSX 10.12.3 and themekit 0.6.10 and I'm not able to get any upload, download, or watch to work.

I've verified with another team member that the config is correct and works on their machine.
Verbose mode does not add any additional information.
Upload and download both hang at 0%. Watch does not detect changes on my file system.
I've tried installing themekit via brew, manually, and I've tried the node version. All have the same behavior.

Here is an example of the config.yml:
---
development:
  theme_id: xxxxxx
  password: xxxxxx
  store: xxxxxx.myshopify.com
  ignore_files:
    - node_modules/
    - dev/
    - .ruby-version
    - .sass-cache/
    - package.json
    - config/settings_data.json
    - config/settings_schema.json
    - Gruntfile.js
  bucket_size: 40
  refill_rate: 2
  concurrency: 2
  timeout: 200s

dev2:
  theme_id: xxxxxx
  password: xxxxxx
  store: xxxxxx.myshopify.com
  ignore_files:
    - node_modules/
    - dev/
    - .ruby-version
    - .sass-cache/
    - package.json
    - config/settings_data.json
    - config/settings_schema.json
    - Gruntfile.js
  bucket_size: 40
  refill_rate: 2
  concurrency: 2
  timeout: 200s

You have been using themekit a long time! Fist of all you can start by updating your config it should look more like this:
development:
  theme_id: xxxxxx
  password: xxxxxx
  store: xxxxxx.myshopify.com
  ignore_files:
    - config/settings_data.json
    - config/settings_schema.json
  timeout: 200s

dev2:
  theme_id: xxxxxx
  password: xxxxxx
  store: xxxxxx.myshopify.com
  ignore_files:
    - config/settings_data.json
    - config/settings_schema.json
  timeout: 200s

Next it looks like you have some big files in your project because you have a 200s timeout. Has the command timed out while you are waiting? When you download do you get past the Fetching asset list from XXX.myshopify.com message? I would try reinstalling themekit. As a first measure. It soulds like you either have a permissions issue or something has become corrupted in themekit.

It appears that commenting out dev/ from the ignore_files list does the trick. Do you think the large tree structure or something inside of dev had something to do with it?
Thank you, that solved it!

Hmmm no I am not sure what happened there it might be that all of your files were ignored for some reason. I am glad it worked! I will have to do some testing to figure this out. Cheers.


Remove duplicate account inclusion checks

Explain your changes:
This PR removes the duplicate account inclusion checks in zkapp_command_logic.ml
Explain how you tested your changes:
*
Checklist:

[ ] Dependency versions are unchanged

Notify Velocity team if dependencies must change in CI

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

Closes #13253

!ci-build-me

!approved-for-mainnet


Blank screen on android

Blank screen when testing detox on Android
Description
When I try to run a detox test on Android, my React Native app only displays a blank screen, app launches normally otherwise and detox works perfectly on iOS. I'm using the standard detox config from the docs with jest.
It looks like the app launches, it briefly shows the green bar at the top saying it loads data from the React Native server but neither rr nor cmd + M and in Logcat there is no mention of the ReactNativeJS process so it looks like the React Native process does not actually start for some reason.
Steps to Reproduce
Setup detox
Run detox build -c android.emu.debug
Run detox test -c android.emu.debug
Detox, Node, Device, Xcode and macOS Versions

Detox: 8.0.0-alpha 1
React Native: 0.55.4
Node: 8.9.4
Device: Pixel 2 Emulator, API 27; Nexus 4 Emulator, API 22
Xcode:
macOS: 10.13.5

Device and verbose Detox logs
Detox log:
node_modules/.bin/jest e2e --config=e2e/config.json --maxWorkers=1 --testNamePattern='^((?!:ios:).)*$'
 server listening on localhost:65138...
 onOpen [object Object]
 send: {"type":"login","params":{"sessionId":"d09264bb-f645-e7d5-16c4-08f4adfa0fa7","role":"tester"},"messageId":0}
 onMessage: {"type":"loginSuccess","params":{"sessionId":"d09264bb-f645-e7d5-16c4-08f4adfa0fa7","role":"tester"},"messageId":0}
  rbx
 : /Users/antoine/Library/Android/sdk/emulator/emulator -list-avds --verbose
1: stdout: Nexus_4_API_22
Pixel_2_API_27

 : /Users/antoine/Library/Android/sdk/platform-tools/adb  devices
2: stdout: List of devices attached
emulator-5556	device

3: /Users/antoine/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell  etprop dev.bootcomplete
3: stdout: 1

4: /Users/antoine/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell  nput keyevent 82
5: /Users/antoine/Library/Android/sdk/platform-tools/adb -s emulator-5556 uninst ll com.project
5: stdout: Success

6: /Users/antoine/Library/Android/sdk/platform-tools/adb -s emulator-5556 uninst ll com.project.test
6: stdout: Success

7: /Users/antoine/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell  etprop ro.build.version.sdk
7: stdout: 27

8: /Users/antoine/Library/Android/sdk/platform-tools/adb -s emulator-5556 install -r -g /Users/antoine/Documents/ReactNativePlayground/project/android/app/build outputs/apk/debug/app-debug.apk
8: stdout: Success

9: /Users/antoine/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell  etprop ro.build.version.sdk
9: stdout: 27

10: /Users/antoine/Library/Android/sdk/platform-tools/adb -s emulator-5556 install -r -g /Users/antoine/Documents/ReactNativePlayground/project/android/app/buil /outputs/apk/androidTest/debug/app-debug-androidTest.apk
10: stdout: Success

11: /Users/antoine/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell am force-stop com.project
12: /Users/antoine/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell pm list instrumentation
12: stdout: instrumentation:com.android.emulator.smoketests/android.support.test.runner.AndroidJUnitRunner (target=com.android.emulator.smoketests)
instrumentation:com.project.test/android.support.test.runner.AndroidJUnitRunner (target=com.project)
instrumentation:org.chromium.webview_shell/.WebViewLayoutTestRunner (target=org.chromium.webview_shell)

/Users/antoine/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell am instrument -w -r -e detoxServer ws://localhost:65138 -e detoxSessionId d09264bb-f645-e7d5-16c4-08f4adfa0fa7 -e debug false com.project.test/android.support.test runner.AndroidJUnitRunner
 32167mentation spawned, childProcess.pid:
13: /Users/antoine/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell ps -AMo NAME,PID
13: stdout: NAME                                                  PID
init                                                    1
[kthreadd]                                              2
[ksoftirqd/0]                                           3
[kworker/0:0H]                                          5
[rcu_preempt]                                           7
[rcu_sched]                                             8
[rcu_bh]                                                9
[migration/0]                                          10
[migration/1]                                          11
[ksoftirqd/1]                                          12
[kworker/1:0H]                                         14
[khelper]                                              15
[netns]                                                16
[perf]                                                 17
[writeback]                                           213
[ksmd]                                                280
[crypto]                                              285
[bioset]                                              350
[kblockd]                                             352
[ata_sff]                                             452
[md]                                                  482
[cfg80211]                                            486
[kswapd0]                                             531
[fsnotify_mark]                                       598
[acpi_thermal_pm]                                     645
[hwrng]                                               680
[iscsi_eh]                                            756
[scsi_eh_0]                                           763
[scsi_tmf_0]                                          764
[scsi_eh_1]                                           768
[scsi_tmf_1]                                          770
[dm_bufio_cache]                                      787
[binder]                                              828
[hd-audio0]                                           976
[ipv6_addrconf]                                       979
[deferwq]                                             996
[jbd2/vda1-8]                                        1036
[ext4-rsv-conver]                                    1039
[jbd2/vde1-8]                                        1048
[ext4-rsv-conver]                                    1049
ueventd                                              1050
[kworker/0:1H]                                       1335
[kworker/1:1H]                                       1338
[jbd2/vdb-8]                                         1340
[ext4-rsv-conver]                                    1341
logd                                                 1342
servicemanager                                       1343
hwservicemanager                                     1344
vndservicemanager                                    1345
<EMAIL_ADDRESS>             1346
vold                                                 1347
[kauditd]                                            1353
<EMAIL_ADDRESS>                 1395
<EMAIL_ADDRESS>                 1396
<EMAIL_ADDRESS>       1397
<EMAIL_ADDRESS>                   1398
<EMAIL_ADDRESS>           1399
<EMAIL_ADDRESS>                   1400
<EMAIL_ADDRESS>          1401
<EMAIL_ADDRESS>            1402
<EMAIL_ADDRESS>                  1403
<EMAIL_ADDRESS>    1404
<EMAIL_ADDRESS>     1405
<EMAIL_ADDRESS>                 1406
<EMAIL_ADDRESS>               1407
<EMAIL_ADDRESS>                  1408
healthd                                              1409
qemu-props                                           1411
misc-pipe                                            1412
lmkd                                                 1415
surfaceflinger                                       1416
thermalserviced                                      1417
sh                                                   1422
adbd                                                 1423
mdnsd                                                1430
logcat                                               1433
[kdmflush]                                           1463
[bioset]                                             1467
[kcryptd_io]                                         1468
[kcryptd]                                            1470
[dmcrypt_write]                                      1471
[bioset]                                             1472
[jbd2/dm-0-8]                                        1489
[ext4-rsv-conver]                                    1490
zygote                                               1495
audioserver                                          1496
cameraserver                                         1497
drmserver                                            1500
installd                                             1501
keystore                                             1502
mediadrmserver                                       1503
media.extractor                                      1504
media.metrics                                        1505
mediaserver                                          1507
netd                                                 1508
storaged                                             1509
wificond                                             1510
media.codec                                          1511
rild                                                 1512
gatekeeperd                                          1514
tombstoned                                           1516
<EMAIL_ADDRESS>1518
iptables-restore                                     1522
ip6tables-restore                                    1523
dhcpclient                                           1609
sh                                                   1612
sleep                                                1613
ipv6proxy                                            1622
hostapd                                              1627
dhcpserver                                           1629
system_server                                        1644
wpa_supplicant                                       1783
com.google.android.inputmethod.latin                 1788
com.android.systemui                                 1804
webview_zygote32                                     1835
com.android.phone                                    1928
com.google.android.gms.persistent                    2176
com.google.android.googlequicksearchbox:interactor   2191
com.google.android.gms                               2222
com.google.android.apps.nexuslauncher                2299
com.google.process.gservices                         2332
com.google.process.gapps                             2496
com.google.android.googlequicksearchbox:search       2826
com.google.android.apps.messaging:rcs                3001
com.google.android.gms.unstable                      3481
com.google.android.dialer                            3824
com.android.defcontainer                             4204
com.android.documentsui                              4283
com.android.externalstorage                          4307
android.process.media                                4329
com.android.mtp                                      4369
com.google.android.apps.docs                         4389
com.google.android.videos                            4476
android.process.acore                                4575
com.google.android.apps.photos                       4598
com.google.android.apps.wallpaper                    4633
[kworker/0:1]                                        4924
com.android.keychain                                 4939
[kworker/1:1]                                        4997
[kworker/u5:2]                                       5126
[kworker/u4:2]                                       5146
[kworker/0:0]                                        5182
[kworker/1:0]                                        5466
[kworker/u4:3]                                       5672
[kworker/u5:0]                                       5675
[kworker/u4:0]                                       5687
[kworker/u5:1]                                       5689
[kworker/1:2]                                        5796
[kworker/0:2]                                        6085
app_process                                          6143
com.project                                          6153
ps                                                   6168

 send: {"type":"isReady","params":{},"messageId":-1000}
 INSTRUMENTATION_STATUS: class=com.project.DetoxTest
 INSTRUMENTATION_STATUS: current=1
 INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
 INSTRUMENTATION_STATUS: numtests=1
 INSTRUMENTATION_STATUS: stream=
 com.project.DetoxTest:
 nstrumentation stdout:
 INSTRUMENTATION_STATUS: test=runDetoxTests
 INSTRUMENTATION_STATUS_CODE: 1
 nstrumentation stdout:
 nstrumentation stdout:
 finalized artifacts successfully
 FAIL  e2e/firstTest.spec.js (126.152s)
  Example
    ✕ should have welcome screen (17ms)

  ● Example › should have welcome screen

    Timeout - Async callback was not invoked within the 120000ms timeout specified by jest.setTimeout.

      at ../node_modules/jest-jasmine2/build/queue_runner.js:68:21
      at Timeout.callback [as _onTimeout] (../node_modules/jsdom/lib/jsdom/browser/Window.js:628:19)

  ● Example › should have welcome screen

    ReferenceError: element is not defined

       5 |
       6 |   it('should have welcome screen', async () => {
    >  7 |     await expect(element(by.text('25/06/2018'))).toBeVisible();
       8 |   });
       9 |
      10 |   // it('should show hello screen after tap', async () => {

      at Object._callee2$ (firstTest.spec.js:7:29)
      at tryCatch (../node_modules/regenerator-runtime/runtime.js:62:40)
      at Generator.invoke [as _invoke] (../node_modules/regenerator-runtime/runtime.js:296:22)
      at Generator.prototype.(anonymous function) [as next] (../node_modules/regenerator-runtime/runtime.js:114:21)
      at tryCatch (../node_modules/regenerator-runtime/runtime.js:62:40)
      at invoke (../node_modules/regenerator-runtime/runtime.js:152:20)
      at ../node_modules/regenerator-runtime/runtime.js:195:11
      at callInvokeWithMethodAndArg (../node_modules/regenerator-runtime/runtime.js:194:16)
      at AsyncIterator.enqueue (../node_modules/regenerator-runtime/runtime.js:217:13)
      at AsyncIterator.prototype.(anonymous function) [as next] (../node_modules/regenerator-runtime/runtime.js:114:21)
      at Object.<anonymous>.runtime.async (../node_modules/regenerator-runtime/runtime.js:241:14)
      at Object._callee2 (firstTest.spec.js:6:36)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 1 total
Snapshots:   0 total
Time:        132.432s
Ran all test suites matching /e2e/i with tests matching "^((?!:ios:).)*$".
detox verb instrumentationProcess terminated due to receipt of signal SIGTERM
child_process.js:644
    throw err;
    ^

Error: Command failed: node_modules/.bin/jest e2e --config=e2e/config.json --maxWorkers=1 --testNamePattern='^((?!:ios:).)*$'
    at checkExecSyncError (child_process.js:601:13)
    at Object.execSync (child_process.js:641:13)
    at runJest (/Users/antoine/Documents/ReactNativePlayground/project/node_modules/detox/local-cli/detox-test.js:146:6)
    at run (/Users/antoine/Documents/ReactNativePlayground/project/node_modules/detox/local-cli/detox-test.js:81:7)
    at Object.<anonymous> (/Users/antoine/Documents/ReactNativePlayground/project/node_modules/detox/local-cli/detox-test.js:191:1)
    at Module._compile (module.js:643:30)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)
    at Function.Module._load (module.js:491:3)

Logcat:
06-25 12:53:16.402 5884-5884/? I/zygote: Not late-enabling -Xcheck:jni (already on)
06-25 12:53:16.412 5884-5884/? W/zygote: Unexpected CPU variant for X86 using defaults: x86
06-25 12:53:16.458 5884-5884/? I/zygote: The ClassLoaderContext is a special shared library.
06-25 12:53:16.459 5884-5884/? I/zygote: The ClassLoaderContext is a special shared library.
06-25 12:53:16.459 5884-5884/? W/zygote: ClassLoaderContext classpath element mismatch for position 0. expected=/system/framework/android.test.mock.jar, found=/system/framework/android.test.runner.jar (PCL[/system/framework/android.test.mock.jar*1065265343:/system/framework/android.test.runner.jar*1742119008] | PCL[/system/framework/android.test.runner.jar*1742119008:/system/framework/android.test.mock.jar*1065265343])
06-25 12:53:16.460 5884-5884/? W/zygote: Found duplicate classes, falling back to extracting from APK : /data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/base.apk
06-25 12:53:16.460 5884-5884/? W/zygote: NOTE: This wastes RAM and hurts startup performance.
06-25 12:53:16.460 5884-5884/? W/zygote: Found duplicated class when checking oat files: 'Ljunit/runner/BaseTestRunner;' in /system/framework/android.test.runner.jar and /data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/base.apk
06-25 12:53:16.489 5884-5891/? I/zygote: Debugger is no longer active
06-25 12:53:16.535 5884-5884/? W/zygote: ClassLoaderContext classpath size mismatch for position 0. expected=0, found=3 (PCL[] | PCL[/system/framework/android.test.runner.jar*1742119008:/system/framework/android.test.mock.jar*1065265343:/data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/base.apk*2286476834])
06-25 12:53:16.542 5884-5884/? W/System: ClassLoader referenced unknown path:
06-25 12:53:16.560 5884-5884/? I/MonitoringInstr: Instrumentation started on process com.project
06-25 12:53:16.562 5884-5884/? I/MonitoringInstr: Setting context classloader to 'dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/system/framework/android.test.mock.jar", zip file "/data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/base.apk", zip file "/data/app/com.project-91ShAi6Wfd_Ikj0aiD1uMw==/base.apk"],nativeLibraryDirectories=[/data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/lib/x86, /data/app/com.project-91ShAi6Wfd_Ikj0aiD1uMw==/lib/x86, /system/fake-libs, /data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/base.apk!/lib/x86, /data/app/com.project-91ShAi6Wfd_Ikj0aiD1uMw==/base.apk!/lib/x86, /system/lib, /vendor/lib]]]', Original: 'dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/system/framework/android.test.mock.jar", zip file "/data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/base.apk", zip file "/data/app/com.project-91ShAi6Wfd_Ikj0aiD1uMw==/base.apk"],nativeLibraryDirectories=[/data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/lib/x86, /data/app/com.project-91ShAi6Wfd_Ikj0aiD1uMw==/lib/x86, /system/fake-libs, /data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/base.apk!/lib/x86, /data/app/com.project-91ShAi6Wfd_Ikj0aiD1uMw==/base.apk!/lib/x86, /system/lib, /vendor/lib]]]'
06-25 12:53:16.565 5884-5884/? V/fb-UnpackingSoSource: locked dso store /data/user/0/com.project/lib-main
06-25 12:53:16.567 5884-5884/? V/fb-UnpackingSoSource: deps mismatch on deps store: regenerating
06-25 12:53:16.567 5884-5884/? V/fb-UnpackingSoSource: so store dirty: regenerating
06-25 12:53:16.618 5884-5884/? D/ApkSoSource: not allowing consideration of lib/x86/libfb.so: deferring to libdir
06-25 12:53:16.618 5884-5884/? D/ApkSoSource: not allowing consideration of lib/x86/libfolly_json.so: deferring to libdir
06-25 12:53:16.618 5884-5884/? D/ApkSoSource: not allowing consideration of lib/x86/libglog.so: deferring to libdir
06-25 12:53:16.618 5884-5884/? D/ApkSoSource: not allowing consideration of lib/x86/libglog_init.so: deferring to libdir
06-25 12:53:16.618 5884-5884/? D/ApkSoSource: not allowing consideration of lib/x86/libgnustl_shared.so: deferring to libdir
06-25 12:53:16.618 5884-5884/? D/ApkSoSource: not allowing consideration of lib/x86/libicu_common.so: deferring to libdir
06-25 12:53:16.618 5884-5884/? D/ApkSoSource: not allowing consideration of lib/x86/libimagepipeline.so: deferring to libdir
06-25 12:53:16.618 5884-5884/? D/ApkSoSource: not allowing consideration of lib/x86/libjsc.so: deferring to libdir
06-25 12:53:16.619 5884-5884/? D/ApkSoSource: not allowing consideration of lib/x86/libprivatedata.so: deferring to libdir
06-25 12:53:16.619 5884-5884/? D/ApkSoSource: not allowing consideration of lib/x86/libreactnativejni.so: deferring to libdir
06-25 12:53:16.619 5884-5884/? D/ApkSoSource: not allowing consideration of lib/x86/libyoga.so: deferring to libdir
06-25 12:53:16.619 5884-5884/? V/fb-UnpackingSoSource: regenerating DSO store com.facebook.soloader.ApkSoSource
06-25 12:53:16.622 5884-5884/? V/fb-UnpackingSoSource: starting syncer worker
06-25 12:53:16.629 5884-5884/? V/fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.project/lib-main (from syncer thread)
06-25 12:53:16.629 5884-5884/? V/fb-UnpackingSoSource: not releasing dso store lock for /data/user/0/com.project/lib-main (syncer thread started)
06-25 12:53:16.631 5884-5884/? I/MonitoringInstr: No JSBridge.
06-25 12:53:16.634 5884-5899/? I/MonitoringInstr: Setting context classloader to 'dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/system/framework/android.test.mock.jar", zip file "/data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/base.apk", zip file "/data/app/com.project-91ShAi6Wfd_Ikj0aiD1uMw==/base.apk"],nativeLibraryDirectories=[/data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/lib/x86, /data/app/com.project-91ShAi6Wfd_Ikj0aiD1uMw==/lib/x86, /system/fake-libs, /data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/base.apk!/lib/x86, /data/app/com.project-91ShAi6Wfd_Ikj0aiD1uMw==/base.apk!/lib/x86, /system/lib, /vendor/lib]]]', Original: 'dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/system/framework/android.test.mock.jar", zip file "/data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/base.apk", zip file "/data/app/com.project-91ShAi6Wfd_Ikj0aiD1uMw==/base.apk"],nativeLibraryDirectories=[/data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/lib/x86, /data/app/com.project-91ShAi6Wfd_Ikj0aiD1uMw==/lib/x86, /system/fake-libs, /data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/base.apk!/lib/x86, /data/app/com.project-91ShAi6Wfd_Ikj0aiD1uMw==/base.apk!/lib/x86, /system/lib, /vendor/lib]]]'
06-25 12:53:16.647 5884-5899/? I/UsageTrackerFacilitator: Usage tracking enabled
06-25 12:53:16.651 5884-5899/? I/TestRequestBuilder: Scanning classpath to find tests in apks [/data/app/com.project.test-PhuUdoNMDaZfExIP2bDoAA==/base.apk]
06-25 12:53:16.652 5884-5899/? W/zygote: Opening an oat file without a class loader. Are you using the deprecated DexFile APIs?
06-25 12:53:16.787 5884-5889/? I/zygote: Do partial code cache collection, code=29KB, data=20KB
06-25 12:53:16.787 5884-5889/? I/zygote: After code cache collection, code=29KB, data=20KB
06-25 12:53:16.787 5884-5889/? I/zygote: Increasing code cache capacity to 128KB
06-25 12:53:16.896 5884-5889/? I/zygote: Do partial code cache collection, code=61KB, data=32KB
06-25 12:53:16.897 5884-5889/? I/zygote: After code cache collection, code=61KB, data=32KB
06-25 12:53:16.897 5884-5889/? I/zygote: Increasing code cache capacity to 256KB
06-25 12:53:17.012 5884-5899/? D/TestExecutor: Adding listener android.support.test.internal.runner.listener.LogRunListener
06-25 12:53:17.013 5884-5899/? D/TestExecutor: Adding listener android.support.test.internal.runner.listener.InstrumentationResultPrinter
06-25 12:53:17.013 5884-5899/? D/TestExecutor: Adding listener android.support.test.internal.runner.listener.ActivityFinisherRunListener
06-25 12:53:17.015 5884-5899/? I/TestRunner: run started: 1 tests
06-25 12:53:17.018 5884-5899/? I/TestRunner: started: runDetoxTests(com.project.DetoxTest)
06-25 12:53:17.020 5884-5884/? I/MonitoringInstr: Activities that are still in CREATED to STOPPED: 0
06-25 12:53:17.022 5884-5899/? W/ActivityTestRule: getActivityIntent() returned null using default: Intent(Intent.ACTION_MAIN)
06-25 12:53:17.022 5884-5899/? I/ActivityTestRule: Launching activity: ComponentInfo{com.project/com.project.MainActivity}
06-25 12:53:17.025 5884-5903/? D/MonitoringInstr: execStartActivity(context, ibinder, ibinder, activity, intent, int, bundle
06-25 12:53:17.054 5884-5884/? D/LifecycleMonitor: Lifecycle status change: com.project.MainActivity@1f647a7 in: PRE_ON_CREATE
06-25 12:53:17.059 5884-5884/? D/ReactNative: ReactInstanceManager.ctor()
06-25 12:53:17.066 5884-5884/? D/NetworkSecurityConfig: No Network Security Config specified, using platform default
06-25 12:53:17.095 5884-5884/? D/ReactNative: ReactInstanceManager.createReactContextInBackground()
06-25 12:53:17.095 5884-5884/? D/ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()
06-25 12:53:17.121 5884-5884/? D/LifecycleMonitor: Lifecycle status change: com.project.MainActivity@1f647a7 in: CREATED
06-25 12:53:17.122 5884-5884/? D/LifecycleMonitor: Lifecycle status change: com.project.MainActivity@1f647a7 in: STARTED
06-25 12:53:17.127 5884-5884/? D/LifecycleMonitor: Lifecycle status change: com.project.MainActivity@1f647a7 in: RESUMED
06-25 12:53:17.134 5884-5913/? D/OpenGLRenderer: HWUI GL Pipeline

                                                 [ 06-25 12:53:17.141  1405: 1448 D/         ]
                                                 HostConnection::get() New Host Connection established 0xec1a3a40, tid 1448
06-25 12:53:17.165 5884-5884/? W/unknown:ReactNative: Packager connection already open, nooping.

                                                      [ 06-25 12:53:17.189  5884: 5913 D/         ]
                                                      HostConnection::get() New Host Connection established 0xd87a9e40, tid 5913
06-25 12:53:17.195 5884-5913/? I/zygote: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
06-25 12:53:17.195 5884-5913/? I/OpenGLRenderer: Initialized EGL, version 1.4
06-25 12:53:17.195 5884-5913/? D/OpenGLRenderer: Swap behavior 1
06-25 12:53:17.195 5884-5913/? W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
06-25 12:53:17.195 5884-5913/? D/OpenGLRenderer: Swap behavior 0
06-25 12:53:17.223 5884-5913/? D/EGL_emulation: eglCreateContext: 0xdb1856c0: maj 3 min 0 rcv 3
06-25 12:53:17.254 5884-5913/? D/EGL_emulation: eglMakeCurrent: 0xdb1856c0: ver 3 0 (tinfo 0xdb183690)
06-25 12:53:17.268 5884-5911/? W/unknown:InspectorPackagerConnection: Couldn't connect to packager, will silently retry
06-25 12:53:17.365 5884-5913/? D/EGL_emulation: eglMakeCurrent: 0xdb1856c0: ver 3 0 (tinfo 0xdb183690)
06-25 12:53:17.530 5884-5913/com.project D/EGL_emulation: eglMakeCurrent: 0xdb1856c0: ver 3 0 (tinfo 0xdb183690)
06-25 12:53:17.664 5884-5917/com.project I/DetoxManager: DetoxServerUrl : ws://<IP_ADDRESS>:64834
06-25 12:53:17.665 5884-5917/com.project I/DetoxManager: DetoxSessionId : 7f3b9a2b-f30f-61a8-d6e0-41fcdff98ea0
06-25 12:53:18.273 5884-5895/com.project I/zygote: Background concurrent copying GC freed 12476(1322KB) AllocSpace objects, 12(320KB) LOS objects, 50% free, 2MB/5MB, paused 1.401ms total 250.051ms
06-25 12:53:18.857 5884-5895/com.project I/zygote: Background concurrent copying GC freed 1950(1570KB) AllocSpace objects, 59(7MB) LOS objects, 49% free, 5MB/10MB, paused 390us total 229.812ms
06-25 12:53:19.289 5884-5913/com.project D/EGL_emulation: eglMakeCurrent: 0xdb1856c0: ver 3 0 (tinfo 0xdb183690)
06-25 12:53:19.294 5884-5884/com.project D/ReactNative: ReactInstanceManager.onJSBundleLoadedFromServer()
06-25 12:53:19.295 5884-5884/com.project D/ReactNative: ReactInstanceManager.recreateReactContextInBackground()
06-25 12:53:19.295 5884-5884/com.project D/ReactNative: ReactInstanceManager.runCreateReactContextOnNewThread()
06-25 12:53:19.323 5884-5919/com.project I/zygote: Thread[25,tid=5919,Native,Thread*=0xc7c49800,peer=0x13105240,"Thread-2"] recursive attempt to load library "/data/app/com.project-91ShAi6Wfd_Ikj0aiD1uMw==/lib/x86/libfb.so"
06-25 12:53:19.327 5884-5919/com.project D/ReactNative: ReactInstanceManager.createReactContext()
06-25 12:53:19.348 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTGroupViewManager
06-25 12:53:19.350 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTGroupShadowNode
06-25 12:53:19.354 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTShapeViewManager
06-25 12:53:19.355 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTShapeShadowNode
06-25 12:53:19.357 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTTextViewManager
06-25 12:53:19.357 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTTextShadowNode
06-25 12:53:19.359 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.checkbox.ReactCheckBoxManager
06-25 12:53:19.362 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.uimanager.LayoutShadowNode
06-25 12:53:19.372 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.picker.ReactDialogPickerManager
06-25 12:53:19.374 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.drawer.ReactDrawerLayoutManager
06-25 12:53:19.376 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.picker.ReactDropdownPickerManager
06-25 12:53:19.377 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollViewManager
06-25 12:53:19.380 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollContainerViewManager
06-25 12:53:19.382 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.progressbar.ReactProgressBarViewManager
06-25 12:53:19.383 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.progressbar.ProgressBarShadowNode
06-25 12:53:19.387 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactScrollViewManager
06-25 12:53:19.390 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager
06-25 12:53:19.391 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager$ReactSliderShadowNode
06-25 12:53:19.393 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager
06-25 12:53:19.395 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager$ReactSwitchShadowNode
06-25 12:53:19.397 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.toolbar.ReactToolbarManager
06-25 12:53:19.399 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.webview.ReactWebViewManager
06-25 12:53:19.403 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.swiperefresh.SwipeRefreshLayoutManager
06-25 12:53:19.405 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTSurfaceViewManager
06-25 12:53:19.406 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTSurfaceViewShadowNode
06-25 12:53:19.406 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageViewManager
06-25 12:53:19.407 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode
06-25 12:53:19.408 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.image.ReactImageManager
06-25 12:53:19.411 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.modal.ReactModalHostManager
06-25 12:53:19.412 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.modal.ModalHostShadowNode
06-25 12:53:19.413 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactRawTextManager
06-25 12:53:19.413 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactRawTextShadowNode
06-25 12:53:19.413 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputManager
06-25 12:53:19.418 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputShadowNode
06-25 12:53:19.421 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextViewManager
06-25 12:53:19.425 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextShadowNode
06-25 12:53:19.426 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.view.ReactViewManager
06-25 12:53:19.434 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.viewpager.ReactViewPagerManager
06-25 12:53:19.438 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextViewManager
06-25 12:53:19.439 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextShadowNode
06-25 12:53:19.441 5884-5919/com.project W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.barcodelibrary.BarCodeScannerManager
06-25 12:53:19.451 5884-5919/com.project D/ReactNative: Initializing React Xplat Bridge.
06-25 12:53:19.453 5884-5919/com.project D/ReactNative: Initializing React Xplat Bridge before initializeBridge
06-25 12:53:19.456 5884-5919/com.project D/ReactNative: Initializing React Xplat Bridge after initializeBridge
06-25 12:53:19.457 5884-5919/com.project D/ReactNative: CatalystInstanceImpl.runJSBundle()
06-25 12:53:19.458 5884-5922/com.project D/ReactNative: ReactInstanceManager.setupReactContext()
06-25 12:53:19.458 5884-5922/com.project D/ReactNative: CatalystInstanceImpl.initialize()
06-25 12:53:19.460 5884-5884/com.project W/unknown:ReactNative: Packager connection already open, nooping.
06-25 12:53:19.462 5884-5922/com.project D/ReactNative: ReactInstanceManager.attachRootViewToInstance()
06-25 12:53:19.489 5884-5884/com.project I/Detox: Got react context through listener.
06-25 12:53:19.491 5884-5917/com.project I/Detox: Removing Espresso IdlingResources for React Native.
06-25 12:53:19.492 5884-5917/com.project I/Detox: Setting up Espresso Idling Resources for React Native.
06-25 12:53:19.712 5884-5922/com.project I/WebViewFactory: Loading com.android.chrome version 61.0.3163.98 (code 316409812)
06-25 12:53:19.720 5884-5922/com.project I/zygote: The ClassLoaderContext is a special shared library.
06-25 12:53:19.806 5884-5922/com.project I/cr_LibraryLoader: Time to load native libraries: 10 ms (timestamps 2580-2590)
06-25 12:53:19.827 5884-5922/com.project I/chromium: [INFO:library_loader_hooks.cc(136)] Chromium logging enabled: level = 0, default verbosity = 0
06-25 12:53:19.827 5884-5922/com.project I/cr_LibraryLoader: Expected native library version number "61.0.3163.98", actual native library version number "61.0.3163.98"
06-25 12:53:19.960 5884-5889/com.project I/zygote: Do full code cache collection, code=122KB, data=71KB
06-25 12:53:19.960 5884-5889/com.project I/zygote: After code cache collection, code=115KB, data=57KB
06-25 12:53:20.075 5884-5921/com.project W/InstanceID: Instance ID SDK is deprecated, com.project should update to use Firebase Instance ID

@AntoineChwat , tell me please whether the issue reproduces on<EMAIL_ADDRESS>?
Honestly, I am aware about this issue and still need to debug it. It reproduces sometimes on CI but the question that is disturbing me most is whether it is a bug introduced by version 8 or it was there in 7.

Just tried it on version 7.4.3 and I have the exact same issue unfortunately
I also found this issue on stack which dates back to January and seems to be the exact same problem though nobody answered

@AntoineChwat , thanks much! I only can hope I'll get some time to investigate this, as it causes flakiness on Detox's own CI too. I don't think we want to put up with this for too long, as Detox itself declares it is fighting the flakiness.

@noomorph No problem, hope it helps and I hope you'll find the bug as Detox looks like a really cool e2e framework which works very well on iOS but is unfortunately unusable for me as long as this bug exists

@AntoineChwat , hm... I'm not sure I get what you say right - do you mean you can reproduce this bug in 100 of 100 ofyour cases?

@noomorph Yep that's exactly what I'm saying, is it a different issue from what you thought?

@AntoineChwat Exactly! There is a different issue when after some 10-25 tests it gets stuck in the white screen like this:

But a lot of tests usualy pass, as you see on the screenshot only 2 out of plenty fail.

@AntoineChwat , if there's a chance you can extract your issue as a open-source repo, please do.
And one more thing, does release version work with Android+Detox on your machine? You saw you were using android.emu.debug configuration. What are the results with android.emu.release?

@noomorph Ah I see, no my problem is different, I get that white screen as soon as I run the first test! Unfortunately I can't publish my repo but I am trying with android.emu.release, will let you know how it turns out

I think that maybe the problem is that Detox does not play nicely with RN higher than 0.51 on Android, as mentioned here:
https://github.com/wix/detox/pull/773#issuecomment-400126345

No luck with the release apk, same issue... But yeah I'm using the latest React Native, didn't notice that compatibility issue, my bad! Are you planning to fix this any time soon?

Okay so I downgraded to RN 0.51, obviously there are a lot of breaking changes so my app doesn't work but at least now I get a red error screen and I get a message from ReactNativeJS in Logcat telling me that it is running the application, so this is indeed the issue. Hope to see a fix some day, thanks for finding the bug though it was drving me crazy

No luck with the release apk, same issue... But yeah I'm using the latest React Native, didn't notice that compatibility issue, my bad! Are you planning to fix this any time soon?

@AntoineChwat , I have no information about the fix and the timeline, but I also want to believe it will be given a high priority.

We are currently working on some internal sync issues of our app with Android on RN51, which may result in a few bug fixes. Modern RN support for Android is the next task, buti can't commit to a timetrame unfortunately.

Are you using react-native-navigation v1?

@rotemmiz Nope, I'm not using react-native-navigation at all actually, I'm using react-navigation v2

Can you provide an example project demonstrating the issue? I want to debug it

Hi, unfortunately I'm working on a fairly large project (at my scale at least) and I can't share the code, if I have time I'll try to create a sample app and see if detox works with it and if it doesn't I'll share it but I doubt I'll have the time to do that though, sorry


How to run stolon as Non-Root

Hello
How can I deploy stolon as NOn-root  in production.
I was able to deploy as root in my development box, but this will not work in prod.
Thanks

What do you mean?

There are environments where applications inside containers must not be executed as a root user, but as a non-root user.
Currently stolon gets executed as root user inside the container. Is there a way to make it run as non-root?
Non-root user should be used inside all of the containers: keepers, sentinel and proxy containers.


Horizontal Cost Explorer

Added horizontal scroll to explorer table. This change ensures the first two columns remain sticky, while the remainder of the table may be scrolled horizontally.
https://issues.redhat.com/browse/COST-915

Codecov Report

Merging #1850 (6301e89) into master (e61b80d) will increase coverage by 0.44%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1850      +/-   ##
==========================================
+ Coverage   70.56%   71.01%   +0.44%
==========================================
  Files         347      347
  Lines        5935     6510     +575
  Branches     1071     1399     +328
==========================================
+ Hits         4188     4623     +435
- Misses       1638     1863     +225
+ Partials      109       24      -85

Impacted Files
Coverage Δ

...sync/permissionsComponent/permissionsComponent.tsx
75.00% <0.00%> (-10.72%)
:arrow_down:

...c/pages/costModels/createCostModelWizard/table.tsx
34.28% <0.00%> (-10.16%)
:arrow_down:

src/components/i18n/i18nProvider.tsx
57.14% <0.00%> (-9.53%)
:arrow_down:

src/pages/state/maintenance/maintenanceState.tsx
66.66% <0.00%> (-8.34%)
:arrow_down:

.../pages/costModels/createCostModelWizard/markup.tsx
27.27% <0.00%> (-8.03%)
:arrow_down:

...ges/costModels/costModelsDetails/utils/toolbar.tsx
77.50% <0.00%> (-7.80%)
:arrow_down:

...ostModels/createCostModelWizard/priceListTable.tsx
32.07% <0.00%> (-7.46%)
:arrow_down:

.../costModels/costModelsDetails/bottomPagination.tsx
82.60% <0.00%> (-7.40%)
:arrow_down:

src/store/common.ts
81.81% <0.00%> (-7.08%)
:arrow_down:

...ponents/reports/reportSummary/reportSummaryAlt.tsx
52.94% <0.00%> (-7.06%)
:arrow_down:

... and 119 more

Continue to review full report at Codecov.

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


Cannot directly code the minimum integer, it'll get changed

Godot version
3.5.0
System information
Linux
Issue description
When trying to directly code the minimum signed 64-bit integer (-9223372036854775808) in GDScript, the Godot editor will complain that you can't represent that number as a signed 64-bit integer. If you try to run that line anyways, that value will be transformed into -9223372036854775807 , 1 larger than the minimum signed 64-bit integer and equal to INT_MAX*-1.
-9223372036854775807-1 does result in the expected INT_MIN value.
While this value is uncommon as an ordinary value, INT_MAX and INT_MIN are useful values to indicate a problem of some sort. It's an easy workaround, but it is still a bug.
Steps to reproduce
Assign a const a value of -9223372036854775808. Look at the error code, then print out the const and see that the value has changed.
Minimal reproduction project
minimal_example.zip

Also reproducible in 4.0.

ERROR: Cannot represent<PHONE_NUMBER>854775808 as a 64-bit signed integer, since the value is too large.

The message shows that the negative sign is not considered part of the integer.<PHONE_NUMBER>854775808 is indeed out of the 64-bit signed integer range, but its negative counterpart should be valid.

For 3.x, the problem is in gdscript_tokenizer.cpp, when the number is collected in the default case (line 875), the sign is "already consumed".
Adding  					if ('-' == GETCHAR(-1)) { 						str += '-'; 					} after the declaration of str var (line 884) fixes the problem, but it may have side-effect

My previous suggestion for 3.x is wrong
https://github.com/godotengine/godot/pull/65681#issuecomment-1243311534

Not reproducible in Godot v4.1.1.stable.official [bd6af8e0e] (as you can see below), but still an issue on Godot 3.

Sounds the same as:

#75763

Which was fixed in 4.x


 Inside the bottom sheet I can't access the button at all and inside a dialog I see that the button is not clipped by the dialog if the corner radius is a little larger:

To Reproduce:
Simply do following:
 materialDialog.onShow {
        it.getActionButton(WhichButton.POSITIVE).apply {
            setBackgroundColor(selectedColor)
            setTextColor(textColor)
        }
    }

Expected Behavior:

The dialog should clip it's children correctly
this should also change the bottom sheet dialog button color

Try changing your code to this:
 materialDialog.onShow {
        it.getActionButton(WhichButton.POSITIVE).apply {
            setBackgroundResource(ContextCompat.getDrawable(context, R.drawable.md_primary))
            setTextColor(textColor)
        }
    }

drawable/md_primary.xml
<?xml version="1.0" encoding="utf-8"?>
<inset
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:insetBottom="@dimen/md_action_button_inset_vertical"
    android:insetLeft="@dimen/md_action_button_inset_horizontal"
    android:insetRight="@dimen/md_action_button_inset_horizontal"
    android:insetTop="@dimen/md_action_button_inset_vertical">
    <shape android:shape="rectangle">
        <corners android:radius="@dimen/md_action_button_corner_radius"/>
        <solid android:color="@color/colorPrimary"/> <!-- YOUR COLOR HERE -->
        <padding
            android:bottom="@dimen/md_action_button_padding_vertical"
            android:left="@dimen/md_action_button_padding_horizontal"
            android:right="@dimen/md_action_button_padding_horizontal"
            android:top="@dimen/md_action_button_padding_vertical"/>
    </shape>
</inset>

This will take into account the padding (insets) required.

It's no problem to define my own background for the button - I still think the container view could set a custom OutlineProvider (this one works with round corners as long as all 4 corners are rounded) to crop it's content and then there would be no need to make manual adjustments... This only solves the issue on API 21+, but still.
Here's my solution that I currently use:
(dlg ?: dialog as MaterialDialog).onShow {
    val radius = it.cornerRadius ?: MDUtil.resolveDimen(requireContext(), attr = R.attr.md_corner_radius) {
        resources.getDimension(R.dimen.md_dialog_default_corner_radius)
    }
    if (Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP) {
        it.view.outlineProvider = object : ViewOutlineProvider() {
            override fun getOutline(view: View, outline: Outline) {
                outline.setRoundRect(0, 0, view.width, view.height, radius)
            }
        }
        it.view.clipChildren = true
        it.view.clipToOutline = true
    }
    it.getActionButton(WhichButton.POSITIVE).apply {
        setBackgroundColor(selectedColor)
        setTextColor(textColor)
    }
}


[FEATURE] support create multiple celeborn clusters(for flink) in one kubernetes namespace

Is your feature request related to a problem? Please describe.
Currently, we can create only one celeborn cluster for flink when deploying on K8S in one namespace. In some scenarios, this is not very convenient. Supposing we have two resource pools divided by business type in the same k8s namespace，we have no way to create a celeborn cluster for both of the two resource pools.
Describe the solution you'd like
For each celeborn cluster, we introduce a single values.yaml file that contains all the necessary configs for creating it, and we can create the cluster using the following helm command
helm install cluster1-celeborn --values cluster1_values.yaml .
helm install cluster2-celeborn --values cluster2_values.yaml .

and we can retrieve k8s pods of each celeborn  cluster by using
kubectl get po -l app.kubernetes.io/instance=cluster1-celeborn
kubectl get po -l app.kubernetes.io/instance=cluster2-celeborn

Describe alternatives you've considered
None

Hi @mddxhj, had raised a PR
to accomplish this goal.
You can code review whether it meets your expectations, if you have time.


Cloud tokens

Quite a bit of refactoring in the replica token serialization and persistence, which was previously kind of welded together.

Codecov Report

Merging #1166 into master will decrease coverage by 0.01%.
The diff coverage is 53.76%.

@@             Coverage Diff              @@
##             master    #1166      +/-   ##
============================================
- Coverage     69.78%   69.76%   -0.02%
- Complexity     5331     5355      +24
============================================
  Files           425      428       +3
  Lines         32676    32778     +102
  Branches       4150     4155       +5
============================================
+ Hits          22802    22867      +65
- Misses         8734     8771      +37
  Partials       1140     1140

Impacted Files
Coverage Δ
Complexity Δ

...main/java/com.github.ambry/config/CloudConfig.java
100% <ø> (ø)
1 <0> (ø)
:arrow_down:

...m.github.ambry.replication/DiskTokenPersistor.java
19.04% <10%> (-62.09%)
2 <1> (-5)

...m.github.ambry.replication/ReplicationManager.java
90.62% <100%> (ø)
4 <0> (ø)
:arrow_down:

...main/java/com.github.ambry.cloud/CloudReplica.java
72.72% <100%> (-3.28%)
8 <1> (ø)

...ava/com.github.ambry.cloud/CloudBackupManager.java
83.78% <100%> (ø)
3 <0> (ø)
:arrow_down:

...om.github.ambry.replication/ReplicationEngine.java
58.06% <15.15%> (+4.35%)
21 <0> (ø)
:arrow_down:

...ithub.ambry.replication/ReplicaTokenPersistor.java
58.82% <58.82%> (ø)
8 <8> (?)

...com.github.ambry.replication/ReplicaTokenInfo.java
64% <64%> (ø)
8 <8> (?)

...va/com.github.ambry.cloud/CloudTokenPersistor.java
69.56% <69.56%> (ø)
4 <4> (?)

...ithub.ambry.cloud/azure/AzureCloudDestination.java
81.57% <80%> (-0.4%)
26 <6> (+4)

... and 13 more

Continue to review full report at Codecov.

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


flaggie should have a pretend/interactive mode

Originally reported by: jlec (Bitbucket: jlec, GitHub: jlec)

Showing a diff or allowing a pretend would be nice.

Bitbucket: https://bitbucket.org/mgorny/flaggie/issue/7

Is there any hope of landing this? I'm not sure of the operation results, would definitely like to preview first.

Only if you write all the code. But I suppose you'd need to finish the pending rewrite first because git master is not 100% useful right now, and I really lack the time to go over all of this.


Support for gauge offset and potential bug with raw metric

Currently, it looks like there is no option to send offset to gauge, only absolute value. This is supported by statsd with +x, -x notation when number is specified.
BTW, statsd reports the following error when sending raw format:
DEBUG: Bad line: 982,r,1380635905 in msg "test.already.aggregated:982|r|1380635905"
The code used is:

TimeSpan t = DateTime.UtcNow - new DateTime(1970, 1, 1);
int secondsSinceEpoch = (int)t.TotalSeconds;
statsd.LogRaw("test.already.aggregated", 982, secondsSinceEpoch);
It works when I use null instead secondsSinceEpoch

@mariuszwojcik If you want to get latest and send a pull request with tests I'll accept it.

Also, why do we need those methods? We could just inspect the value and provide the right call.

@mariuszwojcik, When you get some time, please send a pull request and we'll get this into the library.

Hey guys — what's the status of this issue? I'm in need of a Gauge with Delta values but didn't want to submit a PR if someone's already working on it . . . thanks!

@josheinhorn can you submit a pr for this.

Can you submit a pr for this?


Pluggable driver

This change gives rancher the ability to accept pluggable kontainer engine drivers by
adding the necessary field information to the drivers and adding support for building
the driver options over grpc.
Issue:
https://github.com/rancher/rancher/issues/12698
Depends on:
https://github.com/rancher/types/pull/413

LGTM

LGTM


[QUESTION] Could Longhorn deployment disable the previous default sc?

Question
Deploying Longhorn with Rancher leads 2 default storage classes and other deployments fail.
Environment:

Longhorn version: 100.0.0+up1.1.1
Kubernetes version: 1.21.2-x
Node config

OS type and version: SLES15sp3
CPU per node: 2
Memory per node: 4GB
Disk type: NVME
Network bandwidth and latency between the nodes: Local VMs

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): KVM

Additional context
2 default SCs is not "right".

The version 100.0.0+up1.1.1 is weird, I never saw this one. What is the output of kubectl get sc and kubectl get pods -n longhorn-system -o jsonpath="{..image}" ?

If you want Longhorn to mark longhorn SC as default, you should mark the other SC as non-default.
If you don't want Longhorn to mark longhorn SC as default, depending on how you deployed Longhorn, you can:

With Helm, change defaultClass to false here
With Kubectl, by default longhorn SC is not a default SC. If not, you can edit the longhorn-storageclass configmap by kubectl edit configmap longhorn-storageclass -n longhorn-system

Thanks for the reply.
It's Rancher provided chart, hence the version I guess.
I forgot to paste this:
local-path (default)   rancher.io/local-path   Delete          WaitForFirstConsumer   false                  145m
longhorn (default)     driver.longhorn.io      Delete          Immediate              true                   4m30s```

I would like to have lonhorn sc set as default, which the chart does, but the problem being that then there are 2 defaults. Easy fix, but I'm wondering if the existing default could be changed to not be default. (This might be more a k8s question than Longhorn.)

@peteingithub
I see. If you want to mark the local-path SC as non-default, I guess you unset it here https://github.com/k3s-io/k3s/blob/3e1693bc97c3002e6939b3ceb8ca06f2678a3b05/manifests/local-storage.yaml#L91

Changing it later is not a problem. I'm wondering if a chart setting the new storage class to default would also be able to check if there already is a default sc configured, and change the existing as non-default, because you can not have two defaults the same time.

I think overwriting other stuff in users' evn that is not managed by Longhorn would be too aggressive

True that. :)


Fixes #24: Updated hostnameFromUrl function to correctly prepend protocol

https://github.com/echenley/react-news/issues/24

Looks good, thanks for catching this!


doc: ++Colorspace description

@Issue: https://github.com/thorvg/thorvg/issues/1372

sorry, i didn't see it, of course it's sufficient ! thanks !


[v2] Stop providing embulk.gem

https://docs.google.com/document/d/1f-ziuHY4fXXmSLNHCXP3AAXUajEyPMLQAvH4jgTjpGg/edit

@dmikurube Just FYI.
I don't see much times require 'embulk' from many source codes.
Today, I found it. I just want to share my experience.

embulk と AWS Lambda でサーバーレスデータ連携 (Japanese text) (The Embulk and AWS Lambda for serverless data cooperation. )
AwsLambdaExecutor.java

They are using EmbulkEmbed on the JRuby.

@hiroyuki-sato Thanks for the information! That's really helpful for making final decisions on this.


HPA on metric of another pod

Hello.
Is there any chance to use HPA based on metric from another pod.
In my environment I test openfaas.
There is gateway deployment any function deployment.
Metrics are generated in gateway deployment.
Based on this metric I want to scale  function deployment.
Problem is that that HPA returns error:  "unable to get metric gateway_serv
ice_count: no metrics returned from custom metrics API"
If I ask for this metric manually it works:
 kubectl get --raw "/apis/custom.metrics.k8s.io/v1beta1/namespaces/openfaas/pods/*/gateway_service_count" | jq '.items[].value'
"2"
"2"
"2"
"2"
"2"
"2"
"2"
"2"

I think it generates error because in metics adatper it asks for this metric labeled with pod name
http://prometheus-cs.default.svc:9090/api/v1/query?query=sum(gateway_service_count{namespace="openfaas",pod=~"hello-java8func-7644db6467-2q8w6|hello-java8func-7644db6467-9zhmd"}) by (pod)&time=1544615184.475
In prometheus gui I can see this metric is labeled with gateway pod
gateway_service_count{app="gateway",function_name="hello-java8func",instance="<IP_ADDRESS>:8080",job="kubernetes-pods",namespace="openfaas",pod="gateway-55c5ddfcd8-x5n5p",pod_template_hash="55c5ddfcd8"}
My question is :
How can I avoid pod label in prometheus query to scale pod X based on pod Y ?

Hey @marcin-kasinski I think external metrics are actually the answer to doing this. You'll be able to target those metrics from your desired pod(s). While work is ongoing, it would most likely be the simplest way to accomplish this.

Hello John.
Thank you for your reply.
Can you give me additional information ?
k8s-prometheus-adapter implements only custom metrics not external metrics.

Today correct, the work is in progress for external and it will hopefully be available soon. Once available I can help you with your config.