fix: enable route control and replay capabilities for deployed apps
buildEnvVars was missing CAMELEER_ROUTE_CONTROL_ENABLED and CAMELEER_REPLAY_ENABLED, so deployed app containers defaulted to false and agents didn't announce these capabilities. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -275,6 +275,8 @@ public class DeploymentExecutor {
|
|||||||
envVars.put("CAMELEER_APPLICATION_ID", app.slug());
|
envVars.put("CAMELEER_APPLICATION_ID", app.slug());
|
||||||
envVars.put("CAMELEER_ENVIRONMENT_ID", env.slug());
|
envVars.put("CAMELEER_ENVIRONMENT_ID", env.slug());
|
||||||
envVars.put("CAMELEER_SERVER_URL", config.serverUrl());
|
envVars.put("CAMELEER_SERVER_URL", config.serverUrl());
|
||||||
|
envVars.put("CAMELEER_ROUTE_CONTROL_ENABLED", "true");
|
||||||
|
envVars.put("CAMELEER_REPLAY_ENABLED", "true");
|
||||||
if (bootstrapToken != null && !bootstrapToken.isBlank()) {
|
if (bootstrapToken != null && !bootstrapToken.isBlank()) {
|
||||||
envVars.put("CAMELEER_AUTH_TOKEN", bootstrapToken);
|
envVars.put("CAMELEER_AUTH_TOKEN", bootstrapToken);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user