Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(deploy): name the shell of the committed workspace layout merge copy

Alfredo Lopez944556b27a56
diff --git a/deploy/scripts/workspace-layout-merge.sh b/deploy/scripts/workspace-layout-merge.sh
index 60c33e2a0..2796e9c4d 100644
--- a/deploy/scripts/workspace-layout-merge.sh
+++ b/deploy/scripts/workspace-layout-merge.sh
@@ -1,3 +1,4 @@
+# shellcheck shell=sh
set -eu
root='/mnt/workspace-root'
fail_merge() {
diff --git a/host-context-controller/package-lock.json b/host-context-controller/package-lock.json
index 07fa8d82b..b912ae12e 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.399",
+ "version": "0.1.400",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-host-context-controller",
- "version": "0.1.399",
+ "version": "0.1.400",
"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.json
index 608899981..1e46459c3 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.399",
+ "version": "0.1.400",
"description": "Host Context Controller - provides McpServer CRDs to mcp-host via REST API",
"main": "dist/main.js",
"engines": {
diff --git a/host-context-controller/test/statelessDeployment.workspaceLayoutMerge.test.ts b/host-context-controller/test/statelessDeployment.workspaceLayoutMerge.test.ts
index ee0699eb0..a67837e82 100644
--- a/host-context-controller/test/statelessDeployment.workspaceLayoutMerge.test.ts
+++ b/host-context-controller/test/statelessDeployment.workspaceLayoutMerge.test.ts
@@ -230,10 +230,12 @@ function mvCalls(env: NodeJS.ProcessEnv): number {
describe('workspace layout merge', () => {
it('ships the rendered script as the copy the verify script reads', () => {
+ // The copy has no shebang (HCC runs it with `sh -c`), so its first line
+ // names the shell for the T0 shellcheck gate.
expect(
readFileSync(MERGE_SCRIPT_COPY, 'utf8'),
'regenerate deploy/scripts/workspace-layout-merge.sh from buildWorkspaceLayoutMergeScript()'
- ).toBe(buildWorkspaceLayoutMergeScript())
+ ).toBe(`# shellcheck shell=sh\n${buildWorkspaceLayoutMergeScript()}`)
})
it('predicts a refusal for a Host switched to stateful before the upgrade (T5)', () => {