Add containers_pid_namespace compatibility flag#6063
Conversation
ed55127 to
b163a4a
Compare
b163a4a to
aa2d442
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6063 +/- ##
==========================================
+ Coverage 70.38% 70.56% +0.17%
==========================================
Files 408 409 +1
Lines 108811 108964 +153
Branches 18000 18011 +11
==========================================
+ Hits 76591 76886 +295
+ Misses 21415 21275 -140
+ Partials 10805 10803 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
aa2d442 to
abe47c3
Compare
|
The generated output of |
Merging this PR will not alter performance
Comparing Footnotes
|
|
Sorry to suggest yet another redesign, but per my comment above, I think you are going to need to pass this in StartParams. In the edge runtime, it won't be feasible to pass the compatibility flags to the place where the container is first requested, since the worker hasn't necessarily been loaded yet at that point. |
abe47c3 to
d31fd31
Compare
|
LGTM once The internal build failure is spurious. It'll re-run anyway after the update. |
When set, this compatibility flag instructs the containers runtime to start the user's container in a separate PID namespace. Eventually this will become the default (past some yet-to-be-determined compatibility date).
d31fd31 to
e59219d
Compare
e59219d to
600d693
Compare
c5f2d5a to
5da9707
Compare
This flag was added in cloudflare/workerd#6063 and the compatibility date added in cloudflare/workerd#6264
This flag was added in cloudflare/workerd#6063 and the compatibility date added in cloudflare/workerd#6264
When set, this compatibility flag instructs the containers runtime to start the user's container in a separate PID namespace. Eventually this will become the default (past some yet-to-be-determined compatibility date).
Per @danlapid's suggestion, this follows the pattern used byneededByFlto annotate compatibility flags specifically needed for the containers service. We'll use this annotation in Edgeworker to send only the required compatibility flags to the ContainerService from the actor.Part of CC-6789