Add entrypoint and command keys for service containers (#343)

Introduce service-container-mapping schema definition with entrypoint
and command properties, gated behind allowServiceContainerCommand
feature flag. Job containers remain unaffected.
This commit is contained in:
eric sciple
2026-03-31 15:45:18 -05:00
committed by GitHub
parent 83de320ba9
commit 5db2e80f32
10 changed files with 313 additions and 8 deletions
+2 -1
View File
@@ -55,7 +55,8 @@ describe("FeatureFlags", () => {
"missingInputsQuickfix",
"blockScalarChompingWarning",
"allowCaseFunction",
"allowCopilotRequestsPermission"
"allowCopilotRequestsPermission",
"allowServiceContainerCommand"
]);
});
});
+8 -1
View File
@@ -40,6 +40,12 @@ export interface ExperimentalFeatures {
* @default false
*/
allowCopilotRequestsPermission?: boolean;
/**
* Enable `entrypoint` and `command` keys in service containers (`jobs.<job_id>.services.*`).
* @default false
*/
allowServiceContainerCommand?: boolean;
}
/**
@@ -55,7 +61,8 @@ const allFeatureKeys: ExperimentalFeatureKey[] = [
"missingInputsQuickfix",
"blockScalarChompingWarning",
"allowCaseFunction",
"allowCopilotRequestsPermission"
"allowCopilotRequestsPermission",
"allowServiceContainerCommand"
];
export class FeatureFlags {