Skip to content

Commit 2818c62

Browse files
authored
Merge pull request #43455 from github/repo-sync
Repo sync
2 parents 3addead + 85b2028 commit 2818c62

File tree

253 files changed

+1612
-265
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

253 files changed

+1612
-265
lines changed

.gitattributes

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Set default behavior, in case users don't have core.autocrlf set.
22
* text=auto
3-
# Explicitly declare text files we want to always be normalized and converted
4-
# to native line endings on checkout.
5-
*.md text diff=markdown
3+
# Explicitly declare text files we want to always be normalized, and for
4+
# Markdown files, enforce LF line endings on checkout.
5+
*.md text eol=lf diff=markdown
66
*.json.br filter=lfs diff=lfs merge=lfs -text
77
.github/workflows/*.lock.yml linguist-generated=true merge=ours

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,11 @@ ENV BUILD_SHA=$BUILD_SHA
155155

156156
# V8 heap limit as a percentage of the container cgroup memory limit.
157157
# Uses --max-old-space-size-percentage (Node 24+) so the heap adapts
158-
# automatically when K8s memory limits change. 75% leaves ~25% headroom
158+
# automatically when K8s memory limits change. 80% leaves ~20% headroom
159159
# for off-heap memory (Buffers, V8 code cache, libuv) and OS overhead.
160-
ENV NODE_OPTIONS="--max-old-space-size-percentage=75"
160+
# Raised from 75% on advice from performance engineering to reduce GC
161+
# pressure during traffic spikes.
162+
ENV NODE_OPTIONS="--max-old-space-size-percentage=80"
161163

162164
# Entrypoint to start the server
163165
CMD ["node_modules/.bin/tsx", "src/frame/server.ts"]

config/moda/configuration/default/env.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ data:
33
NODE_ENV: production
44
# Matches the Dockerfile ENV. Both set the same value so that
55
# the heap limit is correct regardless of config-layering order.
6-
NODE_OPTIONS: '--max-old-space-size-percentage=75'
6+
NODE_OPTIONS: '--max-old-space-size-percentage=80'
77
PORT: '4000'
88
ENABLED_LANGUAGES: 'en,es,ja,pt,zh,ru,fr,ko,de'
99
RATE_LIMIT_MAX: '21'

config/moda/configuration/production/env.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ data:
33
NODE_ENV: production
44
# Matches the Dockerfile ENV. Both set the same value so that
55
# the heap limit is correct regardless of config-layering order.
6-
NODE_OPTIONS: '--max-old-space-size-percentage=75'
6+
NODE_OPTIONS: '--max-old-space-size-percentage=80'
77
PORT: '4000'
88
ENABLED_LANGUAGES: 'en,es,ja,pt,zh,ru,fr,ko,de'
99
RATE_LIMIT_MAX: '21'

content/codespaces/about-codespaces/codespaces-features.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ versions:
77
fpt: '*'
88
ghec: '*'
99
contentType: concepts
10+
category:
11+
- Get started
1012
---
1113

1214
## {% data variables.product.prodname_github_codespaces %} features

content/codespaces/about-codespaces/deep-dive.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ versions:
99
redirect_from:
1010
- /codespaces/getting-started/deep-dive
1111
contentType: get-started
12+
category:
13+
- Get started
1214
---
1315

1416
{% data variables.product.prodname_github_codespaces %} is an instant, cloud-based development environment that uses a container to provide you with common languages, tools, and utilities for development. {% data variables.product.prodname_github_codespaces %} is also configurable, allowing you to create a customized development environment for your project. By configuring a custom development environment for your project, you can have a repeatable codespace configuration for all users of your project.

content/codespaces/about-codespaces/understanding-the-codespace-lifecycle.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ redirect_from:
1111
- /codespaces/about-codespaces/the-codespace-lifecycle
1212
- /codespaces/getting-started/understanding-the-codespace-lifecycle
1313
contentType: concepts
14+
category:
15+
- Get started
1416
---
1517

1618
> [!NOTE]

content/codespaces/about-codespaces/what-are-codespaces.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ versions:
99
redirect_from:
1010
- /codespaces/overview
1111
contentType: concepts
12+
category:
13+
- Get started
1214
---
1315

1416
## Introduction

content/codespaces/customizing-your-codespace/changing-the-machine-type-for-your-codespace.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ versions:
88
redirect_from:
99
- /codespaces/developing-in-codespaces/changing-the-machine-type-for-your-codespace
1010
contentType: how-tos
11+
category:
12+
- Customize your codespace
1113
---
1214

1315
## About machine types

content/codespaces/customizing-your-codespace/changing-the-shell-in-a-codespace.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ versions:
66
fpt: '*'
77
ghec: '*'
88
contentType: how-tos
9+
category:
10+
- Customize your codespace
911
---
1012

1113
When you're working in a codespace, you can open a new terminal window with a shell of your choice, change your default shell for new terminal windows, or install a new shell. You can also use dotfiles to configure your shell.

0 commit comments

Comments
 (0)