Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
docs(egress): scope the fail-static claim to HCC
Alfredo Lopezf2f7f70fcfb9
diff --git a/host-context-controller/package-lock.json b/host-context-controller/package-lock.jsonindex e6c50e0ec..c48be2e26 100644--- a/host-context-controller/package-lock.json+++ b/host-context-controller/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-host-context-controller",- "version": "0.1.291",+ "version": "0.1.292","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-host-context-controller",- "version": "0.1.291",+ "version": "0.1.292","license": "SEE LICENSE IN LICENSE","dependencies": {"@clerum/codex-catalog-projection": "file:../packages/codex-catalog-projection",diff --git a/host-context-controller/package.json b/host-context-controller/package.jsonindex bb16aed1e..ef8938838 100644--- a/host-context-controller/package.json+++ b/host-context-controller/package.json@@ -1,6 +1,6 @@{"name": "clerum-host-context-controller",- "version": "0.1.291",+ "version": "0.1.292","description": "Host Context Controller - provides McpServer CRDs to mcp-host via REST API","main": "dist/main.js","engines": {diff --git a/host-context-controller/src/networkPolicyReconciler.egressClassification.test.ts b/host-context-controller/src/networkPolicyReconciler.egressClassification.test.tsindex e566bb34b..c2393ac66 100644--- a/host-context-controller/src/networkPolicyReconciler.egressClassification.test.ts+++ b/host-context-controller/src/networkPolicyReconciler.egressClassification.test.ts@@ -330,7 +330,12 @@ describe('#513: a non-DNS exception inside the resolve block is not a DNS condit// permanent DNS failure line, no prune". D4 fail-static is the house rule for// a condition we cannot resolve this pass, and the transient branch already// obeys it. When there is a live policy to serve, serve it, report the fault,- // and let the workload run on the last known-good egress.+ // and let the HCC-managed Deployment start on the last known-good egress.+ //+ // Scoped to HCC on purpose. Every consumer of ExternalEgressReady treats a+ // False as terminal whatever the reason, so a WRC recipe depending on this+ // server still fails — see #577, which is a decision about what the+ // condition means, not something this test can assert away.await seedAccumulatedPolicy({ lapsed: false })injectPostResolutionTypeError()diff --git a/host-context-controller/src/networkPolicyReconciler.ts b/host-context-controller/src/networkPolicyReconciler.tsindex bffc512a5..6d87ccadd 100644--- a/host-context-controller/src/networkPolicyReconciler.ts+++ b/host-context-controller/src/networkPolicyReconciler.ts@@ -2292,8 +2292,10 @@ export class NetworkPolicyReconciler {// D4 fail-static, applied to a fault exactly as the transient branch// applies it to a resolver outage: when there is a live policy, its// rules are what is enforced right now, so report them and let the- // workload run on the last known-good egress. Read from the live- // object, not recomputed — recomputing is what faulted.+ // HCC-managed Deployment start on the last known-good egress. Read+ // from the live object, not recomputed — recomputing is what faulted.+ // Only HCC: consumers of ExternalEgressReady treat any False as+ // terminal, so a dependent WRC recipe still fails (#577).const enforced = (existingPolicy?.spec?.egress ?? []).flatMap(rule => rule.to ?? []).map(to => to.ipBlock?.cidr)