# Conflicts: # packages/experimental/code-runtime-python/tests/runtime.spec.ts
This commit is contained in:
commit
ba0609571f
2 changed files with 6 additions and 4 deletions
|
|
@ -771,6 +771,7 @@ describe('PythonCodeRuntime — process identity', () => {
|
|||
})
|
||||
|
||||
describe('PythonCodeRuntime — inherited resource limits', () => {
|
||||
// Darwin deliberately does not apply RLIMIT_AS, and its shell rejects `ulimit -v`.
|
||||
it.skipIf(process.platform === 'darwin')('runs under an inherited hard limit tighter than addressSpaceMb', async () => {
|
||||
// An unprivileged process may lower a hard rlimit but never raise it. Under
|
||||
// a harness started with `ulimit -v` below `addressSpaceBytes`, requesting
|
||||
|
|
@ -826,7 +827,8 @@ describe('PythonCodeRuntime — inherited resource limits', () => {
|
|||
}
|
||||
}, 15_000)
|
||||
|
||||
it('applies the configured limits when nothing tighter is inherited', async () => {
|
||||
// The expected tuple includes RLIMIT_AS, which the backend deliberately skips on Darwin.
|
||||
it.skipIf(process.platform === 'darwin')('applies the configured limits when nothing tighter is inherited', async () => {
|
||||
// The clamp must not weaken the normal path: with an infinite inherited hard
|
||||
// limit there is nothing to clamp against, and RLIM_INFINITY compares as -1,
|
||||
// so treating it as a numeric bound would collapse every limit to -1.
|
||||
|
|
|
|||
6
pnpm-lock.yaml
generated
6
pnpm-lock.yaml
generated
|
|
@ -4923,12 +4923,12 @@ importers:
|
|||
'@deepseek-ai/dsh-invariants':
|
||||
specifier: workspace:^
|
||||
version: link:../../runtime-diagnostics/invariants
|
||||
'@deepseek-ai/dsh-session':
|
||||
specifier: workspace:^
|
||||
version: link:../../core/session
|
||||
'@deepseek-ai/dsh-timeout':
|
||||
specifier: workspace:^
|
||||
version: link:../../util/timeout
|
||||
'@deepseek-ai/dsh-util-values':
|
||||
specifier: workspace:^
|
||||
version: link:../../util/values
|
||||
|
||||
packages/experimental/inspector:
|
||||
dependencies:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue