[Bug]: OpenDevin Local Hosting app.py issues

Is there an existing issue for the same bug?

[x] I have checked the troubleshooting document at https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting
[X] I have checked the existing issues.

Describe the bug
Hello everyone,
When I use OpenDevin to build a sample website on windows

, I ask it to create a basic site with a calculator. OpenDevin successfully builds the app.py file, codes it, and creates the templates folder along with the index file. However, when I attempt to host it, the hosting appears successful according to the server log, which states:

Serving Flask app 'calculator_app'
Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
Running on http://<IP_ADDRESS>:5000
Press CTRL+C to quit
The browser agent then tries to access the local URL to test it. Despite the server log showing the server is running and other commands (like searching Google) working fine, it never manages to load the locally hosted page. I'm always met with an error (see attached image).

I've also tried using VMware with Ubuntu Linux to run a fresh, clean environment, following all the proper setup steps (or so I think). Yet, I encounter the same issue: everything works except when it tries to load the locally hosted page.
Perhaps I'm using it in a way that wasn't intended? I'm new to this kind of stuff, so forgive my ignorance if I'm misunderstanding how to run it properly. I feel like the solution might be something simple that I'm overlooking.
Thank you!
Current OpenDevin version
I think ghcr.io/opendevin/opendevin:0.7  I could be wrong should be the latest version though thats how i download it at least.

Installation and Configuration
The way I set it up (could be wrong)
I have my folder Devin
and then
This is what I run in PowerShell

cd "C:\Users\Work Account\Desktop\Devin"

git clone https://github.com/OpenDevin/OpenDevin.git

cd "C:\Users\Work Account\Desktop\Devin\OpenDevin"

$WORKSPACE_BASE = "$pwd\workspace"

docker run -it `
    --pull always `
    -e SANDBOX_USER_ID=1000 `
    -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE `
    -v ${WORKSPACE_BASE}:/opt/workspace_base `
    -v /var/run/docker.sock:/var/run/docker.sock `
    -p 3000:3000 `
    --add-host host.docker.internal:host-gateway `
    --name "opendevin-app-$(Get-Date -Format 'yyyyMMddHHmmss')" `
    ghcr.io/opendevin/opendevin:0.7

Here is what that output looks like

0.7: Pulling from opendevin/opendevin
Digest: sha256:fa41135b3800d07b7bb7850c072914580a0107cee706f8bfe1b3691b7b7eaaad
Status: Image is up to date for ghcr.io/opendevin/opendevin:0.7
Starting OpenDevin...
Setting up enduser with id 1000
Docker socket group id: 0
root:x:0:
Group with id 0 already exists
Running as enduser
/app/.venv/lib/python3.12/site-packages/llama_index_client/types/metadata_filter.py:20: SyntaxWarning: invalid escape sequence '\*'
  """
18:55:23 - opendevin:INFO: listen.py:100 - File upload config: max_size=0MB, restrict_types=False, allowed_extensions=['.*']
INFO:     Started server process [36]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:3000 (Press CTRL+C to quit)
INFO:     ('<IP_ADDRESS>', 57166) - "WebSocket /ws?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiI4MTRhZjAwMS02YWQ1LTQwOTItYWZhYy0wMjlkZWFmZGQzNWMifQ.Lset5TawYTJF9EsreL4_x28VW94bixxKv8FpikmcE_Q&latest_event_id=55" [accepted]
18:55:30 - opendevin:ERROR: auth.py:29 - Invalid token
INFO:     connection open
INFO:     connection closed
INFO:     ('<IP_ADDRESS>', 59406) - "WebSocket /ws" [accepted]
INFO:     connection open
18:55:33 - opendevin:INFO: agent.py:64 - Using server runtime
18:55:33 - opendevin:INFO: ssh_box.py:202 - SSHBox is running as opendevin user with USER_ID=1000 in the sandbox
18:55:33 - opendevin:INFO: ssh_box.py:247 - Detected initial session.
18:55:33 - opendevin:INFO: ssh_box.py:249 - Creating new Docker container
18:55:33 - opendevin:WARNING: ssh_box.py:715 - Using port forwarding till the enable host network mode of Docker is out of experimental mode.Check the 897th issue on https://github.com/OpenDevin/OpenDevin/issues/ for more information.
18:55:33 - opendevin:INFO: ssh_box.py:688 - Mounting workspace directory: C:\Users\Work Account\workspace
18:55:33 - opendevin:INFO: ssh_box.py:723 - Mounting volumes: {'C:\\Users\\Work Account\\workspace': {'bind': '/workspace', 'mode': 'rw'}, '/tmp/cache': {'bind': '/home/opendevin/.cache', 'mode': 'rw'}}
18:55:33 - opendevin:INFO: ssh_box.py:688 - Mounting workspace directory: C:\Users\Work Account\workspace
18:55:36 - opendevin:INFO: ssh_box.py:734 - Container started
18:55:37 - opendevin:INFO: ssh_box.py:750 - waiting for container to start: 1, container status: running
18:55:37 - opendevin:INFO: ssh_box.py:409 - Connecting to SSH session...
18:55:37 - opendevin:INFO: ssh_box.py:411 - You can debug the SSH connection by running: `ssh -v -p 45395<EMAIL_ADDRESS>using the password 'b0d4d4c6-f299-4f47-85b2-5a26bf60f088'
18:55:38 - opendevin:INFO: ssh_box.py:415 - Connected to SSH session
18:55:39 - opendevin:INFO: agent.py:96 - Creating agent CodeActAgent using LLM claude-3-haiku-20240307
18:55:39 - opendevin:INFO: llm.py:122 - Initializing LLM with model: claude-3-haiku-20240307
18:55:39 - opendevin:INFO: mixin.py:41 - Initializing plugins in the sandbox
18:55:39 - opendevin:INFO: mixin.py:28 - Sourced /opendevin/bash.bashrc and ~/.bashrc successfully
18:55:39 - opendevin:INFO: mixin.py:54 - Copied files from [/app/opendevin/runtime/plugins/agent_skills] to [/opendevin/plugins/agent_skills] inside sandbox.
18:55:39 - opendevin:INFO: mixin.py:62 - Initializing plugin [agent_skills] by executing [/opendevin/plugins/agent_skills/setup.sh] in the sandbox.
18:55:41 - opendevin:INFO: mixin.py:79 - Plugin agent_skills initialized successfully
18:55:41 - opendevin:INFO: mixin.py:28 - Sourced /opendevin/bash.bashrc and ~/.bashrc successfully
18:55:41 - opendevin:INFO: mixin.py:54 - Copied files from [/app/opendevin/runtime/plugins/jupyter] to [/opendevin/plugins/jupyter] inside sandbox.
18:55:41 - opendevin:INFO: mixin.py:62 - Initializing plugin [jupyter] by executing [/opendevin/plugins/jupyter/setup.sh] in the sandbox.
18:55:43 - opendevin:INFO: mixin.py:79 - Plugin jupyter initialized successfully
18:55:43 - opendevin:INFO: mixin.py:28 - Sourced /opendevin/bash.bashrc and ~/.bashrc successfully
18:55:43 - opendevin:INFO: browser_env.py:68 - Starting browser env...
18:55:43 - opendevin:ERROR: state.py:64 - Failed to restore state from session: sessions/7ce52f56-5acc-4ef4-bb1e-dcd8ba6a52df/agent_state.pkl
Error restoring state sessions/7ce52f56-5acc-4ef4-bb1e-dcd8ba6a52df/agent_state.pkl
18:55:43 - opendevin:INFO: agent_controller.py:197 - [Agent Controller 7ce52f56-5acc-4ef4-bb1e-dcd8ba6a52df] Setting agent(CodeActAgent) state from AgentState.LOADING to AgentState.INIT
18:55:43 - opendevin:INFO: agent_controller.py:135 - [Agent Controller 7ce52f56-5acc-4ef4-bb1e-dcd8ba6a52df] Starting step loop...
18:55:50 - opendevin:INFO: browser_env.py:95 - Browser env started.

Model and Agent
Usually This
Model:
claude-3-haiku-20240307 (Mainly This one)
Or GPT4o
Agent:
CodeActAgent
Operating System
WSL on Windows I think But I tried it on a Linux as well so even if I did the wsl part wrong I still got the same result.
I'm also using a Alienware laptop M15 R7
Reproduction Steps
Create OpenDevin like I did in the steps
Launch it input info for model and key
Ask it to build a website upon hosting it or asking it to use browser agent to then go to that page I get the error/issue.
Logs, Errors, Screenshots, and Additional Context
Just point me on where to go and I will respond with logs and errors that I come up with the logs are long or terminal output is.

Same issue on Mac OS M1, v.7, Chat-GPT 4o, Docker Desktop with 26.1.4, Brave Browser w/ blockers off.

Here's a mix of OD's Terminal commands and some of mine. I was trying to find out why when I went to localhost:5000 in another tab it wouldn't load anything. Guess its sandboxed by Docker?
$ pip install flask openai
[Package installed successfully]

$ python3 app.py > server.log 2>&1 &
[1] 170
[1]+  Exit 1                  python3 app.py > server.log 2>&1

$ cat server.log
  File "/workspace/app.py", line 33
    prompt=f"Extract all URLs from the following HTML content:
           ^
SyntaxError: unterminated string literal (detected at line 33)

$ python3 app.py > server.log 2>&1 &
[1] 177

$ curl http://<IP_ADDRESS>:5000

        <form method="post">
            <textarea name="email_content" rows="10" cols="30"></textarea>

            <input type="submit" value="Extract URLs">
        </form>

Extracted URLs:

$ mkdir StarPrices
$ cd StarPrices
$ mkdir templates static
touch app.py

$ python3 /workspace/StarPrices/app.py > /workspace/StarPrices/server.log 2>&1 &
[2] 198

$ cat /workspace/StarPrices/server.log
 * Serving Flask app 'app'
 * Debug mode: off
Address already in use
Port 5000 is in use by another program. Either identify and stop that program, or start the server with a different port.
[2]+  Exit 1                  python3 /workspace/StarPrices/app.py > /workspace/StarPrices/server.log 2>&1

$ python3 /workspace/StarPrices/app.py > /workspace/StarPrices/server.log 2>&1 &
[2] 205

$ curl http://<IP_ADDRESS>:5001

        <form method="post">
            <textarea name="email_content" rows="10" cols="30"></textarea>

            <input type="submit" value="Extract URLs">
        </form>

Extracted URLs:

$ ps -ef | grep app.py
opendev+   160    76  0 20:38 pts/0    00:00:00 grep app.py

$ ifconfig
-bash: ifconfig: command not found

$ netstat
-bash: netstat: command not found

$ ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 20:25 ?        00:00:00 sshd: /usr/sbin/sshd -D -p 37483
root        64     1  0 20:25 ?        00:00:00 sshd: opendevin [priv]
opendev+    75    64  0 20:25 ?        00:00:00 sshd: opendevin@pts/0
opendev+    76    75  0 20:25 pts/0    00:00:00 -bash
opendev+   112     1  0 20:25 pts/0    00:00:01 /opendevin/miniforge3/bin/python
opendev+   118     1  0 20:25 pts/0    00:00:01 /opendevin/miniforge3/bin/python
opendev+   125   112  0 20:25 ?        00:00:01 /opendevin/miniforge3/bin/python
root       152     0  0 20:35 pts/1    00:00:00 /bin/sh
opendev+   164    76  0 20:42 pts/0    00:00:00 ps -ef

Duplicate of https://github.com/OpenDevin/OpenDevin/issues/897#issuecomment-2185469797


fix: add pooler to the list of services to reset

What kind of change does this PR introduce?
Bug fix https://github.com/supabase/cli/issues/2524
What is the new behavior?
Restart pooler container on db reset.
Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

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

Files with Coverage Reduction
New Missed Lines
%

internal/debug/postgres.go
3
64.86%

internal/gen/keys/keys.go
5
12.9%

Totals

Change from base Build<PHONE_NUMBER>1:
-0.05%

Covered Lines:
6334

Relevant Lines:
10545

💛  - Coveralls


How to stop a video when the user scrolls past it or change screen

Use case:  user is scrolling a page with a flatlist of videos.  They stop at a video they like and press play.  They get bored of watching the video and keep scrolling onward, but the video is still playing in the background because they didn't stop it.  How can I automatically stop the video from playing when the user scrolls past it?
Thanks
function renderVideo(){
		if (Platform.OS === 'web'){
			return <WebView javaScriptEnabled={true} source={embedUri} style={{height: props.media.videoWebHeight}} />;
		}else{
			return <RNWebView source={embedUri} style={{height: props.media.videoMobileHeight}} />;
		}
	}

i need to play and stop video on scroll in flatlist i cannot find anything to do


Improving mobile app UI elements and update gradle build tool

Add toolbar component with sidenav toggle button

Components are bundled together in a module
Components are lazy loaded

Improve sidenav and toolbar UI

Add colours
Add ALTA logo
Add sidenav icons and labels (Dashboard, Audits and Settings)
Disabled page transition animation for 'snappier' feel

Improve login page UI

UI now matches mockups more closely
Added background colour to page and to the form
Changed sign in button text from 'Log in' to 'Sign in'
Changed button colour
Improve spacing of input fields and colour of input text to white
Increased Alta logo size
Input fields rounded corners

Codecov Report

Merging #185 (c225b00) into master (7951dcd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #185   +/-   ##
=======================================
  Coverage   92.53%   92.53%
=======================================
  Files          22       22
  Lines         616      616
=======================================
  Hits          570      570
  Misses         46       46

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 7951dcd...c225b00. Read the comment docs.

Please add some tests,
otherwise code looks clean, does as stated and compiles.

Code was updated to now reflect working tests as well as no more manual changes between port locations. Very nice job!


Lab tests are outdated and can't be re-recorded.

I get the following error when I run the tests live:
Deployment failed. Correlation ID: 89d8d867-0b8e-4a33-820b-fdfa88dc849e. {
  "error": {
    "code": "IncorrectClientCredential",
    "message": "The credentials could not be validated successfully."
  }
}

Converting these to LiveScenarioTests to facilitate getting the Knack Branch passing


Add plugin system

Add a section into README about plugins order and how-to-write them.

Add a section into README about plugins order and how-to-write them.

Done in some way.


Add DeclarationInFor test

It waits for https://github.com/chipsalliance/Surelog/issues/1540. It should pass when it is solved.


devd: 0.9 -> unstable-2020-04-27

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Upstream is kinda unmaintained. Building with head is to reflect some changes since v0.9. It's safe to install devd with go get github.com/cortesi/devd/cmd/devd per README.

I also don't know what is the nixpkgs policy on including prereleases.

AFAIK, nothing particular. Many unmaintained/deprecated pakcages are handled this way.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1646


adjusted icons to have padding

Top = Old
Bottom = New with padding

@designedbinary I just tested this locally and looks fine to me on OSX. I don't have Windows, but your screenshot is enough evidence for me :)

What is the file<EMAIL_ADDRESS>for? It is not currently used anywhere in the extension. I think we have a few images like that floating around. We should clean those up at some point, but thats just internal cleanup stuff and doesn't impact the end-users.


fix: Fix backmerge

Fix backmerge

:tada: This PR is included in version 1.1.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


DEV: Card refactoring

This Pull Request meets the following criteria:

[ ] Tests have been added/adjusted for my new feature
[ ] New Components are registered in index.js of my project
LiveURL: https://orbit-components-mainframe-newcard2.surge.sh

Also this: https://github.com/kiwicom/orbit-components/pull/1382#discussion_r350723110
has not been fixed.


Update AutoRest C# version to 3.0.0-beta.20240527.2

Update AutoRest C# version to 3.0.0-beta.20240527.2

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.AI.AnomalyDetector


Having Trouble Installing Dependencies

I created a fresh conda environments and pip install ... 'ed the requirements.txt only to realize this had not installed GPU-compatible jax so after a little searching I then installed jax using conda install jax cuda-nvcc -c conda-forge -c nvidia as recommended by this page but then I got the following warnings telling me that I was not using GPU, which I'd like to use:
(jax_verify) chelseas@server:~/jax_verify$ python3 examples/run_boundprop.py --boundprop_method=backward_crown_bound_propagation
I1228 22:37:51.228809<PHONE_NUMBER>07680 xla_bridge.py:170] Remote TPU is not linked into jax; skipping remote TPU.
I1228 22:37:51.228915<PHONE_NUMBER>07680 xla_bridge.py:355] Unable to initialize backend 'tpu_driver': Could not initialize backend 'tpu_driver'
I1228 22:37:51.228991<PHONE_NUMBER>07680 xla_bridge.py:355] Unable to initialize backend 'cuda': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
I1228 22:37:51.229050<PHONE_NUMBER>07680 xla_bridge.py:355] Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
I1228 22:37:51.229235<PHONE_NUMBER>07680 xla_bridge.py:355] Unable to initialize backend 'tpu': module 'jaxlib.xla_extension' has no attribute 'get_tpu_client'
I1228 22:37:51.229310<PHONE_NUMBER>07680 xla_bridge.py:355] Unable to initialize backend 'plugin': xla_extension has no attributes named get_plugin_device_client. Compile TensorFlow with //tensorflow/compiler/xla/python:enable_plugin_device set to true (defaults to false) to enable this.
W1228 22:37:51.229365<PHONE_NUMBER>07680 xla_bridge.py:362] No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)

I opened an issue in the jax repo initially but I was thinking that someone maintaining this repo might also be able to help.

This seems to be a jax issue more than a jax_verify one.
Some things worth looking at:

Is Cuda installed correctly on your machine? Do you have the same problem with other frameworks (like pytorch or Tensorflow) ? Can you find the /usr/local/cuda-11.4 file on your machine?
From your other issue, it seems that you are running Cuda 11.4. Have you made sure that you installed the correct version of jaxlib?
Did you check that you activated the right conda environment?


Building Custom Container

Change Type
Correction
Proposed Changes
https://docs.cloudmydc.com/container/building-custom-container

Change image name

This should be cloudmydc


WIP: build and test debug binaries

do not merge

@mo-xiaoming - Evetntually, it looks like debug build tests have no specific issues on Ubuntu.

@smunix I noticed that as well.
At first I tried to run github action on my own fork, nothing failed. Then I tried specific version combination (gcc9/llvm10) which failed on my own VM. And just to be sure, even ran ./result/bin/hobbes-test after nix build.
Eveything passed.
nix build uses different optimization level
Out of curiosity, I checked what enableDebugging does. Here is the compilation flags used by nix build. Got this by adding a objdump -g ./result/bin/hobbes-test command in build.yaml
 GNU C++14 9.3.0 -mtune=generic -march=x86-64 -ggdb -O2 -O2 -Og -std=gnu++14 -fstack-protector-strong -fno-strict-overflow -fPIC -frandom-seed=6qanrna2rw -fcommon --param ssp-buffer-size=4

Base on gcc manual,

If you use multiple -O options, with or without level numbers, the last such option is the one that is effective.

So -Og is used by nix build, and I was using -ggdb3 -O0 -fno-omit-frame-pointer to make it sanitizers friendly, and the unmodified CMakeLists.txt doesn't specify optimization level explicitly, so it uses -O0 on debug build as well

-O0 Reduce compilation time and make debugging produce the expected results.  This is the default.

some experiment
They are all built by cmake on my ubuntu20.04 VM, with gcc9 and llvm-10-dev, installed by apt install

opt level
-Og
-O0
-O1
-O2
-O3
-Os
-Ofast

test result
:heavy_check_mark:
:x:
:heavy_check_mark:
:heavy_check_mark:
:heavy_check_mark:
:heavy_check_mark:
:heavy_check_mark:

-O0 fails tests, github action passed because of different flags. If somehow, nix build uses -O0, I'm rather confident that it will fail as well
This result makes me nervous, gonna continue to investigate this problem

Mystery solved,
EXPECT_TRUE(c.compileFn<bool()>("(1,2) matches (1,2)")());

c.compileFn<bool()>("(1,2) matches (1,2)")() returns a boolean with the value 255, then in EXPECT_TRUE, its value get tested, and a boolean value 255 doesn't behave like a boolean at all
Everything boils down to this code
If bool is not either 0 or 1, it is considered UB by both clang and gcc implementations, which can be confirmed by -fsanitize=undefined
However, clang always optimizes it away. And gcc on the other hand, has this "wrong" behavior all the way back to 4.X, it is only manifest itself with -O0 build
│   0x555555555184 <main+27>        movb   $0x0,-0xa(%rbp)              -> bool r = false                                                                                │
│   0x555555555188 <main+31>        movb   $0xff,-0x9(%rbp)             -> char b = 255                                                                                │
│   0x55555555518c <main+35>        movzbl -0x9(%rbp),%eax                                                                                │
│   0x555555555190 <main+39>        mov    %al,-0xa(%rbp)               -> r = 255 :: bool                                                                                │
│   0x555555555193 <main+42>        movzbl -0xa(%rbp),%eax              -> %eax = 255                                                                                │
│   0x555555555197 <main+46>        test   %al,%al                                                                                │
│   0x555555555199 <main+48>        je     0x5555555551a7 <main+62>     -> if %al is zero, then not puts                                                                                │
│   0x55555555519b <main+50>        lea    0xe62(%rip),%rdi                                                                                │
│   0x5555555551a2 <main+57>        callq  0x555555555060 <puts@plt>    -> %al is 255, is not zero, puts('r')                                                                                │
│   0x5555555551a7 <main+62>        movzbl -0xa(%rbp),%eax              -> %eax = 255                                                                                │
│   0x5555555551ab <main+66>        xor    $0x1,%eax                    -> %eax = 254                                                                                │
│   0x5555555551ae <main+69>        test   %al,%al                                                                                │
│   0x5555555551b0 <main+71>        je     0x5555555551be <main+85>     -> if %al is zero, then no puts                                                                                │
│   0x5555555551b2 <main+73>        lea    0xe4d(%rip),%rdi                                                                                │
│   0x5555555551b9 <main+80>        callq  0x555555555060 <puts@plt>    -> %al is 254, is not zero, puts('!r')

To make it well behave, CreateRet -> bool must return either 0 or 1, nothing else
WIP

To make it well behave, CreateRet -> bool must return either 0 or 1, nothing else

Noted, thanks! Can you fix this test?  I suspect it's related, although it only manifested itself on LLVM post version 8.

For failed test EXPECT_TRUE(c().compileFn<bool()>("(1,2) matches (1,2)")());, the generated IR is correct
define i1 @"/.t19639"() {
entry:
  %0 = load i32, i32* getelementptr inbounds (<{ i32, i32 }>, <{ i32, i32 }>* @6, i32 0, i32 0)
  %1 = load i32, i32* getelementptr inbounds (<{ i32, i32 }>, <{ i32, i32 }>* @6, i32 0, i32 1)
  %t = icmp eq i32 %0, 1
  %t1 = icmp eq i32 %1, 2
  %2 = select i1 %t, i1 %t1, i1 false
  %. = select i1 %2, i1 true, i1 false
  ret i1 %.
}

They are dump() from jitcc::getMachineCode, the return value is correctly set to i1
Must be something wrong after this stage
WIP

fixed in 90518246d929c1b6dc30a6812912b2f745d42903

fixed in #414


Adds middleware to enforce 2fa

Description

As far as I know, The current 2FA enforcement involves admin intervention. With the following change, people can directly include middleware in the settings file and things will work out of the box.
Motivation and Context

We are using this software for in our django app. We wanted to enforce 2FA. But the existing solution doesn't allowed the free movement and stopped the user from moving forward if the user has not enabled 2FA.
We wanted it differently, we wanted the users to move forward but only to the urls where the user can either logout or enable 2FA.
How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@Bouke Please check if the following change is required or not. If yes, Please share if you want any modifications as well.


Can I keep pvc when I execute 'helm uninstall'?

I want to keep the data when I delete the chart resource, so I set the reclaimPolicy of the storageClass to Retain, then I execute 'helm uninstall', but helm will delete the pvc when the resource is deployment, what should I do to keep the pvc? Could you help me? ,Thank you
Output of helm version:
{Version:"v3.0.0-alpha.2", GitCommit:"97e7461e41455e58d89b4d7d192fed5352001d44", GitTreeState:"clean", GoVersion:"go1.12.7"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:40:16Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.5", GitCommit:"0e9fcb426b100a2aea5ed5c25b3d8cfbb01a8acf", GitTreeState:"clean", BuildDate:"2019-08-05T09:13:08Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}`

Cloud Provider/Platform (AKS, GKE, Minikube etc.):

A commend recently left on https://github.com/helm/helm/issues/6261#issuecomment-523472128 provides a possible solution for you.

thanks a lot


Add stunnel-style forwarding from TCP -> TLS

Would be nice for wrapping local outgoing connections.

you mean listening locally on a TCP port, and forwarding all connections via tls to a remote host?

yes, exactly that


[HOLD for payment 2024-01-04] [$500] Distance - App crash on start finish change

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.12-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Open the app
Click on plus and click on request money
Click on distance
Interchange 'Start' and 'Finish' by drag and observe that app crashes

Expected Result:
App should not crash on interchanging 'Start' and 'Finish' in distance
Actual Result:
App crashes on interchanging 'Start' and 'Finish' in distance
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/d1885dbf-0477-46a8-81ed-4a79fd4ffc4a
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01573f0c0196ba5533
Upwork Job ID:<PHONE_NUMBER>233876992
Last Price Increase: 2023-12-13
Automatic offers:

0xmiroslav | Reviewer | 28052012
bernhardoj | Contributor | 28052013

@0xmiroslav any updates on the PR? Thank you!

Payments have been completed!
Any update on the checklist @0xmiroslav? Thanks!

Sounds good! Closing!


potential fix

@ahoefling if this does not fix it, i have no idea what the issue is

That was it, good job!!


Rename project

I'd like to use a more memorable and easy-to-type name than flakreate (which is an amalgamation of flake and create).

#4


Update Train_multisubject.ipynb

Passing through without the accelerator (due to the mismatched Cuda version and drive issue. I cannot use acclerator on my own server.) But it could pass through until
voxel_ridge_list = [model.ridge(voxel_list[si],si) for si,s in enumerate(subj_list)]
steps.

thanks!


Update dependencies

update dependencies:

vue 2.5
vue router 3.0
webpack 3
update all dependencies

LGTM.
Thanks @Ffloriel

@Ffloriel I have projects bootstrapped from this template which are not updated to latest major version for at-least 6months. Should I simply update major version just like in this PR?
I have updated vue related packages and it seems it is not breaking app. I am withholding to update build related package such as webpack for now.

@cpxPratik I would advised you to look at the changelog of the different packages you want to update. If you think the potential breaking changes will not affect your project, then update the packages and give it a try.
For webpack and the related packages, you might need to update all of them with webpack since webpack plugins might not be compatible with some webpack versions.


trawler unable to scan private aws ecr images

I have added docker registry for my ecr with aws iam secret id and token, with auth type Amazon Container Registry.
After that m9sweeper stopped sending scan jobs to trawler, in trawler logs i can see it is waiting for the scan job.
I have also tried enabling debug logs on trawler but no luck. I do not see any errors too.
Please help.

Without more context its hard to comment on precisely what is going on in your case, but I'll explain how this feature works and that may help you figure out your issue.
How Scans are Queued:

Every hour, a scrape job runs to scrape and store a record of all namespaces, pods, and images running in your cluster. It will queue up scans for any unscanned image.
Every night, a scrape job runs to store a historical record of all namespaces, pods, and images running in your cluster. If any images have scans but the rescan period configured in your cluster configuration/scanner configuration has been reached, it will queue up images to be rescanned
You can manually add images by clicking in the add button on the images page (the + button at the top) or trigger them to be rescanned in the UI by navigating to an image and then clicking the rescan button at the top.

How scans run:

dash writes to rabbitmq topic
trawler reads from rabbitmq topic and runs the scan

Based upon your logs just showing "waiting for scan job" I'm wondering if maybe dash isn't writing images to be scanned, or maybe the next rescan period hasn't been reached yet. I recommend trying to manually rescan an image by clicking the rescan button in the UI.

unfortunately i cannot login anymore because of issue https://github.com/m9sweeper/m9sweeper/issues/305, may be I have to redeploy.
here is the behaviour:

Right now we added ACR using helm chart values during the installation.
We can see all the images scanned except Amazon private ECR images.
when we click on a image we see loading top right corner, the scan image option greyed out. Not able to stop the scan or restart scan as it is greyed out.
no exceptions or errors in dash or trawler.

I am now able to login and when I click on the image to be scanned, I see the wheel spinning. its not able to scan any image.


Viewer docked at the left or at the top is sometimes unexpectedly hidden

Preconditions:
Open SPGI table.
Case 1: docking viewer

Add a viewer
Dock it to the left or to the top
Expected results: viewer is still visible after docking.
Actual results: viewer is hidden.

Issue happens more often for docking to the left, but sometimes can be also reproduced for docking to the top of the page.

Case 2: applying saved layout

Add a viewer to the left side of screen or open filters
Save layout
Decrease window width in any way (resize browser window, change screen resolution or open browser console at the right)
Re-apply saved layout
Expected results: All viewers and filters should be visible when layout is re-applied.
Actual results: viewer or filters docked to the left are hidden:

This case is the most likely to happen for filters, because their default position is on the left.

1.16.5


fix: network relayer address for signatures

@agualis Tested removal of Frax single token and it worked.


Trailing periods are incorrectly included in link

Repro
Run this:
   public static void main(String[] args) {
        System.out.println(Linkify.linkify("Visit example.com."));
    }

Expected output:
Visit example.com.
Actual output:
Visit example.com.

I would like to work on this, can you please assign this to me ?

This one is now fixed and checked in.


Docs.MS Release Updates for azure_mgmt_resource

Update docs metadata and targeting for release of azure_mgmt_resource

Docs Build status updates of commit cdb8072:
:clock10: Full build: the average full build time is 174 min(s) 38 sec(s), this is based on the last 551 build(s) for this repository.

Docs Build status updates of commit cdb8072:
:clock10: Full build: the average full build time is 174 min(s) 38 sec(s), this is based on the last 551 build(s) for this repository.

Docs Build status updates of commit cdb8072:
:clock10: Full build: the average full build time is 174 min(s) 38 sec(s), this is based on the last 551 build(s) for this repository.

Docs Build status updates of commit cdb8072:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/mgmt-resource-readme.md
:warning:Warning
View (azure-python)
Details

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.yml
:warning:Warning
View (azure-python-preview)
Details

docs-ref-services/mgmt-resource-readme.md

Line 21: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.
Line 27: [Warning-multiple-h1s] Multiple H1s({0}) are not allowed. You can only have one top-level heading.

preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.yml

[Warning-DuplicateUids] Uid(azure.durable_functions.tasks.call_http) has already been defined in preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.call_http.yml.
[Warning-DuplicateUids] Uid(azure.durable_functions.tasks.continue_as_new) has already been defined in preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.continue_as_new.yml.
[Warning-DuplicateUids] Uid(azure.durable_functions.tasks.new_uuid) has already been defined in preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.new_uuid.yml.
[Warning-DuplicateUids] Uid(azure.durable_functions.tasks.task_all) has already been defined in preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.task_all.yml.
[Warning-DuplicateUids] Uid(azure.durable_functions.tasks.task_any) has already been defined in preview/docs-ref-autogen/azure-functions-durable/azure.durable_functions.tasks.task_any.yml.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Can get parent attribute on validator

Hi,
I try to create a Astro validator object for Meteor.users collection but I have a problem.
A good part of validation rules are based on very important field (user.level)
let validPhoneNumber = Validators.if({
  condition: function () {
    return this.level === 1;
  },
  true: Validators.or([
    uniquePhoneNumber,
    Validators.empty()
  ]),
  false: Validators.and([
    Validators.required(),
    uniquePhoneNumber
  ])
})

Users = Astro.Class({
  name: 'Users',
  collection: Meteor.users,
  fields: {
    level: {
      type: 'number',
      default: 1,
      validator: [
        Validators.gte(1),
        Validators.lte(3)
      ]
    },
   /*...*/
    'profile.cellPhone': {
      type: 'string',
      validator: validPhoneNumber
    },
  }
});

But the cellPhone field is on a profile object. And on the condition function this is a reference to user.profile instead of user..
So I can't get access to user level on validation..

Hmmm in deed it's a problem to get the parent document. Right now I can't think of the way of accessing it. I will definitely have to allow this in Astronomy 2.0. I have to figure something out. I will be working on validation in Astronomy 2.0 this week, so I will investigate this problem.

Thank you for taking account to my issue. It's maybe simple to start with a new optional attribute like validation_scope where I can choose one. Ex:
'profile.cellPhone': {
  type: 'string',
  validator: validPhoneNumber ,
  validator_scope: this,
},

It's not so easy. As you define validators on the level of class, then you can't easily access parent context. The profile.cellPhone syntax is not allowed, but maybe I will have to support that. After I implement the base validation rules I will think about accessing parent context.

+1 on this. I'm currently passing properties from the parent to the child when the class is created to work around this exact issue. This issue comes up a lot for me.

This problem was related with Astronomy 1.0 and I'm not creating any new features for this version


Add option for using good ol' PEAR instead of Pyrus

Pyrus has quite some issues for now, and there're some really important channels which do not work with it, for example PHPUnit's channel.
So provide a install_pear or use_pear definition function for using the good old PEAR installer instead of Pyrus.

I've now added a with_pear command for definitions, which adds the right configure argument. Insert the with_pear command before the call to install_package.


Error in example?

"Find even numbers" _examples/7-even-numbers.md have this declaration:
-spec even(In) -> even(Out)
  when In :: Out :: list(integer()).

Which compiles with error:
find_even.erl:5:19: type even(_) undefined
%    5| -spec even(In) -> even(Out)
%     |                   ^

find_even.erl:5:24: type variable 'Out' is only used once (is unbound)
%    5| -spec even(In) -> even(Out)
%     |                        ^

Thanks for reporting this! Should be fixed now!


Need to find the total size of the task

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Is your feature request related to a problem? Please describe.
This feature request is not related to a problem. I just need to find a way to calculate the total size of the task
Describe the solution you'd like
Once I created the task, I want to know the total size of the task.
Describe alternatives you've considered
No response
Additional context
No response

@RohithkumarRavi could you specify what you mean by size.

Hi Syed,
I meant the storage size of the task (in MB/GB)
Regards,
Rohithkumar
On Sun, Mar 24, 2024 at 8:39 AM Syed Bariman Jan @.***>
wrote:

@RohithkumarRavi https://github.com/RohithkumarRavi could you specify
what you mean by size.
—
Reply to this email directly, view it on GitHub
https://github.com/opencv/cvat/issues/7664#issuecomment-2016676315, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AN6Q42CBD7PZ2ZM6CPUE2DLYZY7VLAVCNFSM6AAAAABFDZ55ACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWGY3TMMZRGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

May be helpful:
```python manage.py shell``
import os
import zipfile
import json
from io import StringIO

from cvat.apps.engine.models import Task

def get_size(start_path = '.'):
    total_size = 0
    for dirpath, dirnames, filenames in os.walk(start_path):
        for f in filenames:
            fp = os.path.join(dirpath, f)
            # skip if it is symbolic link
            if not os.path.islink(fp):
                total_size += os.path.getsize(fp)
    return total_size

def collect_statistics():
    statistics = {id: {
        'data_id': data_id,
        'data_size_bytes': get_size(f'data/data/{data_id}'),
        'organization_id': organization_id,
        'owner_id': owner_id,
        'created_date': created_date.strftime('%d/%m/%y %H:%M'),
        'updated_date': updated_date.strftime('%d/%m/%y %H:%M'),
    } for id, data_id, organization_id, owner_id, created_date, updated_date in Task.objects.values_list('id', 'data_id', 'organization_id', 'owner_id', 'created_date', 'updated_date')}
    return statistics

statistics = collect_statistics()


icecat-bin: init at 60.7.0

Motivation for this change
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[x] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@ofborg eval
(Sorry, ofborg's certs recently had an issue, meaning that it was unable to
react to PRs. This has been fixed, but all PRs filed in this period will need
ofborg to be manually kicked off.)

@SuperSandro2000 Please check my PR

Why do we have this in nixpkgs? This is a 100% insecure version of Firefox not marked as such.


Elfin robot range assigment

Thanks for the PR.
Could you clarify two things for me please:

have you read the Application Procedure section of  REP-I4? It describes the procedure to follow when considering requesting new ranges of message identifiers. A PR like this one would be the end of that procedure.
are you (intending to) use(ing) simple_message and industrial_robot_client? If yes: please clarify why. If no: in that case there is no need to reserve a range of message identifiers, as those are only used with the Simple Message protocol. They are not used in any ROS API.

For new robots I would not recommend using Simple Message.

Please note that REP-I4 directs application requests to the "ROS-Industrial mailing list".
This no longer exists.
RFAs should be sent to the ROS-Industrial category on ROS Discourse.

Thanks for the PR.
Could you clarify two things for me please:

have you read the Application Procedure section of  REP-I4? It describes the procedure to follow when considering requesting new ranges of message identifiers. A PR like this one would be the end of that procedure.
are you (intending to) use(ing) simple_message and industrial_robot_client? If yes: please clarify why. If no: in that case there is no need to reserve a range of message identifiers, as those are only used with the Simple Message protocol. They are not used in any ROS API.

For new robots I would not recommend using Simple Message.

Ups, no sorry.
Yes, we are intending to use simple_message and industrial_robot_client as recommended here: http://wiki.ros.org/Industrial/Industrial_Robot_Driver_Spec. Specifically: "New robot implementations are encouraged to consider using this client".

Why do you not recommend using Simple Message?

Why do you not recommend using Simple Message?

In short: because it's a very limited protocol and modern robot controllers typically have much better external motion interfaces available (such as Ethercat, CAN(open), a custom UDP or TCP based protocol, etc). Those are almost always more performant, supported by the manufacturer, real-time capable/safe (especially UDP based protocols, or real-time safe fieldbuses such as Ethercat) and can use existing tooling, libraries and experience.
See ROS Answers/335913 for a somewhat longer recent discussion about this.

2\. Yes, we are intending to use `simple_message` and `industrial_robot_client` as recommended here: http://wiki.ros.org/Industrial/Industrial_Robot_Driver_Spec. Specifically: "New robot implementations are encouraged to consider using this client".

Please note: that particular section is very old (admittedly this is not visible to you) and "new drivers" refers to drivers created after industrial_robot_client was just introduced. Up till then (ie: when that section was written), all robot driver (supported in ROS-Industrial) used different, custom protocols. Hence the recommendation to move away from that and implement new ones using the (then) "new" Simple Message and Industrial Robot Client.

Summarising: if you have the option, I would recommend to not use Simple Message.

Ok, we won't use Simple Messagge. Can we consider the rest of Driver Spec page up to date? (topics and services to be implementes/remapped)

Ok, we won't use Simple Messagge.

Then I'll close this PR.

Can we consider the rest of Driver Spec page up to date? (topics and services to be implementes/remapped)

Yes, I would say so. SOP for me is to just implement "regular" ROS APIs for drivers and then add remaps if/when needed.
For support packages, I would suggest to take a look at the ros-industrial/fanuc repository.
You may also want to read Coordinate Frames for Serial Industrial Manipulators. It's not been accepted yet (submission planned), but it documents best practices wrt frame names, locations and semantics for industrial robot models in ROS.

Closing as based on the discussion, Simple Message will not be used for the driver.


Super calls scope

Would you restrict this scope just to be applied inside a class?
I want to give it another highlight color without overwriting variable declarations, imports, etc.
class {
  constructor () {
    super.foo();
  }
}

Not easily. Do you have an example of using super outside of a class method?

Oh I forgot to add above that the super keyword also styles in the following case,
let super = 0;

I don't know how you are using super as a variable in a let statement. Anyway, it's going to too difficult to do this.

@gandm not a big deal, I would like to contribute but it seems that there are invalid characters in most of the regexes, I guess it's escaping them but i'm not sure.

I'm not sure where the invalid regexs are. Please let me know. Grammar info https://manual.macromates.com/en/language_grammars and http://www.apeth.com/nonblog/stories/textmatebundle.html

There are characters which aren't valid regex,
invalid
valid
Thanks for the links, it's more clear now how the grammars are created.

The grammars don't use the JavaScript regex, they use the Oniguruma RegEx engine so that's why they seem invalid.

@gandm oh never heard of oniguruma regex haha


Update Documentation “getting-started”

Automatically generated by Netlify CMS

👷 Deploy Preview for elastic-yonath-a8509d processing.
🔨 Explore the source changes: 8893f155c19d212fce56f2b1b8ee5e37e0847b49
🔍 Inspect the deploy log: https://app.netlify.com/sites/elastic-yonath-a8509d/deploys/619b0a7d2c02c200074cd700


Version two milestone

This commit readies the project for a 2.0.0 release.
This release will bring compatibility and feature parity with FileMaker Server 18.
This release will also address scalability issues by ensuring requests are queued for processing by the FileMaker Data API.

Coverage decreased (-0.3%) to 99.734% when pulling 40ed29b99d19c90a6c6058338df112b2f60a620a on version-two-milestone into<PHONE_NUMBER>b7c20abf6e40ae8b0ce478c7943b67 on master.


Deep Linking not functioning from Newspring.cc

Acceptance Criteria

[ ] If you click on the "Open in App" from Newspring.cc, then the app should open to the corresponding article, devotional, etc...

Closing in favor of #176


s6-rc: warning: unable to start service init-cloudflared-config: command exited 1

The problem
Hello with the newest update 4.1.3 cloudflared is not working for me in HA. With 4.1.2 everything worked so I just reverted to it. I get the following error:
[01:47:43] INFO: Checking add-on config...
[01:47:44] INFO: Checking for existing certificate...
[01:47:44] INFO: Existing certificate found
[01:47:44] INFO: Checking for existing tunnel...
[01:47:44] INFO: Existing tunnel with ID XXX found
[01:47:44] INFO: Checking if existing tunnel matches name given in config
/etc/s6-overlay/scripts/cloudflared-config.sh: line 123: cloudflared: command not found
[01:47:44] ERROR: Existing Cloudflare Tunnel name does not match add-on config.
[01:47:44] ERROR: ---------------------------------------
[01:47:44] ERROR: Add-on Configuration tunnel name: homeassistant
[01:47:44] ERROR: Tunnel credentials file tunnel name:
[01:47:44] ERROR: ---------------------------------------
[01:47:44] ERROR: Align add-on configuration to match existing tunnel credential file
[01:47:44] ERROR: or re-install the add-on.
s6-rc: warning: unable to start service init-cloudflared-config: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.

.
What version of Cloudflared has the issue?
4.1.3
What was the last working version of Cloudflared?
4.1.2
What type of installation are you running?
Home Assistant OS
Add-on YAML Configuration
No response
Anything in the logs that might be useful for us?
I don't have a log at /run/uncaught-logs

Steps to reproduce the issue
updating to 4.1.3
Additional information
I am using HA OS in a proxmox vm. Had also problems with HA OS 10 and reverted also to verison 9.X...

Thanks for providing a solution, Tobias!


Updated MAINTAINERS.md format

Signed-off-by: Bhavana Ramaram<EMAIL_ADDRESS>Description
Updated MAINTAINERS.md to match opensearch-project recommended format.
Issues Resolved
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #668 (2f4d370) into 2.x (c220af3) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                2.x     #668   +/-   ##
=========================================
  Coverage     83.46%   83.46%
  Complexity      996      996
=========================================
  Files            93       93
  Lines          3660     3660
  Branches        342      342
=========================================
  Hits           3055     3055
  Misses          460      460
  Partials        145      145

Flag
Coverage Δ

ml-commons
83.46% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Convert .eslintrc.js from Common JS Module to ES Module

Describe the bug
Currently the .eslintrc.js file is Common JS Module, and it needs to be converted to ES Module, since the currently it is giving red squiggles in VSCode.

Due to this, almost every piece of code is giving warnings such as:

How to Reproduce
Steps to reproduce the issue. Attach all resources that can help us understand the issue:

Open the project inside VSCode.
Install all dependencies
The project works, but eslint gives a lot of warnings.

Additionally, the eslint plugin's version is low, which needs to be upgraded.
Further, a npm script npm run lint:check needs to be added for checking the lint errors.
    "lint:check": "eslint . --max-warnings=0",
    "lint:fix": "eslint . --fix",

Expected behavior
On running eslint . --max-warnings=0 there shouldn't be any warning or error, but currently, there are over 50+ such errors.

@akshatnema
I would like to work upon this issue. Could you please assign it to me, if possible.

@anshgoyalevil go on to make PR for this issue :rocket:

Thanks for confirming @akshatnema 🛩


Add support for new API Gateway service.

Supports passing token will switch to using provider implementation rather than built-in platform service.
Add unit tests and verified integrations still work against the current platform.

Whoever merges this, can you also draft a new release?
v3.6.0 (12.05.2017)

Add support for new API Gateway service.


Add semantic conventions for Elasticsearch client instrumentation

This PR originated as a PR in the opentelemetry-specification repo.
The outstanding discussion point from that PR was regarding the path forward for the existing Elasticsearch client instrumentations:

.NET: No concerns about updating their instrumentation to adopt these semantic conventions
Python: No concerns about updating their instrumentation to adopt these semantic conventions
Java: request to understand the complexity of updating the instrumentation by opening a PR with the changes

We are in the process of figuring out the path forward for the Java instrumentation and I'll update here when we have a plan.
Two instrumentations in progress that will use these semantic conventions:

PHP
Ruby

Hi @lmolkova, we've discussed what changes to make based on your comments/questions.
We agree it makes sense to have url.full instead of the url.path and url.query. We think it's still important to have the components extracted out, so we'll have doc_id, target, url.full and the span name containing the path pattern with placeholders that will together provide a complete set of information on the api queried and with what data.
We've added a note that the server address and port are recommended.
We are also assuming from the spec that there will also be an http span.
Lastly, we've changed the db.statement to capture the request body for search-type queries. The list of Search APIs can be found here.
A config option could also be used that allows users to opt-in for capturing bodies of every request.

@lmolkova and @joaopgrassi I've updated the span name and attributes after a discussion with some more people internally.
There are two main changes:

span name is the endpoint id of the request (the name field here, ex: search), rather than the http request method and request template (ex GET /{target}/_doc/{id}) . The Elasticsearch clients team said people would more likely want to identify ES requests by the endpoint id and that the request template would be less natural for them to see as a request identifier. We also have the http method anyway in the span attributes so we don't need to repeat it in the span name.
the dynamic parts of the url path are set at span attributes like they are for http headers, as db.elasticsearch.path_parts.<key>

What do you think?

@open-telemetry/specs-semconv-maintainers  could you please take a look? Thanks!

Generally looks good to me, but have some concerns around the implications of sensitive data handling.

I think @carlosalberto said in the SIG last night that he'd approve it and then we can merge.


Add UUID to parsing for matching elements across instances

This is a prototype of trying to tag parsed elements with unique IDs so that one could match them even if you newBuilder'd it, you could match back other elements that reference the now-old reference to them. This would allow for one to normalize references in a Schema after changing a bunch of elements in it, such as with a preprocessor to edit Schemas before code gen.
If the implementation here looks good, I can proceed with figuring out how to update tests to handle this in a deterministic way

@benjamin-bader absolutely no CR expected for at least 3-4 weeks! Focus on your honeymoon :)

Hm, the tests failed, but it's not immediately clear why.  I'm guessing that the tests haven't been updated to account for the new UUID member, probably the AutoValue parser elements that would automatically include it in .equals().

Yeah I haven't updated the tests yet, wanted to get a review of the API first before taking a crack at them

API looks fine to me; it's what I'd do if I were implementing the feature, so no complaints here.

Cool, I'll work on updating the tests then. My initial thinking is to basically add some way to set a seed to use for uuids for test-only purposes. Alternatively, we could make mark the uuid as transient to autovalue somehow so it's ignored, but not sure how nicely that plays with builders and whatnot. Will try some stuff

Codecov Report

Merging #152 into master will decrease coverage by 0.04%.
The diff coverage is 71.69%.

@@             Coverage Diff              @@
##             master     #152      +/-   ##
============================================
- Coverage     65.45%   65.41%   -0.05%
- Complexity      931      936       +5
============================================
  Files            88       89       +1
  Lines          4806     4843      +37
  Branches        561      562       +1
============================================
+ Hits           3146     3168      +22
- Misses         1423     1437      +14
- Partials        237      238       +1

Impacted Files
Coverage Δ
Complexity Δ

...java/com/microsoft/thrifty/schema/UserElement.java
50% <ø> (ø)
3 <0> (ø)
:arrow_down:

...in/java/com/microsoft/thrifty/schema/UserType.java
83.33% <0%> (-2.88%)
12 <0> (ø)

.../main/java/com/microsoft/thrifty/schema/Field.java
93.18% <0%> (-2.17%)
22 <0> (ø)

...va/com/microsoft/thrifty/schema/ServiceMethod.java
56.96% <0%> (-0.74%)
20 <0> (ø)

.../java/com/microsoft/thrifty/schema/EnumMember.java
40% <0%> (-1.67%)
7 <0> (ø)

...m/microsoft/thrifty/schema/parser/EnumElement.java
100% <100%> (ø)
2 <0> (ø)
:arrow_down:

...osoft/thrifty/schema/parser/EnumMemberElement.java
100% <100%> (ø)
2 <0> (ø)
:arrow_down:

...crosoft/thrifty/schema/parser/FunctionElement.java
88.88% <100%> (+1.38%)
2 <0> (ø)
:arrow_down:

...microsoft/thrifty/schema/parser/StructElement.java
100% <100%> (ø)
2 <0> (ø)
:arrow_down:

.../microsoft/thrifty/schema/parser/FieldElement.java
66.66% <100%> (+4.16%)
2 <0> (ø)
:arrow_down:

... and 8 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 85ff3c7...08f85ce. Read the comment docs.

Thanks!  For the PR, and for your patience seeing it through.

Thanks!


Failure to kill old server on Windows

Describe the bug
Python server doesn't update on Windows unless you restart the computer
To Reproduce
Upgrade to a new version, see error in dev tools console, note that behavior unique to newer server versions isn't present
Expected behavior
Should always update!
Environment
Windows
https://github.com/continuedev/continue/issues/412#issuecomment-1696768241

Done!!


Gh 2063 remove op chain from store

Codecov Report

Merging #2074 into develop will decrease coverage by 2.04%.
The diff coverage is 48.36%.

@@              Coverage Diff              @@
##             develop    #2074      +/-   ##
=============================================
- Coverage      66.05%   64.01%   -2.05%
+ Complexity      2232     1825     -407
=============================================
  Files            893      577     -316
  Lines          29228    19487    -9741
  Branches        3644     2431    -1213
=============================================
- Hits           19308    12474    -6834
+ Misses          8434     5986    -2448
+ Partials        1486     1027     -459

Impacted Files
Coverage Δ
Complexity Δ

.../gchq/gaffer/graph/hook/OperationChainLimiter.java
66.66% <0%> (-24.64%)
0 <0> (ø)

.../uk/gov/gchq/gaffer/graph/hook/UpdateViewHook.java
83.65% <0%> (-5.35%)
0 <0> (ø)

...chq/gaffer/graph/hook/migrate/SchemaMigration.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ava/uk/gov/gchq/gaffer/graph/hook/Log4jLogger.java
15.38% <0%> (-27.48%)
0 <0> (ø)

...ov/gchq/gaffer/graph/hook/OperationAuthoriser.java
72.54% <0%> (-10.06%)
0 <0> (ø)

...a/uk/gov/gchq/gaffer/graph/hook/GraphHookPath.java
45.45% <0%> (-17.05%)
0 <0> (ø)

.../java/uk/gov/gchq/gaffer/graph/hook/GraphHook.java
66.66% <100%> (+66.66%)
0 <0> (ø)
:arrow_down:

.../gov/gchq/gaffer/graph/hook/NamedViewResolver.java
82.35% <100%> (+0.72%)
0 <0> (ø)
:arrow_down:

...gchq/gaffer/graph/hook/NamedOperationResolver.java
76.47% <20%> (-7.41%)
0 <0> (ø)

...rc/main/java/uk/gov/gchq/gaffer/store/Context.java
42.6% <40%> (-1.15%)
0 <0> (ø)

... and 323 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 077a55f...90332a6. Read the comment docs.

Closing for fixes.


SCM viewlet gives strange errors when precommit hooks fail

> git commit --quiet --allow-empty-message --file -
Found '/Users/jkearl/Developer/vscode/.nvmrc' with version <10>
Now using node v10.18.1 (npm v6.14.4)

> husky - npm run -s precommit
> husky - node v10.18.1

Reading git index versions...
File not formatted. Run the 'Format Document' command to fix it: src/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.ts

Hygiene failed with 1 errors. Check 'build/gulpfile.hygiene.js'.

> husky - pre-commit hook failed (add --no-verify to bypass)
> husky - to debug, use 'npm run precommit'
> git config --get-all user.name
> git config --get-all user.email

As you can see, the entire output of git when that fails is:
Found '/Users/jkearl/Developer/vscode/.nvmrc' with version <10>
Now using node v10.18.1 (npm v6.14.4)

> husky - npm run -s precommit
> husky - node v10.18.1

Reading git index versions...
File not formatted. Run the 'Format Document' command to fix it: src/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.ts

Hygiene failed with 1 errors. Check 'build/gulpfile.hygiene.js'.

> husky - pre-commit hook failed (add --no-verify to bypass)
> husky - to debug, use 'npm run precommit'

It's very hard to figure out what exact error message we should show. So we show the first line.
The only thing we can do here is to show something like Git: Failed to commit. But we currently print the error because there are some situation in which the first line of the error is actually quite descriptive and the user doesn't have to go into the Git Log.

Oh I see. I’m used to it just saying ‘husky...’, which is more helpful. Something just have changed in my environment to make it now also log about nvm. Including the first line seems reasonable.


Update to java 11+ea19

Motivation:
A new java 11 EA version was released.
Modifications:
Update to java 11+ea19
Result:
Use latest java 11 release.

Just a version bump for java 11.


Don't always reenable the transaction-update timer on update

When executing the update orchestration, it's not always desired to reenable the
transactional-update. Moreover, sometimes the timer was on a weird state if the
update failed. This commit refines the update orchestration following this
logic:

Check first which nodes have explicitely disabled the timer, so they are not
reenabled in the end.
Disable the timer at the very beginning.
If this is a migration, reenable it always.
Otherwise, reenable the timer only for these nodes which did not explicitely
disable it before the update.

Last but not least, I've also tweaked the transactional-update/init.sls file
so the timer is not touched by this file when updating.
bsc#1113518
Signed-off-by: Miquel Sabaté Solà<EMAIL_ADDRESS>

@mssola  about point 3) If this is a migration, reenable it always. since Caasp v4 doesn't support if migration from v3 to v4, i'm thinking we should simplify it here and add that logic in v3

@mssola about point 3) If this is a migration, reenable it always. since Caasp v4 doesn't support if migration from v3 to v4, i'm thinking we should simplify it here and add that logic in v3

I'm not sure I understand. This was already in place before my change, actually. My change tries to preserve the past behavior (point 3), and adds points 1, 2 and 4.

@mssola about point 3) If this is a migration, reenable it always. since Caasp v4 doesn't support if migration from v3 to v4, i'm thinking we should simplify it here and add that logic in v3

I'm not sure I understand. This was already in place before my change, actually. My change tries to preserve the past behavior (point 3), and adds points 1, 2 and 4.

ah ok i was thinking you added (point 3) ok thx for comment. ( i could also not found the point 3 in the pr :smile: )
thx

This PR will also need to be backported into 3.0 once this is merged (since the bug originally targets 3.0)


Bootstrap CDN SSL error on Chrome

I'm getting Privacy error Your connection is not private on Google Chrome version 54.0.2840.100 on Ubuntu 16 attached is the screenshot:
https://s29.postimg.org/5o3jd1tuv/Screenshot_from_2017_01_19_12_58_26.png
I've also tried to upgrade my Chrome version but the issue still exist's.
If you need more details let me know.

@touqeer-wal checking it out

Update from support:

"probably another Chrome issue"
"I have Ubuntu running in a VM so I'll try to replicate"

Hi @touqeer-wal, I was not able to replicate the issue on my end. That being said, I'll need some additional stuff from you:

are you able to replicate this only in Chrome or in other web browsers as well?
have you tried flushing the local CRL/OCSP cache along with Chrome cache and then reloading the URI in question? You can flush local CRL cache with $ dirmngr --flush
if you still get the same error message after 2), I will need you to perform a traceroute towards maxcdn.bootstrapcdn.com URI and paste the output here

Please keep us posted, thanks!

@petarpetrovic i think it was only a Chrome issue, because i cannot replicate this on FireFox yesterday.
Yesterday i've cleared Chrome Cache several times and also restarted my machine but the issue persist.
Today i'm not getting the issue on chrome so think it's fixed, i didn't do any thing from my end.
Here is the traceroute which you needed:
touqeer@tshafi:~$ traceroute maxcdn.bootstrapcdn.com
traceroute to maxcdn.bootstrapcdn.com (<IP_ADDRESS>), 30 hops max, 60 byte packets
 1  <IP_ADDRESS> (<IP_ADDRESS>)  1.225 ms  1.478 ms  1.586 ms
 2  <IP_ADDRESS> (<IP_ADDRESS>)  0.889 ms  0.898 ms  0.884 ms
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

If you need more info on this from me please let me know.
Thanks!


Link to Alacritty theme is broken

The link is broken, I would suggest to change it for this one:
https://github.com/protesilaos/dotfiles/blob/master/alacritty/.config/alacritty/modus-vivendi.yml

done


fixes #362

set_if_unset apparently does not work with ::env(VAR). This passed the CI because CI rebuilds the PDK (Which has ::env(STD_CELL_LIBRARY_CDL) set correctly in the PDK's config.tcl).

Fixes #362

Can't merge. Looks like a new change. @jeffdi


No coverage displayed for private repos due to 404 error

Hi, I'm still having big problems seeing coverage in github with the chrome extension.
Coverage displays fine with firefox but with chrome I get "no coverage" and the console shows "Failed to load resource: the server responded with a status of 404 (Not Found)" when loading a link like "https://codecov.io/api/gh/tutorcruncher/TutorCruncher2/compare/c6d2f4e443d442e28e5a94a0c07edcb5685c5af8...f705b74665816f8671e5e9eadc571a9b33646dfc?src=extension".
This has been going on for I guess around a year. It worked for a bit and has now gone back to not working.
Things I've tried to fix this:

remove and reinstall the extension
uninstall google chrome and delete the ~/.cache/google-chrome directory
revoke codecov permissions in github
revoke access to all sessions in codecov and sign in again.

Chrome: Version 54.0.2840.59 (64-bit)
OS: Ubuntu 16.04

:hammer: any luck on this?

Eventually fixed this, turns out it was related to having "Block third party cookies and site data" checked in chrome.
Some odd mixture of telling chrome to allow codecov.io and disabling and re-enabling that option fixed it.


Support android password store

It seems that throw-keyids option must be disable to work with "open source" tools for GPG.

I think this is better suited for the Android password store and other OSS documentation.

I think this is better suited for the Android password store and other OSS documentation.


[Dashboard] Swap agent & speaker's skins in VW

Description
Swap agent & speaker's skins in VoxelWorld. Now the agent has a robot-like red skin and speaker/player has a human-like skin.
Fixes #1102
Type of change
Please check the options that are relevant.

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] Proposes a change (non-breaking change that isn't necessarily a bug)
[ ] Refactor
[x] New feature (non-breaking change that adds a new functionality)
[ ] Breaking change (fix or feature that would break some existing functionality downstream)
[ ] This is a unit test
[ ] Documentation only change
[ ] Datasets Release
[ ] Models Release

Type of requested review

[ ] I want a thorough review of the implementation.
[x] I want a high level review.
[ ] I want a deep design review.

Testing
Tested locally and passed visually.
Checklist:

[x] I have performed manual end-to-end testing of the feature in my environment.
[ ] I have added Docstrings and comments to the code.
[ ] I have made changes to existing documentation where needed.
[x] I have added tests that show that the PR is functional.
[ ] New and existing unit tests pass locally with my changes.
[x] I have added relevant collaborators to review the PR before merge.
[ ] [Polymetis only] I ran on hardware (1) all scripts in tests/scripts, (2) asv benchmarks.

@snyxan can we merge this ?


improve coverage

Change list
Cover missed scenarios
Types of changes
What types of changes are you proposing/introducing?
Put an x in the boxes that apply

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

Details
Improves ObjectExpression, interpolated string tests to increase coverage

Pull Request Test Coverage Report for Build 40

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.4%) to 100.0%

Totals

Change from base Build 39:
1.4%

Covered Lines:
286

Relevant Lines:
286

💛  - Coveralls


Add multicluster testing to integration framewor

Rebased https://github.com/istio/istio/pull/16060 against master.

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

Test name
Commit
Details
Rerun command

lint_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test lint_istio

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

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

Test name
Commit
Details
Rerun command

lint_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test lint_istio

integ-distroless-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-distroless-k8s-tests_istio

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

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

Test name
Commit
Details
Rerun command

lint_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test lint_istio

integ-distroless-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-distroless-k8s-tests_istio

integ-galley-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-galley-k8s-tests_istio

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

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

Test name
Commit
Details
Rerun command

lint_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test lint_istio

integ-distroless-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-distroless-k8s-tests_istio

integ-galley-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-telemetry-k8s-tests_istio

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

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

Test name
Commit
Details
Rerun command

lint_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test lint_istio

integ-distroless-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-distroless-k8s-tests_istio

integ-galley-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-mixer-k8s-tests_istio

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

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

Test name
Commit
Details
Rerun command

lint_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test lint_istio

integ-distroless-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-distroless-k8s-tests_istio

integ-galley-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-mixer-k8s-tests_istio

integ-pilot-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-pilot-k8s-tests_istio

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

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

Test name
Commit
Details
Rerun command

lint_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test lint_istio

integ-distroless-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-distroless-k8s-tests_istio

integ-galley-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-mixer-k8s-tests_istio

integ-pilot-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-security-k8s-tests_istio

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

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

Test name
Commit
Details
Rerun command

lint_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test lint_istio

integ-distroless-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-distroless-k8s-tests_istio

integ-galley-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-galley-k8s-tests_istio

integ-telemetry-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-mixer-k8s-tests_istio

integ-pilot-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-security-k8s-tests_istio

integ-local-tests_istio
2259ba23918f4cce39ffe2bc67ecd2c92de80ebb
link
/test integ-local-tests_istio

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


strange behaviour for hostPort

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Linked to https://github.com/cilium/cilium/issues/24741
Steps to reproduce:
cilium-config ConfigMap
kube-proxy-replacement: disabled
enable-host-port: "true"
ingress-nginx/controller:v1.8.0 with this config
[...]
ports:
- containerPort: 80
hostPort: 80
name: http
protocol: TCP
- containerPort: 443
hostPort: 443
name: https
protocol: TCP
with its associated service (type ClusterIP)
I try to request the public IP from a node and the server replies with connection refused.
I modify the ConfigMap like this
cilium-config ConfigMap
kube-proxy-replacement: disabled
enable-host-port: "false"
cni-chaining-mode: "portmap"
I restart cilium on every node and the ingress controller,
after this I'm able to reach the ingress controller from a node public IP.
Interesting thing, if I change again cilium config (and restart the components), my requests time out instead of my connection being refused.
I'm unable to tell what's the expected behaviour here.
Cilium Version
1.13.3
Kernel Version
5.15.0-69-generic
Kubernetes Version
v1.26.0
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@louisportay Have you managed to make some progress here? You've still provided relatively little information in this issue. I don't think we do much testing with KPR disabled, if any. Are you also running a similar setup to the issue you linked? If so, maybe chime in there?


Coding problem

Hi everyone. I'm having trouble with this coding assignment for python. Does anyone have a correct answer for this?

Write function repeatEnd that takes a String and an int n, and returns a string
made of n repetitions of the last n characters of the string. For example
repeatEnd("Hello", 3) should return "llollollo"
repeatEnd("Hello", 2) should return "lolo"
repeatEnd("Hello", 1) → "o"
If n is not between 0 and the length of the string return the empty string “”.

A "triple" in a string is a character appearing three times in a row. Write a function called
countTriple that takes a string as an argument and returns the count of the number of
triples it in. Note that triples may overlap. Here are some examples to demonstrate:
countTriple("abcXXXabc") should return 1
countTriple("xxxabyyyycd") should 3 because xxx yyy and yyy
countTriple("a") should return 0

Write tester fuctions for each function above

Write header comments for each function above.

@coolman6 Hello
I have done 1st problem have a look:
def repeatEnd (string ,n):
if (n<=0 or n>len(string)):
return(" ")
else:
return(string[-n: ]*n)
y= str(input())
num= int(input())
print(repeatEnd(y,num))

I'd like to work on this issue

Assign this issue to me.
I'd like to give a try

#here is the code for 2nd statement.
def countTriple(s):
res=0
for i in range(1,len(s)-1):
if s[i-1] == s[i] == s[i+1]:
res+=1
return res
print(countTriple("abcXXXabc"))
print(countTriple("xxxabyyyycd"))
print(countTriple("a"))

Coding Problem #1225
Solution for 1st
def repeatEnd(s:str,n:int) -> str:
              return s[-n:]*n

# Driver Function
if __name__ == "__main__":
              s="Hello"
              res=repeatEnd(s,3)
              print(res)

Output:
llollollo

Solution for 2nd
def countTriple(s:str) -> int:
    n=len(s)

    arr=[s[0]]
    count=0

    for i in range(1,n):
        if(s[i]==arr[-1]):
            arr.append(s[i])
            if(len(arr)==3):
                count+=1
                arr.pop(0)
        else:
            arr=[s[i]]

    return count

# Driver Function
if __name__ == "__main__":
              print(countTriple("abcXXXabc"))
              print(countTriple("xxxabyyyycd"))
              print(countTriple("a") )

Output:
1
3
0

Coding Problem #1225
Solution for 1st
def repeatEnd(s:str,n:int) -> str:
              return s[-n:]*n

# Driver Function
if __name__ == "__main__":
              s="Hello"
              res=repeatEnd(s,3)
              print(res)

Output:
llollollo

Solution for 2nd
def countTriple(s:str) -> int:
    n=len(s)

    arr=[s[0]]
    count=0

    for i in range(1,n):
        if(s[i]==arr[-1]):
            arr.append(s[i])
            if(len(arr)==3):
                count+=1
                arr.pop(0)
        else:
            arr=[s[i]]

    return count

# Driver Function
if __name__ == "__main__":
              print(countTriple("abcXXXabc"))
              print(countTriple("xxxabyyyycd"))
              print(countTriple("a") )

Output:
1
3
0

@thedivyanshuyadav is there an efficient way to solve the problem? Like without using the for loop.

@thedivyanshuyadav is there an efficient way to solve the problem? Like without using the for loop.

I don't know any solution which is more efficient than this. The Complexity of the program is O(n).


GoldenLayout root drop zones.

Fix an issue with GoldenLayout not being able to create drop zones in the root component.
GoldenLayout's  code assumes that the root component is full screen (i.e. the origin is 0,0).
That means that if a dashboard is not positioned at or near 0,0 in the document, the left and top root drag areas do not work. It worked on the Toolbox home screen because the main navbar is 42px high, thus offering a thin 8px drop zone from the top edge of the screen.
Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[x] Caught up with develop branch as of last change.
[x] Added CHANGELOG entry, or determined not required.
[x] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[x] Updated doc comments / prop-types, or determined not required.
[x] Reviewed and tested on Mobile, or determined not required.
[x] Created Toolbox branch / PR, or determined not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

Great find + fix on this - working nicely now in both Toolbox-based examples. Happy that we can report back to our clients that this has been identified and fixed.


feat:(bin) update scroll-zkevm tool

update:

delete super_proof
update create_agg_proof -> create_agg_proof_batch

looks good for me. If you have already tested it, i can merge this PR

looks good for me. If you have already tested it, i can merge this PR

not yet, I will test it later because gpu machines are in use.


Update how-to-download-and-deploy-mdop-group-policy--admx--templates.md

add instructions on how to expand the downloaded .cab file

@CCDFischer Thanks for the change, we'll get your input merged.


fatal: Could not parse object '4ef930c1c884fdca5f472ab2ce7cb9b505d26c1a'

Hi,thank you very much for your work,when I install apex,I got the error" fatal: Could not parse object '4ef930c1c884fdca5f472ab2ce7cb9b505d26c1a' "by running"git reset --hard 4ef930c1c884fdca5f472ab2ce7cb9b505d26c1a",
I used ubuntu18.04 CUDA11.1 RTX3060,can you give me some advice,Thanks!

I replaced the correct torch version, it can run after skipping this sentence


Active logger factory can be overridden with a custom instance

Implements a method for bypassing logger factory autodiscovery mechanism. A specific logger factory instance is registered within LoggerFactory and then used directly without invoking binding phase.
Related JIRA: http://jira.qos.ch/browse/SLF4J-378

@ceki can you update status on this PR?
This PR is approved and merged can help me use logback with my own logger implementation. Today I have to create my own logback binder which collides with the one in logback-classic.
On that note: why not offer binder in dedicated jar allowing users to easily supply their own binder?

 Indeed, they can be understood by any developer within minutes and that developer can be expected to reason correctly about them.
The setLoggerFactory() mechanism proposed here is ad hoc and, dare I say, unprincipled.
In any case, there is no way new binding rules will/can be introduced in the 1.7.x series.
FYI, the 1.8 branch will use the ServiceLoader mechanism with similar unflexible logic as in the 1.7.x. If you want to see the rules change, then I invite you to try your luck on the 1.8 branch. However, setLoggerFactory()'s open-buffet approach is very likely to receive very little love on the 1.8 branch as well.
On the 1.8 branch, the first available service provider is selected. However, the selection mechanism can be "enhanced" with different procider selection rules, e.g. by priority...

Since this PR is unlikely to be merged, I propose to close and continut the discussion on the slf4j-dev mailing list or alternatively on  http://jira.qos.ch/browse/SLF4J-378


oap-netty-server-worker  Thousands of threads cause problems  OOM

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

version:
skywalking : 8.3
jdk: 1.8
es: 7.8

新版本上线后突然 oap-netty-server-worker 线程激增到几千，有的都上万，导致应用OOM ，这是新版本BUG吗，老版本没有这个问题

新版本上线后突然 oap-netty-server-worker 线程激增到几千，有的都上万，导致应用OOM ，这是新版本BUG吗，老版本没有这个问题

god

god


APP: Multiple language support

[ ] Add support to show documents that are not in the preferred language, to show in the secondary language.
[ ] Change the language selector to support multiple language selections, with an order of preference.


Consider implementing redirects for audits.toml

It was pointed out in #157 that audit files may occasionally need to migrate, for example if an organization migrates from audits in a single repo to an aggregated repo.
We could consider some kind of explicit support for this with a directive in audits.toml. This could be a transparent redirect, or just something to cause a message to be displayed the next time the file is fetched.
It's worth noting that in the migrate-to-aggregated-repo case, there may still be audits in the old file, they will just no longer represent the full output of the organization. This might be a reason to design the feature to point to the "canonical" audit set, rather than as a strict redirect.

We've been asked to rename our supply-chain repository to something that specifies that it's about Rust crates. Since we're already out in the open and people may be using our current URL, is there something we could do to get a permanent redirect working?

If the idea is just that you want to rename google/supply-chain to something like google/rust-supply-chain, I think you can just rename the repository and there'll be an automatic redirect (which will last as long as nobody creates a new repo called supply-chain in the org). We can of course update the registry as well, but there may not be an urgent need to do anything more fancy.


Community Support - README.md - Grammar Check

What would you like to share?
Hey! @eddiejaoude
    I have come across a few grammatical errors in community support README.md. I am listing them in below bullet points. Please review this issue and if you find it useful then make the following changes in docs.

The unfortunate thing about this is that it lacks a write-up on what was used. It's important to know the articles that were used for reference ~purpose~ purposes.
We could then have folks ~to~ have their own "support" repository and be able to PR in their contributions!
Some examples would ~be:~ be - Netflix, Facebook ~and~ ,and of course EddieHub. Learn more on GitHub docs.
Enter your username in the highlighted ~searchbar~ search bar:
Subscribe ~our~ to our YouTube channel here

Thanks
Additional information
No response

PR #3374
Thanks, @Panquesito7.


Selective Application Tunneling

Can you cover the usecase where wireguard is ran out of a separate network namespace wherein certain applications are launched -- and only the traffic of those launched from that network namespace is tunneled? I've been doing this on OpenVpn for a years but as Ubuntu's adoption of  systemd-resolved  I've had DNS leaks.
Would love if there was a wireguard native way to tunnel certain applications rather than tunnel traffic based on range of destination IP addresses.
Ps. thanks for the HN post.

By certain applications do you mean certain ports, or unix sockets, or something else?
I believe the wireguard userspace implementations let you do anyting you want with the wireguard connection, so you could conceivably bind an application to a wg connection with a small userspace program without needing to use a tun/tap interface + assign it a real port.  It could work something like a CloudFlare's Argo tunnels https://www.cloudflare.com/en-ca/products/argo-tunnel/

The use case would be - I have say firefox going through the tunnel while chrome is not tunneled. shell utilities like ping , dig  and  (very importantly)  systemd-resolved  need to point them either to the tunnel or to the untunneled interface.  This is poorly documented. For openvpn I've used this script   to create a new network namespace and launch applications that I want tunneled from a shell that is set to that network namespace. The challenge becomes the dns leaks when using systemd-resolved

There is: https://www.wireguard.com/netns/
The second use case where the physical interfaces get ejected from the default namespace is most suitable for those who don't practice more paranoid isolation or use multiple tunnels for multiple applications.
And for resolv: http://man7.org/linux/man-pages/man8/ip-netns.8.html
There is also firejail where you can specify both netns and dns.

@alextrekov3307  thanks for the netns link. It is indeed what I'm seeking to do. What modifications would you make to the conf files sent by vpn providers means to be used with wg-quick

Figured out how to do this with docker: https://github.com/pirate/wireguard-docs#containerization
If you can get your application running inside a docker container, then you can route all of its traffic through wireguard like this:
docker-compose.yml:
version: '3'

services:
  wireguard:
    image: linuxserver/wireguard
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    volumes:
      - /lib/modules:/lib/modules
      - ./wg0.conf:/config/wg0.conf:ro

  vpn_test:
    image: curlimages/curl
    entrypoint: curl -s http://whatismyip.akamai.com/
    network_mode: 'service:wireguard'

wg0.conf:
[Interface]
# Name = client1.wg.example.com
Address = <IP_ADDRESS>/32
PrivateKey = abc...

[Peer]
# Name = relay1.wg.example.com
Endpoint = relay1.wg.example.com:51820
PublicKey = abc...
AllowedIPs = <IP_ADDRESS>/0
PersistentKeepalive = 21

docker-compose up
docker-compose run vpn_test
# should output public IP of VPN relay server (instead of container host)

www.dnsleaktest reports IP address as the tunnel exit location, but the DNS server is still that of the un-tunneled traffic, which is the closest <IP_ADDRESS> server to the real physical location.

That should not happen if set up properly. Try to delete all cache and browser configuration or sandbox it in its own rootfs.
Network namespaces produce isolated virtualized networking stacks, not even rules carry over (have to execute iptaables/etc in each namespace).