Skip to content

Fix lambda container is dropped by ryuk (#848)#922

Merged
cristianrgreco merged 1 commit intotestcontainers:mainfrom
julienboulay:848
Mar 11, 2025
Merged

Fix lambda container is dropped by ryuk (#848)#922
cristianrgreco merged 1 commit intotestcontainers:mainfrom
julienboulay:848

Conversation

@julienboulay
Copy link
Copy Markdown
Contributor

Fixes #848

Configure the LocalStack container to add sessionId when starting lambda container.
This allows the lambda container to be identified by the reaper and cleaned up on exit.

See Localstack documentation for more details about LAMBDA_DOCKER_FLAGS

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 11, 2025

Deploy Preview for testcontainers-node ready!

Name Link
🔨 Latest commit 5445630
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-node/deploys/67d096a200ccf90008addcfc
😎 Deploy Preview https://deploy-preview-922--testcontainers-node.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@cristianrgreco cristianrgreco added bug Something isn't working patch Backward compatible bug fix labels Mar 11, 2025
@cristianrgreco cristianrgreco merged commit b31edb8 into testcontainers:main Mar 11, 2025
18 checks passed
@julienboulay
Copy link
Copy Markdown
Contributor Author

@cristianrgreco many thanks for your approval and reactivity.

Is it possible to create a new 10.18.1 release with this fix, please ?

@cristianrgreco
Copy link
Copy Markdown
Collaborator

cristianrgreco commented Mar 11, 2025

@julienboulay np, thank you for the PR!

I've merged another PR which was a minor change which hasn't yet been released. Because of that the next version will be 10.19.0. I'll trigger a release once I've merged #921 (includes some dependency updates to address some vulnerabilities)

vaernion pushed a commit to Arbeidstilsynet/brevgen2 that referenced this pull request Dec 3, 2025
….20.0

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [testcontainers](https://github.com/testcontainers/testcontainers-node) | devDependencies | minor | [`10.18.0` -> `10.20.0`](https://renovatebot.com/diffs/npm/testcontainers/10.18.0/10.20.0) |

---

### Release Notes

<details>
<summary>testcontainers/testcontainers-node (testcontainers)</summary>

### [`v10.20.0`](https://github.com/testcontainers/testcontainers-node/releases/tag/v10.20.0)

[Compare Source](testcontainers/testcontainers-node@v10.19.0...v10.20.0)

#### Changes

#### 🚀 Features

-   Add support for container commit [@&#8203;smcroskey](https://github.com/smcroskey) ([#&#8203;923](testcontainers/testcontainers-node#923))

#### 🧹 Maintenance

-   Fix flaky healthcheck timeout test [@&#8203;cristianrgreco](https://github.com/cristianrgreco) ([#&#8203;930](testcontainers/testcontainers-node#930))
-   Fix flaky Selenium test [@&#8203;cristianrgreco](https://github.com/cristianrgreco) ([#&#8203;929](testcontainers/testcontainers-node#929))

### [`v10.19.0`](https://github.com/testcontainers/testcontainers-node/releases/tag/v10.19.0)

[Compare Source](testcontainers/testcontainers-node@v10.18.0...v10.19.0)

#### Changes

#### 🚀 Features

-   Add CockroachDB module [@&#8203;leourbina](https://github.com/leourbina) ([#&#8203;910](testcontainers/testcontainers-node#910))

#### 🐛 Bug Fixes

-   Fix lambda container is dropped by ryuk ([#&#8203;848](testcontainers/testcontainers-node#848)) [@&#8203;julienboulay](https://github.com/julienboulay) ([#&#8203;922](testcontainers/testcontainers-node#922))
-   Fix PostgreSQL container restart [@&#8203;cristianrgreco](https://github.com/cristianrgreco) ([#&#8203;914](testcontainers/testcontainers-node#914))

#### 🧹 Maintenance

-   Migrate from Jest to Vitest [@&#8203;cristianrgreco](https://github.com/cristianrgreco) ([#&#8203;921](testcontainers/testcontainers-node#921))
-   GHA workflow job names [@&#8203;cristianrgreco](https://github.com/cristianrgreco) ([#&#8203;920](testcontainers/testcontainers-node#920))
-   Optimise CI to reduce runners usage, caching NPM modules when needed [@&#8203;mdelapenya](https://github.com/mdelapenya) ([#&#8203;918](testcontainers/testcontainers-node#918))
-   Update docs to demonstrate specifying Qdrant version [@&#8203;Anush008](https://github.com/Anush008) ([#&#8203;917](testcontainers/testcontainers-node#917))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually on...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working patch Backward compatible bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lambda container not being removed automatically

2 participants