@celilo/e2e 0.16.0 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/container-manager.ts +9 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celilo/e2e",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.1",
|
|
4
4
|
"description": "E2E test infrastructure for Celilo-deployed applications. Provides a simulated internet with DNS hierarchy, ACME server, firewalls, and target machines in Docker.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"README.md"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@celilo/capabilities": "^
|
|
40
|
+
"@celilo/capabilities": "^2.0.0",
|
|
41
41
|
"@celilo/cli-display": "^0.2.0",
|
|
42
42
|
"@celilo/event-bus": "^0.6.0",
|
|
43
43
|
"@celilo/terraform-fake": "^0.3.0",
|
package/src/container-manager.ts
CHANGED
|
@@ -708,11 +708,19 @@ function buildNetworkHandle(
|
|
|
708
708
|
);
|
|
709
709
|
}
|
|
710
710
|
// Kill any prior responder (idempotent: replaces prior values map).
|
|
711
|
+
//
|
|
712
|
+
// Matched on "events respond", NOT "celilo events respond": inside the
|
|
713
|
+
// e2e management image `celilo` is a dev-mode shim that execs `bun run
|
|
714
|
+
// .../index.ts events respond ...`, so the literal word "celilo" never
|
|
715
|
+
// appears contiguous with "events respond" in the resulting process's
|
|
716
|
+
// argv — the old pattern silently matched nothing, so a second
|
|
717
|
+
// `respondWith()` call left the FIRST responder (and its stale values
|
|
718
|
+
// map) running alongside the new one instead of replacing it.
|
|
711
719
|
dockerExec(
|
|
712
720
|
projectName,
|
|
713
721
|
composeDir,
|
|
714
722
|
'management',
|
|
715
|
-
'pkill -f "
|
|
723
|
+
'pkill -f "events respond" 2>/dev/null || true',
|
|
716
724
|
5_000,
|
|
717
725
|
);
|
|
718
726
|
// Spawn detached. nohup + & + disown cleanly survives the
|