Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(agent_harness): source egress URL from Doppler (#6013)

Wolf Mermelstein2ea11c4ee423
diff --git a/crates/cursor_cloud_agents/src/api.rs b/crates/cursor_cloud_agents/src/api.rs
index 2ded80f699..8e4e30f808 100644
--- a/crates/cursor_cloud_agents/src/api.rs
+++ b/crates/cursor_cloud_agents/src/api.rs
@@ -289,7 +289,7 @@ impl CursorClient {
}
impl CursorAgents for CursorClient {
- #[tracing::instrument(skip(self, prompt), err)]
+ #[tracing::instrument(skip_all, err, fields(mcp_servers = mcp_servers.len()))]
async fn create_agent(
&self,
prompt: &str,
diff --git a/infra/stacks/agent-harness-service/agent_harness_service.ts b/infra/stacks/agent-harness-service/agent_harness_service.ts
index 005ed685df..794583e615 100644
--- a/infra/stacks/agent-harness-service/agent_harness_service.ts
+++ b/infra/stacks/agent-harness-service/agent_harness_service.ts
@@ -347,13 +347,6 @@ export class AgentHarnessService extends pulumi.ComponentResource {
name: 'BASE_URL',
value: this.domain,
},
- // Where sandboxes dial the egress proxy - through the ALB,
- // not the container port, so it is set here where the
- // hostname is defined rather than in Doppler.
- {
- name: 'EGRESS_BASE_URL',
- value: this.egressDomain,
- },
],
secrets: [...dopplerEcsEnvironment.containerSecrets],
logConfiguration: {
diff --git a/services/agent_harness_service/src/config.rs b/services/agent_harness_service/src/config.rs
index 6a92ee569b..7079b02f84 100644
--- a/services/agent_harness_service/src/config.rs
+++ b/services/agent_harness_service/src/config.rs
@@ -145,7 +145,6 @@ pub struct Config {
///
/// Not derivable from `egress_port`: the sandbox reaches this through
/// whatever ingress fronts the deployment, not on the container's own port.
- #[macro_config_default(String::from("http://localhost:8102"))]
pub egress_base_url: String,
/// OAuth client ID for the Pipedream API.
pub pipedream_client_id: PipedreamClientId,