sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: storybook
Issue: [Bug]: SB 7 actions undefined with Vue 2.7 project
Labels: bug,addon: actions,vue

### Describe the bug

Vue warns with invalid handlers for the emits in a Vue component.

When navigating to the Primary Button.vue story, warnings are shown and the actions are not shown in th UI.

`[Vue warn]: Invalid handler for event "update:active-step": got undefined`

It seems to work in Vue3 though.

### To Reproduce

Not working:
https://github.com/reynard80/vite-vue2.7-sb

Working:
https://github.com/reynard80/vite-vue3-sb

### System

```shell
Environment Info:

  System:
    OS: Windows 10 10.0.22621
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
  Binaries:
    Node: 18.15.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 3.4.1 - C:\Program Files\nodejs\yarn.CMD
    npm: 9.5.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1413.0), Chromium (109.0.1518.78)
  npmPackages:
    @storybook/addon-essentials: ^7.0.0-rc.8 => 7.0.0-rc.8
    @storybook/addon-interactions: ^7.0.0-rc.8 => 7.0.0-rc.8
    @storybook/addon-links: ^7.0.0-rc.8 => 7.0.0-rc.8
    @storybook/blocks: ^7.0.0-rc.8 => 7.0.0-rc.8
    @storybook/testing-library: ^0.0.14-next.1 => 0.0.14-next.1
    @storybook/vue: ^7.0.0-rc.8 => 7.0.0-rc.8
    @storybook/vue-vite: ^7.0.0-rc.8 => 7.0.0-rc.8
  npmGlobalPackages:
    @storybook/cli: 6.5.16
```


### Additional context

_No response_
Repository: ant-design
Issue: Keyboard Accessibility for ANT TABLE row click
Labels: Inactive,⌨️ Accessibility

### What problem does this feature solve?

Ant Table have row click feature but what if user want to use arrow key to see next row instead of clicking again and again using mouse.
If this feature is implemented row action can be triggered by using keyboard arrow keys.

### What does the proposed API look like?

can pass a prop to table like
```
<Table
keyboardNavigation={true}
/>
```

when its true and user is pressing arrow key it will highligt the selected row and initiate respected row click action

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: go
Issue: runtime/pprof: system information in output
Labels: NeedsInvestigation

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
go version go1.20.2 linux/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN="/home/Go/go-current/go/bin"
GOCACHE="/home/cache/go-build"
GOENV="/home/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/Go/go-current/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/Go/go-current/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/Go/go-current"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/Go/go-current/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.20.2"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1401588216=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### What did you do?

Cross compiled a binary from a Linux system to Windows.

### What did you expect to see?

CPU profiles produced on the target system (Windows) to contain no system information and a valid build ID. For example:

<pre>
$ go tool pprof myprofile
File: myprogram
Build ID: 291bb04836262539078614ce0e65ab3dcac05f04
Type: cpu
Time: Mar 29, 2023 at 11:23am (BST)
Duration: 2.63s, Total samples = 1.51s (57.43%)
Entering interactive mode (type "help" for commands, "o" for options)
</pre>

### What did you see instead?

<pre>
$ go tool pprof myprofile
File: D:\Programs\myprogram\myprogram.exe
Build ID: D:\Programs\myprogram\myprogram.exe2023-03-27 23:33:12.3221123 > +0200 CEST
Type: cpu
Time: Mar 27, 2023 at 10:37pm (BST)
Duration: 24.23s, Total samples = 38.10s (157.22%)
Entering interactive mode (type "help" for commands, "o" for options)
</pre>
Repository: godot
Issue: Godot emits unknown ansi color code ESC[59m to terminal.
Labels: bug,topic:gdscript,topic:editor

### Godot version

4.0.1

### System information

Linux
Terminal: `st`

### Issue description

When editing a file in an external editor with an LSP, the terminal I launched Godot from shows

```
erresc(default): gfx attr 59 unknown
ESC[59m
erresc(default): gfx attr 59 unknown
ESC[59m
... and more ...
```

This seems to happen every character I type.
I can't find any information about 59 being an ANSI escape sequence (e.g. https://stackoverflow.com/a/33206814/1435461).
Is it possibly supposed to be `ESC[49m` or `ESC[39m`?

### Steps to reproduce

1. Run `godot` from `st`
2. Open a file in an external editor using the LSP
3. Start editing the file

### Minimal reproduction project

N/A
Repository: terminal
Issue: Productize the ConPTY nuget package (for 3p use)
Labels: Issue-Feature,Product-Conpty,Needs-Tag-Fix

###### [original thread: #3577][initial PR: #12980]

ala #11865

Actually ship this thing as a supported nuget package. 


When this and #6999 are done, go ingest the sample from #15053, because it's awesome. 

```[tasklist]
### Pre-reqs
- [ ] #14000
```

```[tasklist]
### Tasks
- [ ] https://github.com/microsoft/terminal/issues/9462
- [ ] https://github.com/microsoft/terminal/issues/14477
- [ ] https://github.com/microsoft/terminal/issues/16911
- [ ] https://github.com/microsoft/terminal/issues/17822
```
Repository: TypeScript
Issue: Performance issue if many symbols are declared in repeated namespaces
Labels: Suggestion,Experience Enhancement

# Bug Report

### 🔎 Search Terms

addDeclarationToSymbol, pushIfUnique, performance namespace bind

### 🕗 Version & Regression Information

This is the behavior in every version I tried: v4.9.4, v5.0.2

### ⏯ Playground Link

Repro in: https://github.com/frigus02/test-ts-add-declaration-to-symbol-set

[Playground link with relevant code](https://www.typescriptlang.org/play?#code/CYUwxgNghgTiAEA7KBbEBnADlMCD6eA5iIiDFAC4jAB0AZgPYM0BGs8A3gFDzwgAemBjArxIUdOngBBTgF8uC0OLhJUGbLngFipclVqNmbGJx59Bw0eMnwAQvMVdl0VcjRYc+IiTKVq9EyssMEAXma8AkIiYtC2AMKOckA)

### 💻 Code

We have a .d.ts generator that emits symbols in nested namespaces. For simplicity the generator always emits the entire namespace. Example:

```ts
declare namespace __generated.foo.bar {
  export class A {}
}
declare namespace __generated.foo.bar {
  export class B {}
}
declare namespace __generated.foo.bar.baz {
  export class C {}
}
// Repeat that a few thousand times
```

It seems this pattern runs into a performance issue inside `addDeclarationToSymbol`. It calls `appendIfUnique(symbol.declarations, node)`, which iterates through the `symbol.declarations` array. The code above leads to lots of declarations of the symbols `__generated`, `__generated.foo`, etc.

The patch [tsc_patch.diff](https://github.com/frigus02/test-ts-add-declaration-to-symbol-set/blob/51ac041ae6d38897361081f673f894a2e359f840/tsc_patch.diff) uses a `Set` rather than iterating the array. This seems to speed up the build time significantly.

### 🙁 Actual behavior / 🙂 Expected behavior

The build is slower than it could be. A real project (which I can't share publicly) takes ~40 seconds to build currently. With the patch is takes ~16 seconds.

The example in https://github.com/frigus02/test-ts-add-declaration-to-symbol-set shows a "Total time" of 5.61s vs 1.19s.

### Question

I realize that we could change the code generator to fix this. Unfortunately that is trickier than it seems and we likely can't do that in the next ~year.

Do you think such a patch (using a `Set`) is feasible here? If yes, I'd be happy to prepare a PR.
Repository: material-ui
Issue: Modal - Issue with chromevox and current focus
Labels: accessibility,component: modal

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

Video Examples:

https://user-images.githubusercontent.com/12486130/228531170-078c7b82-9ba8-49e8-b736-0caab46c58b5.mp4

https://user-images.githubusercontent.com/12486130/228531203-a9df3a3c-5274-421b-90b4-bf92a5ff2206.mp4

Link to live example: [MUI React Dialog Page](https://mui.com/material-ui/react-dialog/)

Steps:

1.  Go to any example on MUI which inherits from Modal: [Dialog](https://mui.com/material-ui/react-dialog/), [Drawers](https://mui.com/material-ui/react-drawer/)
2.  Open Chromevox screen reader for ChromeOS. The shortcut is ctrl + alt + z
3.  Interact with component and see focus keeps getting moved outside the component


### Current behavior 😯

Interact with component and see focus keeps jumping outside the dialog/drawer. 

I removed the -1 tabindex from the dialog container, and placed it on the element with the dialog role instead, which seems to have helped, but that might break the component for others if they are focusing on the outer container.

### Expected behavior 🤔

Focus should not be jumping outside the dialog.

### Context 🔦

I'm not 100% sure if this is the same issue mentioned on [Issue #23827](https://github.com/mui/material-ui/issues/23827)

Any of the MUI Dialogs/Drawers are giving some focus issues when using the chromevox screen reader on ChromeOS.

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
```
</details>
Repository: opencv
Issue: GStreamer memory:DMABuf is not supported in OpenCV
Labels: feature,category: videoio

### System Information

OpenCV version: 4.7.0
Operating System / Platform: Ubuntu 22.04
Compiler & compiler version: GCC 11.3.0

### Detailed description

I want to run video capture using Gstreamer backend. As I see OpenCV is accepting only appsink (which makes things complicated), but found the workaround for that one, but facing the issue where gstremeamer pipeline works when running from the command line, but once used with `VideoCapture` then it fails.

Video config for OpenCV cmake:
```
--   Video I/O:
--     DC1394:                      YES (2.2.6)
--     FFMPEG:                      YES
--       avcodec:                   YES (58.134.100)
--       avformat:                  YES (58.76.100)
--       avutil:                    YES (56.70.100)
--       swscale:                   YES (5.9.100)
--       avresample:                NO
--     GStreamer:                   YES (1.20.3)
--     v4l/v4l2:                    YES (linux/videodev2.h)
--     Intel Media SDK:             YES (VPL::dispatcher VPL::api VPL::cppapi /usr/lib/x86_64-linux-gnu/libva.so /usr/lib/x86_64-linux-gnu/libva-drm.so)
```


### Steps to reproduce

If I run in command line:
```
gst-launch-1.0 filesrc location=/path/to/video ! qtdemux ! vah264dec ! 'video/x-raw(memory:DMABuf)' ! appsink sync=false
```
it works.

If I run the same pipeline with `VideoCapture`, for instance:
```
ostringstream line = "filesrc location=/path/to/video ! qtdemux ! vah264dec ! 'video/x-raw(memory:DMABuf)' ! appsink sync=false";
makePtr<VideoCapture>(line.str(), CAP_GSTREAMER);
```

I get:
```
Created GStreamer capture  ( filesrc location="/path/to/video" ! qtdemux ! vah264dec ! video/x-raw(memory:DMABuf) ! appsink sync=false )
[ WARN:0@0.087] global cap_gstreamer.cpp:2784 handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module qtdemux0 reported: Internal data stream error.
[ WARN:0@0.088] global cap_gstreamer.cpp:1679 open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0@0.088] global cap_gstreamer.cpp:1164 isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created

```

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [ ] I updated to the latest OpenCV version and the issue is still there
- [x] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: go
Issue: x/mobile: gomobile bind use CGO_LDFLAGS
Labels: NeedsInvestigation,mobile

I need to use a so lib which has an arm64-v8a arh and an armabi-v7a arch, but when i use CGO_LDFLAGS, I can only get an aar with one arh.
```
CGO_LDFLAGS="-L$(LIBS_DIR)/arm64" \
gomobile bind -ldflags "-s -w" -v -target=android/arm64
```
<img width="288" alt="截屏2023-03-29 21 04 56" src="https://user-images.githubusercontent.com/38421751/228544416-5a13c913-d875-462b-b83d-2f6ff24ca761.png">
 The so lib is `$(LIBS_DIR)/arm64` for arm64-v8a and `$(LIBS_DIR)/arm` for armabi-v7a

 how can I build an aar with both arm64-v8a and armabi-v7a arch?
Repository: vscode
Issue: terminal.integrated.env.linux.PATH and terminal.integrated.env.osx.PATH settings break tasks
Labels: bug,tasks

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
Version: 1.76.2 (user setup)
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
Date: 2023-03-14T17:55:54.936Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Windows_NT x64 10.0.19045
Sandboxed: No
WSL 2                                                                                                                                           Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal

Steps to Reproduce:

1. Add the following to user settings:
```
"terminal.integrated.env.linux": {
    "PATH": "${env:PATH}"
}
``` 
2. Run any task.

Result:

```
Executing task: npm run test 
/usr/bin/env: ‘bash\r’: No such file or directory

 *  The terminal process "/bin/bash '-c', 'npm run test'" terminated with exit code: 127. 
 *  Terminal will be reused by tasks, press any key to close it. 
```

The integrated terminal works as expected.
`terminal.integrated.env.windows.PATH` seems to work.
Repository: material-ui
Issue: [joy-ui] Adopt HSL instead of RGB/hex color codes
Labels: new feature,waiting for 👍,package: joy-ui,customization: theme

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

_No response_

### Examples 🌈

_No response_

### Motivation 🔦

Currently all colors get generated as hex codes.

```css
    --joy-palette-primary-50: #F4FAFF;
    --joy-palette-primary-100: #DDF1FF;
    --joy-palette-primary-200: #ADDBFF;
    --joy-palette-primary-300: #6FB6FF;
    --joy-palette-primary-400: #3990FF;
    --joy-palette-primary-500: #096BDE;
    --joy-palette-primary-600: #054DA7;
    --joy-palette-primary-700: #02367D;
    --joy-palette-primary-800: #072859;
    --joy-palette-primary-900: #00153C;
```


Would suggest the team to generate them as human readable HSL code instead,

```css
    --joy-palette-primary-50: hsl(207, 100%, 98%);
    --joy-palette-primary-100: hsl(205, 100%, 93%);
    ...
```

Reasons:
1. Better understanding of color when changing hsl values.
2. Changing a hue, saturation or lightness of a color is useful in certain situations.
3. Easy adoption to new color palettes from existing color palettes just be changing hue.
Repository: next.js
Issue: [NEXT-911] Issue tracking OpenTelemetry support
Labels: bug,Performance

A place to track current OTel support for easier cooperation with other projects.

<sub>From [SyncLinear.com](https://synclinear.com) | [NEXT-911](https://linear.app/vercel/issue/NEXT-911/issue-tracing-opentelemetry-support)</sub>
Repository: PowerToys
Issue: Timestamp of resized images updated but setting is "original timestamp"
Labels: Issue-Bug,Product-Image Resizer,Priority-2

### Microsoft PowerToys version

0.68.1

### Installation method

GitHub

### Running as admin

None

### Area(s) with issue?

Image Resizer

### Steps to reproduce

From some version when I resize images I find reduced files with updated timestamp, even if setting is to leave original one.
It happens most times (only sometimes it works as expected)

Before:
![immagine](https://user-images.githubusercontent.com/129297960/228566630-98cc1576-f62a-4652-9cba-4b0f76e20592.png)

After:
![immagine](https://user-images.githubusercontent.com/129297960/228566911-ed618965-a422-4842-a800-a761920248d0.png)

Settings:
![immagine](https://user-images.githubusercontent.com/129297960/228567371-92d95b47-c9fc-45f8-9aac-66f8e3dc496f.png)


### ✔️ Expected Behavior

Find original timestamp

### ❌ Actual Behavior

Find today timestamp

### Other Software

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]: BLIP model download in each preprocess
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

Each time I use BLIP for captain, BLIP download started even if I'd finished download before and the model_base_caption_capfilt_large.pth exists, the console output like this:
```
load checkpoint from /data/stable-diffusion-webui/models/BLIP/model_base_caption_capfilt_large.pth
```
On Ubuntu 20.04

It wasted a long time, why it didn't loaded from filesystem? No changes on the HASH of pth files.

### Steps to reproduce the problem

1. Go to "Train" -> "Preprocess"
2. Checked "Use BLIP for caption"
3. Press "Preprocess"



### What should have happened?

model should be loaded from cache

### Commit where the problem happens

trainning preprocess

### What platforms do you use to access the UI ?

Linux

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

```Shell
No
```


### List of extensions

No

### Console logs

```Shell
Startup time: 23.8s (import torch: 1.0s, import gradio: 0.7s, import ldm: 0.3s, other imports: 0.6s, load scripts: 0.7s, load SD checkpoint: 4.6s, create ui: 13.3s, gradio launch: 2.7s).
load checkpoint from /data/stable-diffusion-webui/models/BLIP/model_base_caption_capfilt_large.pth
 40%|████████████████                        | 357M/890M [51:47<59:45, 156kiB/s]
```


### Additional information

_No response_
Repository: node
Issue: Problems with "wasm-webapi" tests and V8 >= 11.2
Labels: v8 engine,test,arm,wasm

There seems to be issues with WASM streaming compilation on ARM since V8 11.2.

We had to disable these tests because they are somewhat flaky (sometimes they hang):
- https://github.com/nodejs/node/pull/47292
- https://github.com/nodejs/node/pull/47299
Repository: pytorch
Issue: A parameterized fill value for triu and tril functions
Labels: triaged,enhancement,module: viewing and reshaping

### 🚀 The feature, motivation and pitch

to mask the multihead attention layers we must store a mask tensor and perform additive or fill operations on the attention matrix, this tensor occupies memory. For the cases where we need to apply a causal mask, we can simply select the lower part of the attention matrix, filling the rest of the matrix with the value -inf. Currently our tril function does not allow this simple functionality. 

I propose to add the fill_value parameter, default zero, to both functions.

`torch.tril(input, diagonal=0, *, fill_value=0, out=None) → [Tensor]`
`torch.triu(input, diagonal=0, *, fill_value=0, out=None) → [Tensor]`

```python
def multi_head_attention(q, k, v,  /, heads, causal = None):
    q = rearrange(q, '... l (h k) -> h ... l k', h=heads)
    k = rearrange(k, '... t (h k) -> h ... t k', h=heads)
    v = rearrange(v, '... t (h v) -> h ... t v', h=heads)

    attn = einsum(q, k, 'h ... l k, h ... t k -> h ... l t')
    attn = attn / np.sqrt(q.shape[-1])

    if causal is not None:
        attn = attn.tril(fill_value=-np.inf)
        
        # we dont need this anymore:
        #   mask = view_for_broadcast(mask, to=attn)
        #   attn = attn.masked_fill(mask, -np.inf)
        # or:
        #   attn = attn - mask * (-1e10)

    attn = pt.softmax(attn, dim=-1)

    output = einsum(attn, v, 'h ... l t, h ... t v -> h ... l v')

    return rearrange(output, 'h ... l v -> ... l (h v)'), attn
```

### Alternatives

_No response_

### Additional context

_No response_

cc @gchanan @mruberry
Repository: rust
Issue: const-propagated `arithmetic_overflow` in unreachable code
Labels: P-medium,T-compiler,regression-from-stable-to-stable,C-bug

### Code

I tried this code: [playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=f6804071f4851d138db85474dbd096c8)

```rust
fn main() {
    let x = 2u32;
    let y = 3u32;
    // ...
    if y <= x {
        dbg!(x - y);
    }
}
```

I expected to see this happen: compiles, nothing printed

Instead, this happened:

```
error: this arithmetic operation will overflow
 --> src/main.rs:6:14
  |
6 |         dbg!(x - y);
  |              ^^^^^ attempt to compute `2_u32 - 3_u32`, which would overflow
  |
  = note: `#[deny(arithmetic_overflow)]` on by default
```

The original code comes from macro-generated test cases in `num-integer`, which failed here:
https://github.com/rust-num/num-integer/pull/54#issuecomment-1488962831

### Version it worked on

It most recently worked on: 1.69.0-beta.3

### Version with regression

`rustc --version --verbose`:
```
rustc 1.70.0-nightly (478cbb42b 2023-03-28)
binary: rustc
commit-hash: 478cbb42b730ba4739351b72ce2aa928e78e2f81
commit-date: 2023-03-28
host: x86_64-unknown-linux-gnu
release: 1.70.0-nightly
LLVM version: 16.0.0
```

@rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
Repository: kubernetes
Issue: Creating environment variables from a file
Labels: sig/storage,sig/node,kind/feature,needs-triage,wg/batch

### What would you like to be added?

The ability to create an environment variable from a file.



### Why is this needed?

Imagine the case where an initContainer creates some configuration (e.g., Tensorflow's [TF_CONFIG](https://cloud.google.com/ai-platform/training/docs/distributed-training-details)) that needs to be consumed as an environment variable by the main container.

The initContainer and the main container can share a volume that the initContainer writes the configuration to and k8s automatically loads that as an environment variable into the main container.

/wg batch
/sig node