r/digital_ocean • • 6d ago

Harness Runtime Feedback

I was testing the new Harness Runtime with the Action Gateway. It's a really impressive set up, however, the issue is that if you need to add any tools after you already set up your Harness environment or some credential changed, you are screwed because you cannot update your environment to use the new tools. There is actually no way at all to even update the environment itself at all. So what happens is that you need to create a new environment completely every time you change a tool. I thought using a toolbelt would help with this, but it doesn't. The toolbelt is versioned too.

I think the inability to update the environment after creation is a major issue and makes the platform somewhat unusable for anything serious. I do see that they recently allowed you to update the tools in a particular session via doctl, but there are 2 issues with that: 1. There is no way to do this via the admin dashboard console and I think this is the only practical way to use the service (doctl is not too good in my experience), so for most people you can't update anything in a session and more importantly 2. Let's say you have multiple sessions running, are you going to actually update each one to use the new tools via doctl? This is not practical especially in production where each user may have their own session.

Really to make this work, you have to be able to update the harness environment itself after it is created, and then this should refresh all the sessions. Also, you need to be able to do this from the admin dashboard itself, not just doctl.

Final thing, the UI/UX for the Action Gateway is incredibly confusing. I created a custom MCP, but I cannot find it all. Credentials for existing MCP are hidden in a side link that I can never find (I thought these would be saved to a secrets manager or something). Finally, MCP shouldn't be the only thing that can be connected in the gateway, because honestly who knows where MCP is going and most of the MCP's from most companies are total garbage, lack many features that already exist in the APIs and are unmaintained. You should be able to call any API endpoint or execute a function in the Gateway. That way you are not beholden to the MCPs of the external providers.

9 Upvotes

6 comments sorted by

•

u/AutoModerator 6d ago

Hi there,

Thanks for posting on the unofficial DigitalOcean subreddit. This is a friendly & quick reminder that this isn't an official DigitalOcean support channel. DigitalOcean staff will never offer support via DMs on Reddit. Please do not give out your login details to anyone!

If you're looking for DigitalOcean's official support channels, please see the public Q&A, or create a support ticket. You can also find the community on Discord for chat-based informal help.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/AdditionalWeb107 1d ago

Sorry about the immutable sessions - Now you can edit tools, models, secrets etc for a live session. If you click on the ... dots next to the session in the console you should be able to edit sessions. And I am very very curious why the doctl experience didn't work for you. All ears on that one.

Lastly, several fixes going into making the UI/UX further improved for Action Gateway. Keep the feedback coming and we will iterate quickly on making this world class for you

1

u/Academic-Juice-9547 11h ago

Yes you can edit sessions , but not the environment. Let’s say we have 20 sessions on an environment and we need to update some skills or add another tool that is needed by each session. We are going to go thru each one session individually and update each session? This is not scalable. Nor is it feasible to create a new environment and then transfer each session over. You absolutely need a way to update the environment and then apply the updated environment to all sessions. That is the biggest flaw in what is otherwise an amazing platform .

1

u/AdditionalWeb107 8h ago

very interesting - digging.

1

u/Local-Requirement118 1d ago

Thanks for taking the time to dig into this and write it up. Finding your custom providers and managing their credentials should be easy, we have work to do there.

I agree you shouldn’t be limited by what a provider’s MCP server exposes. Today, action_code can run Python and call APIs directly, though those HTTP calls don’t use the gateway’s managed provider credentials. That helps, but doesn’t fully cover the API/function support you’re asking for.

The custom-provider API also supports Secrets Manager references, and Action Gateway has versioned endpoints with pinned URLs. Making changes manageable across Harness sessions is a broader issue, and your example makes the need clear.

Which custom provider disappeared, and what API operation were you trying to add? Those details would help us investigate and prioritize.

1

u/Academic-Juice-9547 10h ago

Thank you for the reply. here is my feedback:

  1. Custom Tools UI

These should have their own tab in the dashboard. Right now they are grouped with all the other tools, which makes it confusing to find and manage.

2. action_code and Scoped Secrets

I don't really understand how action_code works and it seem very complex. What you should offer is just a way to set up a base URL with a secret that can be used as a tool to send a fetch request to that external URL with a complete URL (base + paths and query var) along with the Bearer Token. This should be an easy tool to create. Just have a form to fill out the base URL and the secret token and the fetch methods allowed.

I did notice that you can execute a fetch and creating a skill to fetch correctly for various backends inside the environment itself as the agent understands how to do this. It works. However, when we post to an endpoint, we have to include Bearer <token>. So we have to store the token as a secret and scope it to a particular URL, so the secret is not exposed. However, this doesn't work, for variable URL's where you have a base and then other possibilities.

For example, we need to make a request like the curl below. The URL to scope would be https://test.test.io, but the destination is a variable, as you can see.

We store the token as a scoped secret and add the URL https://test.test.io. This doesn't work and we get blocked every time (which shows the security is working to a degree). We know the actual Fetch works fine with the token,because when we include the secret without scoping it, we can make requests and everything works. Of course, we can't do that in production, because the secret is not scoped. So the flaw is in the scope functionality. There doesn't seem to be any way to add an wildcard to a url.

We should be able to do: https://test.test.io/* - so the token works on every iteration of that base URL.

EXAMPLE

```

curl --request POST \

--url https://test.test.io/v2/publish/{destination} \

--header 'Authorization: Bearer <token>' \

```

3. Set up of Oauth is sort of old school and doesn't work with most MCP servers.

The current set up of custom MCP's with Oauth requires filling out a form for alot of information that is not necessary nowadays. Nearly every single MCP we used is optimized for Claude and OpenAi, and these services used what is called DCR (dynamic client registration). So you do something like this in Claude: claude mcp add --scope user --transport http service https://<URL>/mcp

and it's all set up. Your MCP assumes a manual set up of an entire oauth application, but most providers just don't even offer this. So I think you need to align your MCP set up with what the other providers now do for MCP set up,